Skip to content

Commit

Permalink
Update derivation.md (#448)
Browse files Browse the repository at this point in the history
* Update derivation.md

* Update derivation.md

* lint

* Update specs/protocol/holocene/derivation.md

Co-authored-by: Adrian Sutton <[email protected]>

* Update specs/protocol/holocene/derivation.md

---------

Co-authored-by: Adrian Sutton <[email protected]>
  • Loading branch information
geoknee and ajsutton authored Nov 7, 2024
1 parent 78383c7 commit bb897d8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions specs/protocol/holocene/derivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@ holds at most a single channel at a time.

### Pruning

Pruning is vastly simplified as there's at most only one open channel in the channel bank. So the
Pruning is vastly simplified as there is at most only one open channel in the channel bank. So the
channel bank's queue becomes effectively a staging slot for a single channel, the _staging channel_.
The `MAX_CHANNEL_BANK_SIZE` parameter becomes ineffective and the size of a channel is bounded, as
before, during decompression to be at most of size `MAX_RLP_BYTES_PER_CHANNEL`.
The `MAX_CHANNEL_BANK_SIZE` parameter is no longer used, and the compressed size of the staging
channel is required to be at most `MAX_RLP_BYTES_PER_CHANNEL` (else the channel is dropped). Note this
latter rule is both a distinct condition and distinct effect, compared to the existing rule
that the _uncompressed_ size of any given channel is _clipped_ to `MAX_RLP_BYTES_PER_CHANNEL` [during decompression](../derivation.md#channel-format).

### Timeout

Expand Down

0 comments on commit bb897d8

Please sign in to comment.