You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Limit the size of the statement for further gossiping (#9965)
# Description
Limits the size of statements that are further gossiped over the network
to prevent skipping oversized messages. The limit is set to match the
network protocol's max statement notification size (1 MB), accounting
for 1-byte vector length overhead because statements are sent as
`Vec<Statement>`.
## Integration
Affected crates:
- `sc-statement-store`: Now depends on `sc-network-statement` for size
constants
- `sc-network-statement`: `MAX_STATEMENT_NOTIFICATION_SIZE` is now
public
For downstream users:
- Statements larger than 1 MB will now be rejected earlier before the
validation pipeline
---------
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bastian Köcher <[email protected]>
title: Limit the size of the statement for further gossiping
2
+
doc:
3
+
- audience: Node Dev
4
+
description: "Limits the size of statements that are further gossiped over the network to prevent skipping oversized messages. The limit is set to match the network protocol's `MAX_STATEMENT_NOTIFICATION_SIZE` (1 MB), accounting for 1-byte vector length overhead because statements are sent as `Vec<Statement>`."
0 commit comments