mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-24 01:18:10 -07:00
global: snapshot
This commit is contained in:
@@ -17,9 +17,9 @@ fn main() -> Result<()> {
|
||||
Auth::CookieFile(bitcoin_dir.join(".cookie")),
|
||||
)?;
|
||||
|
||||
let reader = Reader::new(bitcoin_dir.join("blocks"), client.clone());
|
||||
let reader = Reader::new(bitcoin_dir.join("blocks"), &client);
|
||||
|
||||
let blocks = Blocks::new(client, reader);
|
||||
let blocks = Blocks::new(&client, &reader);
|
||||
|
||||
let i = Instant::now();
|
||||
blocks
|
||||
|
||||
Reference in New Issue
Block a user