v0

package
v0.0.0-...-2be76b0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Error definitions
	ErrMempoolInit = errors.New("failed to initialize mempool")
	ErrClientStart = errors.New("failed to start ABCI client")

	// FuzzResult represents possible fuzzing outcomes
	FuzzInvalid  int = -1
	FuzzIgnore   int = 0
	FuzzInterest int = 1
)

Functions

func Fuzz

func Fuzz(data []byte) int

Fuzz implements the fuzzing entry point

Types

type MempoolFuzzer

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

MempoolFuzzer handles mempool fuzzing operations

func NewMempoolFuzzer

func NewMempoolFuzzer() (*MempoolFuzzer, error)

NewMempoolFuzzer creates a new mempool fuzzer instance

func (*MempoolFuzzer) CheckTransaction

func (mf *MempoolFuzzer) CheckTransaction(tx []byte) error

CheckTransaction attempts to add a transaction to the mempool

func (*MempoolFuzzer) Close

func (mf *MempoolFuzzer) Close() error

Close cleans up the fuzzer resources

Jump to

Keyboard shortcuts

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