Monero v0.9.0 Monero.Config View Source

Generates the configuration for a service. It starts with the defaults for a given environment and then merges in the common config from the monero config root, and then finally any config specified for the particular service

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function build_base(service, overrides \\ %{}) View Source
Link to this function new(service, opts \\ []) View Source

Builds a complete set of config for an operation.

1) Defaults are pulled from Monero.Config.Defaults 2) Common values set via e.g config :monero are merged in. 3) Keys set on the individual service e.g config :monero, :wallet are merged in 4) Finally, any configuration overrides are merged in

Link to this function retrieve_runtime_config(config) View Source
Link to this function retrieve_runtime_value(values, config) View Source