Add PSBT alias
Programmers are inherently lazy and for good reason. I'm yet to see anyone write `PartiallySignedTransaction` in code that uses `rust-bitcoin`, its too obvious to add a type alias for PSBTs, let's just do it ourselves to save everyone else having to do so. Add public type alias `Psbt` for `PartiallySignedTransaction`.
This commit is contained in:
parent
8ca18f75dd
commit
f92854a805
|
@ -46,6 +46,9 @@ use self::map::Map;
|
|||
|
||||
use util::bip32::{ExtendedPubKey, KeySource};
|
||||
|
||||
/// Partially signed transaction, commonly referred to as a PSBT.
|
||||
pub type Psbt = PartiallySignedTransaction;
|
||||
|
||||
/// A Partially Signed Transaction.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
|
|
Loading…
Reference in New Issue