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

Function htlcs_index_deleted

lightningd/peer_htlcs.c:3099–3108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3097}
3098
3099void htlcs_index_deleted(struct lightningd *ld,
3100 const struct channel *channel,
3101 u64 num_deleted)
3102{
3103 wait_index_increase(ld, ld->wallet->db,
3104 WAIT_SUBSYSTEM_HTLCS, WAIT_INDEX_DELETED,
3105 num_deleted,
3106 "short_channel_id", fmt_short_channel_id(tmpctx, channel_scid_or_local_alias(channel)),
3107 NULL);
3108}
3109
3110/* Fortuntely, dbids start at 1, not 0! */
3111u64 htlcs_index_created(struct lightningd *ld,

Callers

nothing calls this directly

Calls 3

wait_index_increaseFunction · 0.85
fmt_short_channel_idFunction · 0.85

Tested by

no test coverage detected