mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-10 14:19:10 -07:00
computer: reduce number of ratio datasets for some cohorts
This commit is contained in:
@@ -189,6 +189,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_active_price: ComputedVecsFromHeight::forced_import(
|
||||
path,
|
||||
@@ -208,6 +209,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_true_market_mean: ComputedVecsFromHeight::forced_import(
|
||||
path,
|
||||
@@ -227,6 +229,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_cointime_value_destroyed: ComputedVecsFromHeight::forced_import(
|
||||
path,
|
||||
@@ -286,6 +289,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
})
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -257,6 +257,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_8d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -266,6 +267,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_13d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -275,6 +277,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_21d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -284,6 +287,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_1m_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -293,6 +297,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_34d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -302,6 +307,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_55d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -311,6 +317,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_89d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -320,6 +327,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_144d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -329,6 +337,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_200d_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -338,6 +347,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_1y_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -347,6 +357,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_2y_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -356,6 +367,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_200w_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -365,6 +377,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
indexes_to_4y_sma: ComputedRatioVecsFromDateIndex::forced_import(
|
||||
path,
|
||||
@@ -374,6 +387,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
true,
|
||||
)?,
|
||||
|
||||
_1d_returns: ComputedVecsFromDateIndex::forced_import(
|
||||
|
||||
@@ -83,6 +83,7 @@ impl Vecs {
|
||||
indexes,
|
||||
fetched,
|
||||
compute_relative_to_all,
|
||||
false,
|
||||
)?,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -139,6 +139,7 @@ impl Vecs {
|
||||
indexes: &indexes::Vecs,
|
||||
fetched: Option<&fetched::Vecs>,
|
||||
compute_relative_to_all: bool,
|
||||
ratio_extended: bool,
|
||||
) -> color_eyre::Result<Self> {
|
||||
let compute_dollars = fetched.is_some();
|
||||
|
||||
@@ -444,6 +445,7 @@ impl Vecs {
|
||||
format,
|
||||
computation,
|
||||
indexes,
|
||||
ratio_extended,
|
||||
)
|
||||
.unwrap()
|
||||
}),
|
||||
|
||||
@@ -1422,12 +1422,12 @@ impl AddressTypeToVec<(TypeIndex, Sats)> {
|
||||
|| vecs.amount_range.get_mut(amount).0.clone()
|
||||
!= vecs.amount_range.get_mut(prev_amount).0.clone()
|
||||
{
|
||||
// dbg!((prev_amount, amount, is_new));
|
||||
|
||||
if !is_new && !from_any_empty {
|
||||
let state = &mut vecs.amount_range.get_mut(prev_amount).1.state;
|
||||
// dbg!((prev_amount, &state.address_count, &addressdata));
|
||||
state.subtract(addressdata);
|
||||
vecs.amount_range
|
||||
.get_mut(prev_amount)
|
||||
.1
|
||||
.state
|
||||
.subtract(addressdata);
|
||||
}
|
||||
|
||||
addressdata.receive(value, price);
|
||||
@@ -1509,8 +1509,6 @@ impl HeightToAddressTypeToVec<(TypeIndex, Sats)> {
|
||||
|
||||
let will_be_empty = addressdata.outputs_len - 1 == 0;
|
||||
|
||||
// dbg!((prev_amount, amount, will_be_empty));
|
||||
|
||||
if will_be_empty
|
||||
|| vecs.amount_range.get_mut(amount).0.clone()
|
||||
!= vecs.amount_range.get_mut(prev_amount).0.clone()
|
||||
|
||||
@@ -37,6 +37,7 @@ impl Vecs {
|
||||
fetched: Option<&fetched::Vecs>,
|
||||
states_path: &Path,
|
||||
compute_relative_to_all: bool,
|
||||
ratio_extended: bool,
|
||||
) -> color_eyre::Result<Self> {
|
||||
let compute_dollars = fetched.is_some();
|
||||
|
||||
@@ -58,6 +59,7 @@ impl Vecs {
|
||||
indexes,
|
||||
fetched,
|
||||
compute_relative_to_all,
|
||||
ratio_extended,
|
||||
)?,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
false,
|
||||
true,
|
||||
)?,
|
||||
term: ByTerm {
|
||||
short: utxo_cohort::Vecs::forced_import(
|
||||
@@ -56,6 +57,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
long: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -67,6 +69,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
},
|
||||
epoch: ByEpoch {
|
||||
@@ -80,6 +83,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -91,6 +95,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -102,6 +107,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -113,6 +119,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -124,6 +131,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
},
|
||||
_type: BySpendableType {
|
||||
@@ -137,6 +145,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2pk33: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -148,6 +157,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2pkh: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -159,6 +169,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2sh: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -170,6 +181,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2wpkh: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -181,6 +193,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2wsh: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -192,6 +205,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2tr: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -203,6 +217,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2a: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -214,6 +229,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
p2ms: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -225,6 +241,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
empty: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -236,6 +253,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
unknown: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -247,6 +265,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
},
|
||||
max_age: ByMaxAge {
|
||||
@@ -260,6 +279,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -271,6 +291,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -282,6 +303,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -293,6 +315,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -304,6 +327,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_5m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -315,6 +339,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_6m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -326,6 +351,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -337,6 +363,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -348,6 +375,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -359,6 +387,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -370,6 +399,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_5y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -381,6 +411,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_6y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -392,6 +423,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_7y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -403,6 +435,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_8y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -414,6 +447,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_10y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -425,6 +459,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_12y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -436,6 +471,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_15y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -447,6 +483,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
},
|
||||
min_age: ByMinAge {
|
||||
@@ -460,6 +497,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1w: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -471,6 +509,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -482,6 +521,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -493,6 +533,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -504,6 +545,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -515,6 +557,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_5m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -526,6 +569,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_6m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -537,6 +581,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -548,6 +593,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -559,6 +605,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -570,6 +617,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -581,6 +629,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_5y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -592,6 +641,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_6y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -603,6 +653,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_7y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -614,6 +665,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_8y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -625,6 +677,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_10y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -636,6 +689,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_12y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -647,6 +701,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
},
|
||||
age_range: ByAgeRange {
|
||||
@@ -660,6 +715,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1d_to_1w: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -671,6 +727,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1w_to_1m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -682,6 +739,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1m_to_2m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -693,6 +751,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2m_to_3m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -704,6 +763,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3m_to_4m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -715,6 +775,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4m_to_5m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -726,6 +787,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_5m_to_6m: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -737,6 +799,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_6m_to_1y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -748,6 +811,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_1y_to_2y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -759,6 +823,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_2y_to_3y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -770,6 +835,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_3y_to_4y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -781,6 +847,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_4y_to_5y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -792,6 +859,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_5y_to_6y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -803,6 +871,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_6y_to_7y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -814,6 +883,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_7y_to_8y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -825,6 +895,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_8y_to_10y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -836,6 +907,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_10y_to_12y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -847,6 +919,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
_12y_to_15y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -858,6 +931,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
from_15y: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -869,6 +943,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
true,
|
||||
)?,
|
||||
},
|
||||
amount_range: ByAmountRange {
|
||||
@@ -882,6 +957,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1sat_to_10sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -893,6 +969,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10sats_to_100sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -904,6 +981,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100sats_to_1k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -915,6 +993,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1k_sats_to_10k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -926,6 +1005,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10k_sats_to_100k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -937,6 +1017,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100k_sats_to_1m_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -948,6 +1029,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1m_sats_to_10m_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -959,6 +1041,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10m_sats_to_1btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -970,6 +1053,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1btc_to_10btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -981,6 +1065,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10btc_to_100btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -992,6 +1077,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100btc_to_1k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1003,6 +1089,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1k_btc_to_10k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1014,6 +1101,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10k_btc_to_100k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1025,6 +1113,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100k_btc_or_more: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1036,6 +1125,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
},
|
||||
lt_amount: ByLowerThanAmount {
|
||||
@@ -1049,6 +1139,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1060,6 +1151,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1071,6 +1163,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1082,6 +1175,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1093,6 +1187,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1m_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1104,6 +1199,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10m_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1115,6 +1211,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1126,6 +1223,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1137,6 +1235,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1148,6 +1247,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1159,6 +1259,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1170,6 +1271,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1181,6 +1283,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
},
|
||||
ge_amount: ByGreatEqualAmount {
|
||||
@@ -1194,6 +1297,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1205,6 +1309,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1216,6 +1321,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1227,6 +1333,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1238,6 +1345,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100k_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1249,6 +1357,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1m_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1260,6 +1369,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10m_sats: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1271,6 +1381,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1282,6 +1393,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1293,6 +1405,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_100btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1304,6 +1417,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_1k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1315,6 +1429,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
_10k_btc: utxo_cohort::Vecs::forced_import(
|
||||
path,
|
||||
@@ -1326,6 +1441,7 @@ impl Vecs {
|
||||
fetched,
|
||||
states_path,
|
||||
true,
|
||||
false,
|
||||
)?,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user