Sub members of AppConfig should override this type with
the type of themselves, ensuring withOverrides
return
the correct type
Sub members of AppConfig should override this type with
the type of themselves, ensuring withOverrides
return
the correct type
The base data directory.
The base data directory. This is where we look for a configuration file
Initializes this project.
Initializes this project. After this future resolves, all operations should be able to be performed correctly.
Initializing may include creating database tables, making directories or files needed latern or something else entirely.
Name of the module.
Name of the module. chain
, wallet
, node
etc.
Constructor to make a new instance of this config type
Constructor to make a new instance of this config type
Chain parameters for the blockchain we're on
List of user-provided configs that should override defaults
List of user-provided configs that should override defaults
The database we are connecting to
Logging level for database interactions
The network specific data directory.
The configuration details for connecting/using the database for our projects that require datbase connections
The name of our database
The path where our DB is located
Whether or not we should log to stdout
Whether or not we should log to file
Logging level for HTTP RPC server
The logging level for our key handling logger
The default logging level
The blockchain network we're on
The logging level for our P2P logger
The logging level for our chain verification logger
Logging level for wallet
This method returns a new AppConfig
, where every
key under bitcoin-s
overrides the configuration
picked up by other means (the reference.conf
provided by bitcoin-s and the application.conf
provided by the user).
This method returns a new AppConfig
, where every
key under bitcoin-s
overrides the configuration
picked up by other means (the reference.conf
provided by bitcoin-s and the application.conf
provided by the user). If you pass in configs with
overlapping keys (e.g. several configs with the key
bitcoin-s.network
), the latter config overrides the
first.
Everything needed to configure functionality of bitcoin-s applications is found in here.
configuration.md
for more information.