diff options
| author | Riccardo Spagni <ric@spagni.net> | 2018-02-14 12:49:57 +0100 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2018-02-14 12:49:57 +0100 |
| commit | 370b43d12ba5163c133fd28e84f667895e5c8567 (patch) | |
| tree | 7a972a9d8bcfd3f04d0db23372fec1b64e5f8cb4 /src/cryptonote_core/blockchain.cpp | |
| parent | 589a53f4794a6d84def73507fe7235e7f1adf406 (diff) | |
| parent | 19ff243f52556562c3aa87e22e0d4b1fd2eeb7df (diff) | |
| download | monzero-core-370b43d12ba5163c133fd28e84f667895e5c8567.tar.gz monzero-core-370b43d12ba5163c133fd28e84f667895e5c8567.tar.xz monzero-core-370b43d12ba5163c133fd28e84f667895e5c8567.zip | |
Merge pull request #3138
19ff243f wallets: reorg 61 more days on testnet (moneromooo-monero)
c70f03ca blockchain: move bulletproofs to v8 (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
| -rw-r--r-- | src/cryptonote_core/blockchain.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 178479f3c..7ee9ade80 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -127,7 +127,8 @@ static const struct { { 5, 802660, 0, 1472415036 + 86400*180 }, // add 5 months on testnet to shut the update warning up since there's a large gap to v6 { 6, 971400, 0, 1501709789 }, - { 7, 1057028, 0, 1512211236 }, + { 7, 1057027, 0, 1512211236 }, + { 8, 1057058, 0, 1515967497 }, }; static const uint64_t testnet_hard_fork_version_1_till = 624633; @@ -2395,11 +2396,11 @@ bool Blockchain::check_tx_outputs(const transaction& tx, tx_verification_context } } - // from v7, allow bulletproofs - if (hf_version < 7 || !m_testnet) { + // from v8, allow bulletproofs + if (hf_version < 8) { if (!tx.rct_signatures.p.bulletproofs.empty()) { - MERROR("Bulletproofs are not allowed before v7 or on mainnet"); + MERROR("Bulletproofs are not allowed before v8"); tvc.m_invalid_output = true; return false; } |
