mempool

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MempoolEntry

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

MempoolEntry is a struct used to store user operations in a mempool

type UserOpMempool

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

UserOpMempool is a struct used to store user operations in a mempool

func NewUserOpMempool

func NewUserOpMempool(epAddress common.Address, ethClient *ethclient.Client, bundlerUrl string) *UserOpMempool

NewUserOpMempool creates a new UserOpMempool

func (*UserOpMempool) GetUserOps

func (m *UserOpMempool) GetUserOps() map[common.Hash]*data.UserOpV7Hexify

GetUserOps returns all user operations in the mempool

func (*UserOpMempool) Run

func (m *UserOpMempool) Run() error

Run starts the mempool

func (*UserOpMempool) Stop

func (m *UserOpMempool) Stop()

Stop stops the mempool

Jump to

Keyboard shortcuts

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