bitcoind: bump max tx history default to 50
This commit is contained in:
parent
8b0d16d5a3
commit
791047c10d
@ -63,7 +63,7 @@ util.inherits(Bitcoin, Service);
|
||||
Bitcoin.dependencies = [];
|
||||
|
||||
Bitcoin.DEFAULT_MAX_TXIDS = 1000;
|
||||
Bitcoin.DEFAULT_MAX_HISTORY = 10;
|
||||
Bitcoin.DEFAULT_MAX_HISTORY = 50;
|
||||
Bitcoin.DEFAULT_SHUTDOWN_TIMEOUT = 15000;
|
||||
Bitcoin.DEFAULT_ZMQ_SUBSCRIBE_PROGRESS = 0.9999;
|
||||
Bitcoin.DEFAULT_MAX_ADDRESSES_QUERY = 10000;
|
||||
|
||||
@ -2190,7 +2190,7 @@ describe('Bitcoin Service', function() {
|
||||
var address = '12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX';
|
||||
it('will give error with "from" and "to" range that exceeds max size', function(done) {
|
||||
var bitcoind = new BitcoinService(baseConfig);
|
||||
bitcoind.getAddressHistory(address, {from: 0, to: 30}, function(err) {
|
||||
bitcoind.getAddressHistory(address, {from: 0, to: 51}, function(err) {
|
||||
should.exist(err);
|
||||
err.message.match(/^\"from/);
|
||||
done();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user