types

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 4 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 {
	Transactions []string `json:"transactions"`
	GasUsed      string   `json:"gasUsed"`
}

type BlockNotification

type BlockNotification struct {
	Hash   common.Hash
	Height *big.Int
	Header *types.Header
	Logs   []types.Log
}

type NonceTracker added in v1.1.0

type NonceTracker struct {
	*sync.Mutex
	// contains filtered or unexported fields
}

func (*NonceTracker) Get added in v1.1.0

func (n *NonceTracker) Get(addr common.Address) *big.Int

func (*NonceTracker) Inc added in v1.1.0

func (n *NonceTracker) Inc(addr common.Address)

func (*NonceTracker) Set added in v1.1.0

func (n *NonceTracker) Set(addr common.Address, nonce *big.Int)

type NonceTrackerI added in v1.1.0

type NonceTrackerI interface {
	Get(common.Address) *big.Int
	Set(common.Address, *big.Int)
	Inc(common.Address)
}

func NewNonceTracker added in v1.1.0

func NewNonceTracker() NonceTrackerI

NewNonceTracker

Jump to

Keyboard shortcuts

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