pub struct TxInputInfo {
pub outpoint: OutPoint,
pub max_witness_len: usize,
pub redeem_script: ScriptBuf,
pub serial_id: u64,
}Expand description
Contains info about a utxo used for funding a DLC contract
Fields§
§outpoint: OutPointThe outpoint for the utxo
max_witness_len: usizeThe maximum witness length
redeem_script: ScriptBufThe redeem script
serial_id: u64The serial id for the input that will be used for ordering inputs of the fund transaction
Trait Implementations§
Source§impl Clone for TxInputInfo
impl Clone for TxInputInfo
Source§fn clone(&self) -> TxInputInfo
fn clone(&self) -> TxInputInfo
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 TxInputInfo
impl Debug for TxInputInfo
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.
Auto Trait Implementations§
impl Freeze for TxInputInfo
impl RefUnwindSafe for TxInputInfo
impl Send for TxInputInfo
impl Sync for TxInputInfo
impl Unpin for TxInputInfo
impl UnwindSafe for TxInputInfo
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