Skip to content

Commit c5f363a

Browse files
committed
f - Fill in comments in BlockSource example
1 parent 124a5e8 commit c5f363a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/blockdata.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ headers, blocks, and the best block hash.
7474
```rust
7575
impl BlockSource for Blockchain {
7676
fn get_header<'a>(&'a mut self, header_hash: &'a BlockHash, _height: Option<u32>) -> AsyncBlockSourceResult<'a, BlockHeaderData> {
77-
//
77+
// <insert code for fetching block headers>
7878
}
7979

8080
fn get_block<'a>(&'a mut self, header_hash: &'a BlockHash) -> AsyncBlockSourceResult<'a, Block> {
81-
//
81+
// <insert code for fetching block>
8282
}
8383

8484
fn get_best_block<'a>(&'a mut self) -> AsyncBlockSourceResult<'a, (BlockHash, Option<u32>)> {
85-
//
85+
// <insert code for fetching the best block hash>
8686
}
8787
}
8888
```

0 commit comments

Comments
 (0)