How does multichain discover peers ?

+1 vote
How does multichain discover peers ?
asked Jan 19, 2018 by albabosh

1 Answer

0 votes

Peers share information with other peers about the peers that they're aware of, similarly to any peer-to-peer gossip network. You can see the specific messages addr and getaddr here:

All this happens automatically within MultiChain for you, so you don't really need to worry about it.

answered Jan 19, 2018 by MultiChain
Does multichain have any built in facility for dealing with peers that are located behind firewalls and/or NATs?
Not explicitly - if two peers are behind a firewall/NAT and you want them to be able to connect to each other, you'll need to use port forwarding at the router level on at least one side, to enable it to receive incoming peer connections.