consensus

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const GAP = int(450)

Variables

This section is empty.

Functions

func GetCandidateFromCurrentSmartContract

func GetCandidateFromCurrentSmartContract(backend bind.ContractBackend, t *testing.T) masterNodes

func GetSnapshotSigner

func GetSnapshotSigner(bc *BlockChain, header *types.Header) (signersList, error)

func PrepareXDCTestBlockChain

func PrepareXDCTestBlockChain(t *testing.T, numOfBlocks int, chainConfig *params.ChainConfig) (*BlockChain, *backends.SimulatedBackend, *types.Block)

func UpdateSigner

func UpdateSigner(bc *BlockChain) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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