mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
Blockchain: match original function declaration from blockchain_storage
This commit is contained in:
parent
cd972bdcc2
commit
59305d3137
2 changed files with 2 additions and 2 deletions
|
@ -2288,7 +2288,7 @@ bool Blockchain::add_new_block(const block& bl_, block_verification_context& bvc
|
||||||
return handle_block_to_main_chain(bl, id, bvc);
|
return handle_block_to_main_chain(bl, id, bvc);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
void Blockchain::check_against_checkpoints(checkpoints& points, bool enforce)
|
void Blockchain::check_against_checkpoints(const checkpoints& points, bool enforce)
|
||||||
{
|
{
|
||||||
const auto& pts = points.get_points();
|
const auto& pts = points.get_points();
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ namespace cryptonote
|
||||||
void print_blockchain_index();
|
void print_blockchain_index();
|
||||||
void print_blockchain_outs(const std::string& file);
|
void print_blockchain_outs(const std::string& file);
|
||||||
|
|
||||||
void check_against_checkpoints(checkpoints& points, bool enforce);
|
void check_against_checkpoints(const checkpoints& points, bool enforce);
|
||||||
void set_enforce_dns_checkpoints(bool enforce);
|
void set_enforce_dns_checkpoints(bool enforce);
|
||||||
bool update_checkpoints(const std::string& file_path, bool check_dns);
|
bool update_checkpoints(const std::string& file_path, bool check_dns);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue