Struct bitcoin::util::psbt::Output [−][src]
pub struct Output {
pub redeem_script: Option<Script>,
pub witness_script: Option<Script>,
pub bip32_derivation: BTreeMap<PublicKey, KeySource>,
pub proprietary: BTreeMap<ProprietaryKey, Vec<u8>>,
pub unknown: BTreeMap<Key, Vec<u8>>,
}Expand description
A key-value map for an output of the corresponding index in the unsigned transaction.
Fields
redeem_script: Option<Script>The redeem script for this output.
witness_script: Option<Script>The witness script for this output.
bip32_derivation: BTreeMap<PublicKey, KeySource>A map from public keys needed to spend this output to their corresponding master key fingerprints and derivation paths.
proprietary: BTreeMap<ProprietaryKey, Vec<u8>>Proprietary key-value pairs for this output.
unknown: BTreeMap<Key, Vec<u8>>Unknown key-value pairs for this output.
Trait Implementations
Decode an object with a well-defined format
Auto Trait Implementations
impl RefUnwindSafe for Output
impl UnwindSafe for Output
Blanket Implementations
Mutably borrows from an owned value. Read more