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>>, }
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
impl<'de> Deserialize<'de> for Output
[src]
impl<'de> Deserialize<'de> for Output
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,