Merge rust-bitcoin/rust-bitcoin#4018: Add missing re-exports to primitives crate root

e5c74c38a2 Add missing re-exports to primitives crate root (Jamil Lambert, PhD)

Pull request description:

  There are re-exports in the bitcoin root from primitives that were not re-exported in the primitives crate root.

  Add the missing re-exports to primitives crate root.

  First mentioned here https://github.com/rust-bitcoin/rust-bitcoin/pull/4012#discussion_r1943895283

ACKs for top commit:
  tcharding:
    ACK e5c74c38a2
  apoelstra:
    ACK e5c74c38a20e153f0919b43755d58dff8f2c8da2; successfully ran local tests

Tree-SHA512: c3355981ccd3a5db32423f6f44a6e169062c8cbce1f5e358ae2791e24801459a9db22065b83e54950dd3fd745ac4af4dcb1e1bd4625b5f25a9dd4f8fd4e6b860
This commit is contained in:
merge-script 2025-02-08 04:30:32 +00:00
commit b70dd554be
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 3 additions and 1 deletions

View File

@ -68,6 +68,7 @@ pub use self::{
block::{ block::{
Block, Checked as BlockChecked, Unchecked as BlockUnchecked, Validation as BlockValidation, Block, Checked as BlockChecked, Unchecked as BlockUnchecked, Validation as BlockValidation,
}, },
script::{Script, ScriptBuf},
transaction::{Transaction, TxIn, TxOut}, transaction::{Transaction, TxIn, TxOut},
witness::Witness, witness::Witness,
}; };
@ -76,10 +77,11 @@ pub use self::{
block::{BlockHash, Header as BlockHeader, WitnessCommitment}, block::{BlockHash, Header as BlockHeader, WitnessCommitment},
locktime::{absolute, relative}, locktime::{absolute, relative},
merkle_tree::{TxMerkleNode, WitnessMerkleNode}, merkle_tree::{TxMerkleNode, WitnessMerkleNode},
opcodes::Opcode,
pow::CompactTarget, pow::CompactTarget,
sequence::Sequence, sequence::Sequence,
taproot::{TapBranchTag, TapLeafHash, TapLeafTag, TapNodeHash, TapTweakHash, TapTweakTag}, taproot::{TapBranchTag, TapLeafHash, TapLeafTag, TapNodeHash, TapTweakHash, TapTweakTag},
transaction::{Txid, Wtxid}, transaction::{OutPoint, Txid, Wtxid},
}; };
#[rustfmt::skip] #[rustfmt::skip]