Documentation ¶
Index ¶
- func GenerateGenesis(chainID uint64, stakeTransactionsFile string, ...) error
- func GeneratePreState(transactions []*protos.Transaction) *protos.PreState
- func GenesisBlock() (*block.Block, error)
- func LoadPreState() (*protos.PreState, error)
- func NewGenesisBlock(chainID uint64, txs []*protos.Transaction, foundationDilithiumPK []byte) (*block.Block, error)
- func WriteYML(jsonData []byte, filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGenesis ¶
func GeneratePreState ¶
func GeneratePreState(transactions []*protos.Transaction) *protos.PreState
func GenesisBlock ¶
func LoadPreState ¶
func NewGenesisBlock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.