// Bitflash entry point -- starts node threads then runs GUI (or headless). #include "headers_core.h" #include "nostr.h" #include "proxy.h" #include "selftest.h" #include "tor.h" #include "walletcmd.h" #include // hardware_concurrency, to sanity-check /genproclimit #ifndef _WIN32 #include #endif // BITFLASH_NO_GUI builds the same entry point without ImGui, GLFW or OpenGL, // so the binary does not need libGL present just to start. See headless.cpp. #ifndef BITFLASH_NO_GUI int RunGUI(int argc, char* argv[]); #endif // Global definitions (were in ui.cpp, now here) map mapAddressBook; bool gPoolServerRunning = false; static bool arg(int argc, char* argv[], const char* key) { for (int i=1;i