Merge pull request #258

ae08be5 Disable DNS checkpoint updating on testnet (Thomas Winget)
getblocktemplate-height
Riccardo Spagni 9 years ago
commit 7711359e14
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -98,6 +98,8 @@ namespace cryptonote
//-----------------------------------------------------------------------------------------------
bool core::update_checkpoints()
{
if (m_testnet) return true;
bool res = true;
if (time(NULL) - m_last_dns_checkpoints_update >= 3600)
{

Loading…
Cancel
Save