Skip to content

Commit b4ac6a2

Browse files
committed
Change max synced age ms to use block time
This was originally meant to be 4x block time, but since we changed the block time, this is out of sync. Were also making this 12 hours temporarily because of all the long blocks to mine issue. We'll adjust this and reduce it again if we find that too maqny forks exist.
1 parent 83f65f9 commit b4ac6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ironfish/src/consensus/consensus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const GENESIS_SUPPLY_IN_IRON = 42000000
2828
/**
2929
* The oldest the tip should be before we consider the chain synced
3030
*/
31-
export const MAX_SYNCED_AGE_MS = 60 * 1000
31+
export const MAX_SYNCED_AGE_MS = 12 * 60 * 60 * 1000
3232

3333
/**
3434
* The maximum allowed requested blocks by the network

0 commit comments

Comments
 (0)