Limited data responses identification

- address-query responses data has `incomplete` property set to `true` when addr has more than 1000 (MAX_TX_QUERY_LIMIT)
This commit is contained in:
sairajzero 2023-04-11 04:04:19 +05:30
parent 1b6352573f
commit 71bcafb243

View File

@ -348,6 +348,7 @@ AddressService.prototype.getAddressSummary = function(address, options, streamer
if(count >= MAX_TX_QUERY_LIMIT) {//stop quering db when limit reached
options.flag_stop = true;
result.lastItem = tx.txid();
result.incomplete = true;
}
streamer(null, tx);