bitcoind uses ~/Library/Application Support/Bitcoin
as base data directory path but Bitcoin-Qt uses ~/.bitcoin
I actually much prefer the latter since it is more UNIX-like and I assume users running the daemon from the command line probably do as well. It might make sense if this behavior was swapped and the GUI chose the user-friendly library/support path, but my preference would be using ~/.bitcoin
on OSX all the time.
The issue most likely comes down to this logic in system.cpp:
… but I have no idea why Bitcoin-Qt would be compiled without the MAC_OSX
flag while bitcoind would be. I confirmed the behavior building bitcoind and -Qt both from master and also by downloading the v24.0.1 GUI for OSX from bitcoincore.org
It’s also possible that this issue only affects M1 (arm64) Macs like mine:
0--> uname -a
1Darwin 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64