mempool

package
v0.0.169 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionType = "MEMPOOL_TRANSACTION"
)
View Source
const (
	TransactionV2Type = "MEMPOOL_TRANSACTION_V2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

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

func NewTransaction

func NewTransaction(log logrus.FieldLogger, event *xatu.DecoratedEvent) *Transaction

func (*Transaction) AppendServerMeta added in v0.0.135

func (b *Transaction) AppendServerMeta(ctx context.Context, meta *xatu.ServerMeta) *xatu.ServerMeta

func (*Transaction) Filter

func (b *Transaction) Filter(ctx context.Context) bool

func (*Transaction) Type

func (b *Transaction) Type() string

func (*Transaction) Validate

func (b *Transaction) Validate(ctx context.Context) error

type TransactionV2

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

func NewTransactionV2

func NewTransactionV2(log logrus.FieldLogger, event *xatu.DecoratedEvent) *TransactionV2

func (*TransactionV2) AppendServerMeta added in v0.0.135

func (b *TransactionV2) AppendServerMeta(ctx context.Context, meta *xatu.ServerMeta) *xatu.ServerMeta

func (*TransactionV2) Filter

func (b *TransactionV2) Filter(ctx context.Context) bool

func (*TransactionV2) Type

func (b *TransactionV2) Type() string

func (*TransactionV2) Validate

func (b *TransactionV2) Validate(ctx context.Context) error

Jump to

Keyboard shortcuts

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