-
Notifications
You must be signed in to change notification settings - Fork 58
perf(platform-wallet): keep the contact fetch off the drain's repeating-rejection path #4373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1791fe5
fix(platform-wallet): accept legacy dashj key purposes on inbound con…
jeanpierreroma 982f107
perf(platform-wallet): keep the contact fetch off the drain's repeati…
jeanpierreroma 289b8fb
refactor(platform-wallet): source the recipient-key cohort from the s…
jeanpierreroma afec36d
fix(platform-wallet): don't charge a legacy-cohort decrypt failure to…
jeanpierreroma d822704
Merge branch 'fix/dashpay-legacy-key-purpose' into fix/dashpay-drain-…
jeanpierreroma 608dac5
fix(platform-wallet): make the split validation's mixed-failure polic…
jeanpierreroma 38e6c91
fix(platform-wallet): classify sender-side widening as legacy too
jeanpierreroma b8c2a83
Merge branch 'fix/dashpay-legacy-key-purpose' into fix/dashpay-drain-…
jeanpierreroma ee984ad
feat(platform-wallet): make a failed legacy external build self-diagn…
jeanpierreroma 94f10e3
Merge branch 'fix/dashpay-legacy-key-purpose' into fix/dashpay-drain-…
jeanpierreroma abe80c6
perf(platform-wallet): move purpose-mismatch reasons into the drain s…
jeanpierreroma 8415a50
Merge remote-tracking branch 'origin/v4.2-dev' into fix/dashpay-drain…
jeanpierreroma d9afc99
fix(platform-wallet): state the decrypt diagnostics as likelihoods, n…
jeanpierreroma fea6e95
fix(platform-wallet): pool the same funding sources for a contact pay…
romchornyi 0eac01e
fix(platform-wallet): only an immutable fault may permanently break a…
jeanpierreroma 52fe0d9
Merge remote-tracking branch 'origin/fix/dashpay-drain-retry-cost' in…
jeanpierreroma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Suggestion: Align the public retryability gate with absent-key classification
add_absent_key_errorintentionally leaveshard_errorfalse because an absent key is retryable, but the public documentation still says missing keys are permanent and directs callers tois_purpose_only()for skip-versus-break decisions. That predicate returns false for a lone absent-key failure, while returning true for a purpose mismatch combined with an absent key even though purpose is not then the sole cause. The in-crate drain correctly usesis_permanent(), but downstream callers following the advertised public contract can retain the obsolete permanent treatment. Makeis_permanent()the documented canonical disposition predicate and deprecate or explicitly restrictis_purpose_only()to diagnostics, or track absent-key failures separately so its stated sole-cause semantics remain exact. Add coverage for lone-absent and purpose-plus-absent results.source: ['codex']