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. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml |