daemon: 'revaultd' name usage leftovers
This commit is contained in:
parent
72a7bbea4c
commit
f5ff0fad36
@ -24,7 +24,7 @@ const RPC_SOCKET_TIMEOUT: u64 = 180;
|
||||
// A retry happens every 1 second, this makes us give up after one minute.
|
||||
const BITCOIND_RETRY_LIMIT: usize = 60;
|
||||
|
||||
// The minimum bitcoind version that can be used with revaultd.
|
||||
// The minimum bitcoind version that can be used with lianad.
|
||||
const MIN_BITCOIND_VERSION: u64 = 239900;
|
||||
|
||||
/// An error in the bitcoind interface.
|
||||
@ -591,7 +591,7 @@ impl BitcoinD {
|
||||
}
|
||||
|
||||
pub fn sync_progress(&self) -> f64 {
|
||||
// TODO: don't harass revaultd, be smarter like in revaultd.
|
||||
// TODO: don't harass lianad, be smarter like in revaultd.
|
||||
roundup_progress(
|
||||
self.block_chain_info()
|
||||
.get("verificationprogress")
|
||||
|
||||
@ -305,7 +305,7 @@ impl DaemonHandle {
|
||||
if config.daemon {
|
||||
log::info!("Daemonizing");
|
||||
let log_file = data_dir.as_path().join("log");
|
||||
let pid_file = data_dir.as_path().join("revaultd.pid");
|
||||
let pid_file = data_dir.as_path().join("lianad.pid");
|
||||
unsafe {
|
||||
daemonize::daemonize(&data_dir, &log_file, &pid_file)
|
||||
.map_err(StartupError::Daemonization)?;
|
||||
|
||||
@ -174,7 +174,7 @@ class UnixDomainSocketRpc(object):
|
||||
return json.loads(buff)
|
||||
except json.JSONDecodeError:
|
||||
# There is more to read, continue
|
||||
# FIXME: this is a workaround for large reads taken from revaultd.
|
||||
# FIXME: this is a workaround for large reads taken from lianad.
|
||||
# We should use the '\n' marker instead since lianad uses that.
|
||||
continue
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user