11 return std::tie(m_tx_status, m_tx_error)
12 == std::tie(rhs.m_tx_status, rhs.m_tx_error);
16 auto ret = std::string();
19 ret =
"Contextually invalid";
28 ret =
"Statically invalid";
auto to_string(tx_status status) -> std::string
Return a human-readable string describing a tx_status.
tx_status
Status of the transaction following sentinel processing.
@ static_invalid
Statically invalid. Must be fixed and resubmitted.
@ state_invalid
Statically valid, but rejected by the shards for trying to spend inputs either that do not exist or t...
@ pending
Statically valid, and the sentinel has submitted the transaction to the network for processing.
@ confirmed
Executed to completion.
Sentinel response message.
auto operator==(const execute_response &rhs) const -> bool