Browse Source

Merge branch 'feat_dojo_tracker_threshold_modes' into 'develop'

bump block height defining ibd mode

See merge request dojo/samourai-dojo!195
develop
kenshin-samourai 4 years ago
parent
commit
9935579dfb
  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 < 612000) || (highest.blockHeight < daemonNbHeaders - 13000)
this.isIBD = (highest.blockHeight < 655000) || (highest.blockHeight < daemonNbHeaders - 13000)
if (this.isIBD)
return this.catchupIBDMode()

Loading…
Cancel
Save