From 9ef4a4ea7f037b817e53114439c5766a65efca39 Mon Sep 17 00:00:00 2001 From: wowario Date: Sat, 2 Jan 2021 11:40:09 +0300 Subject: [PATCH] update checkpoints --- src/blocks/checkpoints.dat | Bin 33924 -> 34756 bytes src/checkpoints/checkpoints.cpp | 3 ++- src/cryptonote_core/blockchain.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/blocks/checkpoints.dat b/src/blocks/checkpoints.dat index 59a9eb79744c15840c6d2f8d7e5a79fa55a37a94..4ce0b965a66f7627af77af9fa34703300aa73bc2 100644 GIT binary patch delta 851 zcmV-Z1FZani2}rr0s$Yf0fU5pPau)d5wq1`%kXkhXTr3~OL5-S#!{AwCL;lW>(WSo zbIObFPVW!1B8iZGP%Tm)zogEbT3~?!)b1LRdPE-Ni-P<$Yp2jD)fm9nd@T~?dQ&iI zzEm0^or-$k#})vdK2Kp7L!OBiEqGkcD=w!^K@e}_cxDW9FD8y^ZJh0Yw|OA51F|k- zby`$3DYsejPpj}l2!>EwTjz+PQF-vQB^YV9#o(*U_1WS-%Sk$>3k+)D>=~i6M(P0b zx!Cgw#b-8c!2T9~JVBkx_1M(eCZQ3?0w*^%e8i$BQ6-Q_@l=i1i}Sx-VWuN6<3F=H z=L*PrBb2N{zl^BB;7$a82E#M&>nDu5Q@%p@T3rx}e z45^}6{{5l!-)hsLU>YY68KljDg5q$=Wsl9p*$Q4Y-Uek35$H)+MT})F*-Mylh30K( zZ$)&{JH7JXZ!4~UFkMWg3+0~MFe?Zi;)MOEx^XLP1N~HgCi^UUkFK?sN%z^%Fv&fm zLsa9ree7Eyck-tHfN4VH6H?>{O^Mj}%n)%r4lo@JEZ{^eQT!Y&8|9e0Nr5YSjo zlh`EZ8x;{wT-8mrp6EanGX?z!f7PFPWfek~p#};%tP_fVpUCfdnpuuB@91=HId+RI z2?Gn~_JPMCw+~~9y>24Bj;rOL3(oer6V2kVG0xca?x^C&@z?NVuXpaQ5^-44yu#$h z{<{00vK|fH96;ce+4w(<8RJuk!Eo+WvVloUR?5fPqd$R9$@z^HIo@_#fNX67WGmB% zUs+Z5yk2)ky=!2%pH69p%b$hCePot3H&YP0i~)Bk-lY-->3eqwJ_N$9u>Z<3Yy&}A dj=Wau?mkbyZX<#%?F(QQ^%)$?pR*cOd{m2hqoDu* delta 12 TcmX@o&(zY%#3;0pvAG2R9UufT diff --git a/src/checkpoints/checkpoints.cpp b/src/checkpoints/checkpoints.cpp index 6ecfd510e..bc9ff1eb0 100644 --- a/src/checkpoints/checkpoints.cpp +++ b/src/checkpoints/checkpoints.cpp @@ -200,7 +200,7 @@ namespace cryptonote return true; } // make RPC call to daemon - // curl http://127.0.0.1:34568/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_block","params":{"height":271600}}' -H 'Content-Type: application/json' + // curl http://127.0.0.1:34568/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_block","params":{"height":278300}}' -H 'Content-Type: application/json' // "wide_cumulative_difficulty": "0x14eb4d0131fe8", ADD_CHECKPOINT2(1, "97f4ce4d7879b3bea54dcec738cd2ebb7952b4e9bb9743262310cd5fec749340", "0x2"); ADD_CHECKPOINT2(6969, "aa7b66e8c461065139b55c29538a39c33ceda93e587f84d490ed573d80511c87", "0x118eef693fd"); //Hard fork to v8 @@ -215,6 +215,7 @@ namespace cryptonote ADD_CHECKPOINT2(254287, "b37cb55abe73965b424f8028bf71bef98d069645077ffa52f0c134907b7734e3", "0x1746622f56668"); //Hard fork to v17 ADD_CHECKPOINT2(256700, "389a8ab95a80e84ec74639c1078bc67b33af208ef00f53bd9609cfc40efa7059", "0x185ace3c1bd68"); ADD_CHECKPOINT2(271600, "9597cdbdc52ca57d7dbd8f9c0a23a73194ef2ebbcfdc75c21992672706108d43", "0x1e2d2d6a2a9e8"); + ADD_CHECKPOINT2(278300, "b10dcdf7a51651f60fbcc0447409773eef1458d2c706d9a61daf467571ac19c9", "0x20a83a16d3968"); return true; } diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index b3cc0244d..94cc56df8 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -5458,7 +5458,7 @@ void Blockchain::cancel() } #if defined(PER_BLOCK_CHECKPOINT) -static const char expected_block_hashes_hash[] = "bd1d32aed063dd71c1355dc950eb0fc22b10e41530029f54d40a0fd6f6b328f1"; +static const char expected_block_hashes_hash[] = "44393af098c4738ecbe664292bc345c0acb40573562cac8bb67cea75debe9f1b"; void Blockchain::load_compiled_in_block_hashes(const GetCheckpointsCallback& get_checkpoints) { if (get_checkpoints == nullptr || !m_fast_sync)