genesis

package
v0.0.0-...-f0b43a4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BringOnTheGenesis

func BringOnTheGenesis(genesisPublicKeyHashes [][]byte, initialAurumSupply uint64) (block.Block, error)

func GenerateGenesisHashFile

func GenerateGenesisHashFile(numHashes uint16) error

Create the genesisHashFile Generate numHashes number of public key hashes Store them AS STRINGS (not bytes) in the file, line by line

func ReadGenesisHashes

func ReadGenesisHashes() ([][]byte, error)

Open the genesisHashFile Read line by line use bufio.ReadLine()

Types

type Flags

type Flags struct {
	Help        *bool
	Debug       *bool
	Version     *bool
	Height      *bool
	Genesis     *bool
	Test        *bool
	Globalhost  *bool
	MemoryStats *bool
	Logs        *string
	Port        *string
	Interval    *string
	InitSupply  *uint64
	NumBlocks   *uint64
}

Jump to

Keyboard shortcuts

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