# Functions
AddrHandle handles the neighbor address response message from peer.
AddrReqHandle handles the neighbor address request from peer.
BlkHeaderHandle handles the sync headers from peer.
BlockHandle handles the block message from peer.
ConsensusHandle handles the consensus message from peer.
DataReqHandle handles the data req(block/Transaction) from peer.
DisconnectHandle handles the disconnect events.
get blk hdrs from starthash to stophash.
HeaderReqHandle handles the header sync req from peer.
InvHandle handles the inventory message(block, transaction and consensus) from peer.
NewMsgRouter returns a message router object.
NotFoundHandle handles the not found message from peer.
PingHandle handle ping msg from peer.
PongHandle handle pong msg from peer.
TransactionHandle handles the transaction message from peer.
VerAckHandle handles the version ack from peer.
VersionHandle handles version handshake protocol from peer.
# Structs
MessageRouter mostly route different message type-based to the related message handler.
# Type aliases
MessageHandler defines the unified api for each net message.