global: snapshot

This commit is contained in:
nym21
2026-01-10 18:43:18 +01:00
parent 3bc0615000
commit 6f45ec13f3
311 changed files with 6916 additions and 7664 deletions
+2 -3
View File
@@ -2,7 +2,7 @@ use brk_error::Result;
use vecdb::Exit;
use super::Vecs;
use crate::{blocks, distribution, indexes, price, scripts, transactions, ComputeIndexes};
use crate::{blocks, distribution, indexes, scripts, transactions, ComputeIndexes};
impl Vecs {
#[allow(clippy::too_many_arguments)]
@@ -14,12 +14,11 @@ impl Vecs {
transactions: &transactions::Vecs,
distribution: &distribution::Vecs,
starting_indexes: &ComputeIndexes,
price: Option<&price::Vecs>,
exit: &Exit,
) -> Result<()> {
// 1. Compute burned/unspendable supply
self.burned
.compute(indexes, scripts, blocks, starting_indexes, price, exit)?;
.compute(indexes, scripts, blocks, starting_indexes, exit)?;
// 2. Compute inflation rate
self.inflation