rust-bitcoin-unsafe-fast/bitcoin/src
merge-script f6287fb445
Merge rust-bitcoin/rust-bitcoin#3287: Move `transaction::Version` to `primitives`
c48d9d6523 Move transaction::Version to primitives (Tobin C. Harding)
f490222068 Introduce the VersionExt trait (Tobin C. Harding)
fb89974b82 Run the formatter (Tobin C. Harding)
bb3a3ecbaa Introduce temporary module for Version (Tobin C. Harding)
1fde868f51 Separate Version impl blocks (Tobin C. Harding)

Pull request description:

  As per title, in tiny small chunks, move the `transaction::Version` over to `primitives`. Only the type, its associated consts, and its `Display` impl are moved. The two methods are left in an extension trait.

  Was originally attempted in #3253

ACKs for top commit:
  Kixunil:
    ACK c48d9d6523
  apoelstra:
    ACK c48d9d6523 successfully ran local tests

Tree-SHA512: 83415cf0762dca5c263deb743734fc7abede804a6daac31df3d0101b51c6261e6d54452eb744727ae680cacce9e4ef726a6fa253d86c4e7a5d8ec789b137566c
2024-09-04 01:21:43 +00:00
..
address Change T::from_str(s) to s.parse::<T>() in tests 2024-08-28 16:13:03 +01:00
blockdata Merge rust-bitcoin/rust-bitcoin#3287: Move `transaction::Version` to `primitives` 2024-09-04 01:21:43 +00:00
consensus Removed unneeded usages of vec! macro 2024-08-19 10:12:09 +02:00
crypto Merge rust-bitcoin/rust-bitcoin#3150: Create a macro that implements `to_hex` for types that have `core::fmt::LowerHex` implemented 2024-09-02 21:18:44 +00:00
merkle_tree Introduce ToU64 conversion trait 2024-08-08 15:32:40 +10:00
network 2024-08-25 automated rustfmt nightly 2024-08-25 01:14:09 +00:00
p2p Implement impl_to_hex_from_lower_hex macro for types that implement fmt::LowerHex 2024-08-31 22:41:40 -05:00
psbt Fix clippy rustdocs warnings 2024-08-30 05:47:31 +10:00
taproot Implement impl_to_hex_from_lower_hex macro for types that implement fmt::LowerHex 2024-08-31 22:41:40 -05:00
bip32.rs Change T::from_str(s) to s.parse::<T>() in tests 2024-08-28 16:13:03 +01:00
bip152.rs Fix clippy rustdocs warnings 2024-08-30 05:47:31 +10:00
bip158.rs feat(bip158): compute canonical filter hash 2024-08-22 10:33:14 -10:00
consensus_validation.rs Generalize fn params in `define_extension_trait` 2024-08-13 13:13:10 +02:00
hash_types.rs Use TBD in deprecated attribute 2024-08-23 14:49:57 +10:00
internal_macros.rs Introduce two extensions traits for ScriptBuf 2024-08-20 09:34:34 +10:00
lib.rs Improve const_assert 2024-08-30 06:33:31 +10:00
policy.rs Remove usage of blockdata from paths 2024-06-20 12:00:22 +10:00
pow.rs Implement impl_to_hex_from_lower_hex macro for types that implement fmt::LowerHex 2024-08-31 22:41:40 -05:00
serde_utils.rs bitcoin: add a couple missing prelude imports 2024-08-22 16:55:32 +00:00
sign_message.rs Change T::from_str(s) to s.parse::<T>() in tests 2024-08-28 16:13:03 +01:00