Documentation
¶
Overview ¶
Package file implements a file genesis provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶ added in v0.2501.0
type Provider struct {
// contains filtered or unexported fields
}
Provider provides the static genesis document that network was initialized with.
func DefaultProvider ¶ added in v0.2501.0
func DefaultProvider() *Provider
DefaultProvider creates a new local file genesis provider for the genesis file path specified in the genesis config.
func NewProvider ¶ added in v0.2501.0
NewProvider creates a new local file genesis provider.
Click to show internal directories.
Click to hide internal directories.