mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-25 09:48:10 -07:00
global: snapshot part 7
This commit is contained in:
@@ -14,8 +14,8 @@ impl Vecs {
|
||||
starting_indexes: &Indexes,
|
||||
exit: &Exit,
|
||||
) -> Result<()> {
|
||||
let op_return_height = &scripts.value.op_return.block.sats.height;
|
||||
let unclaimed_height = &mining.rewards.unclaimed.block.sats.height;
|
||||
let op_return_height = &scripts.value.op_return.block.sats;
|
||||
let unclaimed_height = &mining.rewards.unclaimed.block.sats;
|
||||
|
||||
self.total.compute(
|
||||
starting_indexes.height,
|
||||
|
||||
@@ -21,7 +21,7 @@ impl Vecs {
|
||||
self.native.height.compute_rolling_ratio(
|
||||
starting_indexes.height,
|
||||
&blocks.lookback._1y,
|
||||
&transactions.volume.transfer_volume.block.sats.height,
|
||||
&transactions.volume.transfer_volume.block.sats,
|
||||
&circulating_supply.sats.height,
|
||||
exit,
|
||||
)?;
|
||||
@@ -30,7 +30,7 @@ impl Vecs {
|
||||
self.fiat.height.compute_rolling_ratio(
|
||||
starting_indexes.height,
|
||||
&blocks.lookback._1y,
|
||||
&transactions.volume.transfer_volume.block.usd.height,
|
||||
&transactions.volume.transfer_volume.block.usd,
|
||||
&circulating_supply.usd.height,
|
||||
exit,
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user