mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 15:19:58 -07:00
global: big snapshot
This commit is contained in:
@@ -7,9 +7,11 @@ use crate::{indexes, internal::DerivedTxFull};
|
||||
|
||||
impl Vecs {
|
||||
pub fn forced_import(db: &Database, version: Version, indexes: &indexes::Vecs) -> Result<Self> {
|
||||
let indexes_to_count =
|
||||
DerivedTxFull::forced_import(db, "input_count", version, indexes)?;
|
||||
|
||||
Ok(Self { indexes_to_count })
|
||||
Ok(Self(DerivedTxFull::forced_import(
|
||||
db,
|
||||
"input_count",
|
||||
version,
|
||||
indexes,
|
||||
)?))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user