mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-24 11:13:06 +00:00
fix: fmt
This commit is contained in:
parent
a00018e64e
commit
dfb9c70941
@ -135,31 +135,45 @@ impl RocksDBIO {
|
||||
// Columns
|
||||
|
||||
pub fn meta_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_META_NAME).expect("Meta column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_META_NAME)
|
||||
.expect("Meta column should exist")
|
||||
}
|
||||
|
||||
pub fn block_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_BLOCK_NAME).expect("Block column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_BLOCK_NAME)
|
||||
.expect("Block column should exist")
|
||||
}
|
||||
|
||||
pub fn breakpoint_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_BREAKPOINT_NAME).expect("Breakpoint column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_BREAKPOINT_NAME)
|
||||
.expect("Breakpoint column should exist")
|
||||
}
|
||||
|
||||
pub fn hash_to_id_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_HASH_TO_ID).expect("Hash to id map column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_HASH_TO_ID)
|
||||
.expect("Hash to id map column should exist")
|
||||
}
|
||||
|
||||
pub fn tx_hash_to_id_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_TX_TO_ID).expect("Tx hash to id map column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_TX_TO_ID)
|
||||
.expect("Tx hash to id map column should exist")
|
||||
}
|
||||
|
||||
pub fn account_id_to_tx_hash_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_ACC_TO_TX).expect("Account id to tx map column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_ACC_TO_TX)
|
||||
.expect("Account id to tx map column should exist")
|
||||
}
|
||||
|
||||
pub fn account_meta_column(&self) -> Arc<BoundColumnFamily<'_>> {
|
||||
self.db.cf_handle(CF_ACC_META).expect("Account meta column should exist")
|
||||
self.db
|
||||
.cf_handle(CF_ACC_META)
|
||||
.expect("Account meta column should exist")
|
||||
}
|
||||
|
||||
// State
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user