pub struct ClosingComplete {
pub channel_id: ChannelId,
pub closer_scriptpubkey: ScriptBuf,
pub closee_scriptpubkey: ScriptBuf,
pub fee_satoshis: u64,
pub locktime: u32,
pub closer_output_only: Option<Signature>,
pub closee_output_only: Option<Signature>,
pub closer_and_closee_outputs: Option<Signature>,
}Expand description
A closing_complete message to be sent to or received from a peer.
Fields§
§channel_id: ChannelIdThe channel ID.
closer_scriptpubkey: ScriptBufThe destination of the closer’s funds on closing.
closee_scriptpubkey: ScriptBufThe destination of the closee’s funds on closing.
fee_satoshis: u64The proposed total fee for the closing transaction.
locktime: u32The locktime of the closing transaction.
closer_output_only: Option<Signature>A signature on the closing transaction omitting the closee output.
closee_output_only: Option<Signature>A signature on the closing transaction omitting the closer output.
closer_and_closee_outputs: Option<Signature>A signature on the closing transaction covering both closer and closee outputs.
Trait Implementations§
Source§impl Clone for ClosingComplete
impl Clone for ClosingComplete
Source§fn clone(&self) -> ClosingComplete
fn clone(&self) -> ClosingComplete
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 ClosingComplete
impl Debug for ClosingComplete
Source§impl Hash for ClosingComplete
impl Hash for ClosingComplete
Source§impl LengthReadable for ClosingComplete
impl LengthReadable for ClosingComplete
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl PartialEq for ClosingComplete
impl PartialEq for ClosingComplete
Source§impl Writeable for ClosingComplete
impl Writeable for ClosingComplete
impl Eq for ClosingComplete
impl StructuralPartialEq for ClosingComplete
Auto Trait Implementations§
impl Freeze for ClosingComplete
impl RefUnwindSafe for ClosingComplete
impl Send for ClosingComplete
impl Sync for ClosingComplete
impl Unpin for ClosingComplete
impl UnwindSafe for ClosingComplete
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