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

Function bitcoind_failure

plugins/bcli.c:729–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727}
728
729static void bitcoind_failure(struct plugin *p, const char *error_message)
730{
731 const char **cmd = gather_args(bitcoind, NULL, "echo", NULL);
732 plugin_err(p, "\n%s\n\n"
733 "Make sure you have bitcoind running and that bitcoin-cli"
734 " is able to connect to bitcoind.\n\n"
735 "You can verify that your Bitcoin Core installation is"
736 " ready for use by running:\n\n"
737 " $ %s 'hello world'\n", error_message,
738 args_string(cmd, cmd, NULL));
739}
740
741/* Do some sanity checks on bitcoind based on the output of `getnetworkinfo`. */
742static 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