From 71bcafb2437d414a0ab0c8830ca776cb49d9a86c Mon Sep 17 00:00:00 2001 From: sairajzero Date: Tue, 11 Apr 2023 04:04:19 +0530 Subject: [PATCH] Limited data responses identification - address-query responses data has `incomplete` property set to `true` when addr has more than 1000 (MAX_TX_QUERY_LIMIT) --- lib/services/address/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/services/address/index.js b/lib/services/address/index.js index 9f001c67..b494a819 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -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);