mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Log daemon information with INFO verbosity
This commit is contained in:
parent
1c75b55b71
commit
b300a55cb4
@ -276,7 +276,7 @@ impl Daemon {
|
||||
),
|
||||
};
|
||||
let network_info = daemon.getnetworkinfo()?;
|
||||
debug!("{:?}", network_info);
|
||||
info!("{:?}", network_info);
|
||||
if network_info.version < 00_16_00_00 {
|
||||
bail!(
|
||||
"{} is not supported - please use bitcoind 0.16+",
|
||||
@ -284,7 +284,7 @@ impl Daemon {
|
||||
)
|
||||
}
|
||||
let blockchain_info = daemon.getblockchaininfo()?;
|
||||
debug!("{:?}", blockchain_info);
|
||||
info!("{:?}", blockchain_info);
|
||||
if blockchain_info.initialblockdownload == true {
|
||||
bail!(ErrorKind::Connection(
|
||||
"wait until bitcoin is synced (i.e. initialblockdownload = false)".to_owned()
|
||||
|
Loading…
Reference in New Issue
Block a user