From 6182df044228f9215938e7d314435f3f2640acca Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 12 Apr 2017 08:23:19 -0700 Subject: [PATCH] config: fix mempool size and entry cache. --- lib/node/fullnode.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node/fullnode.js b/lib/node/fullnode.js index 9ad480c3..7cf4aa7f 100644 --- a/lib/node/fullnode.js +++ b/lib/node/fullnode.js @@ -60,6 +60,7 @@ function FullNode(options) { prune: this.config.bool('prune'), checkpoints: this.config.bool('checkpoints'), coinCache: this.config.mb('coin-cache'), + entryCache: this.config.mb('entry-cache'), indexTX: this.config.bool('index-tx'), indexAddress: this.config.bool('index-address') }); @@ -77,7 +78,7 @@ function FullNode(options) { db: this.config.str('db'), prefix: this.config.prefix, persistent: this.config.bool('persistent-mempool'), - maxSize: this.config.num('mempool-size'), + maxSize: this.config.mb('mempool-size'), limitFree: this.config.bool('limit-free'), limitFreeRelay: this.config.num('limit-free-relay'), requireStandard: this.config.bool('require-standard'),