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

Function htlc_state_flags

common/htlc_state.c:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133};
134
135int htlc_state_flags(enum htlc_state state)
136{
137 assert(state < ARRAY_SIZE(per_state_bits));
138 assert(per_state_bits[state]);
139 return per_state_bits[state];
140}
141

Callers 13

get_feerateFunction · 0.70
inc_fee_stateFunction · 0.70
towire_fee_statesFunction · 0.70
htlc_state_ownerFunction · 0.70
get_blockheightFunction · 0.70
inc_height_stateFunction · 0.70
towire_height_statesFunction · 0.70
htlc_incstateFunction · 0.50
fee_incstateFunction · 0.50
blockheight_incstateFunction · 0.50
change_htlcsFunction · 0.50
pending_updatesFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected