rust-bitcoin-unsafe-fast/bitcoin/src
jrakibi cb270eae8e Make transaction::Version field private
This commit addresses #4041 by making the transaction::Version field private

Changes:
- Make the `Version` field private with `pub(crate)`
- Rename `non_standard` to `maybe_non_standard` for clarity since it accepts both standard and non-standard versions
- Add `#[inline]` attributes to small, frequently used methods:
  - `as_u32`
  - `maybe_non_standard`

Users now must use either:
- Constants (`Version::ONE/TWO/THREE`) for standard versions
- `maybe_non_standard` method for any version (standard or non-standard)
2025-02-24 06:54:21 +07: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 2025-02-16 automated rustfmt nightly 2025-02-16 01:21:38 +00: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