rust-bitcoin-unsafe-fast/bitcoin
Tobin C. Harding 5633b10f5c
Manually implement compute_txid and compute_wtxid
We would like to move the `Transaction` type over to `primitives`
including the `compute_txid` and `compute_wtxid` functions however
currently the implementations, as expected, use `Encodable`.

Manually implement `Encodable` by hashing all the fields in the correct
order.

Note we have unit tests already that check the output string of the txid
returned so these act as regression tests for this patch.
2024-10-24 13:33:40 +11:00
..
contrib Remove the SliceIndex implementation from hash types 2024-10-02 10:18:45 +10:00
embedded Move opcodes to primitives 2024-07-09 15:26:33 +10:00
examples Move Witness to primitives 2024-10-18 14:02:03 +11:00
src Manually implement compute_txid and compute_wtxid 2024-10-24 13:33:40 +11:00
tests psbt: Use u64 for key type 2024-10-10 11:37:40 +11:00
CHANGELOG.md Update CHANGELOG files 2024-10-05 15:45:28 +10:00
Cargo.toml bitcoin: Set version to 0.33.0-alpha 2024-10-17 08:44:40 +11:00