neo-go/pkg/core
Roman Khimov a50723ff72 *: use cmp.Or where appropriate
It's slightly less efficient (all comparisons are always made), but for
strings/ints it's negligible performance difference, while the code looks a
tiny bit better.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 17:00:11 +03:00
..
block block: add PrimaryIndex to the stack item of block 2024-07-27 12:35:19 +03:00
chaindump chaindump: microoptimize memory management 2024-07-16 15:03:17 +03:00
dao dao: do not remove block executable by conflict record stub 2024-05-16 12:13:41 +03:00
fee vm: add ABORTMSG and ASSERTMSG opcodes 2023-08-10 12:41:30 +03:00
interop *: use cmp.Or where appropriate 2024-08-30 17:00:11 +03:00
mempool *: don't use CompareTo name for three-way comparison functions 2024-08-27 12:29:44 +03:00
mempoolevent *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
mpt *: use slices.Concat where appropriate 2024-08-30 17:00:11 +03:00
native *: return errors.ErrUnsupported where appropriate 2024-08-27 12:51:12 +03:00
state manifest: make default trusts invalid 2024-07-26 15:18:25 +03:00
stateroot *: fix linter issues 2024-08-14 12:36:15 +03:00
statesync statesync: simplify Pool management code 2024-08-27 12:29:44 +03:00
storage *: use slices.Concat where appropriate 2024-08-30 17:00:11 +03:00
test_data core: refactor helper test contracts generation 2022-03-30 11:46:29 +03:00
transaction transaction: microoptimize multiattribute check 2024-08-27 08:24:52 +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 *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
blockchain_core_test.go core: introduce Echidna hardfork 2024-08-12 11:10:26 +03:00
blockchain_neotest_test.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
doc.go *: apply go 1.19 formatter heuristics 2022-08-09 15:37:52 +03:00
headerhashes.go *: drop open-coded slice reversing 2024-08-24 22:41:48 +03:00
helper_test.go *: add GenesisTransaction extension to the protocol configuration 2023-10-19 18:33:50 +03:00
interops.go core: add System.Runtime.CurrentSigners syscall 2023-11-20 14:46:27 +03:00
native_designate_test.go *: introduce Genesis protocol configuration 2023-10-19 18:30:20 +03:00
prometheus.go core: distinguish notarypool/mempool metrics 2023-04-13 18:40:19 +03:00
util.go *: drop open-coded slice reversing 2024-08-24 22:41:48 +03:00
util_test.go *: add GenesisTransaction extension to the protocol configuration 2023-10-19 18:33:50 +03:00