neoneo-go/pkg
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
..
compiler Merge pull request #3149 from nspcc-dev/fix-compiler-version-race 2023-10-10 12:23:08 +03:00
config rpcsrv: set MaxNEP11Tokens to default if not specified 2023-08-29 13:26:10 +03:00
consensus core: rename (*Blockchain).GetValidators to ComputeNextBlockValidators 2023-10-10 13:18:05 +03:00
core core: rename (*Blockchain).GetValidators to ComputeNextBlockValidators 2023-10-10 13:18:05 +03:00
crypto *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
encoding *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
interop interop: support ABORTMSG, ASSERT, ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc rpcsrv: add getrawnotarypool, getrawnotarytransaction handlers 2023-08-31 18:51:43 +01:00
neotest neotest: improve doc based on #3120 2023-09-05 15:20:00 +03:00
network *: move NVB and Conflicts attributes out of extensions 2023-09-04 16:39:44 +03:00
rpcclient unwrap: add Nothing function 2023-09-03 16:54:50 +01:00
services rpcsrv: use stricter GAS limit for calculatenetworkfee 2023-09-27 19:33:06 +03:00
smartcontract zkpbinding: fix example link 2023-10-05 15:16:11 +03:00
util *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
vm vm: add address&swap endianness to opcode dump for hashes 2023-09-04 08:41:22 +01:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00