frostfs-node/pkg/morph/client
Evgenii Stratonikov df055fead5 [#931] morph: Provide batch size for container listing explicitly
Besides VM stack item limit we also have restrictions on the size of
JSON for a stackitem, which is 128k. This limit is much harder to
calculate, because JSON representation includes type and the encoding is
different for different items. Thus is makes no sense to invent our own
default, so use the one provided by neo-go. But for container listing we
know exactly what we process, so use big enough value, which is tested.

Introduced in be8607a1f6.

Refs #902
Refs https://github.com/nspcc-dev/neo-go/blob/v0.105.0/pkg/vm/stackitem/json.go#L353

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-29 14:00:11 +00:00
..
balance [#787] morph: Return VUB from Invoke method 2023-11-13 17:13:03 +03:00
container [#931] morph: Provide batch size for container listing explicitly 2024-01-29 14:00:11 +00:00
frostfs [#755] morph: Drop FrostFSID contract usage 2023-12-12 12:36:34 +03:00
frostfsid [#755] innerring: Check container owner namespace 2023-12-12 12:36:34 +03:00
netmap [#787] netmap: Refactor NewEpoch method 2023-11-13 17:22:31 +03:00
actor.go [#925] morph: Introduce switch rpc guarded rpc actor 2024-01-25 13:24:13 +00:00
client.go [#931] morph: Provide batch size for container listing explicitly 2024-01-29 14:00:11 +00:00
constructor.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
multi.go [#749] morph: Fix panic when closing morph client 2023-11-01 10:48:10 +00:00
multy_test.go [#587] Do not use math/rand.Read 2023-08-09 16:02:44 +03:00
nns.go [#851] ape: Initialize and use policy contract interface 2023-12-18 11:06:35 +00:00
notary.go [#787] morph: Calculate VUB and nonce when hash is nil 2023-11-13 17:13:03 +03:00
notifications.go [#893] go.mod: Update neo-go 2023-12-29 15:03:47 +00:00
static.go [#787] morph: Calculate VUB and nonce when hash is nil 2023-11-13 17:13:03 +03:00
util.go [#11] Rename contract-related NeoFS occurences 2023-01-12 08:55:47 +03:00
util_test.go [#478] morph/client: Try to parse integer as a byte type 2021-04-15 17:53:08 +03:00