Electroneum
Loading...
Searching...
No Matches
blocks Namespace Reference

Functions

const epee::span< const unsigned char > GetCheckpointsData (cryptonote::network_type network)

Variables

const std::unordered_map< cryptonote::network_type, const epee::span< const unsigned char >, std::hash< size_t > > CheckpointsByNetwork

Function Documentation

◆ GetCheckpointsData()

const epee::span< const unsigned char > blocks::GetCheckpointsData ( cryptonote::network_type network)

Definition at line 21 of file blocks.cpp.

22 {
23 const auto it = CheckpointsByNetwork.find(network);
24 if (it != CheckpointsByNetwork.end())
25 {
26 return it->second;
27 }
28 return nullptr;
29 }
const std::unordered_map< cryptonote::network_type, const epee::span< const unsigned char >, std::hash< size_t > > CheckpointsByNetwork
Definition blocks.cpp:15
Here is the caller graph for this function:

Variable Documentation

◆ CheckpointsByNetwork

const std::unordered_map<cryptonote::network_type, const epee::span<const unsigned char>, std::hash<size_t> > blocks::CheckpointsByNetwork