utils

package
v2.0.0-prerelease3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 5 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 FindLastExistingELBlockFromSlot

func FindLastExistingELBlockFromSlot(ctx context.Context, bc beacon.IBeaconClient, slotNumber uint64) (beacon.Eth1Data, error)

func GetWatchtowerMaxFee

func GetWatchtowerMaxFee(cfg *config.SmartNodeConfig) float64

Get the max fee for watchtower transactions

func GetWatchtowerPrioFee

func GetWatchtowerPrioFee(cfg *config.SmartNodeConfig) 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