types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

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