OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::transaction::full_tx Struct Reference

A complete transaction. More...

#include <transaction.hpp>

Inheritance diagram for cbdc::transaction::full_tx:

Public Member Functions

auto operator== (const full_tx &rhs) const -> bool
 
 full_tx ()=default
 

Data Fields

std::vector< inputm_inputs {}
 The set of inputs for the transaction.
 
std::vector< outputm_outputs {}
 The set of new outputs created by the transaction.
 
std::vector< witness_tm_witness {}
 The set of witnesses.
 

Detailed Description

A complete transaction.

Complete set of transaction data:

  • the set of specific outputs the client wishes to spend (inputs)
  • the set of new outputs the client wishes to produce
  • the set of witness programs matching the declared commitments of each associated output being spent
See also
cbdc::operator<<(serializer&, const transaction::full_tx&)

Definition at line 94 of file transaction.hpp.

Constructor & Destructor Documentation

◆ full_tx()

cbdc::transaction::full_tx::full_tx ( )
default

Member Function Documentation

◆ operator==()

auto cbdc::transaction::full_tx::operator== ( const full_tx & rhs) const -> bool

Definition at line 60 of file transaction.cpp.

Field Documentation

◆ m_inputs

◆ m_outputs

std::vector<output> cbdc::transaction::full_tx::m_outputs {}

◆ m_witness

std::vector<witness_t> cbdc::transaction::full_tx::m_witness {}

The set of witnesses.

Definition at line 102 of file transaction.hpp.

Referenced by cbdc::transaction::wallet::send_to(), and cbdc::transaction::wallet::sign().


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