On master (875e1ccc9fe01e026e564dfd39a64d9a4b332a89) a redundant log message is printed, and it uses “bitcoin” instead of PACKAGE_NAME
:
02020-10-06T17:36:44Z Using wallet directory /home/hebasto/walletdir
12020-10-06T17:36:44Z init message: Verifying wallet(s)...
22020-10-06T17:36:44Z Using BerkeleyDB version Berkeley DB 5.3.28: (September 9, 2013)
32020-10-06T17:36:44Z Using wallet /home/hebasto/walletdir/wr-201006/wallet.dat
42020-10-06T17:36:44Z ERROR: Error while attempting to lock directory /home/hebasto/walletdir/wr-201006: Resource temporarily unavailable
52020-10-06T17:36:44Z Cannot obtain a lock on wallet directory /home/hebasto/walletdir/wr-201006. Another instance of bitcoin may be using it.
62020-10-06T17:36:44Z Error: Error initializing wallet database environment "/home/hebasto/walletdir/wr-201006"!
7Error: Error initializing wallet database environment "/home/hebasto/walletdir/wr-201006"!
82020-10-06T17:36:44Z Shutdown: In progress...
92020-10-06T17:36:44Z scheduler thread exit
102020-10-06T17:36:44Z Shutdown: done
This PR removes redundant LogPrintf
call, and unifies error message wording with the similar datadir lock error message:
02020-10-06T17:34:21Z Using wallet directory /home/hebasto/walletdir
12020-10-06T17:34:21Z init message: Verifying wallet(s)...
22020-10-06T17:34:21Z Using BerkeleyDB version Berkeley DB 5.3.28: (September 9, 2013)
32020-10-06T17:34:21Z Using wallet /home/hebasto/walletdir/wr-201006/wallet.dat
42020-10-06T17:34:21Z ERROR: Error while attempting to lock directory /home/hebasto/walletdir/wr-201006: Resource temporarily unavailable
52020-10-06T17:34:21Z Error: Cannot obtain a lock on wallet directory /home/hebasto/walletdir/wr-201006. Bitcoin Core is probably already running.
6Error: Cannot obtain a lock on wallet directory /home/hebasto/walletdir/wr-201006. Bitcoin Core is probably already running.
72020-10-06T17:34:21Z Shutdown: In progress...
82020-10-06T17:34:21Z scheduler thread exit
92020-10-06T17:34:21Z Shutdown: done