fromlogs

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkMainnet = iota + 1
	NetworkGoerli
	NetworkRopsten
	NetworkDevnet
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Slot        uint64
	NetworkType int
}

type ParsedResult

type ParsedResult struct {
	// "bid sent":
	Bids map[Key][]RecordBid
	// "no builder bid":
	NoBids map[Key][]RecordBid
	// "header requested":
	HeaderRequested map[Key][]RecordBid
	// "payload sent":
	Payloads map[Key][]RecordPayload
	// "builder block stored":
	BuilderBlockStored map[Key][]RecordPayload
	// "payload requested":
	PayloadRequested map[Key][]RecordPayload
	// "no payload found":
	NoPayloadFound map[Key][]RecordPayload
}

func NewParsedResult

func NewParsedResult() *ParsedResult

type RecordBid

type RecordBid struct {
	NetworkType int
	Time        time.Time
	Bid         *big.Int
	Slot        uint64
	Blockhash   string
}

type RecordPayload

type RecordPayload struct {
	NetworkType int
	Time        time.Time
	Bid         *big.Int
	Slot        uint64
	Blockhash   string
	Builder     string
}

type RecordPosition

type RecordPosition struct {
	Date      int
	Host      int
	Service   int
	Bid       int
	BidValue  int
	Blockhash int
	Slot      int
	Message   int
	Builder   int
	Error     int
}

Jump to

Keyboard shortcuts

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