Merge 624333455a into merged_master (Bitcoin PR bitcoin/bitcoin#26296)

This commit is contained in:
Byron Hambly 2025-07-03 20:38:42 +02:00
commit 81083d47bf
23 changed files with 294 additions and 66 deletions

View file

@ -1214,7 +1214,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
// Warn about relative -datadir path.
if (args.IsArgSet("-datadir") && !args.GetPathArg("-datadir").is_absolute()) {
LogPrintf("Warning: relative datadir option '%s' specified, which will be interpreted relative to the " /* Continued */
LogPrintf("Warning: relative datadir option '%s' specified, which will be interpreted relative to the "
"current working directory '%s'. This is fragile, because if bitcoin is started in the future "
"from a different location, it will be unable to locate the current data files. There could "
"also be data loss if bitcoin is started while in a temporary directory.\n",