Re-export public map types from root level
We currently have the `map` module private but containing a bunch of types that are needed in the public API (specifically in a `PartiallySignedTransaction`). Re-export the publicly required types to the `psbt` module and then again at the root level of `rust-bitcoin` as we do for other types.
This commit is contained in:
parent
8acdb1ab64
commit
b138428df7
|
@ -139,6 +139,7 @@ pub use util::sighash::SchnorrSigHashType;
|
|||
pub use util::ecdsa::{self, EcdsaSig, EcdsaSigError};
|
||||
pub use util::schnorr::{self, SchnorrSig, SchnorrSigError};
|
||||
pub use util::key::{PrivateKey, PublicKey, XOnlyPublicKey, KeyPair};
|
||||
pub use util::psbt;
|
||||
#[allow(deprecated)]
|
||||
pub use blockdata::transaction::SigHashType;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ mod macros;
|
|||
pub mod serialize;
|
||||
|
||||
mod map;
|
||||
pub use self::map::{Input, Output, TapTree};
|
||||
pub use self::map::{Input, Output, TapTree, PsbtSigHashType};
|
||||
use self::map::Map;
|
||||
|
||||
use util::bip32::{ExtendedPubKey, KeySource};
|
||||
|
|
Loading…
Reference in New Issue