Nodes will communicate with each other with following types of messages
- Block Message
- Passing block info from one node another after successful mining
- Get Message
- One node requesting block info from another node
- Data Request Message
- Requests three types of data
- Block
- Data
- Transaction
- Requests three types of data
- Inventory message
- Sent in reply to a “getblocks” message or “mempool” message.
- Transaction Message
- Sent after successful mining
- Version Message
- Nodes version transfer message