mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
init: If bitcoind is unreachable, explain where the user can get it
Fixes: https://github.com/greenaddress/elements/issues/2
This commit is contained in:
parent
680265806b
commit
0a3f589058
1 changed files with 2 additions and 0 deletions
|
|
@ -1874,6 +1874,8 @@ bool AppInitMain()
|
|||
uiInterface.InitMessage(_("Awaiting mainchain RPC warmup"));
|
||||
if (!MainchainRPCCheck(true)) { //Initial check, fail immediately
|
||||
return InitError(_("ERROR: elementsd is set to verify pegins but cannot get valid response from the mainchain daemon. Please check debug.log for more information."));
|
||||
+ "\n\n"
|
||||
+ strprintf(_("If you haven't setup a %s please get the latest stable version from %s or if you do not need to validate pegins set in your elements configuration %s"), "bitcoind", "https://bitcoincore.org/en/download/", "validatepegin=0"));
|
||||
}
|
||||
|
||||
uiInterface.InitMessage(_("Done loading"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue