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: u32The version of the protocol used by the peer.
contract_id: [u8; 32]The id of the contract to close.
close_signature: SignatureThe signature for the closing transaction.
accept_payout: AmountThe payout amount for the accept party in satoshis.
fee_rate_per_vb: u64The fee rate to use to compute transaction fees for this contract.
fund_input_serial_id: u64Serial id for the funding input.
funding_inputs: Vec<FundingInput>The funding inputs to use.
funding_signatures: FundingSignaturesThe 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