makegenesis

package
v0.0.0-...-9aa21c9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 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(num int, balance, stake *big.Int) *genesisstore.Store

func FakeKey

func FakeKey(n int) *ecdsa.PrivateKey

FakeKey gets n-th fake private key.

func GetFakeValidators

func GetFakeValidators(num int) 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