mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-24 09:28:11 -07:00
global: snapshot
This commit is contained in:
@@ -4,7 +4,7 @@ use brk_error::Result;
|
||||
use brk_iterator::Blocks;
|
||||
use brk_reader::Reader;
|
||||
use brk_rpc::{Auth, Client};
|
||||
use brk_structs::Height;
|
||||
use brk_types::Height;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let bitcoin_dir = Path::new(&std::env::var("HOME").unwrap())
|
||||
@@ -26,7 +26,7 @@ fn main() -> Result<()> {
|
||||
.range(Height::new(920040), Height::new(920041))?
|
||||
// .start(Height::new(920040))?
|
||||
// .end(Height::new(10))?
|
||||
// .after(brk_structs::BlockHash::try_from(
|
||||
// .after(brk_types::BlockHash::try_from(
|
||||
// "00000000000000000000840d205cac2728740e0e7c5dc92a04c52503017c6241",
|
||||
// )?)?
|
||||
.for_each(|b| {
|
||||
|
||||
Reference in New Issue
Block a user