mempool

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mempool

type Mempool struct {
	Cancel context.CancelFunc
	// contains filtered or unexported fields
}

func NewMempool

func NewMempool(cfg config.NetworkConfig, pub Publisher) (*Mempool, error)

func (Mempool) Do

func (m Mempool) Do(ctx context.Context, method, url, params string, v interface{}) (err error)

func (Mempool) GetMempool

func (m Mempool) GetMempool() (op []gotez.Operations, err error)

func (*Mempool) MonitorMempool

func (m *Mempool) MonitorMempool()

type Publisher

type Publisher interface {
	Broadcast(msg models.MessageInterface) error
}

Jump to

Keyboard shortcuts

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