From 269f3f1bd87bb75a38bf0a2f400b27bc14c537f0 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Tue, 17 Jan 2023 22:20:02 +0530 Subject: [PATCH] reduce MAX_IGNORED_BLOCK for testing --- lib/services/block/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/block/index.js b/lib/services/block/index.js index 9a66e382..e20ef0c9 100644 --- a/lib/services/block/index.js +++ b/lib/services/block/index.js @@ -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 = 10; //Maximum ignored block allowed before trigging sync again var __TestingCount = 5; var BlockService = function(options) {