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

Function topology_synced

lightningd/chaintopology.h:261–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259struct txlocator *locate_tx(const void *ctx, const struct chain_topology *topo, const struct bitcoin_txid *txid);
260
261static inline bool topology_synced(const struct chain_topology *topo)
262{
263 return topo->sync_waiters == NULL;
264}
265
266/**
267 * topology_add_sync_waiter: wait for lightningd to sync with bitcoin network

Callers 12

json_fundpsbtFunction · 0.85
json_addpsbtinputFunction · 0.85
json_openchannel_bumpFunction · 0.85
json_openchannel_initFunction · 0.85
updates_completeFunction · 0.85
json_getinfoFunction · 0.85
json_fundchannel_startFunction · 0.85
gossip_notify_new_blockFunction · 0.85
send_htlc_outFunction · 0.85
peer_got_commitsigFunction · 0.85
try_update_blockheightFunction · 0.85
peer_start_channeldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected