mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 07:09:59 -07:00
global: one big snapshot
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
use std::path::Path;
|
||||
|
||||
use brk_computer::Computer;
|
||||
use brk_error::Result;
|
||||
use brk_indexer::Indexer;
|
||||
use brk_interface::{Index, Interface, Params, ParamsOpt};
|
||||
use brk_vecs::{Computation, Format};
|
||||
|
||||
pub fn main() -> color_eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
|
||||
pub fn main() -> Result<()> {
|
||||
let outputs_dir = Path::new("../../_outputs");
|
||||
|
||||
let format = Format::Compressed;
|
||||
|
||||
let indexer = Indexer::forced_import(outputs_dir)?;
|
||||
|
||||
let computer = Computer::forced_import(outputs_dir, &indexer, Computation::Lazy, None, format)?;
|
||||
let computer = Computer::forced_import(outputs_dir, &indexer, None)?;
|
||||
|
||||
let interface = Interface::build(&indexer, &computer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user