pub struct ClosingSig {
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_sig 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 ClosingSig
impl Clone for ClosingSig
Source§fn clone(&self) -> ClosingSig
fn clone(&self) -> ClosingSig
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 ClosingSig
impl Debug for ClosingSig
Source§impl Hash for ClosingSig
impl Hash for ClosingSig
Source§impl LengthReadable for ClosingSig
impl LengthReadable for ClosingSig
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 ClosingSig
impl PartialEq for ClosingSig
Source§impl Writeable for ClosingSig
impl Writeable for ClosingSig
impl Eq for ClosingSig
impl StructuralPartialEq for ClosingSig
Auto Trait Implementations§
impl Freeze for ClosingSig
impl RefUnwindSafe for ClosingSig
impl Send for ClosingSig
impl Sync for ClosingSig
impl Unpin for ClosingSig
impl UnwindSafe for ClosingSig
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