config: fix mempool size and entry cache.
This commit is contained in:
parent
a630d23a97
commit
6182df0442
@ -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'),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user