Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

holocene: add rule to limit channel size at channel stage #431

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

sebastianst
Copy link
Member

Description

Adds rule to limit channel size at channel stage by MaxRLPBytesPerChannel. This replaces the limit of all channels' sizes by MaxChannelBankSize.

Additional context

This rule makes sense since the channel stage now only holds a single (still compressed) channel, so it can be limited in size by the later limit on an uncompressed channel. Compression is none worst-case (ignoring overheads), so practically this doesn't add any stronger limits on a channel, but early-limits the size by which the channel bank could grow, back to 100 MB from 1 GB, since the channel bank size was increased to 1GB with Fjord.

@sebastianst sebastianst merged commit d6b979a into main Oct 16, 2024
1 check passed
@sebastianst sebastianst deleted the seb/holocene-channel-max-size branch October 16, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants