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

Function handle_lock_outpoint

hsmd/libhsmd.c:439–450  ·  view source on GitHub ↗

~This stub implementation is overriden by fully validating signers to * change their funding/splice state to locked */

Source from the content-addressed store, hash-verified

437/* ~This stub implementation is overriden by fully validating signers to
438 * change their funding/splice state to locked */
439static u8 *handle_lock_outpoint(struct hsmd_client *c, const u8 *msg_in)
440{
441 struct bitcoin_txid funding_txid;
442 u16 funding_txout;
443
444 if (!fromwire_hsmd_lock_outpoint(msg_in, &funding_txid, &funding_txout))
445 return hsmd_status_malformed_request(c, msg_in);
446
447 /* Stub implementation */
448
449 return towire_hsmd_lock_outpoint_reply(NULL);
450}
451
452/*~ For almost every wallet tx we use the BIP32 seed, but not for onchain
453 * unilateral closes from a peer: they (may) have an output to us using a

Callers 1

Calls 1

Tested by

no test coverage detected