Module network_builder::builder
source · Expand description
Remotely authenticated vs. unauthenticated network end-points:
A network end-point operates with remote authentication if it only accepts connections
from a known set of peers (trusted_peers
) identified by their network identity keys.
This does not mean that the other end-point of a connection also needs to operate with
authentication – a network end-point running with remote authentication enabled will
connect to or accept connections from an end-point running in authenticated mode as
long as the latter is in its trusted peers set.
Structs
- Build Network module with custom configuration values. Methods can be chained in order to set the configuration values. MempoolNetworkHandler and ConsensusNetworkHandler are constructed by calling
NetworkBuilder::build
. New instances ofNetworkBuilder
are obtained viaNetworkBuilder::create
.