neo-go/pkg/core
Anna Shaleva f78f915071 native: optimize NEO's committee/validators cache handling
Do not recalculate new committee/validators value in the start of every
subsequent epoch. Use values that was calculated in the PostPersist method
of the previously processed block in the end of the previous epoch.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-10 13:18:05 +03:00
..
block *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
chaindump *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
dao dao: simplify NewSimple() 2023-09-04 16:56:59 +03:00
fee vm: add ABORTMSG and ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
interop dao: simplify NewSimple() 2023-09-04 16:56:59 +03:00
mempool *: move NVB and Conflicts attributes out of extensions 2023-09-04 16:39:44 +03:00
mempoolevent *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
mpt *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
native native: optimize NEO's committee/validators cache handling 2023-10-10 13:18:05 +03:00
state smartcontract: fix wildcard trusts deserialization 2023-09-25 11:53:47 +03:00
stateroot rpcsrv: refactor findstoragehistoric handler to avoid DoS attack 2023-08-24 17:15:59 +03:00
statesync dao: simplify NewSimple() 2023-09-04 16:56:59 +03:00
storage storage: Use timeout for boltdb database opening 2023-10-06 13:10:11 +03:00
test_data core: refactor helper test contracts generation 2022-03-30 11:46:29 +03:00
transaction core: fix formatted error on transaction verification 2023-07-21 13:50:20 +03:00
basic_chain_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
bench_test.go core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +03:00
blockchain.go core: rename (*Blockchain).GetValidators to ComputeNextBlockValidators 2023-10-10 13:18:05 +03:00
blockchain_core_test.go core: rename (*Blockchain).GetValidators to ComputeNextBlockValidators 2023-10-10 13:18:05 +03:00
blockchain_neotest_test.go dao: simplify NewSimple() 2023-09-04 16:56:59 +03:00
doc.go *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
headerhashes.go core: don't always store all hashes in memory 2022-11-25 14:30:51 +03:00
helper_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
interops.go runtime: implement System.Runtime.LoadScript, fix #2701 2022-11-25 15:11:49 +03:00
native_designate_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
prometheus.go core: distinguish notarypool/mempool metrics 2023-04-13 18:40:19 +03:00
util.go core: simplify header hash list restoration logic 2022-11-25 13:08:03 +03:00
util_test.go core: export CreateGenesisBlock 2022-06-08 18:20:34 +03:00