|
OpenCBDC Transaction Processor
|
The unique identifier of a specific output from a transaction. More...
#include <transaction.hpp>
Public Member Functions | |
| auto | operator== (const out_point &rhs) const -> bool |
| auto | operator< (const out_point &rhs) const -> bool |
| out_point (const hash_t &hash, uint64_t index) | |
| out_point ()=default | |
Data Fields | |
| hash_t | m_tx_id {} |
| The hash of the transaction which created the out_point. | |
| uint64_t | m_index {0} |
| The index of the output in the transaction's output list. | |
The unique identifier of a specific output from a transaction.
Uniquely identifies an output from a previous transaction. Output owners construct input s in new transactions out of outputs and their corresponding out_point s.
Definition at line 27 of file transaction.hpp.
| cbdc::transaction::out_point::out_point | ( | const hash_t & | hash, |
| uint64_t | index ) |
Definition at line 22 of file transaction.cpp.
|
default |
| auto cbdc::transaction::out_point::operator< | ( | const out_point & | rhs | ) | const -> bool |
Definition at line 18 of file transaction.cpp.
| auto cbdc::transaction::out_point::operator== | ( | const out_point & | rhs | ) | const -> bool |
Definition at line 14 of file transaction.cpp.
| uint64_t cbdc::transaction::out_point::m_index {0} |
The index of the output in the transaction's output list.
Definition at line 33 of file transaction.hpp.
Referenced by cbdc::transaction::input_from_output().
| hash_t cbdc::transaction::out_point::m_tx_id {} |
The hash of the transaction which created the out_point.
Definition at line 29 of file transaction.hpp.
Referenced by cbdc::client::import_send_input(), and cbdc::transaction::input_from_output().