block service: set MAX_IGNORED_BLOCK to 16

This commit is contained in:
sairajzero 2023-01-18 00:19:20 +05:30
parent 700abe0500
commit 69e9465b93

View File

@ -13,7 +13,7 @@ var bcoin = require('fcoin');
var _ = require('lodash');
var LRU = require('lru-cache');
const MAX_IGNORED_BLOCK = 32; //Maximum ignored block allowed before trigging sync again
const MAX_IGNORED_BLOCK = 16; //Maximum ignored block allowed before trigging sync again
var BlockService = function(options) {