Electroneum
cryptonote::tx_source_entry Struct Reference

#include <cryptonote_tx_utils.h>

Collaboration diagram for cryptonote::tx_source_entry:

Public Types

typedef std::pair< uint64_t, rct::ctkeyoutput_entry
 

Public Member Functions

void push_output (uint64_t idx, const crypto::public_key &k, uint64_t amount)
 
 FIELD (tx_hash)
 
 FIELD (subaddr_index)
 
 if (real_output >=outputs.size()) return false
 

Public Attributes

std::vector< output_entryoutputs
 
size_t real_output
 
crypto::public_key real_out_tx_key
 
std::vector< crypto::public_keyreal_out_additional_tx_keys
 
size_t real_output_in_tx_index
 
uint64_t amount
 
bool rct
 
rct::key mask
 
rct::multisig_kLRki multisig_kLRki
 
crypto::hash tx_hash
 
subaddress_index subaddr_index
 

Detailed Description

Definition at line 43 of file cryptonote_tx_utils.h.

Member Typedef Documentation

◆ output_entry

Member Function Documentation

◆ FIELD() [1/2]

cryptonote::tx_source_entry::FIELD ( tx_hash  )

◆ FIELD() [2/2]

cryptonote::tx_source_entry::FIELD ( subaddr_index  )

◆ if()

cryptonote::tx_source_entry::if ( real_output >=outputs.  size())

◆ push_output()

void cryptonote::tx_source_entry::push_output ( uint64_t  idx,
const crypto::public_key k,
uint64_t  amount 
)
inline

Definition at line 63 of file cryptonote_tx_utils.h.

63 { outputs.push_back(std::make_pair(idx, rct::ctkey({rct::pk2rct(k), rct::zeroCommit(amount)}))); }
uint64_t amount
std::vector< output_entry > outputs
key zeroCommit(etn_amount amount)
Definition: rctOps.cpp:322
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ amount

uint64_t cryptonote::tx_source_entry::amount

Definition at line 54 of file cryptonote_tx_utils.h.

◆ mask

rct::key cryptonote::tx_source_entry::mask

Definition at line 56 of file cryptonote_tx_utils.h.

◆ multisig_kLRki

rct::multisig_kLRki cryptonote::tx_source_entry::multisig_kLRki

Definition at line 57 of file cryptonote_tx_utils.h.

◆ outputs

std::vector<output_entry> cryptonote::tx_source_entry::outputs

Definition at line 49 of file cryptonote_tx_utils.h.

◆ rct

bool cryptonote::tx_source_entry::rct

Definition at line 55 of file cryptonote_tx_utils.h.

◆ real_out_additional_tx_keys

std::vector<crypto::public_key> cryptonote::tx_source_entry::real_out_additional_tx_keys

Definition at line 52 of file cryptonote_tx_utils.h.

◆ real_out_tx_key

crypto::public_key cryptonote::tx_source_entry::real_out_tx_key

Definition at line 51 of file cryptonote_tx_utils.h.

◆ real_output

size_t cryptonote::tx_source_entry::real_output

Definition at line 50 of file cryptonote_tx_utils.h.

◆ real_output_in_tx_index

size_t cryptonote::tx_source_entry::real_output_in_tx_index

Definition at line 53 of file cryptonote_tx_utils.h.

◆ subaddr_index

subaddress_index cryptonote::tx_source_entry::subaddr_index

Definition at line 61 of file cryptonote_tx_utils.h.

◆ tx_hash

crypto::hash cryptonote::tx_source_entry::tx_hash

Definition at line 60 of file cryptonote_tx_utils.h.


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