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

Function onchain_annotate_txout

lightningd/onchain_control.c:499–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499static void onchain_annotate_txout(struct channel *channel, const u8 *msg)
500{
501 struct bitcoin_outpoint outpoint;
502 enum wallet_tx_type type;
503 if (!fromwire_onchaind_annotate_txout(msg, &outpoint, &type))
504 fatal("onchaind gave invalid onchain_annotate_txout "
505 "message: %s",
506 tal_hex(msg, msg));
507 wallet_annotate_txout(channel->peer->ld->wallet, &outpoint, type,
508 channel->dbid);
509}
510
511static void onchain_annotate_txin(struct channel *channel, const u8 *msg)
512{

Callers 1

onchain_msgFunction · 0.70

Calls 3

tal_hexFunction · 0.85
fatalFunction · 0.70
wallet_annotate_txoutFunction · 0.50

Tested by

no test coverage detected