@@ -9,7 +9,7 @@ use lightning::chain;
9
9
10
10
/// Returns a validated block header of the source's best chain tip.
11
11
///
12
- /// Upon success, the returned header can be used to initialize [`SpvClient`]. Useful during a fresh
12
+ /// Upon success, the returned header can be used to initialize [`crate:: SpvClient`]. Useful during a fresh
13
13
/// start when there are no chain listeners to sync yet.
14
14
pub async fn validate_best_block_header < B : BlockSource > ( block_source : & mut B ) ->
15
15
BlockSourceResult < ValidatedBlockHeader > {
@@ -22,12 +22,12 @@ BlockSourceResult<ValidatedBlockHeader> {
22
22
/// Performs a one-time sync of chain listeners using a single *trusted* block source, bringing each
23
23
/// listener's view of the chain from its paired block hash to `block_source`'s best chain tip.
24
24
///
25
- /// Upon success, the returned header can be used to initialize [`SpvClient`]. In the case of
25
+ /// Upon success, the returned header can be used to initialize [`crate:: SpvClient`]. In the case of
26
26
/// failure, each listener may be left at a different block hash than the one it was originally
27
27
/// paired with.
28
28
///
29
29
/// Useful during startup to bring the [`ChannelManager`] and each [`ChannelMonitor`] in sync before
30
- /// switching to [`SpvClient`]. For example:
30
+ /// switching to [`crate:: SpvClient`]. For example:
31
31
///
32
32
/// ```
33
33
/// use bitcoin::hash_types::BlockHash;
@@ -113,9 +113,8 @@ BlockSourceResult<ValidatedBlockHeader> {
113
113
/// }
114
114
/// ```
115
115
///
116
- /// [`SpvClient`]: ../struct.SpvClient.html
117
- /// [`ChannelManager`]: ../../lightning/ln/channelmanager/struct.ChannelManager.html
118
- /// [`ChannelMonitor`]: ../../lightning/chain/channelmonitor/struct.ChannelMonitor.html
116
+ /// [`ChannelManager`]: `lightning::ln::channelmanager::ChannelManager`
117
+ /// [`ChannelMonitor`]: `lightning::chain::channelmonitor::ChannelMonitor`
119
118
pub async fn synchronize_listeners < B : BlockSource , C : Cache > (
120
119
block_source : & mut B ,
121
120
network : Network ,
0 commit comments