utils

package
v1.13.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MinWatchtowerMaxFee        float64 = 200
	MinWatchtowerPriorityFee   float64 = 3
	BalanceSubmissionForcedGas uint64  = 64000
	RewardsSubmissionForcedGas uint64  = 64000
)

Variables

This section is empty.

Functions

func FindLastBlockWithExecutionPayload added in v1.13.0

func FindLastBlockWithExecutionPayload(bc beacon.Client, slotNumber uint64) (beacon.BeaconBlock, error)

func FindNextSubmissionTimestamp added in v1.13.0

func FindNextSubmissionTimestamp(latestBlockTimestamp int64, referenceTimestamp int64, submissionIntervalInSeconds int64) (int64, error)

func GetWatchtowerMaxFee

func GetWatchtowerMaxFee(cfg *config.RocketPoolConfig) float64

Get the max fee for watchtower transactions

func GetWatchtowerPrioFee

func GetWatchtowerPrioFee(cfg *config.RocketPoolConfig) float64

Get the priority fee for watchtower transactions

Types

This section is empty.

Jump to

Keyboard shortcuts

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