global: snapshot

This commit is contained in:
nym21
2025-10-24 12:04:10 +02:00
parent 4f1653b086
commit 1e4acfe124
30 changed files with 200 additions and 139 deletions
+2 -2
View File
@@ -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