pub struct Splice {
pub channel_id: ChannelId,
pub chain_hash: ChainHash,
pub relative_satoshis: i64,
pub funding_feerate_perkw: u32,
pub locktime: u32,
pub funding_pubkey: PublicKey,
}
Expand description
A splice message to be sent by or received from the stfu initiator (splice initiator).
Fields§
§channel_id: ChannelId
The channel ID where splicing is intended
chain_hash: ChainHash
The genesis hash of the blockchain where the channel is intended to be spliced
relative_satoshis: i64
The intended change in channel capacity: the amount to be added (positive value) or removed (negative value) by the sender (splice initiator) by splicing into/from the channel.
funding_feerate_perkw: u32
The feerate for the new funding transaction, set by the splice initiator
locktime: u32
The locktime for the new funding transaction
funding_pubkey: PublicKey
The key of the sender (splice initiator) controlling the new funding transaction
Trait Implementations§
source§impl PartialEq for Splice
impl PartialEq for Splice
source§impl Writeable for Splice
impl Writeable for Splice
impl Eq for Splice
impl StructuralPartialEq for Splice
Auto Trait Implementations§
impl Freeze for Splice
impl RefUnwindSafe for Splice
impl Send for Splice
impl Sync for Splice
impl Unpin for Splice
impl UnwindSafe for Splice
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