allow exchanging of consensus params

This commit is contained in:
Callum Waters
2021-08-06 16:48:50 +02:00
parent 2bde896c13
commit 39c54f5f34
12 changed files with 342 additions and 138 deletions
+1
View File
@@ -340,6 +340,7 @@ func makeNode(config *cfg.Config,
channels[statesync.SnapshotChannel],
channels[statesync.ChunkChannel],
channels[statesync.LightBlockChannel],
channels[statesync.ParamsChannel],
peerUpdates,
stateStore,
blockStore,
+1
View File
@@ -756,6 +756,7 @@ func makeNodeInfo(
byte(statesync.SnapshotChannel),
byte(statesync.ChunkChannel),
byte(statesync.LightBlockChannel),
byte(statesync.ParamsChannel),
},
Moniker: config.Moniker,
Other: types.NodeInfoOther{