File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,13 @@ pub trait BlockSource : Sync + Send {
59
59
/// error.
60
60
fn get_block < ' a > ( & ' a mut self , header_hash : & ' a BlockHash ) -> AsyncBlockSourceResult < ' a , Block > ;
61
61
62
- // TODO: Phrase in terms of `Poll` once added.
63
- /// Returns the hash of the best block and, optionally, its height. When polling a block source,
64
- /// the height is passed to `get_header` to allow for a more efficient lookup.
62
+ /// Returns the hash of the best block and, optionally, its height.
63
+ ///
64
+ /// When polling a block source, [`Poll`] implementations may pass the height to [`get_header`]
65
+ /// to allow for a more efficient lookup.
66
+ ///
67
+ /// [`Poll`]: poll/trait.Poll.html
68
+ /// [`get_header`]: #tymethod.get_header
65
69
fn get_best_block < ' a > ( & ' a mut self ) -> AsyncBlockSourceResult < ( BlockHash , Option < u32 > ) > ;
66
70
}
67
71
You can’t perform that action at this time.
0 commit comments