github.com/SmartMeshFoundation/Spectrum@v0.0.0-20220621030607-452a266fee1e/core/blocks.go (about) 1 // Copyright 2015 The Spectrum Authors 2 // This file is part of the Spectrum library. 3 // 4 // The Spectrum library is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU Lesser General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // The Spectrum library is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU Lesser General Public License for more details. 13 // 14 // You should have received a copy of the GNU Lesser General Public License 15 // along with the Spectrum library. If not, see <http://www.gnu.org/licenses/>. 16 17 package core 18 19 import "github.com/SmartMeshFoundation/Spectrum/common" 20 21 // BadHashes represent a set of manually tracked bad hashes (usually hard forks) 22 var BadHashes = map[common.Hash]bool{ 23 /* 24 // add by liangc : testnet : rollback 176222 in testnet for test rollback 25 common.HexToHash("0xab10d12d320ec1d6f6e336b0d9f7e5aa250249618912222d0d902a1d3e3fcf89"): true, 26 // add by liangc : testnet : 176222 27 common.HexToHash("0x9423939f91a9edb51f68ec31cae3c46ab3dd853208e4266f403817bb514395dc"): true, 28 // add by liangc : testnet : 176222 : fix gas error 29 common.HexToHash("0xc01cdb386fa7c94b4830f97eeb51b1e3d9cdb6f890e13dbd1ebc902bdbdea243"): true, 30 // add by liangc : testnet : rollback 180572 in testnet for fix the gaslimit verify 31 common.HexToHash("0x4466da3caf8f797937d095f4da36635880ce1ebe088c0f0f78fb4dae66e73eec"): true, 32 33 // add by liangc : testnet : rollback 525233 in testnet for test block time : 14 18 22 34 common.HexToHash("0x49109562155ac528c52873dcede7bfa2666e5c7bc21f95d6f742baca7a4abbc7"): true, 35 common.HexToHash("0x8857ce7c4e17c5ff1605a5da8bdd172b669e6eaa8a5b2ebf7d4b574f7e36ec97"): true, 36 common.HexToHash("0xf127c1bb9061264744cc62654647562a058f510231d5203ff21f6f9299407bcf"): true, 37 38 // add by liangc : testnet : rollback 595708 in testnet for test and update chief 0.0.6 39 common.HexToHash("0x24f468cb2f0a77add1705a341277eadea9b64700981f6e0d94dc688c5dfbb9f2"): true, 40 */ 41 //// add by liangc : testnet : rollback 2200022 in testnet for test and debug vsn0.6.0 42 //common.HexToHash("0x3e7cb5d81c8f8b3998ec1b1c244333d16712f27cedac0f42b4039bf04689da09"): true, 43 //// 2248496 44 //// testnet rollback to 2243388 45 //common.HexToHash("0x3a0c324ef355f3b12049851e75873e13e5b48aa69e79d68f5e8c9a61a2655bee"): true, 46 47 //common.HexToHash("0x777220ca88f6c847e8323f4e1c3d444aeb86c8c8fcb0c5517eae8816139090d1"): true, 48 // testnet rollback to 1310000 49 common.HexToHash("0x73a73c96b736b5e7e4043a15535390ab930f850855ace2187db8b00b37a57fbc"): true, 50 // 51 }