~This stub implementation is overriden by fully validating signers * to ensure they are caught up when outpoints are freshly buried */
| 420 | /* ~This stub implementation is overriden by fully validating signers |
| 421 | * to ensure they are caught up when outpoints are freshly buried */ |
| 422 | static u8 *handle_check_outpoint(struct hsmd_client *c, const u8 *msg_in) |
| 423 | { |
| 424 | struct bitcoin_txid funding_txid; |
| 425 | u16 funding_txout; |
| 426 | bool is_buried; |
| 427 | |
| 428 | if (!fromwire_hsmd_check_outpoint(msg_in, &funding_txid, &funding_txout)) |
| 429 | return hsmd_status_malformed_request(c, msg_in); |
| 430 | |
| 431 | /* This stub always approves */ |
| 432 | is_buried = true; |
| 433 | |
| 434 | return towire_hsmd_check_outpoint_reply(NULL, is_buried); |
| 435 | } |
| 436 | |
| 437 | /* ~This stub implementation is overriden by fully validating signers to |
| 438 | * change their funding/splice state to locked */ |
no test coverage detected