genesis

package
v0.0.0-...-667e438 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeGenesis

func MakeGenesis() error

MakeGenesis creates the genesis block and adds it to the blockchain.

func NewGenesisBlock

func NewGenesisBlock(blk *protos.Block) genesisBlock

func NewGenesisBlockTemplate

func NewGenesisBlockTemplate(metadata []byte, epochT time.Time) genesisBlock

func NewGenesisBlockTemplateDefault

func NewGenesisBlockTemplateDefault(metadata []byte) genesisBlock

Types

This section is empty.

Jump to

Keyboard shortcuts

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