Performs handshake, REQUEST_CHAIN with genesis hash, reads RESPONSE_CHAIN_ENTRY, then REQUEST_GET_OBJECTS with the first block hash and verifies RESPONSE_GET_OBJECTS returns a non-empty block blob. Also fixes the existing handshake test return code check — the C++ daemon handler returns 1 (not 0) on success. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| commands.go | ||
| handshake.go | ||
| handshake_test.go | ||
| integration_test.go | ||
| ping.go | ||
| ping_test.go | ||
| relay.go | ||
| relay_test.go | ||
| sync.go | ||
| sync_test.go | ||
| timedsync.go | ||