OpenCBDC Transaction Processor
|
An error that may occur when sentinels validate inputs. More...
#include <validation.hpp>
Public Member Functions | |
auto | operator== (const input_error &rhs) const -> bool |
Data Fields | |
input_error_code | m_code {} |
The type of input error. | |
std::optional< output_error_code > | m_data_err |
Additional error information. | |
uint64_t | m_idx {} |
The index of the input in the transaction. | |
An error that may occur when sentinels validate inputs.
Some input errors may require additional information which sentinels will encode in input_error::m_data_err
Definition at line 45 of file validation.hpp.
auto cbdc::transaction::validation::input_error::operator== | ( | const input_error & | rhs | ) | const -> bool |
Definition at line 23 of file validation.cpp.
input_error_code cbdc::transaction::validation::input_error::m_code {} |
The type of input error.
Definition at line 49 of file validation.hpp.
std::optional<output_error_code> cbdc::transaction::validation::input_error::m_data_err |
Additional error information.
Definition at line 52 of file validation.hpp.
uint64_t cbdc::transaction::validation::input_error::m_idx {} |
The index of the input in the transaction.
Definition at line 55 of file validation.hpp.