upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorBitflash <admin@bitflash.network>2026-08-19 10:34:37 -0300
committerBitflash <admin@bitflash.network>2026-08-19 10:34:37 -0300
commit5f453dd2964f070b6c296d1aec0ac5d4405bef8d (patch)
treef3a0a59ff357f5c6d76e5d06befe4c7e9c274b83 /src/main_gui.cpp
parentb1c6d19fe2855c30d839dbc484165da58a8ee120 (diff)
parent2bf8941be913c113e90a62094e6b69848a87ed38 (diff)
Merge pull request 'gui: add a "Restart Now" button to the SQLite conversion wizard' (#63) from wallet-wizard-restart into main
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 6cd8b75..55ca8c6 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -509,6 +509,14 @@ int main(int argc, char* argv[])
509 509
510 ParseStartupArguments(argc, argv); 510 ParseStartupArguments(argc, argv);
511 511
512#ifdef _WIN32
513 // Set by the GUI "Restart Now" button: give the previous instance a moment
514 // to release the network port and the block-index files before this one
515 // opens them, so a relaunch does not race the process it is replacing.
516 if (arg(argc, argv, "/restartwait") || arg(argc, argv, "-restartwait"))
517 Sleep(2500);
518#endif
519
512 // Hidden self-test helper. It must run before LoadWallet(): several 520 // Hidden self-test helper. It must run before LoadWallet(): several
513 // storage-sanity scenarios deliberately make wallet.dat unsafe to load. 521 // storage-sanity scenarios deliberately make wallet.dat unsafe to load.
514 string strSelfTestMutateWallet = 522 string strSelfTestMutateWallet =