controller

package
v0.0.0-...-709c288 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

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

Block controller allows us to consume pending transactions

func NewBlock

func NewBlock(resolver blockResolver, handler blockHandler) *Block

func (*Block) Snipe

func (c *Block) Snipe(ctx context.Context, bn *big.Int) error

type PendingTransaction

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

PendingTransaction controller allows us to consume pending transactions

func NewPendingTransaction

func NewPendingTransaction(resolver pendingTransactionResolver, handler pendingTransactionHandler) *PendingTransaction

func (*PendingTransaction) Snipe

Jump to

Keyboard shortcuts

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