OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::watchtower::tx_error_inputs_dne Class Reference

Indicates a shard that tried to process a given transaction could not locate one or more of the transaction's inputs it expected to possess. More...

#include <tx_error_messages.hpp>

Public Member Functions

auto operator== (const tx_error_inputs_dne &rhs) const -> bool
 
 tx_error_inputs_dne ()=delete
 
 tx_error_inputs_dne (std::vector< hash_t > input_uhs_ids)
 Constructor.
 
 tx_error_inputs_dne (cbdc::serializer &pkt)
 Construct from a packet.
 
auto input_uhs_ids () const -> std::vector< hash_t >
 Returns the UHS IDs of the inputs that caused this error.
 

Friends

auto cbdc::operator<< (cbdc::serializer &packet, const cbdc::watchtower::tx_error_inputs_dne &err) -> cbdc::serializer &
 
auto cbdc::operator>> (cbdc::serializer &packet, cbdc::watchtower::tx_error_inputs_dne &err) -> cbdc::serializer &
 

Detailed Description

Indicates a shard that tried to process a given transaction could not locate one or more of the transaction's inputs it expected to possess.

Definition at line 76 of file tx_error_messages.hpp.

Constructor & Destructor Documentation

◆ tx_error_inputs_dne() [1/3]

cbdc::watchtower::tx_error_inputs_dne::tx_error_inputs_dne ( )
delete

◆ tx_error_inputs_dne() [2/3]

cbdc::watchtower::tx_error_inputs_dne::tx_error_inputs_dne ( std::vector< hash_t > input_uhs_ids)
explicit

Constructor.

Parameters
input_uhs_idsthe UHS IDs of the inputs that caused this error.

Definition at line 29 of file tx_error_messages.cpp.

◆ tx_error_inputs_dne() [3/3]

cbdc::watchtower::tx_error_inputs_dne::tx_error_inputs_dne ( cbdc::serializer & pkt)
explicit

Construct from a packet.

Parameters
pktpacket containing a serialized tx_error_input_dne.

Definition at line 21 of file tx_error_messages.cpp.

Member Function Documentation

◆ input_uhs_ids()

auto cbdc::watchtower::tx_error_inputs_dne::input_uhs_ids ( ) const -> std::vector<hash_t>
nodiscard

Returns the UHS IDs of the inputs that caused this error.

Returns
input UHS ID set.

Definition at line 25 of file tx_error_messages.cpp.

◆ operator==()

auto cbdc::watchtower::tx_error_inputs_dne::operator== ( const tx_error_inputs_dne & rhs) const -> bool

Definition at line 32 of file tx_error_messages.cpp.

Friends And Related Symbol Documentation

◆ cbdc::operator<<

auto cbdc::operator<< ( cbdc::serializer & packet,
const cbdc::watchtower::tx_error_inputs_dne & err ) -> cbdc::serializer &
friend

◆ cbdc::operator>>

auto cbdc::operator>> ( cbdc::serializer & packet,
cbdc::watchtower::tx_error_inputs_dne & err ) -> cbdc::serializer &
friend

The documentation for this class was generated from the following files: