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

Function is_local_commitment

onchaind/onchaind.c:1397–1401  ·  view source on GitHub ↗

We only ever send out one, so matching it is easy. */

Source from the content-addressed store, hash-verified

1395
1396/* We only ever send out one, so matching it is easy. */
1397static bool is_local_commitment(const struct bitcoin_txid *txid,
1398 const struct bitcoin_txid *our_broadcast_txid)
1399{
1400 return bitcoin_txid_eq(txid, our_broadcast_txid);
1401}
1402
1403/* BOLT #5:
1404 *

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected