1 suggestion
Optional improvements
[suggestion] · Test header omits the per-call limit on orphan reconsideration
The header describes only accepted or rejected orphans, while the test also checks that missing-input orphans are reconsidered one at a time.
Location: src/test/denialofservice_tests.cpp:540 (head).
Details and suggested fix
The header says that at most one orphan is accepted or rejected per ProcessMessages() call. The test below also checks that orphans that still have missing inputs are reconsidered in separate calls, without reducing the orphanage size. Update the header to say that at most one orphan is reconsidered per call, whether it is accepted, rejected, or still missing inputs.