We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
public struct GenesisDocument<AppState: Codable>: Codable
Codable
init(jsonData:)
public init(jsonData: Data) throws
init(fileAtPath:)
public init(fileAtPath path: String) throws
chainID
var chainID: String
validators
var validators: [GenesisValidator]?
appState
var appState: AppState?
exportGenesisFile(atPath:)
mutating public func exportGenesisFile(atPath genesisFilePath: String) throws
save(atFilePath:)
public func save(atFilePath path: String) throws
validateAndComplete()
public mutating func validateAndComplete() throws