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

Function new_coin_external_deposit

common/coin_mvt.c:321–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319
320
321struct chain_coin_mvt *new_coin_external_deposit(const tal_t *ctx,
322 const struct bitcoin_outpoint *outpoint,
323 u32 blockheight,
324 struct amount_sat amount,
325 enum mvt_tag tag)
326{
327 return new_chain_coin_mvt_sat(ctx, EXTERNAL, NULL, outpoint, NULL,
328 blockheight, take(new_tag_arr(NULL, tag)),
329 amount, true);
330}
331
332bool chain_mvt_is_external(const struct chain_coin_mvt *mvt)
333{

Callers 1

Calls 2

new_chain_coin_mvt_satFunction · 0.85
new_tag_arrFunction · 0.70

Tested by

no test coverage detected