Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInsufficientSpace = errors.New("insufficient space in BatchSizeLimiter")
Functions ¶
This section is empty.
Types ¶
type BatchSizeLimiter ¶
type BatchSizeLimiter interface {
AcceptTransaction(tx *types.Transaction) error
}
func NewBatchSizeLimiter ¶
func NewBatchSizeLimiter(size uint64) BatchSizeLimiter
NewBatchSizeLimiter - Size is the total space available per batch for calldata in a rollup.
func NewUnlimitedSizePool ¶
func NewUnlimitedSizePool() BatchSizeLimiter
type RollupLimiter ¶
func NewRollupLimiter ¶
func NewRollupLimiter(size uint64) RollupLimiter
Click to show internal directories.
Click to hide internal directories.