Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGenesisBlock ¶
DefaultGenesisBlock returns the Ethereum main net genesis block.
Example ¶
ExampleDefaultGenesisBlock testing the allocate accounts count of genesis
totalAlloc := len(DefaultGenesisBlock().Alloc) fmt.Println(totalAlloc)
Output: 22034
func DevGenesisBlock ¶
DevGenesisBlock returns the 'geth --dev' genesis block.
func SimulateGenesisBlock ¶
DefaultGenesisBlock returns the Ethereum main net genesis block.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.