bcoin
bcoin copied to clipboard
getTxByAddress options missing from client
See https://bitcoin.stackexchange.com/questions/95524/bcoin-io-get-txs-in-reverse-order
Options object should be added here:
https://github.com/bcoin-org/bcoin/blob/6beb54dddc1256cca379ad765b71fd5cdee427f3/lib/client/node.js#L110-L113
The additional options can currently be included using client.execute
, client.get
and etc.
Querying complete results using after
hasn't been added to the CLI or client, either. I've recently needed to support that, and used client.get
, see https://github.com/braydonf/bcoin/blob/acct/bin/bcoin-acct-cli#L98-L109 This could probably be wrapped in an interface to either stream or iterate the result, so as to not overload memory. The CLI could stream the complete results to stdout.
@pinheadmz Is this issue still active?