mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-27 18:58:10 -07:00
global: snapshot
This commit is contained in:
@@ -42,7 +42,7 @@ impl Vecs {
|
||||
|
||||
// Inflation rate
|
||||
let inflation_rate =
|
||||
PercentFromHeight::forced_import_bps32(&db, "inflation_rate", version, indexes)?;
|
||||
PercentFromHeight::forced_import(&db, "inflation_rate", version, indexes)?;
|
||||
|
||||
// Velocity
|
||||
let velocity = super::velocity::Vecs::forced_import(&db, version, indexes)?;
|
||||
@@ -55,13 +55,13 @@ impl Vecs {
|
||||
);
|
||||
|
||||
// Growth rates
|
||||
let market_cap_growth_rate = PercentFromHeight::forced_import_bps32(
|
||||
let market_cap_growth_rate = PercentFromHeight::forced_import(
|
||||
&db,
|
||||
"market_cap_growth_rate",
|
||||
version + Version::ONE,
|
||||
indexes,
|
||||
)?;
|
||||
let realized_cap_growth_rate = PercentFromHeight::forced_import_bps32(
|
||||
let realized_cap_growth_rate = PercentFromHeight::forced_import(
|
||||
&db,
|
||||
"realized_cap_growth_rate",
|
||||
version + Version::ONE,
|
||||
|
||||
Reference in New Issue
Block a user