Browse Source

define a floor for tracker normal mode

use-env-var-docker
kenshin-samourai 5 years ago
parent
commit
175f234249
  1. 2
      tracker/blockchain-processor.js

2
tracker/blockchain-processor.js

@ -60,7 +60,7 @@ class BlockchainProcessor extends AbstractProcessor {
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 < daemonNbHeaders - 13000
this.isIBD = (highest.blockHeight < 612000) || (highest.blockHeight < daemonNbHeaders - 13000)
if (this.isIBD)
return this.catchupIBDMode()

Loading…
Cancel
Save