#include <transaction_collector.h>
|
| | TransactionCollector (uint64_t seq, TransactionExecutor *executor, bool enable_viewchange=false) |
| |
| | ~TransactionCollector ()=default |
| |
| int | SetContextList (uint64_t seq, std::vector< std::unique_ptr< Context > > context) |
| |
| bool | HasClientContextList (uint64_t seq) const |
| |
| std::vector< std::unique_ptr< Context > > | FetchContextList (uint64_t seq) |
| |
| int | AddRequest (std::unique_ptr< Request > request, const SignatureInfo &signature, bool is_main_request, std::function< void(const Request &, int received_count, CollectorDataType *data, std::atomic< TransactionStatue > *status, bool force)> call_back) |
| |
| std::vector< RequestInfo > | GetPreparedProof () |
| |
| TransactionStatue | GetStatus () const |
| |
| uint64_t | Seq () |
| |
| bool | IsPrepared () |
| |
| std::vector< std::string > | GetAllStoredHash () |
| |
Definition at line 79 of file transaction_collector.h.
◆ CollectorDataType
◆ TransactionCollector()
| resdb::TransactionCollector::TransactionCollector |
( |
uint64_t |
seq, |
|
|
TransactionExecutor * |
executor, |
|
|
bool |
enable_viewchange = false |
|
) |
| |
|
inline |
◆ ~TransactionCollector()
| resdb::TransactionCollector::~TransactionCollector |
( |
| ) |
|
|
default |
◆ AddRequest()
| int resdb::TransactionCollector::AddRequest |
( |
std::unique_ptr< Request > |
request, |
|
|
const SignatureInfo & |
signature, |
|
|
bool |
is_main_request, |
|
|
std::function< void(const Request &, int received_count, CollectorDataType *data, std::atomic< TransactionStatue > *status, bool force)> |
call_back |
|
) |
| |
◆ FetchContextList()
| std::vector< std::unique_ptr< Context > > resdb::TransactionCollector::FetchContextList |
( |
uint64_t |
seq | ) |
|
◆ GetAllStoredHash()
| std::vector< std::string > resdb::TransactionCollector::GetAllStoredHash |
( |
| ) |
|
◆ GetPreparedProof()
| std::vector< RequestInfo > resdb::TransactionCollector::GetPreparedProof |
( |
| ) |
|
◆ GetStatus()
◆ HasClientContextList()
| bool resdb::TransactionCollector::HasClientContextList |
( |
uint64_t |
seq | ) |
const |
◆ IsPrepared()
| bool resdb::TransactionCollector::IsPrepared |
( |
| ) |
|
◆ Seq()
| uint64_t resdb::TransactionCollector::Seq |
( |
| ) |
|
◆ SetContextList()
| int resdb::TransactionCollector::SetContextList |
( |
uint64_t |
seq, |
|
|
std::vector< std::unique_ptr< Context > > |
context |
|
) |
| |