mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-11 02:58:14 -07:00
global: snapshot part 6
This commit is contained in:
@@ -25,7 +25,7 @@ impl Vecs {
|
||||
vec.compute_multiply(
|
||||
starting_indexes.height,
|
||||
&prices.spot.usd.height,
|
||||
&coinblocks_destroyed.base.height,
|
||||
&coinblocks_destroyed.block.height,
|
||||
exit,
|
||||
)?;
|
||||
Ok(())
|
||||
@@ -36,7 +36,7 @@ impl Vecs {
|
||||
vec.compute_multiply(
|
||||
starting_indexes.height,
|
||||
&prices.spot.usd.height,
|
||||
&activity.coinblocks_created.base.height,
|
||||
&activity.coinblocks_created.block.height,
|
||||
exit,
|
||||
)?;
|
||||
Ok(())
|
||||
@@ -47,7 +47,7 @@ impl Vecs {
|
||||
vec.compute_multiply(
|
||||
starting_indexes.height,
|
||||
&prices.spot.usd.height,
|
||||
&activity.coinblocks_stored.base.height,
|
||||
&activity.coinblocks_stored.block.height,
|
||||
exit,
|
||||
)?;
|
||||
Ok(())
|
||||
@@ -61,7 +61,7 @@ impl Vecs {
|
||||
vec.compute_transform3(
|
||||
starting_indexes.height,
|
||||
&prices.spot.usd.height,
|
||||
&coindays_destroyed.base.height,
|
||||
&coindays_destroyed.block.height,
|
||||
circulating_supply,
|
||||
|(i, price, cdd, supply, _): (_, Dollars, StoredF64, Bitcoin, _)| {
|
||||
let supply_f64 = f64::from(supply);
|
||||
|
||||
Reference in New Issue
Block a user