rpc: support new p2p infrastructure (#6820)

This commit is contained in:
Sam Kleinman
2021-08-13 15:39:07 -04:00
committed by GitHub
parent 511e52c2fc
commit bf77c0c544
10 changed files with 132 additions and 61 deletions

View File

@@ -445,9 +445,11 @@ func makeNode(config *cfg.Config,
BlockStore: blockStore,
EvidencePool: evPool,
ConsensusState: csState,
P2PPeers: sw,
BlockSyncReactor: bcReactor.(cs.BlockSyncReactor),
P2PPeers: sw,
PeerManager: peerManager,
GenDoc: genDoc,
EventSinks: eventSinks,
ConsensusReactor: csReactor,