global: snapshot

This commit is contained in:
nym21
2026-03-04 17:10:15 +01:00
parent 891f0dad9e
commit 9e23de4ba1
313 changed files with 9087 additions and 4918 deletions

View File

@@ -17,16 +17,16 @@ impl Vecs {
"is_coinbase",
version,
indexer.vecs.transactions.height.read_only_boxed_clone(),
indexer.vecs.transactions.first_txindex.read_only_boxed_clone(),
|index: TxIndex, _height, first_txindex| {
StoredBool::from(index == first_txindex)
},
indexer
.vecs
.transactions
.first_txindex
.read_only_boxed_clone(),
|index: TxIndex, _height, first_txindex| StoredBool::from(index == first_txindex),
);
Ok(Self {
tx_count: ComputedFromHeightFull::forced_import(
db, "tx_count", version, indexes,
)?,
tx_count: ComputedFromHeightFull::forced_import(db, "tx_count", version, indexes)?,
is_coinbase: txindex_to_is_coinbase,
})
}