mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-17 14:08:10 -07:00
global: snapshot
This commit is contained in:
@@ -1,14 +1,32 @@
|
||||
use std::path::Path;
|
||||
|
||||
use brk_core::Version;
|
||||
use brk_core::{P2AAddressIndex, P2MSOutputIndex, Version};
|
||||
use brk_store::Store;
|
||||
use fjall::TransactionalKeyspace;
|
||||
use jiff::Unit;
|
||||
|
||||
const _VERSION: Version = Version::ZERO;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Stores {
|
||||
// pub address_to_utxos_received: Store<AddressIndexOutputIndex, Unit>,
|
||||
// pub address_to_utxos_spent: Store<AddressIndexOutputIndex, Unit>,
|
||||
// pub p2aaddressindex_to_utxos_received: Store<P2AAddressIndex, Unit>,
|
||||
// pub p2aaddressindex_to_utxos_sent: Store<P2AAddressIndex, Unit>,
|
||||
// pub p2msoutputindex_to_utxos_received: Store<P2MSOutputIndex, Unit>,
|
||||
// pub p2msoutputindex_to_utxos_sent: Store<P2MSOutputIndex, Unit>,
|
||||
// pub p2pk33addressindex_to_utxos_received: Store<P2PK33AddressIndex, Unit>,
|
||||
// pub p2pk33addressindex_to_utxos_sent: Store<P2PK33AddressIndex, Unit>,
|
||||
// pub p2pk65addressindex_to_utxos_received: Store<P2PK65AddressIndex, Unit>,
|
||||
// pub p2pk65addressindex_to_utxos_sent: Store<P2PK65AddressIndex, Unit>,
|
||||
// pub p2pkhaddressindex_to_utxos_received: Store<P2PKHAddressIndex, Unit>,
|
||||
// pub p2pkhaddressindex_to_utxos_sent: Store<P2PKHAddressIndex, Unit>,
|
||||
// pub p2shaddressindex_to_utxos_received: Store<P2SHAddressIndex, Unit>,
|
||||
// pub p2shaddressindex_to_utxos_sent: Store<P2SHAddressIndex, Unit>,
|
||||
// pub p2traddressindex_to_utxos_received: Store<P2TRAddressIndex, Unit>,
|
||||
// pub p2traddressindex_to_utxos_sent: Store<P2TRAddressIndex, Unit>,
|
||||
// pub p2wpkhaddressindex_to_utxos_received: Store<P2WPKHAddressIndex, Unit>,
|
||||
// pub p2wpkhaddressindex_to_utxos_sent: Store<P2WPKHAddressIndex, Unit>,
|
||||
// pub p2wshaddressindex_to_utxos_received: Store<P2WSHAddressIndex, Unit>,
|
||||
// pub p2wshaddressindex_to_utxos_sent: Store<P2WSHAddressIndex, Unit>,
|
||||
}
|
||||
|
||||
impl Stores {
|
||||
|
||||
Reference in New Issue
Block a user