aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints/checkpoints.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-11 16:32:46 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-25 21:16:35 +0100
commitcdbbe99c829a5169a31386ef65400050f207170f (patch)
tree5f38127fa220bf529d89f29249570e0974d94279 /src/checkpoints/checkpoints.h
parentserialization: add deque serialization (diff)
downloadmonero-cdbbe99c829a5169a31386ef65400050f207170f.tar.xz
checkpoints: add a token checkpoint on testnet (the genesis block)
Diffstat (limited to '')
-rw-r--r--src/checkpoints/checkpoints.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/checkpoints/checkpoints.h b/src/checkpoints/checkpoints.h
index 72eb232d7..a643c5790 100644
--- a/src/checkpoints/checkpoints.h
+++ b/src/checkpoints/checkpoints.h
@@ -148,10 +148,11 @@ namespace cryptonote
/**
* @brief loads the default main chain checkpoints
+ * @param testnet whether to load testnet checkpoints or mainnet
*
* @return true unless adding a checkpoint fails
*/
- bool init_default_checkpoints();
+ bool init_default_checkpoints(bool testnet);
/**
* @brief load new checkpoints