package
0.0.0-20221109042318-2adbdf031b6b
Repository: https://github.com/forbole/soljuno.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BindFlagsLoadViper binds all flags and read the config into viper.
ConcatCobraCmdFuncs returns a single function that calls each argument function in sequence RunE, PreRunE, PersistentPreRunE, etc.
DefaultChainConfig returns the default instance of ChainConfig.
DefaultConfigParser attempts to read and parse a Juno config from the given string bytes.
DefaultDatabaseConfig returns the default instance of DatabaseConfig.
DefaultLoggingConfig returns the default LoggingConfig instance.
DefaultParsingConfig returns the default instance of ParsingConfig.
DefaultPruningConfig returns the default PruningConfig instance.
DefaultRPCConfig returns the default instance of RPCConfig.
DefaultTelemetryConfig returns the default TelemetryConfig instance.
DefaultWorkerConfig returns the default WorkerConfig instance.
GetConfigFilePath returns the path to the configuration file given the executable name.
NewBlock allows to build a new Block instance.
NewBlockFromResult allows to build new Block instance from BlockResult.
NewChainConfig returns a new ChainConfig instance.
NewConfig builds a new Config instance.
No description provided by the author
No description provided by the author
NewLoggingConfig returns a new LoggingConfig instance.
NewParsingConfig allows to build a new ParsingConfig instance.
NewPruningConfig returns a new PruningConfig.
No description provided by the author
NewRPCConfig allows to build a new RPCConfig instance.
NewTelemetryConfig allows to build a new TelemetryConfig instance.
NewTx allows to build a new Tx instance.
No description provided by the author
NewValidator allows to build a new Validator instance.
NewWorkerConfig allows to build a new WorkerConfig instance.
Read takes the path to a configuration file and returns the properly parsed configuration.
Write allows to write the given configuration into the file present at the given path.

# Variables

Cfg represents the configuration to be used during the execution.
No description provided by the author

# Structs

Block contains the data of a single chain block.
No description provided by the author
Tx represents an already existing blockchain transaction.
Validator contains the data of a single validator.

# Interfaces

ChainConfig contains the data to configure the ChainConfig SDK.
Config represents the configuration to run Juno.
DatabaseConfig represents a generic database configuration.
LoggingConfig represents the configuration for the logging part.
ParsingConfig represents the configuration of the parsing.
PruningConfig contains the configuration of the pruning strategy.
RPCConfig contains the configuration of the RPC endpoint.
TelemetryConfig contains the configuration of the telemetry strategy.
WorkerConfig contains the configuration of the worker strategy.

# Type aliases

CobraCmdFunc represents a cobra command function.
ConfigParser represents a function that allows to parse a file contents as a Config object.