aurainterfaces

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 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 BlockRewardABI

type BlockRewardABI interface {
	Reward(benefactors []libcommon.Address, kind []consensus.RewardKind) ([]libcommon.Address, []*uint256.Int, error)
}

see openethereum/crates/ethcore/res/contracts/block_reward.json

type None

type None SealKind

Engine does not generate seal for this block right now.

type SealKind

type SealKind [][]byte

type SealProposal

type SealProposal SealKind

Proposal seal; should be broadcasted, but not inserted into blockchain.

type SealRegular

type SealRegular SealKind

Regular block seal; should be part of the blockchain.

type SealingState

type SealingState uint8

/ The type of sealing the engine is currently able to perform.

const (
	/// The engine is ready to seal a block.
	SealingStateReady SealingState = 0
	/// The engine can't seal at the moment, and no block should be prepared and queued.
	SealingStateNotReady SealingState = 1
	/// The engine does not seal internally.
	SealingStateExternal SealingState = 2
)

type ValidatorSetABI

type ValidatorSetABI interface {
	GetValidators() ([]byte, abiDecoder)
	ShouldValidatorReport(ourAddr, maliciousValidatorAddress libcommon.Address, blockNum uint64) ([]byte, abiDecoder)
}

see openethereum/crates/ethcore/res/contracts/validator_set.json

Jump to

Keyboard shortcuts

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