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

Function wallet_init_channels

wallet/wallet.c:2487–2493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2485}
2486
2487bool wallet_init_channels(struct wallet *w)
2488{
2489 /* We set the max channel database id separately */
2490 set_max_channel_dbid(w);
2491 wallet_load_closed_channels(w, w->ld->closed_channels);
2492 return wallet_channels_load_active(w);
2493}
2494
2495static void wallet_channel_stats_incr_x(struct wallet *w,
2496 u64 cdbid,

Callers 1

wallet_channel_loadFunction · 0.50

Calls 3

set_max_channel_dbidFunction · 0.85

Tested by 1

wallet_channel_loadFunction · 0.40