Struct bitcoin::util::psbt::Global [−][src]
pub struct Global {
pub unsigned_tx: Transaction,
pub version: u32,
pub xpub: BTreeMap<ExtendedPubKey, KeySource>,
pub proprietary: BTreeMap<ProprietaryKey, Vec<u8>>,
pub unknown: BTreeMap<Key, Vec<u8>>,
}Expand description
A key-value map for global data.
Fields
unsigned_tx: TransactionThe unsigned transaction, scriptSigs and witnesses for each input must be empty.
version: u32The version number of this PSBT. If omitted, the version number is 0.
xpub: BTreeMap<ExtendedPubKey, KeySource>A global map from extended public keys to the used key fingerprint and derivation path as defined by BIP 32
proprietary: BTreeMap<ProprietaryKey, Vec<u8>>Global proprietary key-value pairs.
unknown: BTreeMap<Key, Vec<u8>>Unknown global key-value pairs.
Implementations
Create a Global from an unsigned transaction, error if not unsigned
Trait Implementations
Decode an object with a well-defined format
Auto Trait Implementations
impl RefUnwindSafe for Global
impl UnwindSafe for Global
Blanket Implementations
Mutably borrows from an owned value. Read more