HomePhabricator

[chronik-client] Support tx and block-txs endpoints in ChronikClientNode

Description

[chronik-client] Support tx and block-txs endpoints in ChronikClientNode

Summary:
Add support for the chronik.tx(txid) and chronik.blockTxs(hashOrHeight, pageNumber, pageSize) endpoints in the in-node version of chronik-client

Convert value key from string to number. Convert timestamp and timeFirstSeen keys from string to number.

Test Plan: teamcity CI tests in this diff, or see local testing approach from test plan at D14915

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15278

Details

Provenance
bytesofmanAuthored on Jan 25 2024, 05:04
bytesofmanPushed on Jan 31 2024, 18:21
Reviewer
Restricted Project
Differential Revision
D15278: [chronik-client] Support tx and block-txs endpoints in ChronikClientNode
Parents
rABCf67d512e6898: [chronik-client] Bump timeout for mocha tests
Branches
Unknown
Tags
Unknown