rust-bitcoin-unsafe-fast/bitcoin/src
merge-script 81deddd0a9
Merge rust-bitcoin/rust-bitcoin#4099: Make transaction::Version field private
cb270eae8e Make transaction::Version field private (jrakibi)
6c69b66b0d Use Version constant (jrakibi)

Pull request description:

  This commit addresses #4041 by making the `transaction::Version` field private.

  This forces people to either use the associated constants (`Version::ONE/TWO/THREE`) or the `non_standard`/`from_consensus` methods for any other transaction version.

  This aligns with our approach to `block::Version`

ACKs for top commit:
  tcharding:
    ACK cb270eae8e
  Kixunil:
    ACK cb270eae8e

Tree-SHA512: dcf5b50dfeda04e56fec350acd735dcb7099989b552afce4261d559a8a846c0eb3705369ad635ef9bbbfb2373d203a2c3641178925de6685426aa91245db9a8c
2025-02-24 16:37:16 +00:00
..
address Merge rust-bitcoin/rust-bitcoin#3984: Fix spelling of `invalid_legcay_address_length` 2025-02-01 11:44:57 +00:00
blockdata Make transaction::Version field private 2025-02-24 06:54:21 +07:00
consensus 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
crypto sighash: Document witness_script in p2wsh 2025-02-24 08:15:42 -03:00
merkle_tree 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
network Update CompactTarget::from_next_work_required to take timespan as i64 2024-11-27 11:27:22 -06:00
p2p Stop using Hash::from_slice 2025-02-17 12:39:11 +11:00
psbt Introduce monadic AmountOpResult 2025-02-10 10:06:59 +11:00
taproot Add a tagged sha256t hash engine 2025-02-08 13:27:30 +11:00
bip32.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
bip152.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
bip158.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
consensus_validation.rs Stop using FQP on Amount type 2025-01-24 08:54:24 +11:00
hash_types.rs Unify deprecated note field format 2024-10-15 15:16:01 +01:00
internal_macros.rs Set avoid-breaking-exported-api to false 2024-12-11 10:11:50 +11:00
lib.rs Remove rust-ordered dependency 2025-02-18 13:36:07 +11:00
policy.rs Make capitalization of SegWit uniform in rustdocs 2024-12-17 14:28:28 +00:00
pow.rs Remove mutagen 2025-01-21 09:43:12 +11:00
serde_utils.rs Elide more lifetimes 2024-10-28 15:22:13 +11:00
sign_message.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00