HomePhabricator

[ecash-lib] Add txid computation from the Tx object

Description

[ecash-lib] Add txid computation from the Tx object

Summary:
In order to efficiently use the txid subscription from chronik we need to compute this txid. Doing so makes it possible to get the tx added to mempool event from chronik after it is broadcast.

Depends on D18393.

Test Plan:

npm test

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

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

Details

Provenance
FabienAuthored on Jul 21 2025, 14:05
FabienPushed on Jul 22 2025, 12:12
Reviewer
Restricted Project
Differential Revision
D18394: [ecash-lib] Add txid computation from the Tx object
Parents
rABCf4de7e80c68c: [ecash-lib] Add a Tx deserialization method
Branches
Unknown
Tags
Unknown