simple

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: 8 Imported by: 0

Documentation

Overview

Package simple implements a simple batching transaction scheduler.

Index

Constants

View Source
const (
	// Name of the scheduler.
	Name = registry.TxnSchedulerSimple
)

Variables

This section is empty.

Functions

func New

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

New creates a new simple scheduler.

Types

This section is empty.

Directories

Path Synopsis
Package orderedmap implements a queue backed by an ordered map.
Package orderedmap implements a queue backed by an ordered map.
Package tests is a collection of transactinon pool test cases.
Package tests is a collection of transactinon pool test cases.
api
Package api defines the transaction pool interfaces.
Package api defines the transaction pool interfaces.
priorityqueue
Package priorityqueue implements a tx pool backed by a priority queue.
Package priorityqueue implements a tx pool backed by a priority queue.

Jump to

Keyboard shortcuts

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