Skip to content

Commit 9c57f0e

Browse files
tankyleoTheBlueMatt
authored andcommitted
Miscellanous CI fixes
Backports the documentation changes from 2ce8e64
1 parent a4f2721 commit 9c57f0e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

lightning/src/events/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ pub enum Event {
13641364
/// To accept the request (and in the case of a dual-funded channel, not contribute funds),
13651365
/// call [`ChannelManager::accept_inbound_channel`].
13661366
/// To reject the request, call [`ChannelManager::force_close_without_broadcasting_txn`].
1367-
/// Note that a ['ChannelClosed`] event will _not_ be triggered if the channel is rejected.
1367+
/// Note that a [`ChannelClosed`] event will _not_ be triggered if the channel is rejected.
13681368
///
13691369
/// The event is only triggered when a new open channel request is received and the
13701370
/// [`UserConfig::manually_accept_inbound_channels`] config flag is set to true.
@@ -1374,6 +1374,7 @@ pub enum Event {
13741374
/// returning `Err(ReplayEvent ())`) and won't be persisted across restarts.
13751375
///
13761376
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
1377+
/// [`ChannelClosed`]: Event::ChannelClosed
13771378
/// [`ChannelManager::force_close_without_broadcasting_txn`]: crate::ln::channelmanager::ChannelManager::force_close_without_broadcasting_txn
13781379
/// [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels
13791380
OpenChannelRequest {

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,7 @@ where
23712371
/// [`get_event_or_persistence_needed_future`]: Self::get_event_or_persistence_needed_future
23722372
/// [`lightning-block-sync`]: https://docs.rs/lightning_block_sync/latest/lightning_block_sync
23732373
/// [`lightning-transaction-sync`]: https://docs.rs/lightning_transaction_sync/latest/lightning_transaction_sync
2374-
/// [`lightning-background-processor`]: https://docs.rs/lightning_background_processor/lightning_background_processor
2374+
/// [`lightning-background-processor`]: https://docs.rs/lightning-background-processor/latest/lightning_background_processor
23752375
/// [`list_channels`]: Self::list_channels
23762376
/// [`list_usable_channels`]: Self::list_usable_channels
23772377
/// [`create_channel`]: Self::create_channel
@@ -3997,7 +3997,7 @@ where
39973997
///
39983998
/// The `shutdown_script` provided will be used as the `scriptPubKey` for the closing transaction.
39993999
/// Will fail if a shutdown script has already been set for this channel by
4000-
/// ['ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
4000+
/// [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
40014001
/// also be compatible with our and the counterparty's features.
40024002
///
40034003
/// May generate a [`SendShutdown`] message event on success, which should be relayed.
@@ -4009,6 +4009,7 @@ where
40094009
///
40104010
/// [`ChannelConfig::force_close_avoidance_max_fee_satoshis`]: crate::util::config::ChannelConfig::force_close_avoidance_max_fee_satoshis
40114011
/// [`NonAnchorChannelFee`]: crate::chain::chaininterface::ConfirmationTarget::NonAnchorChannelFee
4012+
/// [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]: crate::util::config::ChannelHandshakeConfig::commit_upfront_shutdown_pubkey
40124013
/// [`SendShutdown`]: crate::events::MessageSendEvent::SendShutdown
40134014
pub fn close_channel_with_feerate_and_script(&self, channel_id: &ChannelId, counterparty_node_id: &PublicKey, target_feerate_sats_per_1000_weight: Option<u32>, shutdown_script: Option<ShutdownScript>) -> Result<(), APIError> {
40144015
self.close_channel_internal(channel_id, counterparty_node_id, target_feerate_sats_per_1000_weight, shutdown_script)

lightning/src/ln/peer_handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,6 +2102,8 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
21022102
/// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
21032103
/// [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards
21042104
/// [`send_data`]: SocketDescriptor::send_data
2105+
/// [`lightning-net-tokio`]: https://docs.rs/lightning-net-tokio/latest/lightning_net_tokio
2106+
/// [`lightning-background-processor`]: https://docs.rs/lightning-background-processor/latest/lightning_background_processor
21052107
pub fn process_events(&self) {
21062108
if self.event_processing_state.fetch_add(1, Ordering::AcqRel) > 0 {
21072109
// If we're not the first event processor to get here, just return early, the increment

0 commit comments

Comments
 (0)