pending limit.

This commit is contained in:
Christopher Jeffrey 2016-04-21 14:14:33 -07:00
parent 80c6c5975e
commit dbf21b2538
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -70,7 +70,7 @@ function Chain(options) {
this.db = new bcoin.chaindb(this, options);
this.total = 0;
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.invalid = {};
this.bestHeight = -1;