package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev
# Functions
NewClientManager returns a new client manager.
NewClientNode returns a new ClientNode.
NewServerNode returns a new ServerNode.
# Constants
DecParamDelay is applied at server side when decreasing capacity in order to avoid a buffer underrun error due to requests sent by the client before receiving the capacity update announcement.
FixedPointMultiplier is applied to the recharge integrator and the recharge curve.
# Structs
ClientManager controls the capacity assigned to the clients of a server.
ClientNode is the flow control system's representation of a client (used in server mode only).
ServerNode is the flow control system's representation of a server (used in client mode only).
ServerParams are the flow control parameters specified by a server for a client
Note: a server can assign different amounts of capacity to each client by giving different parameters to them.
# Type aliases
PieceWiseLinear is used to describe recharge curves.