Expose XonlyPublicKey and TapSighashType in crate root

This commit is contained in:
sanket1729 2023-03-23 17:20:43 -07:00
parent caf53d755d
commit 1db0b21b84
No known key found for this signature in database
GPG Key ID: 648FFB183E0870A2
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 {