neoneo-go/pkg/core/native/native_test
Anna Shaleva 07e1bc7cd7 core: rename (*Blockchain).GetValidators to ComputeNextBlockValidators
We have two similar blockchain APIs: GetNextBlockValidators and GetValidators.
It's hard to distinguish them, thus renaming it to match the meaning, so what
we have now is:

GetNextBlockValidators literally just returns the top of the committee that
was elected in the start of batch of CommitteeSize blocks batch. It doesn't
change its valie every block.

ComputeNextBlockValidators literally computes the list of validators based on
the most fresh committee members information got from the NeoToken's storage
and based on the latest register/unregister/vote events. The list returned by
this method may be updated every block.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-10 13:18:05 +03:00
..
helpers/policyhelper nativetest: migrate Policy contract tests to neotest 2022-01-14 16:34:33 +03:00
common_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
cryptolib_test.go examples: add compatibility example for Groth16 veification 2023-10-05 11:01:25 +03:00
designate_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
gas_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
ledger_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
management_test.go Revert "core: remove contract script check on deploy/update" 2023-08-09 18:30:47 +03:00
neo_test.go core: rename (*Blockchain).GetValidators to ComputeNextBlockValidators 2023-10-10 13:18:05 +03:00
notary_test.go vm: allow to emit convertible 2023-05-17 12:47:31 +03:00
oracle_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy_test.go core: keep Policy cache always valid and up-to-date 2022-04-29 16:10:04 +03:00