global: snapshot

This commit is contained in:
nym21
2026-03-19 18:16:45 +01:00
parent 8910c0988e
commit 45de61b438
30 changed files with 1387 additions and 1392 deletions

View File

@@ -16,12 +16,12 @@ impl Vecs {
) -> Result<()> {
self.inflation_rate.bps.height.compute_transform2(
starting_indexes.height,
&activity.liveliness.height,
&activity.ratio.height,
&supply.inflation_rate.bps.height,
|(h, liveliness, inflation, ..)| {
|(h, a2vr, inflation, ..)| {
(
h,
BasisPointsSigned32::from(f64::from(liveliness) * f64::from(inflation)),
BasisPointsSigned32::from(f64::from(a2vr) * f64::from(inflation)),
)
},
exit,

View File

@@ -18,7 +18,7 @@ impl Vecs {
inflation_rate: PercentPerBlock::forced_import(
db,
"cointime_adj_inflation_rate",
version,
version + Version::ONE,
indexes,
)?,
tx_velocity_native: PerBlock::forced_import(