config: fix mempool size and entry cache.

This commit is contained in:
Christopher Jeffrey 2017-04-12 08:23:19 -07:00
parent a630d23a97
commit 6182df0442
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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'),