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

Function new_coin_channel_close

common/coin_mvt.c:184–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184struct chain_coin_mvt *new_coin_channel_close(const tal_t *ctx,
185 const struct bitcoin_txid *txid,
186 const struct bitcoin_outpoint *out,
187 u32 blockheight,
188 const struct amount_msat amount,
189 const struct amount_sat output_val,
190 u32 output_count)
191{
192 return new_chain_coin_mvt(ctx, NULL, txid,
193 out, NULL, blockheight,
194 take(new_tag_arr(NULL, CHANNEL_CLOSE)),
195 amount, false,
196 output_val,
197 output_count);
198}
199
200struct chain_coin_mvt *new_coin_channel_open_proposed(const tal_t *ctx,
201 const struct channel_id *chan_id,

Callers

nothing calls this directly

Calls 2

new_chain_coin_mvtFunction · 0.85
new_tag_arrFunction · 0.70

Tested by

no test coverage detected