types

package
v0.0.0-...-8b70bb9 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinerRewardStrategy

type MinerRewardStrategy interface {
	Receiver() common.Address
}

MinerRewardStrategy is a mining strategy

type Strategy

type Strategy struct {
	MinerRewardStrategy
	ValidatorsStrategy
}

Strategy encompasses all available strategies

type ValidatorsStrategy

type ValidatorsStrategy interface {
	SetValidators(validators []types.Validator)
	CollectTx(tx *ethTypes.Transaction)
	GetUpdatedValidators() []types.Validator
}

ValidatorsStrategy is a validator strategy

Jump to

Keyboard shortcuts

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