Electroneum
output_data Struct Reference

Public Member Functions

 output_data ()
 
 output_data (uint64_t a, uint64_t i)
 
bool operator== (const output_data &other) const
 
 output_data (uint64_t a, uint64_t i, bool cb, uint64_t h)
 
bool operator== (const output_data &other) const
 
void info (bool c, uint64_t h) const
 

Public Attributes

uint64_t amount
 
uint64_t offset
 
uint64_t index
 
bool coinbase
 
uint64_t height
 

Detailed Description

Definition at line 67 of file blockchain_blackball.cpp.

Constructor & Destructor Documentation

◆ output_data() [1/3]

output_data::output_data ( )
inline

Definition at line 71 of file blockchain_blackball.cpp.

71 : amount(0), offset(0) {}

◆ output_data() [2/3]

output_data::output_data ( uint64_t  a,
uint64_t  i 
)
inline

Definition at line 72 of file blockchain_blackball.cpp.

72 : amount(a), offset(i) {}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124

◆ output_data() [3/3]

output_data::output_data ( uint64_t  a,
uint64_t  i,
bool  cb,
uint64_t  h 
)
inline

Definition at line 53 of file blockchain_usage.cpp.

53 : amount(a), index(i), coinbase(cb), height(h) {}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124

Member Function Documentation

◆ info()

void output_data::info ( bool  c,
uint64_t  h 
) const
inline

Definition at line 55 of file blockchain_usage.cpp.

55 { coinbase = c; height =h; }

◆ operator==() [1/2]

bool output_data::operator== ( const output_data other) const
inline

Definition at line 54 of file blockchain_usage.cpp.

54 { return other.amount == amount && other.index == index; }

◆ operator==() [2/2]

bool output_data::operator== ( const output_data other) const
inline

Definition at line 73 of file blockchain_blackball.cpp.

73 { return other.amount == amount && other.offset == offset; }

Member Data Documentation

◆ amount

uint64_t output_data::amount

Definition at line 69 of file blockchain_blackball.cpp.

◆ coinbase

bool output_data::coinbase
mutable

Definition at line 51 of file blockchain_usage.cpp.

◆ height

uint64_t output_data::height
mutable

Definition at line 52 of file blockchain_usage.cpp.

◆ index

uint64_t output_data::index

Definition at line 50 of file blockchain_usage.cpp.

◆ offset

uint64_t output_data::offset

Definition at line 70 of file blockchain_blackball.cpp.


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