pub struct DlcInputInfo {
pub fund_tx: Transaction,
pub fund_vout: u32,
pub local_fund_pubkey: PublicKey,
pub remote_fund_pubkey: PublicKey,
pub fund_amount: Amount,
pub max_witness_len: usize,
pub input_serial_id: u64,
pub contract_id: [u8; 32],
}Expand description
Contains information about a DLC input to be used in a funding transaction.
Fields§
§fund_tx: TransactionThe transaction of the funding transaction.
fund_vout: u32The output index of the funding transaction.
local_fund_pubkey: PublicKeyThe local funding public key.
remote_fund_pubkey: PublicKeyThe remote funding public key.
fund_amount: AmountThe amount of the funding transaction.
max_witness_len: usizeThe maximum witness length of the funding transaction.
input_serial_id: u64The serial id of the funding transaction.
contract_id: [u8; 32]The contract id referenced
Trait Implementations§
Source§impl Clone for DlcInputInfo
impl Clone for DlcInputInfo
Source§fn clone(&self) -> DlcInputInfo
fn clone(&self) -> DlcInputInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DlcInputInfo
impl Debug for DlcInputInfo
Source§impl From<&DlcInputInfo> for TxInputInfo
impl From<&DlcInputInfo> for TxInputInfo
Source§fn from(val: &DlcInputInfo) -> Self
fn from(val: &DlcInputInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DlcInputInfo
impl PartialEq for DlcInputInfo
impl Eq for DlcInputInfo
impl StructuralPartialEq for DlcInputInfo
Auto Trait Implementations§
impl Freeze for DlcInputInfo
impl RefUnwindSafe for DlcInputInfo
impl Send for DlcInputInfo
impl Sync for DlcInputInfo
impl Unpin for DlcInputInfo
impl UnwindSafe for DlcInputInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more