mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-10 14:19:10 -07:00
Address review feedback
This commit is contained in:
@@ -52,7 +52,6 @@ pub fn run() -> color_eyre::Result<()> {
|
||||
.enable_all()
|
||||
.build()?
|
||||
.block_on(async {
|
||||
// Always start the server
|
||||
let served_indexer = indexer.clone();
|
||||
let served_computer = computer.clone();
|
||||
|
||||
@@ -66,7 +65,6 @@ pub fn run() -> color_eyre::Result<()> {
|
||||
|
||||
sleep(Duration::from_secs(1));
|
||||
|
||||
// Always run the processor
|
||||
loop {
|
||||
wait_for_synced_node(rpc)?;
|
||||
|
||||
|
||||
@@ -43,10 +43,10 @@ pub struct Parser {
|
||||
}
|
||||
|
||||
impl Parser {
|
||||
pub fn new(blocks_dir: PathBuf, brk_dir: PathBuf, rpc: &'static bitcoincore_rpc::Client) -> Self {
|
||||
pub fn new(blocks_dir: PathBuf, outputs_dir: PathBuf, rpc: &'static bitcoincore_rpc::Client) -> Self {
|
||||
Self {
|
||||
blocks_dir,
|
||||
outputs_dir: brk_dir,
|
||||
outputs_dir: outputs_dir,
|
||||
rpc
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user