Electroneum
ancestor Struct Reference

Public Member Functions

bool operator== (const ancestor &other) const
 
template<typename t_archive >
void serialize (t_archive &a, const unsigned int ver)
 

Public Attributes

uint64_t amount
 
uint64_t offset
 

Detailed Description

Definition at line 57 of file blockchain_ancestry.cpp.

Member Function Documentation

◆ operator==()

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

Definition at line 62 of file blockchain_ancestry.cpp.

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

◆ serialize()

template<typename t_archive >
void ancestor::serialize ( t_archive &  a,
const unsigned int  ver 
)
inline

Definition at line 64 of file blockchain_ancestry.cpp.

65  {
66  a & amount;
67  a & offset;
68  }
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124

Member Data Documentation

◆ amount

uint64_t ancestor::amount

Definition at line 59 of file blockchain_ancestry.cpp.

◆ offset

uint64_t ancestor::offset

Definition at line 60 of file blockchain_ancestry.cpp.


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