Struct lightning::sign::ChannelDerivationParameters
source · pub struct ChannelDerivationParameters {
pub value_satoshis: u64,
pub keys_id: [u8; 32],
pub transaction_parameters: ChannelTransactionParameters,
}
Expand description
The parameters required to derive a channel signer via SignerProvider
.
Fields§
§value_satoshis: u64
The value in satoshis of the channel we’re attempting to spend the anchor output of.
keys_id: [u8; 32]
The unique identifier to re-derive the signer for the associated channel.
transaction_parameters: ChannelTransactionParameters
The necessary channel parameters that need to be provided to the re-derived signer through
ChannelSigner::provide_channel_parameters
.
Trait Implementations§
source§impl Clone for ChannelDerivationParameters
impl Clone for ChannelDerivationParameters
source§fn clone(&self) -> ChannelDerivationParameters
fn clone(&self) -> ChannelDerivationParameters
Returns a copy 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 ChannelDerivationParameters
impl Debug for ChannelDerivationParameters
source§impl PartialEq for ChannelDerivationParameters
impl PartialEq for ChannelDerivationParameters
source§fn eq(&self, other: &ChannelDerivationParameters) -> bool
fn eq(&self, other: &ChannelDerivationParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Writeable for ChannelDerivationParameters
impl Writeable for ChannelDerivationParameters
impl Eq for ChannelDerivationParameters
impl StructuralPartialEq for ChannelDerivationParameters
Auto Trait Implementations§
impl Freeze for ChannelDerivationParameters
impl RefUnwindSafe for ChannelDerivationParameters
impl Send for ChannelDerivationParameters
impl Sync for ChannelDerivationParameters
impl Unpin for ChannelDerivationParameters
impl UnwindSafe for ChannelDerivationParameters
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