radicle-heartwood-lfs/radicle
Slack Coder e7f2637126
node: Limit number of Refs in RefAnnouncements
Use the BoundedVec to limit the supported number of refs in
RefAnnouncement messages.  The size (235) is the maximum supported by
message wire size.

To reduce the complexity of the changes, BoundedVec is used again
instead of using a new bounded Refs or BTreeMap.  This requires
defining new Decode/Encode logic for Ref's element types, and
workarounds for arbitrary instances.

Signed-off-by: Slack Coder <slackcoder@server.ky>
2022-12-09 21:54:10 +01:00
..
src node: Limit number of Refs in RefAnnouncements 2022-12-09 21:54:10 +01:00
Cargo.toml cobs: allow for batched operations 2022-12-07 17:11:40 +01:00