[alias-server] [p3] Support promise.all to fetch full tx history of address
Summary:
T2922
Depends on D13008
Use chronik's pagination to iterate through and fetch the full tx history of an address
Test Plan:
node index.js
Confirm number of txs matches what's printed at https://explorer.e.cash/address/ecash:qp3c268rd5946l2f5m5es4x25f7ewu4sjvpy52pqa8
Uncomment out lines 57 and 61
node index.js
Confirm the getAllTxHistory returns false if there is an error in one promise
Change aliasHash160 to the hash160 of a wallet with extensive tx history. Confirm function gets it all.
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Differential Revision: https://reviews.bitcoinabc.org/D13010