Design and approach
Define the callback liveness contract (src/ipc/capnp/chain.capnp:85, head)
This method accepts a remote ChainNotifications capability, and the node sends each transactionAddedToMempool callback synchronously under cs_main and the mempool mutex. An unresponsive controller can therefore stall node operations while both locks are held. Is the controller explicitly trusted to remain responsive? Alternatively, the node could snapshot transactions under the locks and deliver them after unlocking. Because the interface already allows overlap with asynchronous notifications and requires clients to handle duplicates and stale notifications, this alternative is worth considering.
🟡 Minor
Name the ancestry output accurately (src/ipc/capnp/chain.capnp:54, head)
The second output of interfaces::Chain::getTransactionAncestry is cluster_count, but this schema names it descendants. Since the proxy maps outputs by position, clients reading the field by name receive a cluster count, not a descendant count. Rename the field to clusterCount while retaining ordinal @1.
💡 Suggestion
Test FoundBlock marshalling over IPC (src/ipc/capnp/chain.cpp:94, head)
The existing FoundBlock tests cover the in-process interface, while the IPC functional tests do not call makeChain. Add a focused IPC test for selected findBlock outputs, including a nested nextBlock and a miss that preserves the caller's existing output values. This would cover the custom conversion path and verify the documented out-parameter behavior across the socket.
Review coverage was incomplete. The adversarial review had incomplete evidence. The adversarial_glm review had incomplete evidence.