|
OpenCBDC Transaction Processor
|
An input for a new transaction. More...
#include <transaction.hpp>

Public Member Functions | |
| auto | operator== (const input &rhs) const -> bool |
| auto | operator!= (const input &rhs) const -> bool |
| auto | hash () const -> hash_t |
| input ()=default | |
Data Fields | |
| out_point | m_prevout |
| The unique identifier of the output. | |
| output | m_prevout_data |
| The output's data. | |
An input for a new transaction.
An out_point and associated output which a client intends to spend in a new transaction.
Definition at line 70 of file transaction.hpp.
|
default |
|
nodiscard |
Definition at line 48 of file transaction.cpp.
References cbdc::make_buffer().

| auto cbdc::transaction::input::operator!= | ( | const input & | rhs | ) | const -> bool |
Definition at line 44 of file transaction.cpp.
| auto cbdc::transaction::input::operator== | ( | const input & | rhs | ) | const -> bool |
Definition at line 39 of file transaction.cpp.
| out_point cbdc::transaction::input::m_prevout |
The unique identifier of the output.
Definition at line 72 of file transaction.hpp.
Referenced by cbdc::client::import_send_input(), and cbdc::transaction::input_from_output().
| output cbdc::transaction::input::m_prevout_data |
The output's data.
Definition at line 75 of file transaction.hpp.
Referenced by cbdc::transaction::input_from_output().