Only log "Using PATH_TO_bitcoin.conf" message on startup if conf file exists.
Summary:
Currently we log a message indicating that a bitcoin.conf file is being used
even if one does not exists. This commit changes the logic to only display
this message if a config file exists and logs a separate message
if no config file exists. Additionally, a warning is now logged if the file
path passed in the -conf flag does not exist.
This is a backport of Core PR14057
Test Plan:
Run bitcoind and check the output for
Config file: /home/deadalnix/.bitcoin/bitcoin.conf (not found, skipping)
Reviewers: #bitcoin_abc, nakihito
Reviewed By: nakihito
Differential Revision: https://reviews.bitcoinabc.org/D5811