neoneo-go/pkg
Roman Khimov 1c38b45074 core: don't always store all hashes in memory
We're paging these hashes, so we need a previous full page and a current one
plus some cache for various requests. Storing 1M of hashes is 32M of memory
and it grows quickly. It also seriously affects node startup time, most of
what it's doing is reading these hashes, the longer the chain the more time it
needs to do that.

Notice that this doesn't change the underlying DB scheme in any way.
2022-11-25 14:30:51 +03:00
..
compiler compiler: don't use (*VM).Istack when it's not needed 2022-11-17 20:46:06 +03:00
config rpcsrv: make websocket client limit configurable 2022-11-23 12:19:49 +03:00
consensus core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +03:00
core core: don't always store all hashes in memory 2022-11-25 14:30:51 +03:00
crypto keys: move from btcd/btcec to decred/secp256k1 package 2022-11-08 17:59:59 +03:00
encoding fixedn: add a test for empty string 2022-08-19 21:52:43 +03:00
interop interop: refactor address.FromHash160 code 2022-09-27 15:32:57 +03:00
io [#2442] English Check 2022-05-04 19:48:27 +03:00
neorpc neorpc: adjust and extend event filters documentation 2022-10-26 15:32:54 +03:00
neotest core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +03:00
network core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +03:00
rpcclient rpcclient: extract more detailed server-side on WS connection problem 2022-11-23 12:19:35 +03:00
services core: make GetHeaderHash accept uint32 2022-11-25 14:30:51 +03:00
smartcontract rpcbinding: use binding condig to generate code for simple arrays 2022-11-14 13:01:13 +03:00
util slice: add Clean microfunction 2022-09-02 14:44:32 +03:00
vm Merge pull request #2816 from nspcc-dev/fix-pointer-serialization 2022-11-20 22:59:52 +07:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00