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 Sat, Jan 11, 16:33
PiRKPushed on Mon, Jan 13, 19:19
Reviewer
Restricted Project
Differential Revision
D17514: [chronik] implement blockchain.transaction.get_merkle Electrum method
Parents
rABC798aa50067a8: [chronik] rename the MerkleTree struct
Branches
Unknown
Tags
Unknown