Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ htlc_has
Function
htlc_has
channeld/channeld_htlc.h:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
};
35
36
static inline bool htlc_has(const struct htlc *h, int flag)
37
{
38
return htlc_state_flags(h->state) & flag;
39
}
40
41
static inline enum side htlc_owner(const struct htlc *h)
42
{
Callers
5
gather_htlcs
Function · 0.85
channel_fulfill_htlc
Function · 0.85
channel_fail_htlc
Function · 0.85
adjust_balance
Function · 0.85
htlc_get
Function · 0.85
Calls
1
htlc_state_flags
Function · 0.50
Tested by
no test coverage detected