Trait lnp::extension::ChannelExtension [−][src]
Required methods
fn channel_state(&self) -> Box<dyn State>
[src]
Returns channel state for persistence & backups.
These are channel-specific data generated from channel operations, including client-validated data
fn apply(&mut self, tx_graph: &mut TxGraph) -> Result<(), Error>
[src]
Applies state to the channel transaction graph
Implementors
impl ChannelExtension for Bip96
[src]
fn channel_state(&self) -> Box<dyn State>
[src]
fn apply(&mut self, tx_graph: &mut TxGraph) -> Result<(), Error>
[src]
impl ChannelExtension for Bolt3
[src]
fn channel_state(&self) -> Box<dyn State>
[src]
fn apply(&mut self, tx_graph: &mut TxGraph) -> Result<(), Error>
[src]
impl ChannelExtension for Htlc
[src]
fn channel_state(&self) -> Box<dyn State>
[src]
fn apply(&mut self, tx_graph: &mut TxGraph) -> Result<(), Error>
[src]
impl<N> ChannelExtension for Channel<N> where
N: 'static + Nomenclature,
[src]
N: 'static + Nomenclature,
Channel is the extension to itself :) so it receives the same input as any other extension and just forwards it to them