mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-10 10:38:14 -07:00
global: snapshot
This commit is contained in:
@@ -23,7 +23,7 @@ type Database = _Database<Key, Value>;
|
||||
pub struct AddressIndexToAddressData {
|
||||
pub metadata: Metadata,
|
||||
|
||||
map: BTreeMap<usize, Database>,
|
||||
pub map: BTreeMap<usize, Database>,
|
||||
}
|
||||
|
||||
impl Deref for AddressIndexToAddressData {
|
||||
@@ -99,7 +99,7 @@ impl AddressIndexToAddressData {
|
||||
})
|
||||
}
|
||||
|
||||
fn open_all(&mut self) {
|
||||
pub fn open_all(&mut self) {
|
||||
let path = Self::full_path();
|
||||
|
||||
fs::create_dir_all(&path).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user