An open API service indexing awesome lists of open source software.

https://github.com/multiversx/mx-chain-p2p-go

mx-chain-go p2p components
https://github.com/multiversx/mx-chain-p2p-go

Last synced: 5 months ago
JSON representation

mx-chain-go p2p components

Awesome Lists containing this project

README

          

# mx-chain-go p2p components

The `Messenger` interface with its implementation are
used to define the way to communicate between Multiversx nodes.

There are 2 ways to send data to the other peers:
1. Broadcasting messages on a `pubsub` using topics;
2. Direct sending messages to the connected peers.

The first type is used to send messages that has to reach every node
(from corresponding shard, metachain, consensus group, etc.) and the second type is
used to resolve requests coming from directly connected peers.