Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMetaGenesisBlock ¶
func CreateMetaGenesisBlock(genesisTime uint64, initialPubKeys map[uint32][]string) (data.HeaderHandler, error)
CreateMetaGenesisBlock creates the meta genesis block
func CreateShardGenesisBlockFromInitialBalances ¶
func CreateShardGenesisBlockFromInitialBalances( accounts state.AccountsAdapter, shardCoordinator sharding.Coordinator, addrConv state.AddressConverter, initialBalances map[string]*big.Int, genesisTime uint64, ) (data.HeaderHandler, error)
CreateShardGenesisBlockFromInitialBalances creates the genesis block body from map of account balances
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.