occuredtxs

package
v0.0.0-...-59e56fa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

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

func New

func New(size int, txSigner types.Signer) *Buffer

func (*Buffer) Clear

func (s *Buffer) Clear()

Clear is not safe for concurrent use

func (*Buffer) CollectConfirmedTxs

func (s *Buffer) CollectConfirmedTxs(txs types.Transactions)

CollectConfirmedTxs is called when txs are included into a block not safe for concurrent use

func (*Buffer) CollectNotConfirmedTxs

func (s *Buffer) CollectNotConfirmedTxs(txs types.Transactions) error

CollectNotConfirmedTxs is called when txs are included into an event, but not included into a block not safe for concurrent use

func (*Buffer) Len

func (s *Buffer) Len() int

Len is safe for concurrent use

func (*Buffer) MayBeConflicted

func (s *Buffer) MayBeConflicted(sender common.Address, txHash common.Hash) bool

MayBeConflicted is not safe for concurrent use

Jump to

Keyboard shortcuts

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