File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
ouroboros-consensus-diffusion/src/ouroboros-consensus-diffusion/Ouroboros/Consensus/Node Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,12 @@ mkGenesisConfig (Just GenesisConfigFlags{..}) =
140140 defaultCapacity = 100_000 -- number of tokens
141141 defaultRate = 500 -- tokens per second leaking, 1/2ms
142142
143- defaultCSJJumpSize = 3 * 2160 * 20 -- mainnet forecast range
143+ -- The larger Shelley forecast range (3 * 2160 * 20) works in more recent
144+ -- ranges of slots, but causes syncing to block in Byron. A future
145+ -- improvement would be to make this era-dynamic, such that we can use the
146+ -- larger (and hence more efficient) larger CSJ jump size in Shelley-based
147+ -- eras.
148+ defaultCSJJumpSize = 2 * 2160 -- Byron forecast range
144149
145150 gbfcBulkSyncGracePeriod = fromInteger $ fromMaybe defaultBulkSyncGracePeriod gcfBulkSyncGracePeriod
146151 csbcCapacity = fromInteger $ fromMaybe defaultCapacity gcfBucketCapacity
You can’t perform that action at this time.
0 commit comments