Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FlagYes is the flag for yes. FlagYes = "yes" // FlagCfg is the flag for cfg. FlagCfg = "cfg" // FlagGenesisFile is the flag for genesis file. FlagGenesisFile = "genesis" // FlagAmount is the flag for amount. FlagAmount = "amount" // FlagRemoteMT is the flag for remote-merkletree. FlagRemoteMT = "remote-merkletree" // FlagComponents is the flag for components. FlagComponents = "components" // FlagHTTPAPI is the flag for http.api. FlagHTTPAPI = "http.api" // FlagKeyStorePath is the path of the key store file containing the private key of the account going to sing and approve the tokens FlagKeyStorePath = "key-store-path" // FlagPassword is the password needed to decrypt the key store FlagPassword = "password" // FlagMigrations is the flag for migrations. FlagMigrations = "migrations" )
View Source
const DefaultValues = `` /* 3372-byte string literal not displayed */
DefaultValues is the default configuration
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IsTrustedSequencer bool `mapstructure:"IsTrustedSequencer"` Log log.Config Etherman etherman.Config EthTxManager ethtxmanager.Config Pool pool.Config RPC jsonrpc.Config Synchronizer synchronizer.Config Sequencer sequencer.Config PriceGetter pricegetter.Config Aggregator aggregator.Config NetworkConfig NetworkConfig L2GasPriceSuggester gasprice.Config Executor executor.Config MTClient merkletree.Config StateDB db.Config Metrics metrics.Config EventLog event.Config }
Config represents the configuration of the entire Hermez Node
Click to show internal directories.
Click to hide internal directories.