bandwidth

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bandwidth

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

Bandwidth is gas per second.

func (*Bandwidth) SuggestGasLimit

func (b *Bandwidth) SuggestGasLimit() uint64

func (*Bandwidth) Update

func (b *Bandwidth) Update(header *block.Header, elapsed time.Duration) (uint64, bool)

func (*Bandwidth) Value

func (b *Bandwidth) Value() uint64

Jump to

Keyboard shortcuts

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