mux: refactoring
Replaced `Bool` with `CanBurst`.
Replaced `Bool` with `CanBurst`.
Move constants to top level bindings: * `maxSDUsPerBatch` * `burstMinSdu`
Replaced a custom `allM` with `foldMap All . traverse`. In the future we can fuse `foldMap` with `traverse`.
Replaced `Bool` with `CanBurst`.
Move constants to top level bindings: * `maxSDUsPerBatch` * `burstMinSdu`
Replaced a custom `allM` with `foldMap All . traverse`. In the future we can fuse `foldMap` with `traverse`.
Replaced `Bool` with `CanBurst`.
An explicit loop is easier to follow. We also avoid calling `error "impossible"`.
Added dedicated API: * `SDUWithWantonState` * `NextSDUSize`, `nextSDUSizeToSDUSize` * `TokenSize` (type alias), `consumedTokens`
Replaced `Bool` with `CanBurst`.
Move constants to top level bindings: * `maxSDUsPerBatch` * `burstMinSdu`
Replaced a custom `allM` with `foldMap All . traverse`. In the future we can fuse `foldMap` with `traverse`.
An explicit loop is easier to follow. We also avoid calling `error "impossible"`.
* added type signatures * change argument order of `processSingleWanton` * added `SDUWithWantonState` * added bangs to all `go` definitions
Added dedicated API: * `SDUWithWantonState` * `NextSDUSize`, `nextSDUSizeToSDUSize` * `TokenSize` (type alias), `consumedTokens`
Removed AcquireConnectionError
Removed AcquireConnectionError
Updated documentation
* Added `NodeToNodeV_16` to the spec * Added `NodeToClientV_22` to the spec * Added `NodeToClientV_23` to the spec * Improved haddocks of `NodeToNodeVersion` * Improved haddocks of `NodeToClientVersion`
A more detailed trace is provided by ConnectionManager.
* Added `NodeToNodeV_16` to the spec * Added `NodeToClientV_22` to the spec * Added `NodeToClientV_23` to the spec * Improved haddocks of `NodeToNodeVersion` * Improved haddocks of `NodeToClientVersion`
Updated CHaP
Updated CHaP
The test has been enhanced to cover biased queuing