@@ -75,28 +75,28 @@ pub trait Listen {
75
75
/// funds in the channel. See [`ChannelMonitorUpdateErr`] for more details about how to handle
76
76
/// multiple instances.
77
77
///
78
- /// [`ChannelMonitor`]: ` channelmonitor::ChannelMonitor`
79
- /// [`ChannelMonitorUpdateErr`]: ` channelmonitor::ChannelMonitorUpdateErr`
80
- /// [`PermanentFailure`]: ` channelmonitor::ChannelMonitorUpdateErr::PermanentFailure`
78
+ /// [`ChannelMonitor`]: channelmonitor::ChannelMonitor
79
+ /// [`ChannelMonitorUpdateErr`]: channelmonitor::ChannelMonitorUpdateErr
80
+ /// [`PermanentFailure`]: channelmonitor::ChannelMonitorUpdateErr::PermanentFailure
81
81
pub trait Watch < ChannelSigner : Sign > : Send + Sync {
82
82
/// Watches a channel identified by `funding_txo` using `monitor`.
83
83
///
84
84
/// Implementations are responsible for watching the chain for the funding transaction along
85
85
/// with any spends of outputs returned by [`get_outputs_to_watch`]. In practice, this means
86
86
/// calling [`block_connected`] and [`block_disconnected`] on the monitor.
87
87
///
88
- /// [`get_outputs_to_watch`]: ` channelmonitor::ChannelMonitor::get_outputs_to_watch
89
- /// [`block_connected`]: ` channelmonitor::ChannelMonitor::block_connected`
90
- /// [`block_disconnected`]: ` channelmonitor::ChannelMonitor::block_disconnected`
88
+ /// [`get_outputs_to_watch`]: channelmonitor::ChannelMonitor::get_outputs_to_watch
89
+ /// [`block_connected`]: channelmonitor::ChannelMonitor::block_connected
90
+ /// [`block_disconnected`]: channelmonitor::ChannelMonitor::block_disconnected
91
91
fn watch_channel ( & self , funding_txo : OutPoint , monitor : ChannelMonitor < ChannelSigner > ) -> Result < ( ) , ChannelMonitorUpdateErr > ;
92
92
93
93
/// Updates a channel identified by `funding_txo` by applying `update` to its monitor.
94
94
///
95
95
/// Implementations must call [`update_monitor`] with the given update. See
96
96
/// [`ChannelMonitorUpdateErr`] for invariants around returning an error.
97
97
///
98
- /// [`update_monitor`]: ` channelmonitor::ChannelMonitor::update_monitor`
99
- /// [`ChannelMonitorUpdateErr`]: ` channelmonitor::ChannelMonitorUpdateErr
98
+ /// [`update_monitor`]: channelmonitor::ChannelMonitor::update_monitor
99
+ /// [`ChannelMonitorUpdateErr`]: channelmonitor::ChannelMonitorUpdateErr
100
100
fn update_channel ( & self , funding_txo : OutPoint , update : ChannelMonitorUpdate ) -> Result < ( ) , ChannelMonitorUpdateErr > ;
101
101
102
102
/// Returns any monitor events since the last call. Subsequent calls must only return new
@@ -121,7 +121,7 @@ pub trait Watch<ChannelSigner: Sign>: Send + Sync {
121
121
/// processed later. Then, in order to block until the data has been processed, any [`Watch`]
122
122
/// invocation that has called the `Filter` must return [`TemporaryFailure`].
123
123
///
124
- /// [`TemporaryFailure`]: ` channelmonitor::ChannelMonitorUpdateErr::TemporaryFailure`
124
+ /// [`TemporaryFailure`]: channelmonitor::ChannelMonitorUpdateErr::TemporaryFailure
125
125
/// [BIP 157]: https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki
126
126
/// [BIP 158]: https://github.com/bitcoin/bips/blob/master/bip-0158.mediawiki
127
127
pub trait Filter : Send + Sync {
0 commit comments