mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-24 17:38:09 -07:00
global: one big snapshot
This commit is contained in:
@@ -11,7 +11,8 @@ use std::{
|
||||
path::Path,
|
||||
};
|
||||
|
||||
use brk_core::{Height, Result, Version};
|
||||
use brk_error::Result;
|
||||
use brk_structs::{Height, Version};
|
||||
use byteview::ByteView;
|
||||
use fjall::{
|
||||
PartitionCreateOptions, PersistMode, ReadTransaction, TransactionalKeyspace,
|
||||
|
||||
@@ -3,7 +3,8 @@ use std::{
|
||||
path::{Path, PathBuf},
|
||||
};
|
||||
|
||||
use brk_core::{Result, Version};
|
||||
use brk_error::Result;
|
||||
use brk_structs::Version;
|
||||
use fjall::{PersistMode, TransactionalKeyspace, TransactionalPartitionHandle};
|
||||
|
||||
use super::Height;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
use brk_core::{Height, Result, Version};
|
||||
use brk_error::Result;
|
||||
use brk_structs::{Height, Version};
|
||||
|
||||
pub trait AnyStore {
|
||||
fn commit(&mut self, height: Height) -> Result<()>;
|
||||
|
||||
Reference in New Issue
Block a user