mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
Update OpenChannelRequest
documentation
As the `counterparty_node_id` is now required to be passed back to the `ChannelManager` to accept or reject an inbound channel request, the documentation is updated to reflect that.
This commit is contained in:
parent
70fa465924
commit
c1798443b0
1 changed files with 10 additions and 2 deletions
|
@ -432,13 +432,21 @@ pub enum Event {
|
|||
/// The temporary channel ID of the channel requested to be opened.
|
||||
///
|
||||
/// When responding to the request, the `temporary_channel_id` should be passed
|
||||
/// back to the ChannelManager with [`ChannelManager::accept_inbound_channel`] to accept,
|
||||
/// or to [`ChannelManager::force_close_channel`] to reject.
|
||||
/// back to the ChannelManager through [`ChannelManager::accept_inbound_channel`] to accept,
|
||||
/// or through [`ChannelManager::force_close_channel`] to reject.
|
||||
///
|
||||
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
|
||||
/// [`ChannelManager::force_close_channel`]: crate::ln::channelmanager::ChannelManager::force_close_channel
|
||||
temporary_channel_id: [u8; 32],
|
||||
/// The node_id of the counterparty requesting to open the channel.
|
||||
///
|
||||
/// When responding to the request, the `counterparty_node_id` should be passed
|
||||
/// back to the `ChannelManager` through [`ChannelManager::accept_inbound_channel`] to
|
||||
/// accept the request, or through [`ChannelManager::force_close_channel`] to reject the
|
||||
/// request.
|
||||
///
|
||||
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
|
||||
/// [`ChannelManager::force_close_channel`]: crate::ln::channelmanager::ChannelManager::force_close_channel
|
||||
counterparty_node_id: PublicKey,
|
||||
/// The channel value of the requested channel.
|
||||
funding_satoshis: u64,
|
||||
|
|
Loading…
Add table
Reference in a new issue