| addDagBlockPeriodToBatch(blk_hash_t const &hash, PbftPeriod period, uint32_t position, Batch &write_batch) | taraxa::DbStorage | |
| addPbftBlockPeriodToBatch(PbftPeriod period, taraxa::blk_hash_t const &pbft_block_hash, Batch &write_batch) | taraxa::DbStorage | |
| addPbftHeadToBatch(taraxa::blk_hash_t const &head_hash, std::string const &head_str, Batch &write_batch) | taraxa::DbStorage | |
| addPbftMgrFieldToBatch(PbftMgrField field, uint32_t value, Batch &write_batch) | taraxa::DbStorage | |
| addPbftMgrStatusToBatch(PbftMgrStatus field, bool const &value, Batch &write_batch) | taraxa::DbStorage | |
| addPeriodSystemTransactions(Batch &write_batch, SharedTransactions trxs, PbftPeriod period) | taraxa::DbStorage | |
| addProposalPeriodDagLevelsMapToBatch(uint64_t level, PbftPeriod period, Batch &write_batch) | taraxa::DbStorage | |
| addStatusFieldToBatch(StatusDbField const &field, uint64_t value, Batch &write_batch) | taraxa::DbStorage | |
| addSystemTransactionToBatch(Batch &write_batch, SharedTransaction trx) | taraxa::DbStorage | |
| addTransactionLocationToBatch(Batch &write_batch, trx_hash_t const &trx, PbftPeriod period, uint32_t position, bool is_system=false) | taraxa::DbStorage | |
| addTransactionToBatch(Transaction const &trx, Batch &write_batch) | taraxa::DbStorage | |
| asBytes(std::string const &b) | taraxa::DbStorage | inlinestatic |
| async_write_ | taraxa::DbStorage | |
| checkStatus(rocksdb::Status const &status) | taraxa::DbStorage | static |
| clearColumnHistory(std::unordered_set< T > &to_keep, Column c) | taraxa::DbStorage | inline |
| clearOwnVerifiedVotes(Batch &write_batch, const std::vector< std::shared_ptr< PbftVote > > &own_verified_votes) | taraxa::DbStorage | |
| commitWriteBatch(Batch &write_batch, const rocksdb::WriteOptions &opts) | taraxa::DbStorage | |
| commitWriteBatch(Batch &write_batch) | taraxa::DbStorage | inline |
| compactColumn(Column const &column) | taraxa::DbStorage | inline |
| CompactRange(const Column &col, uint64_t begin, uint64_t end) | taraxa::DbStorage | |
| copyColumn(rocksdb::ColumnFamilyHandle *orig_column, const std::string &new_col_name, bool move_data=false) | taraxa::DbStorage | |
| createSnapshot(PbftPeriod period) | taraxa::DbStorage | |
| createWriteBatch() | taraxa::DbStorage | static |
| dag_blocks_count_ | taraxa::DbStorage | private |
| dag_blocks_mutex_ | taraxa::DbStorage | private |
| dag_edge_count_ | taraxa::DbStorage | private |
| dagBlockInDb(blk_hash_t const &hash) | taraxa::DbStorage | |
| db_ | taraxa::DbStorage | private |
| db_path_ | taraxa::DbStorage | private |
| DbStorage(fs::path const &base_path, uint32_t db_snapshot_each_n_pbft_block=0, uint32_t max_open_files=0, uint32_t db_max_snapshots=0, PbftPeriod db_revert_to_period=0, addr_t node_addr=addr_t(), bool rebuild=false) | taraxa::DbStorage | explicit |
| DbStorage(const DbStorage &)=delete | taraxa::DbStorage | |
| DbStorage(DbStorage &&)=delete | taraxa::DbStorage | |
| dbStoragePath() const | taraxa::DbStorage | inline |
| deleteColumnData(const Column &c) | taraxa::DbStorage | |
| DeleteRange(const Column &col, uint64_t begin, uint64_t end) | taraxa::DbStorage | |
| deleteSnapshot(PbftPeriod period) | taraxa::DbStorage | |
| deleteTmpDirectories(const std::string &path) const | taraxa::DbStorage | |
| disableSnapshots() | taraxa::DbStorage | |
| earliest_block_number_ | taraxa::DbStorage | private |
| enableSnapshots() | taraxa::DbStorage | |
| exist(K const &key, Column const &column) | taraxa::DbStorage | inline |
| forEach(Column const &col, OnEntry const &f) | taraxa::DbStorage | |
| getAllNonfinalizedTransactions() | taraxa::DbStorage | |
| getAllTransactionPeriod() | taraxa::DbStorage | |
| getAllTwoTPlusOneVotes() | taraxa::DbStorage | |
| getBlockReceipts(PbftPeriod period) const | taraxa::DbStorage | |
| getBlocksByLevel(level_t level) | taraxa::DbStorage | |
| getCertVotedBlockInRound() const | taraxa::DbStorage | |
| getColumnIterator(const Column &c) | taraxa::DbStorage | |
| getColumnIterator(rocksdb::ColumnFamilyHandle *c) | taraxa::DbStorage | |
| getCurrentPillarBlockData() const | taraxa::DbStorage | |
| getDagBlock(blk_hash_t const &hash) | taraxa::DbStorage | |
| getDagBlockPeriod(blk_hash_t const &hash) | taraxa::DbStorage | |
| getDagBlocksAtLevel(level_t level, int number_of_levels) | taraxa::DbStorage | |
| getDagBlocksCount() const | taraxa::DbStorage | inline |
| getDagEdgeCount() const | taraxa::DbStorage | inline |
| getEarliestBlockNumber() const | taraxa::DbStorage | |
| getFinalizedDagBlockByPeriod(PbftPeriod period) | taraxa::DbStorage | |
| getFinalizedDagBlockHashesByPeriod(PbftPeriod period) | taraxa::DbStorage | |
| getFinalizedTransactions(std::vector< trx_hash_t > const &trx_hashes) const | taraxa::DbStorage | |
| getGenesisHash() | taraxa::DbStorage | |
| getLastBlocksLevel() const | taraxa::DbStorage | |
| getLastPbftBlockHashAndFinalizedDagBlockByPeriod(PbftPeriod period) | taraxa::DbStorage | |
| getLastSortitionParams(size_t count) | taraxa::DbStorage | |
| getLatestPillarBlock() const | taraxa::DbStorage | |
| getMajorVersion() const | taraxa::DbStorage | |
| getNonfinalizedDagBlocks() | taraxa::DbStorage | |
| getNumBlockExecuted() | taraxa::DbStorage | inline |
| getNumTransactionExecuted() | taraxa::DbStorage | inline |
| getNumTransactionInDag() | taraxa::DbStorage | inline |
| getOwnPillarBlockVote() const | taraxa::DbStorage | |
| getOwnVerifiedVotes() | taraxa::DbStorage | |
| getParamsChangeForPeriod(PbftPeriod period) | taraxa::DbStorage | |
| getPbftBlock(PbftPeriod period) const | taraxa::DbStorage | |
| getPbftBlock(blk_hash_t const &hash) | taraxa::DbStorage | |
| getPbftHead(blk_hash_t const &hash) | taraxa::DbStorage | |
| getPbftMgrField(PbftMgrField field) | taraxa::DbStorage | |
| getPbftMgrStatus(PbftMgrStatus field) | taraxa::DbStorage | |
| getPeriodBlockHash(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodCertVotes(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodData(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodDataRaw(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodFromPbftHash(taraxa::blk_hash_t const &pbft_block_hash) | taraxa::DbStorage | |
| getPeriodPillarVotes(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodSystemTransactions(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodSystemTransactionsHashes(PbftPeriod period) const | taraxa::DbStorage | |
| getPeriodTransactions(PbftPeriod period) const | taraxa::DbStorage | |
| getPillarBlock(PbftPeriod period) const | taraxa::DbStorage | |
| getProposalPeriodForDagLevel(uint64_t level) | taraxa::DbStorage | |
| getProposedPbftBlocks() | taraxa::DbStorage | |
| getRewardVotes() | taraxa::DbStorage | |
| getRoundsCountDynamicLambda() | taraxa::DbStorage | |
| getStatusField(StatusDbField const &field) | taraxa::DbStorage | |
| getSystemTransaction(const trx_hash_t &hash) const | taraxa::DbStorage | |
| getTransaction(trx_hash_t const &hash) const | taraxa::DbStorage | |
| getTransaction(PbftPeriod period, uint32_t position) const | taraxa::DbStorage | |
| getTransactionCount(PbftPeriod period) const | taraxa::DbStorage | |
| getTransactionLocation(trx_hash_t const &hash) const | taraxa::DbStorage | |
| getTransactionReceipt(EthBlockNumber blk_n, uint64_t position) const | taraxa::DbStorage | |
| handle(Column const &col) const | taraxa::DbStorage | inline |
| handles_ | taraxa::DbStorage | private |
| hasMajorVersionChanged() | taraxa::DbStorage | inline |
| hasMinorVersionChanged() | taraxa::DbStorage | inline |
| insert(rocksdb::ColumnFamilyHandle *col, const K &k, const V &v) | taraxa::DbStorage | inline |
| insert(Column const &col, K const &k, V const &v) | taraxa::DbStorage | inline |
| insert(Batch &batch, Column const &col, K const &k, V const &v) | taraxa::DbStorage | inline |
| insert(Batch &batch, rocksdb::ColumnFamilyHandle *col, K const &k, V const &v) | taraxa::DbStorage | inline |
| kDbDir | taraxa::DbStorage | private |
| kDbSnapshotsEachNblock | taraxa::DbStorage | private |
| kDbSnapshotsMaxCount | taraxa::DbStorage | private |
| kMajorVersion_ | taraxa::DbStorage | private |
| kStateDbDir | taraxa::DbStorage | private |
| loadSnapshots() | taraxa::DbStorage | |
| lookup(K const &key, Column const &column) const | taraxa::DbStorage | inline |
| lookup_int(K const &key, Column const &column) -> std::enable_if_t< std::is_integral_v< Int >, std::optional< Int > > | taraxa::DbStorage | inline |
| major_version_changed_ | taraxa::DbStorage | private |
| make_slice(T const *begin, size_t size) | taraxa::DbStorage | inlinestatic |
| minor_version_changed_ | taraxa::DbStorage | private |
| operator=(const DbStorage &)=delete | taraxa::DbStorage | |
| operator=(DbStorage &&)=delete | taraxa::DbStorage | |
| path() const | taraxa::DbStorage | inline |
| path_ | taraxa::DbStorage | private |
| pbftBlockInDb(blk_hash_t const &hash) | taraxa::DbStorage | |
| read_options_ | taraxa::DbStorage | |
| rebuildColumns(const rocksdb::Options &options) | taraxa::DbStorage | |
| recoverToPeriod(PbftPeriod period) | taraxa::DbStorage | |
| remove(Column const &col, K const &k) | taraxa::DbStorage | inline |
| remove(Batch &batch, Column const &col, K const &k) | taraxa::DbStorage | inline |
| remove(Batch &batch, Column const &col, std::unordered_set< K > const &keys) | taraxa::DbStorage | inline |
| removeCertVotedBlockInRound(Batch &write_batch) | taraxa::DbStorage | |
| removeDagBlock(blk_hash_t const &hash) | taraxa::DbStorage | |
| removeDagBlockBatch(Batch &write_batch, blk_hash_t const &hash) | taraxa::DbStorage | |
| removeExtraRewardVotes(const std::vector< vote_hash_t > &votes, Batch &write_batch) | taraxa::DbStorage | |
| removeFilesWithPattern(const std::string &directory, const std::regex &pattern) const | taraxa::DbStorage | |
| removeProposedPbftBlock(const blk_hash_t &block_hash, Batch &write_batch) | taraxa::DbStorage | |
| removeTempFiles() const | taraxa::DbStorage | |
| removeTransactionToBatch(trx_hash_t const &trx, Batch &write_batch) | taraxa::DbStorage | |
| replaceColumn(const Column &to_be_replaced_col, std::unique_ptr< rocksdb::ColumnFamilyHandle > &&replacing_col) | taraxa::DbStorage | |
| replaceTwoTPlusOneVotes(TwoTPlusOneVotedBlockType type, const std::vector< std::shared_ptr< PbftVote > > &votes) | taraxa::DbStorage | |
| replaceTwoTPlusOneVotesToBatch(TwoTPlusOneVotedBlockType type, const std::vector< std::shared_ptr< PbftVote > > &votes, Batch &write_batch) | taraxa::DbStorage | |
| saveCertVotedBlockInRound(PbftRound round, const std::shared_ptr< PbftBlock > &block) | taraxa::DbStorage | |
| saveCurrentPillarBlockData(const pillar_chain::CurrentPillarBlockDataDb ¤t_pillar_block_data) | taraxa::DbStorage | |
| saveDagBlock(const std::shared_ptr< DagBlock > &blk, Batch *write_batch_p=nullptr) | taraxa::DbStorage | |
| saveExtraRewardVote(const std::shared_ptr< PbftVote > &vote) | taraxa::DbStorage | |
| saveOwnPillarBlockVote(const std::shared_ptr< PillarVote > &vote) | taraxa::DbStorage | |
| saveOwnVerifiedVote(const std::shared_ptr< PbftVote > &vote) | taraxa::DbStorage | |
| savePbftHead(blk_hash_t const &hash, std::string const &pbft_chain_head_str) | taraxa::DbStorage | |
| savePbftMgrField(PbftMgrField field, uint32_t value) | taraxa::DbStorage | |
| savePbftMgrStatus(PbftMgrStatus field, bool const &value) | taraxa::DbStorage | |
| savePeriodData(const PeriodData &period_data, Batch &write_batch) | taraxa::DbStorage | |
| savePillarBlock(const std::shared_ptr< pillar_chain::PillarBlock > &pillar_block) | taraxa::DbStorage | |
| saveProposalPeriodDagLevelsMap(uint64_t level, PbftPeriod period) | taraxa::DbStorage | |
| saveProposedPbftBlock(const std::shared_ptr< PbftBlock > &block) | taraxa::DbStorage | |
| saveRoundsCountDynamicLambda(uint32_t rounds_count, Batch &write_batch) | taraxa::DbStorage | |
| saveSortitionParamsChange(PbftPeriod period, const SortitionParamsChange ¶ms, Batch &batch) | taraxa::DbStorage | |
| saveStatusField(StatusDbField const &field, uint64_t value) | taraxa::DbStorage | |
| setGenesisHash(const h256 &genesis_hash) | taraxa::DbStorage | |
| snapshots_ | taraxa::DbStorage | private |
| snapshots_enabled_ | taraxa::DbStorage | private |
| state_db_path_ | taraxa::DbStorage | private |
| stateDbStoragePath() const | taraxa::DbStorage | inline |
| sync_write_ | taraxa::DbStorage | |
| toSlice(dev::bytesConstRef const &b) | taraxa::DbStorage | inlinestatic |
| toSlice(dev::FixedHash< N > const &h) | taraxa::DbStorage | inlinestatic |
| toSlice(dev::bytes const &b) | taraxa::DbStorage | inlinestatic |
| toSlice(N const &n) -> std::enable_if_t< std::is_integral_v< N >||std::is_enum_v< N >, Slice > | taraxa::DbStorage | inlinestatic |
| toSlice(std::string const &str) | taraxa::DbStorage | inlinestatic |
| toSlice(Slice const &s) | taraxa::DbStorage | inlinestatic |
| toSlices(std::vector< T > const &keys) | taraxa::DbStorage | inlinestatic |
| toSlices(std::vector< Slice > const &ss) | taraxa::DbStorage | inlinestatic |
| transactionFinalized(trx_hash_t const &hash) | taraxa::DbStorage | |
| transactionInDb(trx_hash_t const &hash) | taraxa::DbStorage | |
| transactionsFinalized(std::vector< trx_hash_t > const &trx_hashes) | taraxa::DbStorage | |
| transactionsFromPeriodDataRlp(PbftPeriod period, const dev::RLP &period_data_rlp) const | taraxa::DbStorage | |
| transactionsInDb(std::vector< trx_hash_t > const &trx_hashes) | taraxa::DbStorage | |
| updateDagBlockCounters(std::vector< std::shared_ptr< DagBlock > > blks) | taraxa::DbStorage | |
| updateDbVersions() | taraxa::DbStorage | |
| ~DbStorage() | taraxa::DbStorage | |