neo-go/pkg/core
Roman Khimov a0553f740d statesync: simplify Pool management code
* use slices.BinarySearchFunc with its boolean status
* use slices.Insert/slices.Delete, tnis can be a little less efficient, but it
  frees the memory faster and this code is more I/O (networking) bound to care
  about 1-3%

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-27 12:29:44 +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 slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00
mempool mempool: add some comments on potential slices.* use 2024-08-27 08:24:52 +03:00
mempoolevent *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
mpt *: use clear() to clear maps 2024-08-24 22:41:48 +03:00
native *: use slices.Clone instead of make/copy 2024-08-24 22:41:48 +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 storage: bytes.Clone(nil) == nil 2024-05-16 19:29: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 core: fix extensible sender check 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 core: introduce Echidna hardfork 2024-08-12 11:10:26 +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