diff --git a/transaction__manager_8hpp_source.html b/transaction__manager_8hpp_source.html index 9b53c3d03a..e4734fa33f 100644 --- a/transaction__manager_8hpp_source.html +++ b/transaction__manager_8hpp_source.html @@ -198,38 +198,38 @@
taraxa::TransactionManager::trx_count_
uint64_t trx_count_
Definition: transaction_manager.hpp:241
taraxa::TransactionManager::nonfinalized_transactions_in_dag_
std::unordered_map< trx_hash_t, std::shared_ptr< Transaction > > nonfinalized_transactions_in_dag_
Definition: transaction_manager.hpp:238
taraxa::TransactionManager::verifyTransaction
std::pair< bool, std::string > verifyTransaction(const std::shared_ptr< Transaction > &trx) const
Definition: transaction_manager.cpp:49
-
taraxa::TransactionManager::getAllPoolTrxs
std::vector< SharedTransactions > getAllPoolTrxs()
Gets all transactions from pool grouped per account.
Definition: transaction_manager.cpp:326
+
taraxa::TransactionManager::getAllPoolTrxs
std::vector< SharedTransactions > getAllPoolTrxs()
Gets all transactions from pool grouped per account.
Definition: transaction_manager.cpp:320
taraxa::TransactionManager::transaction_accepted_
util::Event< TransactionManager, h256 > const transaction_accepted_
Definition: transaction_manager.hpp:229
taraxa::TransactionManager::getTransaction
std::shared_ptr< Transaction > getTransaction(const trx_hash_t &hash) const
Definition: transaction_manager.cpp:176
-
taraxa::TransactionManager::getNonfinalizedTrxSize
size_t getNonfinalizedTrxSize() const
Definition: transaction_manager.cpp:268
-
taraxa::TransactionManager::recoverNonfinalizedTransactions
void recoverNonfinalizedTransactions()
Definition: transaction_manager.cpp:227
-
taraxa::TransactionManager::excludeFinalizedTransactions
std::unordered_set< trx_hash_t > excludeFinalizedTransactions(const std::vector< trx_hash_t > &hashes)
Exclude Finalized transactions.
Definition: transaction_manager.cpp:286
+
taraxa::TransactionManager::getNonfinalizedTrxSize
size_t getNonfinalizedTrxSize() const
Definition: transaction_manager.cpp:262
+
taraxa::TransactionManager::recoverNonfinalizedTransactions
void recoverNonfinalizedTransactions()
Definition: transaction_manager.cpp:221
+
taraxa::TransactionManager::excludeFinalizedTransactions
std::unordered_set< trx_hash_t > excludeFinalizedTransactions(const std::vector< trx_hash_t > &hashes)
Exclude Finalized transactions.
Definition: transaction_manager.cpp:280
taraxa::TransactionManager::getNonFinalizedTransaction
std::shared_ptr< Transaction > getNonFinalizedTransaction(const trx_hash_t &hash) const
taraxa::TransactionManager::final_chain_
std::shared_ptr< final_chain::FinalChain > final_chain_
Definition: transaction_manager.hpp:248
-
taraxa::TransactionManager::getNonfinalizedTrx
std::vector< std::shared_ptr< Transaction > > getNonfinalizedTrx(const std::vector< trx_hash_t > &hashes)
Get the Nonfinalized Trx objects from cache.
Definition: transaction_manager.cpp:273
+
taraxa::TransactionManager::getNonfinalizedTrx
std::vector< std::shared_ptr< Transaction > > getNonfinalizedTrx(const std::vector< trx_hash_t > &hashes)
Get the Nonfinalized Trx objects from cache.
Definition: transaction_manager.cpp:267
taraxa::TransactionManager::kConf
const FullNodeConfig & kConf
Definition: transaction_manager.hpp:232
taraxa::TransactionManager::kRecentlyFinalizedTransactionsMax
const uint64_t kRecentlyFinalizedTransactionsMax
Definition: transaction_manager.hpp:245
-
taraxa::TransactionManager::blockFinalized
void blockFinalized(EthBlockNumber block_number)
Invoked when block finalized in final chain.
Definition: transaction_manager.cpp:439
+
taraxa::TransactionManager::blockFinalized
void blockFinalized(EthBlockNumber block_number)
Invoked when block finalized in final chain.
Definition: transaction_manager.cpp:433
taraxa::TransactionManager::getPoolTransactions
std::pair< std::vector< std::shared_ptr< Transaction > >, std::vector< trx_hash_t > > getPoolTransactions(const std::vector< trx_hash_t > &trx_to_query) const
Gets transactions from transactions pool.
Definition: transaction_manager.cpp:161
taraxa::TransactionManager::isTransactionKnown
bool isTransactionKnown(const trx_hash_t &trx_hash)
Definition: transaction_manager.cpp:79
taraxa::TransactionManager::insertValidatedTransaction
TransactionStatus insertValidatedTransaction(std::shared_ptr< Transaction > &&tx, bool insert_non_proposable=true)
Inserts verified transaction to transaction pool.
Definition: transaction_manager.cpp:107
-
taraxa::TransactionManager::nonProposableTransactionsOverTheLimit
bool nonProposableTransactionsOverTheLimit() const
return true if non proposable transactions are over the limit
Definition: transaction_manager.cpp:258
-
taraxa::TransactionManager::getTransactionPoolSize
size_t getTransactionPoolSize() const
Definition: transaction_manager.cpp:253
-
taraxa::TransactionManager::isTransactionPoolFull
bool isTransactionPoolFull(size_t percentage=100) const
return true if transaction pool is full
Definition: transaction_manager.cpp:263
+
taraxa::TransactionManager::nonProposableTransactionsOverTheLimit
bool nonProposableTransactionsOverTheLimit() const
return true if non proposable transactions are over the limit
Definition: transaction_manager.cpp:252
+
taraxa::TransactionManager::getTransactionPoolSize
size_t getTransactionPoolSize() const
Definition: transaction_manager.cpp:247
+
taraxa::TransactionManager::isTransactionPoolFull
bool isTransactionPoolFull(size_t percentage=100) const
return true if transaction pool is full
Definition: transaction_manager.cpp:257
taraxa::TransactionManager::recently_finalized_transactions_per_period_
std::unordered_map< PbftPeriod, std::vector< trx_hash_t > > recently_finalized_transactions_per_period_
Definition: transaction_manager.hpp:240
taraxa::TransactionManager::kEstimateGasLimit
const uint64_t kEstimateGasLimit
Definition: transaction_manager.hpp:244
-
taraxa::TransactionManager::getTransactions
SharedTransactions getTransactions(const vec_trx_t &trxs_hashes, PbftPeriod proposal_period)
Get the transactions.
Definition: transaction_manager.cpp:400
+
taraxa::TransactionManager::getTransactions
SharedTransactions getTransactions(const vec_trx_t &trxs_hashes, PbftPeriod proposal_period)
Get the transactions.
Definition: transaction_manager.cpp:394
taraxa::TransactionManager::transactions_pool_
TransactionQueue transactions_pool_
Definition: transaction_manager.hpp:237
-
taraxa::TransactionManager::updateFinalizedTransactionsStatus
void updateFinalizedTransactionsStatus(const PeriodData &period_data)
Updates the status of transactions to finalized IMPORTANT: This method is invoked on finalizing a pbf...
Definition: transaction_manager.cpp:343
+
taraxa::TransactionManager::updateFinalizedTransactionsStatus
void updateFinalizedTransactionsStatus(const PeriodData &period_data)
Updates the status of transactions to finalized IMPORTANT: This method is invoked on finalizing a pbf...
Definition: transaction_manager.cpp:337
taraxa::TransactionManager::recently_finalized_transactions_
std::unordered_map< trx_hash_t, std::shared_ptr< Transaction > > recently_finalized_transactions_
Definition: transaction_manager.hpp:239
-
taraxa::TransactionManager::transactionsDropped
bool transactionsDropped() const
Have transactions been recently dropped due to queue reaching max size This call is thread-safe.
Definition: transaction_manager.cpp:444
-
taraxa::TransactionManager::getBlockTransactions
SharedTransactions getBlockTransactions(const DagBlock &blk, PbftPeriod proposal_period)
Get the block transactions.
Definition: transaction_manager.cpp:396
-
taraxa::TransactionManager::removeNonFinalizedTransactions
void removeNonFinalizedTransactions(std::unordered_set< trx_hash_t > &&transactions)
Removes non-finalized transactions from discarded old dag blocks IMPORTANT: This method is invoked on...
Definition: transaction_manager.cpp:383
-
taraxa::TransactionManager::packTrxs
std::pair< SharedTransactions, std::vector< uint64_t > > packTrxs(PbftPeriod proposal_period, uint64_t weight_limit)
Gets transactions from pool to include in the block with specified weight limit.
Definition: transaction_manager.cpp:303
+
taraxa::TransactionManager::transactionsDropped
bool transactionsDropped() const
Have transactions been recently dropped due to queue reaching max size This call is thread-safe.
Definition: transaction_manager.cpp:438
+
taraxa::TransactionManager::getBlockTransactions
SharedTransactions getBlockTransactions(const DagBlock &blk, PbftPeriod proposal_period)
Get the block transactions.
Definition: transaction_manager.cpp:390
+
taraxa::TransactionManager::removeNonFinalizedTransactions
void removeNonFinalizedTransactions(std::unordered_set< trx_hash_t > &&transactions)
Removes non-finalized transactions from discarded old dag blocks IMPORTANT: This method is invoked on...
Definition: transaction_manager.cpp:377
+
taraxa::TransactionManager::packTrxs
std::pair< SharedTransactions, std::vector< uint64_t > > packTrxs(PbftPeriod proposal_period, uint64_t weight_limit)
Gets transactions from pool to include in the block with specified weight limit.
Definition: transaction_manager.cpp:297
taraxa::TransactionManager::insertTransaction
std::pair< bool, std::string > insertTransaction(const std::shared_ptr< Transaction > &trx)
Inserts and verify new transaction to transaction pool.
Definition: transaction_manager.cpp:83
taraxa::TransactionManager::estimateTransactionGas
uint64_t estimateTransactionGas(std::shared_ptr< Transaction > trx, std::optional< PbftPeriod > proposal_period) const
Estimates required gas value to execute transaction.
Definition: transaction_manager.cpp:26
taraxa::TransactionManager::getTransactionsMutex
std::shared_mutex & getTransactionsMutex()
Retrieves transactions mutex, only to be used when finalizing pbft block.
Definition: transaction_manager.hpp:200
-
taraxa::TransactionManager::initializeRecentlyFinalizedTransactions
void initializeRecentlyFinalizedTransactions(const PeriodData &period_data)
Initialize recently finalized transactions.
Definition: transaction_manager.cpp:331
+
taraxa::TransactionManager::initializeRecentlyFinalizedTransactions
void initializeRecentlyFinalizedTransactions(const PeriodData &period_data)
Initialize recently finalized transactions.
Definition: transaction_manager.cpp:325
taraxa::TransactionManager::getFullNodeAddress
addr_t getFullNodeAddress() const
taraxa::TransactionManager::kDagBlockGasLimit
const uint64_t kDagBlockGasLimit
Definition: transaction_manager.hpp:243
taraxa::TransactionManager::getTransactionCount
unsigned long getTransactionCount() const
Definition: transaction_manager.cpp:156