Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ticket = types.Ticket{ VRFProof: []byte{ 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, 0xec, }, }
Ticket is the ticket to place in the genesis block header (which can't be derived from a prior ticket), used in the evaluation of the messages in the genesis block, and *also* the ticket value used when computing the genesis state (the parent state of the genesis block).
Functions ¶
Types ¶
type InitFunc ¶
type InitFunc func(cst cbor.IpldStore, bs blockstore.Blockstore) (*types.BlockHeader, error)
InitFunc is the signature for function that is used to create a genesis block.
func MakeGenesis ¶
func MakeGenesis(ctx context.Context, rep repo.Repo, outFile, genesisTemplate string, para *config.ForkUpgradeConfig) InitFunc
MakeGenesis return a func to construct a genesis block
Click to show internal directories.
Click to hide internal directories.