neoneo-go/pkg/core
Anna Shaleva cb0f786b28 core: move batch persist to a separate routine
Resetting mainnet from 2512046 blocks (full logs are attached
to https://github.com/nspcc-dev/neo-go/pull/2813#issuecomment-1324115555).

--------
LevelDB |
------------------------
  to  |  old   |   new  |
------|--------|--------|
  1   | 5m11s  | 4m50s  |
------|--------|--------|
  1M  | 10m40s | 9m40s  |
------|--------|--------|
 2.5M | 17m38s | 17m36s |
------------------------

--------
BoltDB  |
------------------------
  to  |  old   |   new  |
------|--------|--------|
  1   |  8m3s  | 5m51s  |
------|--------|--------|
  1M  | 20m30s | 13m2s  |
------|--------|--------|
 2.5M | 31m26s | 18m47s |
------------------------

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-04-11 16:58:11 +03:00
..
block *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
chaindump config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
dao ci: fix lint issues (fix #2948) 2023-03-29 11:19:23 +08:00
fee vm: add PUSHT and PUSHF opcodes 2022-12-02 10:02:33 +03:00
interop Merge pull request #2957 from nspcc-dev/rm-go-17 2023-04-04 15:25:14 +03:00
mempool *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
mempoolevent *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
mpt *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
native core: add BLS12_381 interops 2023-04-05 15:37:50 +03:00
state Merge pull request #2872 from nspcc-dev/fix-missing-exception-in-applog 2023-01-12 12:49:00 +07:00
stateroot stateroot: fix spelling and enhance FindStates doc, fix #2925 2023-03-15 22:55:19 +03:00
statesync config: replace VerifyBlocks with SkipBlockVerification 2022-12-07 17:35:56 +03:00
storage *: add nolint comments to multiple errors wrapping 2023-03-15 16:38:01 +03:00
test_data core: refactor helper test contracts generation 2022-03-30 11:46:29 +03:00
transaction *: replace interface{} with any keyword 2023-04-04 13:22:42 +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: move batch persist to a separate routine 2023-04-11 16:58:11 +03:00
blockchain_core_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
blockchain_neotest_test.go Merge pull request #2941 from nspcc-dev/drop-deprecated-0.102.0 2023-04-06 10:42:26 +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 core: add some comment for TestDesignate_DesignateAsRole 2022-06-08 23:11:14 +03:00
prometheus.go core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +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