mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
e7f26371262c0bfee25a3ee2ebd1585f701f3c7a
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>
❤️🪵
Radicle Heartwood Protocol & Stack
Languages
Rust
97.8%
Shell
0.5%
CUE
0.4%
Nix
0.3%
Just
0.3%
Other
0.6%