neoneo-go/pkg
Anna Shaleva d7d850ac7d native: never set Neo's newEpoch* cache values to nil
We have cache update mechanism (Neo's cache votesChanged flag), it must
be used for current epoch and new epoch cached values update. And the
cached current/new epoch values themselves must always contain valid
information for the current/new epoch. These cached values must only be
changed once per epoch, never set them to nil.

This commit prevents CN node panic described in #3253 when dBFT tries
to retrieve new epoch validators with some votes modifications made
before at the same dBFT epoch.

Close #3253.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-12-21 17:56:07 +03:00
..
compiler compiler: add compatibility test for storage limits 2023-11-28 10:51:03 +03:00
config Merge pull request #3206 from nspcc-dev/relative_path_flag 2023-11-24 08:16:16 +03:00
consensus native: introduce attribute pricing 2023-11-21 13:42:56 +03:00
core native: never set Neo's newEpoch* cache values to nil 2023-12-21 17:56:07 +03:00
crypto *: introduce Genesis protocol configuration 2023-10-19 18:30:20 +03:00
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop interop: add contract storage limits 2023-11-27 19:56:13 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc rpc: add an ability to filter out NotaryRequestEvents 2023-12-09 11:37:25 +03:00
neotest neotest: Add contract signer support 2023-12-01 10:50:08 +03:00
network Merge pull request #3171 from nspcc-dev/fix-linter 2023-10-20 21:14:41 +03:00
rpcclient rpcclient: fix failing initialisation-based tests 2023-12-11 12:41:56 +03:00
services rpc: add an ability to filter out NotaryRequestEvents 2023-12-09 11:37:25 +03:00
smartcontract Merge pull request #3218 from nspcc-dev/serialization-limits 2023-11-22 21:28:25 +03:00
util *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
vm vm: allow to emit any based on its type 2023-11-28 17:17:34 +03:00
wallet wallet: Add new wallet constructors 2023-12-12 08:33:30 +04:00