MCPcopy Create free account
hub / github.com/ElementsProject/lightning / bitcoind_failure

Function bitcoind_failure

plugins/bcli.c:813–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813static void bitcoind_failure(struct plugin *p, const char *error_message)
814{
815 const char **cmd = gather_args(bitcoind, "echo", NULL);
816 plugin_err(p, "\n%s\n\n"
817 "Make sure you have bitcoind running and that bitcoin-cli"
818 " is able to connect to bitcoind.\n\n"
819 "You can verify that your Bitcoin Core installation is"
820 " ready for use by running:\n\n"
821 " $ %s 'hello world'\n", error_message,
822 args_string(cmd, cmd));
823}
824
825/* Do some sanity checks on bitcoind based on the output of `getnetworkinfo`. */
826static void parse_getnetworkinfo_result(struct plugin *p, const char *buf)

Callers 1

wait_and_check_bitcoindFunction · 0.85

Calls 3

args_stringFunction · 0.85
gather_argsFunction · 0.70
plugin_errFunction · 0.70

Tested by

no test coverage detected