Implement proposed follow-ups on dicussion #35084 (review).
- Add unit test for checkSpawned().
- Make checkSpawned() return std::optionalmp::SocketId.
- Rename -ipcfd to -ipcchild.
Implement proposed follow-ups on dicussion #35084 (review).
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35887.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline and AI policy for information on the review process. A summary of reviews will appear here.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
Possible places where comparison-specific test macros should replace generic comparisons:
BOOST_CHECK_THROW(process->checkSpawned(3, argv), std::runtime_error); -> consider BOOST_CHECK_EXCEPTION(..., std::runtime_error, HasReason("...")) to verify the specific failure message instead of only the generic exception type.<sup>2026-08-04 20:47:50</sup>