REF: tune electrum batch size

This commit is contained in:
Overtorment 2020-05-22 18:51:02 +01:00
parent 6a6ac478cc
commit 222eb1ca7c

View file

@ -339,7 +339,7 @@ module.exports.multiGetHistoryByAddress = async function(addresses, batchsize) {
}; };
module.exports.multiGetTransactionByTxid = async function(txids, batchsize, verbose) { module.exports.multiGetTransactionByTxid = async function(txids, batchsize, verbose) {
batchsize = batchsize || 49; batchsize = batchsize || 45;
// this value is fine-tuned so althrough wallets in test suite will occasionally // this value is fine-tuned so althrough wallets in test suite will occasionally
// throw 'response too large (over 1,000,000 bytes', test suite will pass // throw 'response too large (over 1,000,000 bytes', test suite will pass
verbose = verbose !== false; verbose = verbose !== false;