Documentation ¶
Index ¶
- Constants
- Variables
- func BuildBesuGenesisJsonForNonDevChain(chainId string, accountAddr []string, extraData string) (string, error)
- func BuildGenesisJsonForNonDevChain(chainId string, accountAddr []string, extraData string) (string, error)
- func MarshalTemplate(jobSpec interface{}, name, templateString string) (string, error)
- type GenesisConsensus
- type GenesisJsonTemplate
- type NethermindPoAGenesisJsonTemplate
Constants ¶
View Source
const ( GethGenesisConsensus_Ethash = "ethash" GethGenesisConsensus_Clique = "clique" )
Variables ¶
View Source
var BesuGenesisJson = `` /* 1000-byte string literal not displayed */
View Source
var BootnodeScript = `` /* 367-byte string literal not displayed */
View Source
var (
ErrParsingTemplate = errors.New("failed to parse Go text template")
)
View Source
var GenesisJson = `` /* 939-byte string literal not displayed */
View Source
var InitGethScript = `` /* 219-byte string literal not displayed */
View Source
var InitNonDevGethScript = `` /* 200-byte string literal not displayed */
Functions ¶
func BuildBesuGenesisJsonForNonDevChain ¶ added in v1.17.0
func BuildGenesisJsonForNonDevChain ¶ added in v1.16.1
func MarshalTemplate ¶ added in v1.16.1
MarshalTemplate Helper to marshal templates
Types ¶
type GenesisConsensus ¶ added in v1.27.0
type GenesisConsensus = string
type GenesisJsonTemplate ¶ added in v1.16.1
type GenesisJsonTemplate struct { AccountAddr []string ChainId string Consensus GenesisConsensus ExtraData string }
func (GenesisJsonTemplate) String ¶ added in v1.16.1
func (c GenesisJsonTemplate) String() (string, error)
String representation of the job
type NethermindPoAGenesisJsonTemplate ¶ added in v1.27.0
type NethermindPoAGenesisJsonTemplate struct { AccountAddr []string ChainId string ExtraData string }
func (NethermindPoAGenesisJsonTemplate) String ¶ added in v1.27.0
func (c NethermindPoAGenesisJsonTemplate) String() (string, error)
Click to show internal directories.
Click to hide internal directories.