Struct chainseeker_server::db::utxo::UtxoDB [−][src]
pub struct UtxoDB {
pub db: RocksDB<UtxoDBKey, UtxoDBValue>,
}Fields
db: RocksDB<UtxoDBKey, UtxoDBValue>Stores: key = txid || vout value = script_pubkey || value
Implementations
impl UtxoDB[src]
impl UtxoDB[src]pub fn new(coin: &str, temporary: bool) -> Self[src]
pub fn iter(&self) -> UtxoDBIterator<'_>ⓘNotable traits for UtxoDBIterator<'a>
impl<'a> Iterator for UtxoDBIterator<'a> type Item = UtxoEntry;[src]
Notable traits for UtxoDBIterator<'a>
impl<'a> Iterator for UtxoDBIterator<'a> type Item = UtxoEntry;pub fn process_block(&mut self, block: &Block, no_panic: bool) -> Vec<UtxoEntry>[src]
pub fn reorg_block(&mut self, block: &Block, prev_txs: &[Transaction])[src]
Auto Trait Implementations
impl RefUnwindSafe for UtxoDB
impl Send for UtxoDB
impl Sync for UtxoDB
impl Unpin for UtxoDB
impl UnwindSafe for UtxoDB
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]