Page MenuHomePhabricator

[validation] better handle errors in SubmitPackage
Needs RevisionPublic

Authored by PiRK on Dec 19 2022, 09:58.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

Behavior change: don't quit right after LimitMempoolSize() when a
package is partially submitted. We should still send
TransactionAddedToMempool notifications for
transactions that were submitted.

Not behavior change: add a new package validation result for mempool logic errors.

This is a partial backport of core#23804
https://github.com/bitcoin/bitcoin/pull/23804/commits/de075a98eaf0b3f7676c5c78b50b66902202b34c

Depends on D12912

Test Plan

ninja all check-all