Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlockVersion uint32 = 0 GenesisNonce uint64 = 2083236893 )
Variables ¶
View Source
var ( ONXToken = newGoverningToken() OXGToken = newUtilityToken() ONXTokenID = ONXToken.Hash() OXGTokenID = OXGToken.Hash() )
View Source
var GenBlockTime = (config.DEFAULT_GEN_BLOCK_TIME * time.Second)
View Source
var GenesisBookkeepers []keypair.PublicKey
View Source
var INIT_PARAM = map[string]string{
"gasPrice": "0",
}
Functions ¶
func BuildGenesisBlock ¶
func BuildGenesisBlock(defaultBookkeeper []keypair.PublicKey, genesisConfig *config.GenesisConfig) (*types.Block, error)
BuildGenesisBlock returns the genesis block with default consensus bookkeeper list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.