rust-bitcoin-unsafe-fast/bitcoin/src
merge-script 1f731e9162
Merge rust-bitcoin/rust-bitcoin#3672: units: Remove serde from amounts
77085a1fa1 units: Remove serde from amounts (Tobin C. Harding)

Pull request description:

  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.

ACKs for top commit:
  apoelstra:
    ACK 77085a1fa1f39e7358202e49189282e48a965747; successfully ran local tests

Tree-SHA512: ff4c1f34191e12d955e66737493af4b2dad761fa6f95eb334b86715906e70d2180e7f15d8b4af302d53fb0b1c8b5fb50b4924e9fcdee8824840ba555e73c1c17
2024-11-28 16:32:23 +00:00
..
address address: Simplify `Address::assume_checked` impl 2024-11-19 21:15:43 -08:00
blockdata Merge rust-bitcoin/rust-bitcoin#3670: Remove duplicate test case 2024-11-28 15:20:24 +00:00
consensus Rename tests that have _test suffix 2024-11-14 14:05:15 -06:00
crypto units: Remove serde from amounts 2024-11-28 12:55:43 +11:00
merkle_tree Move Block to primitives 2024-11-15 07:16:21 +11:00
network Update CompactTarget::from_next_work_required to take timespan as i64 2024-11-27 11:27:22 -06:00
p2p Rename tests that have _test suffix 2024-11-14 14:05:15 -06:00
psbt Merge rust-bitcoin/rust-bitcoin#3667: Fix psbt fuzz crash 2024-11-28 00:00:12 +00:00
taproot Fix typo in hash tag type 2024-11-26 10:06:58 +11:00
bip32.rs Fix documentation of Xpub::identifier 2024-11-19 15:32:30 +11:00
bip152.rs Move Block to primitives 2024-11-15 07:16:21 +11:00
bip158.rs Merge rust-bitcoin/rust-bitcoin#3611: Hashes: Make `hex` dependency optional 2024-11-15 18:31:42 +00:00
consensus_validation.rs Introduce Transaction extension traits 2024-10-30 12:28:52 +11:00
hash_types.rs Unify deprecated note field format 2024-10-15 15:16:01 +01:00
internal_macros.rs Rename generic parameter and variable 2024-11-07 16:38:13 -06:00
lib.rs Re-export bech32 crate 2024-11-26 10:13:19 +11:00
policy.rs fix(script): account for data pushing opcodes in `is_standard_op_return` 2024-11-27 07:28:23 -10:00
pow.rs Fix typo in from_next_work_required documentation 2024-11-27 11:27:26 -06:00
serde_utils.rs Elide more lifetimes 2024-10-28 15:22:13 +11:00
sign_message.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00