From 0a3f589058875555a278899fc99b3c642ae5cc06 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sat, 23 Feb 2019 11:32:03 +0000 Subject: [PATCH] init: If bitcoind is unreachable, explain where the user can get it Fixes: https://github.com/greenaddress/elements/issues/2 --- src/init.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/init.cpp b/src/init.cpp index dc7a0d39d0..991502320a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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"));