global: snapshot

This commit is contained in:
nym21
2025-11-09 11:25:13 +01:00
parent e77fe0253e
commit dc2e847f58
30 changed files with 521 additions and 497 deletions

View File

@@ -57,10 +57,7 @@ impl ComputedValueVecsFromTxindex {
&name_btc,
version + VERSION,
source_vec.map_or_else(|| sats.txindex.as_ref().unwrap().boxed_clone(), |s| s),
|txindex: TxIndex, iter| {
iter.get_at(txindex.to_usize())
.map(|sats| Bitcoin::from(sats))
},
|txindex: TxIndex, iter| iter.get_at(txindex.to_usize()).map(Bitcoin::from),
);
let bitcoin = ComputedVecsFromTxindex::forced_import(