rust-bitcoin-unsafe-fast/primitives/src
Tobin C. Harding 77085a1fa1
units: Remove serde from amounts
The `Amount` and `SignedAmount` were not supposed to implement `serde`
traits by design because doing so implicitly uses sats. We provide two
modules `as_sat` and `as_btc` to allow users to explicitly serialize in
their preferred format.

In commit: `d57ec019d5 Use Amount type for TxOut value field` derives
were added for `serde` and we did not notice it during review.
2024-11-28 12:55:43 +11:00
..
locktime Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
script Replace `creates` with `constructs` 2024-11-05 12:47:28 +00:00
block.rs Merge rust-bitcoin/rust-bitcoin#3611: Hashes: Make `hex` dependency optional 2024-11-15 18:31:42 +00:00
lib.rs 2024-11-17 automated rustfmt nightly 2024-11-17 01:23:55 +00:00
merkle_tree.rs Remove hex string trait bounds from GeneralHash 2024-11-13 14:01:13 +11:00
opcodes.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
pow.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
sequence.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
taproot.rs Remove hex string trait bounds from GeneralHash 2024-11-13 14:01:13 +11:00
transaction.rs units: Remove serde from amounts 2024-11-28 12:55:43 +11:00
witness.rs Fix bug in witness stack getters 2024-11-13 10:55:51 +11:00