rust-bitcoin-unsafe-fast/bitcoin/src
Andrew Poelstra 6389d3f7fc
Merge rust-bitcoin/rust-bitcoin#2577: Fix cargo cult programming
290e4418e6 units: Fix cargo cult programming (Tobin C. Harding)

Pull request description:

  When creating the ParseIntError in `hex_u32` I (tobin) just cargo cult programmed the generic stuff without thinking.

  - The `is_signed` field is used to denote whether we were attempting to parse a signed or unsigned integer, it should be `false`.
  - The `bits` field should be directly set to 32.

ACKs for top commit:
  apoelstra:
    ACK 290e4418e6
  sanket1729:
    ACK 290e4418e6

Tree-SHA512: 7dfd9f0cd98eff1c2b27a92dac5c4e2fe0fa4ae724528ef741fe43d8d923e2d31cbdcd4e540ecfba1b953860dc2b728a958e756e2d2012d9a9e715c0ca3c5068
2024-03-19 15:50:33 +00:00
..
address Implement infallible for errors 2024-03-08 16:48:34 +11:00
blockdata Merge rust-bitcoin/rust-bitcoin#2569: Move types to `units` 2024-03-15 22:43:51 +00:00
consensus Implement consensus deserialize_hex 2024-03-14 09:49:36 +11:00
crypto Merge rust-bitcoin/rust-bitcoin#2563: Added more tests for PublicKey::from_str 2024-03-15 08:07:18 +00:00
merkle_tree merkle_block: add resource limit check during deserialization 2024-03-17 22:30:20 +00:00
p2p Add ServiceFlags::P2P_V2 2024-03-08 15:07:34 -05:00
psbt Merge rust-bitcoin/rust-bitcoin#2458: Support signing taproot in psbt 2024-03-15 07:52:27 +00:00
taproot Upgrade hex dependency 2024-03-10 10:35:01 +11:00
bip32.rs Implement infallible for errors 2024-03-08 16:48:34 +11:00
bip152.rs Implement infallible for errors 2024-03-08 16:48:34 +11:00
bip158.rs Implement infallible for errors 2024-03-08 16:48:34 +11:00
error.rs Do infallible int from hex conversions 2024-02-27 10:40:52 +11:00
hash_types.rs Add deprecation comment to hash_types module 2023-12-05 15:01:18 +11:00
internal_macros.rs Make from_hex inherent for byte-like types 2024-02-22 09:16:31 +11:00
lib.rs Move unit types to units 2024-03-12 11:59:39 +11:00
network.rs Add ServiceFlags::P2P_V2 2024-03-08 15:07:34 -05:00
policy.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
pow.rs Merge rust-bitcoin/rust-bitcoin#2569: Move types to `units` 2024-03-15 22:43:51 +00:00
serde_utils.rs Fix new nightly warnings/errors 2024-02-21 14:13:49 +11:00
sign_message.rs Implement infallible for errors 2024-03-08 16:48:34 +11:00
test_macros.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00