Uses of Class
com.privatechain.network.rpc.NodeClient
Packages that use NodeClient
Package
Description
Transaction gossip and block broadcast — propagates newly submitted transactions
and mined blocks to connected peers (FR-NET-02, FR-NET-03).
Chain synchronization and fork resolution — brings a node's local chain up to date
with the network on startup and after a network partition (FR-NET-04, FR-NET-05).
-
Uses of NodeClient in com.privatechain.network.gossip
Constructors in com.privatechain.network.gossip with parameters of type NodeClientModifierConstructorDescriptionBlockBroadcaster(String localNodeId, PeerManager peerManager, NodeClient nodeClient, MessageCodec codec) Constructs aBlockBroadcaster.GossipProtocol(String localNodeId, PeerManager peerManager, NodeClient nodeClient, MessageCodec codec) Constructs aGossipProtocolwith the required dependencies. -
Uses of NodeClient in com.privatechain.network.sync
Constructors in com.privatechain.network.sync with parameters of type NodeClientModifierConstructorDescriptionBlockFetcher(String localNodeId, NodeClient nodeClient, MessageCodec codec) Constructs aBlockFetcher.SyncManager(String localNodeId, Blockchain blockchain, PeerManager peerManager, BlockFetcher blockFetcher, ForkResolver forkResolver, MessageCodec codec, NodeClient nodeClient) Constructs aSyncManagerwith all required dependencies.