node: fix entry cache option.
This commit is contained in:
parent
0ceca23cb5
commit
7728a00470
@ -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')
|
||||
});
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user