Allow bitcoin-s.datadir
configuration key to be used instead of passing in a file
#2114
Labels
Projects
bitcoin-s.datadir
configuration key to be used instead of passing in a file
#2114
This is how
AppConfigFactory
is defined currently.This is weird, because we allow users (specifically when using bitcoin-s as a library!) to specify a configuration in their application.conf for
bitcoin-s.datadir
. You can see this on the website here: https://bitcoin-s.org/docs/next/config/configuration#example-configuration-fileIf you look closely at
AppConfigFactory
, we have no option for constructing anAppConfig
solely from the contents of the configuration file.Right now I have to do something like this to construct a
DLCOracleAppConfig()
for instanceWe need to create something like
AppConfig.fromConfig()
The text was updated successfully, but these errors were encountered: