forked from wownero/wownero
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.9 KiB
72 lines
2.9 KiB
// Copyright (c) 2014-2022, The Monero Project
|
|
//
|
|
// All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without modification, are
|
|
// permitted provided that the following conditions are met:
|
|
//
|
|
// 1. Redistributions of source code must retain the above copyright notice, this list of
|
|
// conditions and the following disclaimer.
|
|
//
|
|
// 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
|
// of conditions and the following disclaimer in the documentation and/or other
|
|
// materials provided with the distribution.
|
|
//
|
|
// 3. Neither the name of the copyright holder nor the names of its contributors may be
|
|
// used to endorse or promote products derived from this software without specific
|
|
// prior written permission.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
|
// THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#include "hardforks.h"
|
|
|
|
#undef MONERO_DEFAULT_LOG_CATEGORY
|
|
#define MONERO_DEFAULT_LOG_CATEGORY "blockchain.hardforks"
|
|
|
|
const hardfork_t mainnet_hard_forks[] = {
|
|
{ 7, 1, 0, 1519605000 },
|
|
{ 8, 6969, 0, 1524214739 },
|
|
{ 9, 53666, 0, 1538689773 },
|
|
{ 10, 63469, 0, 1541700352 },
|
|
{ 11, 81769, 0, 1549238400 },
|
|
{ 12, 82069, 0, 1549318761 },
|
|
{ 13, 114969, 0, 1559292691 },
|
|
{ 14, 115257, 0, 1559292774 },
|
|
{ 15, 160777, 0, 1573280497 },
|
|
{ 16, 253999, 0, 1600576508 },
|
|
{ 17, 254287, 0, 1600576524 },
|
|
{ 18, 331170, 0, 1623245591 },
|
|
{ 19, 331458, 0, 1624793373 },
|
|
};
|
|
const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]);
|
|
|
|
const hardfork_t testnet_hard_forks[] = {
|
|
{ 7, 1, 0, 1519605000 },
|
|
{ 8, 10, 0, 1524214739 },
|
|
{ 9, 20, 0, 1538689773 },
|
|
{ 10, 30, 0, 1541700352 },
|
|
{ 11, 40, 0, 1549238400 },
|
|
{ 12, 50, 0, 1549318761 },
|
|
{ 13, 60, 0, 1559292691 },
|
|
{ 14, 70, 0, 1559292774 },
|
|
{ 15, 80, 0, 1573280497 },
|
|
{ 16, 90, 0, 1600576508 },
|
|
{ 17, 100, 0, 1600576524 },
|
|
{ 18, 110, 0, 1623245591 },
|
|
{ 19, 120, 0, 1624793373 },
|
|
{ 20, 130, 0, 1674457368 },
|
|
};
|
|
const size_t num_testnet_hard_forks = sizeof(testnet_hard_forks) / sizeof(testnet_hard_forks[0]);
|
|
|
|
const hardfork_t stagenet_hard_forks[] = {
|
|
};
|
|
const size_t num_stagenet_hard_forks = sizeof(stagenet_hard_forks) / sizeof(stagenet_hard_forks[0]);
|