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

Function wallet_init_channels

wallet/wallet.c:1636–1641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1634}
1635
1636bool wallet_init_channels(struct wallet *w)
1637{
1638 /* We set the max channel database id separately */
1639 set_max_channel_dbid(w);
1640 return wallet_channels_load_active(w);
1641}
1642
1643static enum channel_state_bucket get_state_channel_db(const char *dir, const char *typ)
1644{

Callers 1

wallet_channel_loadFunction · 0.50

Calls 2

set_max_channel_dbidFunction · 0.85

Tested by 1

wallet_channel_loadFunction · 0.40