scheduling

package
v0.2103.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(maxTxPoolSize uint64, algo string, weightLimits map[transaction.Weight]uint64) (api.Scheduler, error)

New creates a new scheduler.

Types

This section is empty.

Directories

Path Synopsis
Package api implements the transaction scheduler algorithm API.
Package api implements the transaction scheduler algorithm API.
Package simple implements a simple batching transaction scheduler.
Package simple implements a simple batching transaction scheduler.
orderedmap
Package orderedmap implements a queue backed by an ordered map.
Package orderedmap implements a queue backed by an ordered map.
txpool
Package tests is a collection of transactinon pool test cases.
Package tests is a collection of transactinon pool test cases.
txpool/api
Package api defines the transaction pool interfaces.
Package api defines the transaction pool interfaces.
txpool/priorityqueue
Package priorityqueue implements a tx pool backed by a priority queue.
Package priorityqueue implements a tx pool backed by a priority queue.
Package tests is a collection of worker test cases.
Package tests is a collection of worker test cases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL