From f5ff0fad362a20d97d4ccc7fc5926bbfab50ec3a Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 17 Nov 2022 17:19:46 +0100 Subject: [PATCH] daemon: 'revaultd' name usage leftovers --- src/bitcoin/d/mod.rs | 4 ++-- src/lib.rs | 2 +- tests/test_framework/utils.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bitcoin/d/mod.rs b/src/bitcoin/d/mod.rs index 894b4bb3..65229e8b 100644 --- a/src/bitcoin/d/mod.rs +++ b/src/bitcoin/d/mod.rs @@ -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") diff --git a/src/lib.rs b/src/lib.rs index 9daf1258..5a411824 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)?; diff --git a/tests/test_framework/utils.py b/tests/test_framework/utils.py index f2d90efd..c0b959c7 100644 --- a/tests/test_framework/utils.py +++ b/tests/test_framework/utils.py @@ -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