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:
parent
1b6352573f
commit
71bcafb243
@ -348,6 +348,7 @@ AddressService.prototype.getAddressSummary = function(address, options, streamer
|
|||||||
if(count >= MAX_TX_QUERY_LIMIT) {//stop quering db when limit reached
|
if(count >= MAX_TX_QUERY_LIMIT) {//stop quering db when limit reached
|
||||||
options.flag_stop = true;
|
options.flag_stop = true;
|
||||||
result.lastItem = tx.txid();
|
result.lastItem = tx.txid();
|
||||||
|
result.incomplete = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
streamer(null, tx);
|
streamer(null, tx);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user