rewards

package
v0.2.12-beta-0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(db sql.Executor, lid types.LayerID, reward *types.AnyReward) error

Add reward to the database.

func FilterByCoinbase

func FilterByCoinbase(db sql.Executor, address types.Address) (rst []types.Reward, err error)

FilterByCoinbase filters rewards from all layers by coinbase address.

func FilterBySmesher

func FilterBySmesher(db sql.Executor, address []byte) (rst []types.Reward, err error)

FilterBySmesher filters rewards from all layers by smesher address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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