HomePhabricator

[chronik] implement blockchain.transaction.get_merkle Electrum method

Description

[chronik] implement blockchain.transaction.get_merkle Electrum method

Summary:
See https://electrum-cash-protocol.readthedocs.io/en/latest/protocol-methods.html#blockchain-transaction-get-merkle

Depends on D17522

Test Plan:
ninja check-functional

Check the results are identical (same values, same endianness for hashes in the merkle branch) with what Fulcrum returns for a handful of recent main-net transaction.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Jan 11 2025, 16:33
teamcityPushed on Jan 13 2025, 19:21
Parents
rSTAGING798aa50067a8: [chronik] rename the MerkleTree struct
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/52187

Event Timeline