utxpool

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleaner

type Cleaner struct {
	// contains filtered or unexported fields
}

func NewCleaner

func NewCleaner(services services.Services) *Cleaner

func (*Cleaner) Handle

func (a *Cleaner) Handle()

implements types.Handler

func (*Cleaner) Run

func (a *Cleaner) Run(ctx context.Context)

type UtxImpl

type UtxImpl struct {
	// contains filtered or unexported fields
}

func New

func New(sizeLimit uint) *UtxImpl

func (*UtxImpl) AddWithBytes

func (a *UtxImpl) AddWithBytes(t proto.Transaction, b []byte) (added bool)

func (*UtxImpl) Exists

func (a *UtxImpl) Exists(t proto.Transaction) bool

func (*UtxImpl) Len

func (a *UtxImpl) Len() int

func (*UtxImpl) Pop

Jump to

Keyboard shortcuts

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