makegenesis

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 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