neoneo-go/pkg
Evgeniy Stratonikov a8d2df874f stackitem: limit JSON size in ToJSONWithTypes
Also do not limit depth. It was introduced in e34fa2e915 as a simple
solution to OOM problem. In this commit we do exactly the refactoring
described there. Maximum size is the same as stack item size and
can be changed if needed withouth significat refactoring.
`1 MiB` seems sufficient, though.

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2022-03-09 10:29:23 +03:00
..
compiler Merge pull request #2382 from nspcc-dev/compiler-optimize 2022-03-04 18:55:40 +03:00
config config: conflict P2PStateExchangeExtensions/KeepOnlyLatestState 2022-02-11 14:19:54 +03:00
consensus config/core: allow to change the number of validators 2022-01-31 23:14:38 +03:00
core Merge pull request #2383 from nspcc-dev/oracle-redirection 2022-03-04 22:19:22 +03:00
crypto core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop interop: extend native Notary interop API 2022-03-01 19:08:22 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest compiler: update x/tools package 2022-01-20 13:21:26 +03:00
network network: tune waiting limits in tests 2022-02-10 18:58:50 +03:00
rpc rpc: add Rules signer scope to request parameters 2022-03-03 12:18:19 +03:00
services services: improve Oracle redirection check 2022-03-04 19:27:52 +03:00
smartcontract Merge pull request #2349 from nspcc-dev/codegen-contract 2022-02-24 15:51:33 +03:00
util util: allow to marshal Uint160 in YAML 2022-02-21 10:38:20 +03:00
vm stackitem: limit JSON size in ToJSONWithTypes 2022-03-09 10:29:23 +03:00
wallet Merge pull request #2264 from nspcc-dev/fix-win-tests 2021-11-29 11:25:35 +03:00