pending limit.
This commit is contained in:
parent
80c6c5975e
commit
dbf21b2538
@ -70,7 +70,7 @@ function Chain(options) {
|
|||||||
this.db = new bcoin.chaindb(this, options);
|
this.db = new bcoin.chaindb(this, options);
|
||||||
this.total = 0;
|
this.total = 0;
|
||||||
this.orphanLimit = options.orphanLimit || (20 << 20);
|
this.orphanLimit = options.orphanLimit || (20 << 20);
|
||||||
this.pendingLimit = options.pendingLimit || (500 << 20);
|
this.pendingLimit = options.pendingLimit || (1024 << 20);
|
||||||
this.locker = new bcoin.locker(this, this.add, this.pendingLimit);
|
this.locker = new bcoin.locker(this, this.add, this.pendingLimit);
|
||||||
this.invalid = {};
|
this.invalid = {};
|
||||||
this.bestHeight = -1;
|
this.bestHeight = -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user