Struct bitcoin::util::psbt::PartiallySignedTransaction [−][src]
pub struct PartiallySignedTransaction {
pub global: Global,
pub inputs: Vec<Input>,
pub outputs: Vec<Output>,
}A Partially Signed Transaction.
Fields
global: GlobalThe key-value pairs for all global data.
inputs: Vec<Input>The corresponding key-value map for each input in the unsigned transaction.
outputs: Vec<Output>The corresponding key-value map for each output in the unsigned transaction.
Implementations
impl PartiallySignedTransaction[src]
impl PartiallySignedTransaction[src]pub fn from_unsigned_tx(tx: Transaction) -> Result<Self, Error>[src]
Create a PartiallySignedTransaction from an unsigned transaction, error if not unsigned
pub fn extract_tx(self) -> Transaction[src]
Extract the Transaction from a PartiallySignedTransaction by filling in the available signature information in place.
pub fn merge(&mut self, other: Self) -> Result<(), Error>[src]
Attempt to merge with another PartiallySignedTransaction.
Trait Implementations
impl Clone for PartiallySignedTransaction[src]
impl Clone for PartiallySignedTransaction[src]fn clone(&self) -> PartiallySignedTransaction[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Decodable for PartiallySignedTransaction[src]
impl Decodable for PartiallySignedTransaction[src]fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>[src]
impl<'de> Deserialize<'de> for PartiallySignedTransaction[src]
impl<'de> Deserialize<'de> for PartiallySignedTransaction[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Encodable for PartiallySignedTransaction[src]
impl Encodable for PartiallySignedTransaction[src]impl PartialEq<PartiallySignedTransaction> for PartiallySignedTransaction[src]
impl PartialEq<PartiallySignedTransaction> for PartiallySignedTransaction[src]fn eq(&self, other: &PartiallySignedTransaction) -> bool[src]
fn ne(&self, other: &PartiallySignedTransaction) -> bool[src]
impl Serialize for PartiallySignedTransaction[src]
impl Serialize for PartiallySignedTransaction[src]