More sparse state snapshots in the Gnosis network
This commit is contained in:
parent
3796810bcd
commit
557717b517
1
Makefile
1
Makefile
|
@ -421,6 +421,7 @@ gnosis-build gnosis-chain-build: | build deps
|
|||
-d:SECONDS_PER_SLOT=5 \
|
||||
-d:BASE_REWARD_FACTOR=25 \
|
||||
-d:EPOCHS_PER_SYNC_COMMITTEE_PERIOD=512 \
|
||||
-d:EPOCHS_PER_STATE_SNAPSHOT=128 \
|
||||
&& \
|
||||
echo -e $(BUILD_END_MSG) "build/nimbus_beacon_node_gnosis"
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ const
|
|||
# When finality happens, we prune historical states from the database except
|
||||
# for a snapshort every 32 epochs from which replays can happen - there's a
|
||||
# balance here between making long replays and saving on disk space
|
||||
EPOCHS_PER_STATE_SNAPSHOT = 32
|
||||
EPOCHS_PER_STATE_SNAPSHOT {.intdefine.} = 32
|
||||
|
||||
proc putBlock*(
|
||||
dag: ChainDAGRef, signedBlock: ForkyTrustedSignedBeaconBlock) =
|
||||
|
|
Loading…
Reference in New Issue