Browse Source

Bump block height defining IBD mode

Pavel Ševčík 3 years ago
parent
commit
0206cf0c50
No known key found for this signature in database GPG Key ID: CFA54E4C0CD58DF0
  1. 2
      tracker/blockchain-processor.js

2
tracker/blockchain-processor.js

@ -64,7 +64,7 @@ class BlockchainProcessor {
const daemonNbHeaders = info.headers
// Consider that we are in IBD mode if Dojo is far in the past (> 13,000 blocks)
this.isIBD = (highest.blockHeight < 655000) || (highest.blockHeight < daemonNbHeaders - 13000)
this.isIBD = (highest.blockHeight < 681000) || (highest.blockHeight < daemonNbHeaders - 13000)
if (this.isIBD)
return this.catchupIBDMode()

Loading…
Cancel
Save