git.gammaspectra.live/P2Pool/consensus/v3@v3.8.0/p2pool/p2p/messages.go (about) 1 package p2p 2 3 type MessageId uint8 4 5 // from p2p_server.h 6 const ( 7 MessageHandshakeChallenge = MessageId(iota) 8 MessageHandshakeSolution 9 MessageListenPort 10 MessageBlockRequest 11 MessageBlockResponse 12 MessageBlockBroadcast 13 MessagePeerListRequest 14 MessagePeerListResponse 15 // MessageBlockBroadcastCompact Protocol 1.1 16 MessageBlockBroadcastCompact 17 // MessageBlockNotify Protocol 1.2 18 MessageBlockNotify 19 20 MessageInternal = 0xff 21 ) 22 23 type InternalMessageId uint64