Add a new trait `TxIdentifier` that abstracts over the `Txid` and `Wtxid` types. We make `AsRef` a super trait so that the new trait needs no methods. Seal the trait so consumers of the library cannot implement it. Use the new trait in: - the `bip152` module to tighten up the `with_siphash_keys` function - as a trait bound on the `Leaf` associated type in the `MerkleNode` trait |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml | ||
build.rs |