mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 15:19:58 -07:00
rpc: init wrapper crate + global: snapshot
This commit is contained in:
13
crates/brk_iterator/src/lib.rs
Normal file
13
crates/brk_iterator/src/lib.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use brk_rpc::Client;
|
||||
|
||||
pub struct BlockIterator {
|
||||
client: Client,
|
||||
}
|
||||
|
||||
impl BlockIterator {
|
||||
pub fn new(client: Client) -> Self {
|
||||
Self { client }
|
||||
}
|
||||
|
||||
pub fn iter() {}
|
||||
}
|
||||
Reference in New Issue
Block a user