node: fix entry cache option.

This commit is contained in:
Christopher Jeffrey 2017-05-19 21:05:07 -07:00
parent 0ceca23cb5
commit 7728a00470
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,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'),
entryCache: this.config.num('entry-cache'),
indexTX: this.config.bool('index-tx'),
indexAddress: this.config.bool('index-address')
});

View File

@ -52,6 +52,7 @@ function SPVNode(options) {
prefix: this.config.prefix,
maxFiles: this.config.num('max-files'),
cacheSize: this.config.mb('cache-size'),
entryCache: this.config.num('entry-cache'),
forceWitness: this.config.bool('force-witness'),
checkpoints: this.config.bool('checkpoints'),
spv: true