|
|
@ -192,6 +192,7 @@ var defaultStagedSyncConfig = harmonyconfig.StagedSyncConfig{ |
|
|
|
var ( |
|
|
|
var ( |
|
|
|
defaultMainnetSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
defaultMainnetSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
Enabled: false, |
|
|
|
Enabled: false, |
|
|
|
|
|
|
|
SyncMode: 0, |
|
|
|
Downloader: false, |
|
|
|
Downloader: false, |
|
|
|
StagedSync: false, |
|
|
|
StagedSync: false, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
@ -207,6 +208,7 @@ var ( |
|
|
|
|
|
|
|
|
|
|
|
defaultTestNetSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
defaultTestNetSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
Enabled: true, |
|
|
|
Enabled: true, |
|
|
|
|
|
|
|
SyncMode: 0, |
|
|
|
Downloader: false, |
|
|
|
Downloader: false, |
|
|
|
StagedSync: false, |
|
|
|
StagedSync: false, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
@ -222,6 +224,7 @@ var ( |
|
|
|
|
|
|
|
|
|
|
|
defaultLocalNetSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
defaultLocalNetSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
Enabled: true, |
|
|
|
Enabled: true, |
|
|
|
|
|
|
|
SyncMode: 0, |
|
|
|
Downloader: true, |
|
|
|
Downloader: true, |
|
|
|
StagedSync: true, |
|
|
|
StagedSync: true, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
@ -237,6 +240,7 @@ var ( |
|
|
|
|
|
|
|
|
|
|
|
defaultPartnerSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
defaultPartnerSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
Enabled: true, |
|
|
|
Enabled: true, |
|
|
|
|
|
|
|
SyncMode: 0, |
|
|
|
Downloader: true, |
|
|
|
Downloader: true, |
|
|
|
StagedSync: false, |
|
|
|
StagedSync: false, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
@ -252,6 +256,7 @@ var ( |
|
|
|
|
|
|
|
|
|
|
|
defaultElseSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
defaultElseSyncConfig = harmonyconfig.SyncConfig{ |
|
|
|
Enabled: true, |
|
|
|
Enabled: true, |
|
|
|
|
|
|
|
SyncMode: 0, |
|
|
|
Downloader: true, |
|
|
|
Downloader: true, |
|
|
|
StagedSync: false, |
|
|
|
StagedSync: false, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
|
StagedSyncCfg: defaultStagedSyncConfig, |
|
|
|