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

Function first_fee_state

common/fee_states.c:10–16  ·  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

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

Callers 4

get_feerateFunction · 0.85
start_fee_updateFunction · 0.85
get_blockheightFunction · 0.85
start_height_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected