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

Function new_coin_channel_push

common/coin_mvt.c:375–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375struct channel_coin_mvt *new_coin_channel_push(const tal_t *ctx,
376 const struct channel_id *cid,
377 struct amount_msat amount,
378 enum mvt_tag tag,
379 bool is_credit)
380{
381 return new_channel_coin_mvt(ctx, cid, NULL,
382 NULL, amount,
383 take(new_tag_arr(NULL, tag)), is_credit,
384 AMOUNT_MSAT(0));
385}
386
387struct coin_mvt *finalize_chain_mvt(const tal_t *ctx,
388 const struct chain_coin_mvt *chain_mvt,

Callers 1

channel_record_openFunction · 0.85

Calls 2

new_channel_coin_mvtFunction · 0.85
new_tag_arrFunction · 0.70

Tested by

no test coverage detected