#pragma once #include #include "cryptonote_config.h" namespace blocks { template std::string_view checkpoint_data() { return ""sv; } template <> std::string_view checkpoint_data(); template <> std::string_view checkpoint_data(); template <> std::string_view checkpoint_data(); inline std::string_view GetCheckpointsData(cryptonote::network_type network) { if (network == cryptonote::network_type::MAINNET) return checkpoint_data(); if (network == cryptonote::network_type::TESTNET) return checkpoint_data(); if (network == cryptonote::network_type::DEVNET) return checkpoint_data(); return ""sv; } } // namespace blocks