remove v1 and v2 blocksync protocol impementations (#9146)

This commit is contained in:
Callum Waters
2022-08-16 11:06:10 +02:00
committed by Sam Ricotta
parent fac7143098
commit 7e4faf598c
38 changed files with 78 additions and 9755 deletions
+1 -5
View File
@@ -285,11 +285,7 @@ func MakeConfig(node *e2e.Node) (*config.Config, error) {
cfg.Mempool.Version = node.Mempool
}
if node.FastSync == "" {
cfg.FastSyncMode = false
} else {
cfg.FastSync.Version = node.FastSync
}
cfg.FastSyncMode = node.FastSync
if node.StateSync {
cfg.StateSync.Enable = true