File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1523,7 +1523,7 @@ pub enum Event {
1523
1523
/// To accept the request (and in the case of a dual-funded channel, not contribute funds),
1524
1524
/// call [`ChannelManager::accept_inbound_channel`].
1525
1525
/// To reject the request, call [`ChannelManager::force_close_broadcasting_latest_txn`].
1526
- /// Note that a [' ChannelClosed`] event will _not_ be triggered if the channel is rejected.
1526
+ /// Note that a [` ChannelClosed`] event will _not_ be triggered if the channel is rejected.
1527
1527
///
1528
1528
/// The event is only triggered when a new open channel request is received and the
1529
1529
/// [`UserConfig::manually_accept_inbound_channels`] config flag is set to true.
@@ -1533,6 +1533,7 @@ pub enum Event {
1533
1533
/// returning `Err(ReplayEvent ())`) and won't be persisted across restarts.
1534
1534
///
1535
1535
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
1536
+ /// [`ChannelClosed`]: Event::ChannelClosed
1536
1537
/// [`ChannelManager::force_close_broadcasting_latest_txn`]: crate::ln::channelmanager::ChannelManager::force_close_broadcasting_latest_txn
1537
1538
/// [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels
1538
1539
OpenChannelRequest {
Original file line number Diff line number Diff line change @@ -4286,7 +4286,7 @@ where
4286
4286
///
4287
4287
/// The `shutdown_script` provided will be used as the `scriptPubKey` for the closing transaction.
4288
4288
/// Will fail if a shutdown script has already been set for this channel by
4289
- /// [' ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
4289
+ /// [` ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
4290
4290
/// also be compatible with our and the counterparty's features.
4291
4291
///
4292
4292
/// May generate a [`SendShutdown`] message event on success, which should be relayed.
@@ -4298,6 +4298,7 @@ where
4298
4298
///
4299
4299
/// [`ChannelConfig::force_close_avoidance_max_fee_satoshis`]: crate::util::config::ChannelConfig::force_close_avoidance_max_fee_satoshis
4300
4300
/// [`NonAnchorChannelFee`]: crate::chain::chaininterface::ConfirmationTarget::NonAnchorChannelFee
4301
+ /// [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]: crate::util::config::ChannelHandshakeConfig::commit_upfront_shutdown_pubkey
4301
4302
/// [`SendShutdown`]: MessageSendEvent::SendShutdown
4302
4303
pub fn close_channel_with_feerate_and_script(
4303
4304
&self, channel_id: &ChannelId, counterparty_node_id: &PublicKey,
Original file line number Diff line number Diff line change @@ -1590,7 +1590,7 @@ pub enum LocalHTLCFailureReason {
1590
1590
/// The HTLC expires too far in the future, so it is rejected to avoid the worst-case outcome
1591
1591
/// of funds being held for extended periods of time.
1592
1592
///
1593
- /// Limit set by [' crate::ln::channelmanager::CLTV_FAR_FAR_AWAY`].
1593
+ // Limit set by [` crate::ln::channelmanager::CLTV_FAR_FAR_AWAY`].
1594
1594
CLTVExpiryTooFar ,
1595
1595
/// The HTLC payload contained in the onion packet could not be understood by our node.
1596
1596
InvalidOnionPayload ,
Original file line number Diff line number Diff line change @@ -2804,6 +2804,8 @@ where
2804
2804
/// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
2805
2805
/// [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards
2806
2806
/// [`send_data`]: SocketDescriptor::send_data
2807
+ /// [`lightning-net-tokio`]: lightning-net-tokio
2808
+ /// [`lightning-background-processor`]: lightning-background-processor
2807
2809
pub fn process_events ( & self ) {
2808
2810
if self . event_processing_state . fetch_add ( 1 , Ordering :: AcqRel ) > 0 {
2809
2811
// If we're not the first event processor to get here, just return early, the increment
You can’t perform that action at this time.
0 commit comments