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

Function new_coin_channel_open

common/coin_mvt.c:472–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472struct chain_coin_mvt *new_coin_channel_open(const tal_t *ctx,
473 const struct channel *channel,
474 const struct bitcoin_outpoint *out,
475 const struct node_id *peer_id,
476 u32 blockheight,
477 const struct amount_msat amount,
478 const struct amount_sat output_val,
479 bool is_opener,
480 bool is_leased)
481{
482 return new_coin_channel_open_general(ctx, channel, NULL,
483 coinmvt_current_time(),
484 out, peer_id, blockheight,
485 amount, output_val, is_opener, is_leased);
486}
487
488struct chain_coin_mvt *new_onchain_htlc_deposit(const tal_t *ctx,
489 const struct bitcoin_outpoint *outpoint,

Callers 1

channel_record_openFunction · 0.85

Calls 2

coinmvt_current_timeFunction · 0.85

Tested by

no test coverage detected