Electroneum
Public Member Functions | Public Attributes | List of all members
ancestry_state_t Struct Reference
Collaboration diagram for ancestry_state_t:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

uint64_t height
 
std::unordered_map< crypto::hash, std::unordered_set< ancestor > > ancestry
 
std::unordered_map< ancestor, crypto::hashoutput_cache
 
std::unordered_map< crypto::hash, ::tx_data_ttx_cache
 
std::vector< cryptonote::blockblock_cache
 

Constructor & Destructor Documentation

◆ ancestry_state_t()

ancestry_state_t::ancestry_state_t ( )
inline

Member Function Documentation

◆ serialize()

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

Member Data Documentation

◆ ancestry

std::unordered_map<crypto::hash, std::unordered_set<ancestor> > ancestry_state_t::ancestry

◆ block_cache

std::vector<cryptonote::block> ancestry_state_t::block_cache

◆ height

uint64_t ancestry_state_t::height

◆ output_cache

std::unordered_map<ancestor, crypto::hash> ancestry_state_t::output_cache

◆ tx_cache

std::unordered_map<crypto::hash, ::tx_data_t> ancestry_state_t::tx_cache

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