OpenCBDC Transaction Processor
|
Indicates that the given transaction contains one or more inputs that have already been spent in other transactions sent to the atomizer. More...
#include <tx_error_messages.hpp>
Public Member Functions | |
auto | operator== (const tx_error_inputs_spent &rhs) const -> bool |
tx_error_inputs_spent ()=delete | |
tx_error_inputs_spent (std::unordered_set< hash_t, hashing::null > input_uhs_ids) | |
Constructor. | |
tx_error_inputs_spent (cbdc::serializer &pkt) | |
Construct from a packet. | |
auto | input_uhs_ids () const -> std::unordered_set< hash_t, hashing::null > |
Returns the UHS IDs of the inputs that caused this error. | |
Friends | |
auto | cbdc::operator<< (cbdc::serializer &packet, const cbdc::watchtower::tx_error_inputs_spent &err) -> cbdc::serializer & |
auto | cbdc::operator>> (cbdc::serializer &packet, cbdc::watchtower::tx_error_inputs_spent &err) -> cbdc::serializer & |
Indicates that the given transaction contains one or more inputs that have already been spent in other transactions sent to the atomizer.
Definition at line 134 of file tx_error_messages.hpp.
|
delete |
|
explicit |
Constructor.
input_uhs_ids | the UHS IDs of the inputs that caused this error. |
Definition at line 66 of file tx_error_messages.cpp.
|
explicit |
Construct from a packet.
pkt | packet containing a serialized tx_error_inputs_spent. |
Definition at line 57 of file tx_error_messages.cpp.
|
nodiscard |
Returns the UHS IDs of the inputs that caused this error.
Definition at line 61 of file tx_error_messages.cpp.
auto cbdc::watchtower::tx_error_inputs_spent::operator== | ( | const tx_error_inputs_spent & | rhs | ) | const -> bool |
Definition at line 71 of file tx_error_messages.cpp.
|
friend |
|
friend |