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

Function start_waiting_for_currency

plugins/bkpr/bookkeeper.c:1906–1911  ·  view source on GitHub ↗

If we're supposed to do currency conversions, we refresh all the time. */

Source from the content-addressed store, hash-verified

1904
1905/* If we're supposed to do currency conversions, we refresh all the time. */
1906static void start_waiting_for_currency(struct bkpr *bkpr, struct command *cmd)
1907{
1908 bkpr->currency_cmds = aux_command(cmd);
1909 currency_chainmoves_wait(bkpr->currency_cmds, NULL);
1910 currency_channelmoves_wait(bkpr->currency_cmds, NULL);
1911}
1912
1913static const char *init(struct command *init_cmd, const char *b, const jsmntok_t *t)
1914{

Callers 2

initFunction · 0.85
option_currencyFunction · 0.85

Calls 3

currency_chainmoves_waitFunction · 0.85
aux_commandFunction · 0.50

Tested by

no test coverage detected