HandshakeResponse.Encode, HandshakeRequest.Decode, RequestChain.Decode, ResponseChainEntry.Encode — all using go-p2p's EncodeStorage/DecodeStorage. These enable the Go node to accept incoming P2P connections and serve blocks to other peers (full seed node capability). Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| commands.go | ||
| encode.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 | ||