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

Function first_fee_state

common/fee_states.c:11–17  ·  view source on GitHub ↗

If we're the finder, it's like an HTLC we added, if they are, it's like * a HTLC they added. */

Source from the content-addressed store, hash-verified

9/* If we're the finder, it's like an HTLC we added, if they are, it's like
10 * a HTLC they added. */
11enum htlc_state first_fee_state(enum side opener)
12{
13 if (opener == LOCAL)
14 return SENT_ADD_HTLC;
15 else
16 return RCVD_ADD_HTLC;
17}
18
19enum htlc_state last_fee_state(enum side opener)
20{

Callers 4

get_feerateFunction · 0.70
start_fee_updateFunction · 0.70
get_blockheightFunction · 0.70
start_height_updateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected