Result of submission to mempool.
More...
Definition at line 45 of file mempool.hpp.
#include <mempool.hpp>
◆ SubmitResult() [1/2]
altintegration::MemPool::SubmitResult::SubmitResult |
( |
bool |
state | ) |
|
|
inline |
Definition at line 51 of file mempool.hpp.
51 {
52 VBK_ASSERT_MSG(
53 state, "SubmitResult can be implicitly constructed from bool=true");
54 }
◆ SubmitResult() [2/2]
altintegration::MemPool::SubmitResult::SubmitResult |
( |
Status |
status, |
|
|
bool |
|
|
) |
| |
|
inline |
◆ isAccepted()
bool altintegration::MemPool::SubmitResult::isAccepted |
( |
| ) |
const |
|
inline |
Definition at line 60 of file mempool.hpp.
60 {
61 return status == VALID || status == FAILED_STATEFUL;
62 }
◆ isFailedStateful()
bool altintegration::MemPool::SubmitResult::isFailedStateful |
( |
| ) |
const |
|
inline |
Definition at line 68 of file mempool.hpp.
68{ return status == FAILED_STATEFUL; }
◆ isFailedStateless()
bool altintegration::MemPool::SubmitResult::isFailedStateless |
( |
| ) |
const |
|
inline |
Definition at line 66 of file mempool.hpp.
66{ return status == FAILED_STATELESS; }
◆ isValid()
bool altintegration::MemPool::SubmitResult::isValid |
( |
| ) |
const |
|
inline |
Definition at line 64 of file mempool.hpp.
64{ return status == VALID; }
◆ operator bool()
altintegration::MemPool::SubmitResult::operator bool |
( |
| ) |
const |
|
inline |
Definition at line 58 of file mempool.hpp.
58{ return isAccepted(); }
◆ status
Status altintegration::MemPool::SubmitResult::status = VALID |
The documentation for this struct was generated from the following file: