Merge rust-bitcoin/rust-bitcoin#1744: Expose XOnlyPublicKey in crate root

1db0b21b84 Expose XonlyPublicKey and TapSighashType in crate root (sanket1729)

Pull request description:

ACKs for top commit:
  tcharding:
    ACK 1db0b21b84
  apoelstra:
    ACK 1db0b21b84

Tree-SHA512: c997024e046139d5aa89e16793e582dce6cfe8a06867aa11769c15f39f15159b6207227cd103b72dbb9e9dde7ad4451bfcc32bc04d74143bd2c8344f1ec488d1
This commit is contained in:
Andrew Poelstra 2023-08-14 14:44:11 +00:00
commit c276cea66d
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 4 additions and 1 deletions

View File

@ -140,13 +140,16 @@ pub use crate::blockdata::weight::Weight;
pub use crate::blockdata::witness::{self, Witness};
pub use crate::blockdata::{constants, opcodes};
pub use crate::consensus::encode::VarInt;
pub use crate::crypto::key::{self, PrivateKey, PubkeyHash, PublicKey, WPubkeyHash};
pub use crate::crypto::key::{
self, PrivateKey, PubkeyHash, PublicKey, WPubkeyHash, XOnlyPublicKey,
};
pub use crate::crypto::{ecdsa, sighash};
pub use crate::hash_types::{BlockHash, Txid, Wtxid};
pub use crate::merkle_tree::MerkleBlock;
pub use crate::network::Network;
pub use crate::pow::{CompactTarget, Target, Work};
pub use crate::psbt::Psbt;
pub use crate::sighash::{EcdsaSighashType, TapSighashType};
#[cfg(not(feature = "std"))]
mod io_extras {