File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,13 @@ func MainnetConfig() Config {
80
80
hare4conf .Enable = false
81
81
82
82
oldAtxSyncCfg := sync2 .DefaultConfig ()
83
- oldAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = time .Hour
84
83
oldAtxSyncCfg .MaxDepth = 16
84
+ oldAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 10 * time .Hour
85
+ oldAtxSyncCfg .AdvanceInterval = time .Hour
85
86
newAtxSyncCfg := sync2 .DefaultConfig ()
86
87
newAtxSyncCfg .MaxDepth = 21
87
- newAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 5 * time .Minute
88
+ newAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 30 * time .Minute
89
+ newAtxSyncCfg .AdvanceInterval = 5 * time .Minute
88
90
89
91
return Config {
90
92
BaseConfig : BaseConfig {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ func fastnet() config.Config {
22
22
23
23
conf .BaseConfig .OptFilterThreshold = 90
24
24
conf .BaseConfig .DatabasePruneInterval = time .Minute
25
+ conf .BaseConfig .DatabaseConnections = 16
25
26
26
27
// set for systest TestEquivocation
27
28
conf .BaseConfig .MinerGoodAtxsPercent = 50
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ func testnet() config.Config {
69
69
70
70
oldAtxSyncCfg := sync2 .DefaultConfig ()
71
71
oldAtxSyncCfg .MaxDepth = 16
72
+ oldAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 10 * time .Minute
72
73
newAtxSyncCfg := sync2 .DefaultConfig ()
73
74
newAtxSyncCfg .MaxDepth = 21
74
75
newAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 5 * time .Minute
Original file line number Diff line number Diff line change @@ -62,9 +62,11 @@ func DefaultConfig() Config {
62
62
oldAtxSyncCfg := sync2 .DefaultConfig ()
63
63
oldAtxSyncCfg .MaxDepth = 16
64
64
oldAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 10 * time .Hour
65
+ oldAtxSyncCfg .AdvanceInterval = time .Hour
65
66
newAtxSyncCfg := sync2 .DefaultConfig ()
66
67
newAtxSyncCfg .MaxDepth = 21
67
68
newAtxSyncCfg .MultiPeerReconcilerConfig .SyncInterval = 30 * time .Minute
69
+ newAtxSyncCfg .AdvanceInterval = 5 * time .Minute
68
70
return Config {
69
71
Interval : 10 * time .Second ,
70
72
EpochEndFraction : 0.5 ,
You can’t perform that action at this time.
0 commit comments