makegenesis

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FakeGenesisTime = inter.Timestamp(1608600000 * time.Second)
)

Functions

func FakeGenesisStore

func FakeGenesisStore(firstEpoch idx.Epoch, num idx.Validator, balance, stake *big.Int) *genesisstore.Store

func FakeKey

func FakeKey(n idx.ValidatorID) *ecdsa.PrivateKey

FakeKey gets n-th fake private key.

func GetFakeValidators

func GetFakeValidators(num idx.Validator) gpos.Validators

Types

This section is empty.

Jump to

Keyboard shortcuts

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