Struct chainseeker_server::db::tx::TxDB [−][src]
pub struct TxDB { /* fields omitted */ }Implementations
impl TxDB[src]
impl TxDB[src]pub fn path(coin: &str) -> String[src]
pub fn new(coin: &str, temporary: bool) -> Self[src]
pub fn put(&self, txid: &Txid, value: &TxDBValue)[src]
pub fn put_tx(
&self,
tx: &Transaction,
confirmed_height: Option<u32>
) -> Result<(TxDBValue, Vec<UtxoEntry>), Txid>[src]
&self,
tx: &Transaction,
confirmed_height: Option<u32>
) -> Result<(TxDBValue, Vec<UtxoEntry>), Txid>
pub fn get(&self, txid: &Txid) -> Option<TxDBValue>[src]
pub fn get_as_rest(&self, txid: &Txid, config: &Config) -> Option<Transaction>[src]
pub fn process_block(
&self,
confirmed_height: u32,
block: &Block,
previous_utxos: &[UtxoEntry]
)[src]
&self,
confirmed_height: u32,
block: &Block,
previous_utxos: &[UtxoEntry]
)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TxDB
impl Send for TxDB
impl Sync for TxDB
impl Unpin for TxDB
impl UnwindSafe for TxDB
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]