mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-01 18:09:59 -07:00
parser: fixed hanging + global: snapshot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "brk_server"
|
||||
description = "A Bitcoin data server built on top of bindexer, bricer and bomputer"
|
||||
version = "0.1.0"
|
||||
version = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
license = { workspace = true }
|
||||
|
||||
@@ -9,7 +9,7 @@ license = { workspace = true }
|
||||
axum = "0.8.1"
|
||||
brk_computer = { workspace = true }
|
||||
brk_indexer = { workspace = true }
|
||||
brk_printer = { workspace = true }
|
||||
brk_logger = { workspace = true }
|
||||
color-eyre = { workspace = true }
|
||||
derive_deref = { workspace = true }
|
||||
jiff = { workspace = true }
|
||||
|
||||
@@ -22,7 +22,7 @@ pub struct AppState {
|
||||
computer: &'static Computer<STATELESS>,
|
||||
}
|
||||
|
||||
pub const WEBSITE_DEV_PATH: &str = "../websites/kibo.money/";
|
||||
pub const WEBSITE_DEV_PATH: &str = "../../websites/kibo.money/";
|
||||
|
||||
pub async fn main(indexer: Indexer<STATELESS>, computer: Computer<STATELESS>) -> color_eyre::Result<()> {
|
||||
let indexer = Box::leak(Box::new(indexer));
|
||||
|
||||
@@ -8,9 +8,9 @@ use storable_vec::STATELESS;
|
||||
pub async fn main() -> color_eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
|
||||
brk_printer::init_log(None);
|
||||
brk_logger::init(None);
|
||||
|
||||
let path = Path::new("../_outputs");
|
||||
let path = Path::new("../../_outputs");
|
||||
let indexer: Indexer<STATELESS> = Indexer::import(&path.join("indexes"))?;
|
||||
let computer: Computer<STATELESS> = Computer::import(&path.join("computed"))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user