bandwidth

package
v0.0.0-...-83a01c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 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