DataHoarder
b0fe55c8a8
* Bump Software version to 3.0 * Remove old fast sync extension * SideChain: fix for out of order blocks * SideChain: shuffle blocks in tests
23 lines
459 B
Go
23 lines
459 B
Go
package p2p
|
|
|
|
type MessageId uint8
|
|
|
|
// from p2p_server.h
|
|
const (
|
|
MessageHandshakeChallenge = MessageId(iota)
|
|
MessageHandshakeSolution
|
|
MessageListenPort
|
|
MessageBlockRequest
|
|
MessageBlockResponse
|
|
MessageBlockBroadcast
|
|
MessagePeerListRequest
|
|
MessagePeerListResponse
|
|
// MessageBlockBroadcastCompact Protocol 1.1
|
|
MessageBlockBroadcastCompact
|
|
// MessageBlockNotify Protocol 1.2
|
|
MessageBlockNotify
|
|
|
|
MessageInternal = 0xff
|
|
)
|
|
|
|
type InternalMessageId uint64
|