Merge rust-bitcoin/rust-bitcoin#790: Re-export psbt module from root level
b138428df7
Re-export public map types from root level (Tobin Harding) Pull request description: We currently have the `map` module private but containing a bunch of types that are needed in the public API (specifically in a `PartiallySignedTransaction`). To give access to them re-export the `util::psbt` module at the root level. Found while testing `master` with `rust-miniscript`. ACKs for top commit: sanket1729: utACKb138428df7
Kixunil: ACKb138428df7
RCasatta: ACKb138428df7
dr-orlovsky: ACKb138428df7
Tree-SHA512: 36fc8595164c4975abdadb6c8149ef27686a2d681a1815379f91b1bd36f8a56ceaa7faed5979ba6869823684790721a16a0c41e662c6227a09cd0ba576a0a181
This commit is contained in:
commit
1f0810ad6e
|
@ -139,6 +139,7 @@ pub use util::sighash::SchnorrSigHashType;
|
||||||
pub use util::ecdsa::{self, EcdsaSig, EcdsaSigError};
|
pub use util::ecdsa::{self, EcdsaSig, EcdsaSigError};
|
||||||
pub use util::schnorr::{self, SchnorrSig, SchnorrSigError};
|
pub use util::schnorr::{self, SchnorrSig, SchnorrSigError};
|
||||||
pub use util::key::{PrivateKey, PublicKey, XOnlyPublicKey, KeyPair};
|
pub use util::key::{PrivateKey, PublicKey, XOnlyPublicKey, KeyPair};
|
||||||
|
pub use util::psbt;
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
pub use blockdata::transaction::SigHashType;
|
pub use blockdata::transaction::SigHashType;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ mod macros;
|
||||||
pub mod serialize;
|
pub mod serialize;
|
||||||
|
|
||||||
mod map;
|
mod map;
|
||||||
pub use self::map::{Input, Output, TapTree};
|
pub use self::map::{Input, Output, TapTree, PsbtSigHashType};
|
||||||
use self::map::Map;
|
use self::map::Map;
|
||||||
|
|
||||||
use util::bip32::{ExtendedPubKey, KeySource};
|
use util::bip32::{ExtendedPubKey, KeySource};
|
||||||
|
|
Loading…
Reference in New Issue