pub struct CloseDlc {
pub protocol_version: u32,
pub contract_id: [u8; 32],
pub close_signature: Signature,
pub accept_payout: Amount,
pub fee_rate_per_vb: u64,
pub fund_input_serial_id: u64,
pub funding_inputs: Vec<FundingInput>,
pub funding_signatures: FundingSignatures,
}
Expand description
Contains information about a party wishing to close a DLC contract.
Fields§
§protocol_version: u32
The version of the protocol used by the peer.
contract_id: [u8; 32]
The id of the contract to close.
close_signature: Signature
The signature for the closing transaction.
accept_payout: Amount
The payout amount for the accept party in satoshis.
fee_rate_per_vb: u64
The fee rate to use to compute transaction fees for this contract.
fund_input_serial_id: u64
Serial id for the funding input.
funding_inputs: Vec<FundingInput>
The funding inputs to use.
funding_signatures: FundingSignatures
The funding signatures.
Trait Implementations§
Source§impl Writeable for CloseDlc
impl Writeable for CloseDlc
impl Eq for CloseDlc
impl StructuralPartialEq for CloseDlc
Auto Trait Implementations§
impl Freeze for CloseDlc
impl RefUnwindSafe for CloseDlc
impl Send for CloseDlc
impl Sync for CloseDlc
impl Unpin for CloseDlc
impl UnwindSafe for CloseDlc
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