dataTrieMigrator

package
v0.0.0-...-828ab0a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataTrieMigrator

func NewDataTrieMigrator(args ArgsNewDataTrieMigrator) *dataTrieMigrator

NewDataTrieMigrator creates a new dataTrieMigrator component

Types

type ArgsNewDataTrieMigrator

type ArgsNewDataTrieMigrator struct {
	GasProvided uint64
	DataTrieGasCost
}

ArgsNewDataTrieMigrator is the arguments structure for the new dataTrieMigrator component

type DataTrieGasCost

type DataTrieGasCost struct {
	TrieLoadPerNode  uint64
	TrieStorePerNode uint64
}

DataTrieGasCost contains the gas costs for the data trie load and store operations

Jump to

Keyboard shortcuts

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