Definition at line 134 of file blockchain_ancestry.cpp.
◆ ancestry_state_t()
| ancestry_state_t::ancestry_state_t |
( |
| ) |
|
|
inline |
◆ serialize()
template<typename t_archive>
| void ancestry_state_t::serialize |
( |
t_archive & | a, |
|
|
const unsigned int | ver ) |
|
inline |
Definition at line 144 of file blockchain_ancestry.cpp.
145 {
149 if (ver < 1)
150 {
151 std::unordered_map<crypto::hash, cryptonote::transaction> old_tx_cache;
153 for (const auto i: old_tx_cache)
154 tx_cache.insert(std::make_pair(i.first, ::tx_data_t(i.second)));
155 }
156 else
157 {
159 }
160 if (ver < 2)
161 {
162 std::unordered_map<uint64_t, cryptonote::block> old_block_cache;
165 for (const auto i: old_block_cache)
167 }
168 else
169 {
171 }
172 }
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
std::unordered_map< crypto::hash, ::tx_data_t > tx_cache
std::unordered_map< ancestor, crypto::hash > output_cache
std::vector< cryptonote::block > block_cache
std::unordered_map< crypto::hash, std::unordered_set< ancestor > > ancestry
◆ ancestry
◆ block_cache
◆ height
◆ output_cache
◆ tx_cache
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/blockchain_utilities/blockchain_ancestry.cpp