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
Remove BIP70 payment requests #3466
base: 1.15.0-dev
Are you sure you want to change the base?
Remove BIP70 payment requests #3466
Conversation
279baa3
to
4a352ad
Compare
Found 3 issues with remaining OpenSSL/proxy includes while cleaning up depends. Added these separately. |
b296bdc
to
09cf8aa
Compare
Completely removes BIP70 support from Dogecoin Qt code. Also removes protobuf-compatibility tests as these rely on paymentserverplus code and any TLS related configuration.
Protobuf was only needed for BIP70 payment requests
09cf8aa
to
7968ab5
Compare
Squashed the additional commits. The pre-squash version of this PR can be found at I think this is as ready for review as it will get, assuming 3 PRs:
|
paymentServer = new PaymentServer(this, true, GetBoolArg("-enable-bip70", false)); | ||
paymentServer = new PaymentServer(this, true); |
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.
Not for now, but we'll want to remember we once supported this flag when we move to 1.21 or reimplement/cherry-pick the code that checks for unsupported CLI arguments.
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.
Added your note to #1313
if (rcp.label.length() > CHARACTERS_DISPLAY_LIMIT_IN_LABEL) | ||
{ | ||
recipientElement = tr("%1 to %2").arg(amount, address); | ||
displayedLabel = displayedLabel.left(CHARACTERS_DISPLAY_LIMIT_IN_LABEL).append("..."); // limit the amount of characters displayed in label | ||
} | ||
recipientElement = tr("%1 to %2").arg(amount, GUIUtil::HtmlEscape(displayedLabel)); | ||
recipientElement.append(QString(" (%1)").arg(address)); |
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.
Is there a chance the length of the recipient element will exceed the display limit after the substitution?
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.
We lowered the limit to fit the ...
. Note that this is move-only (indentation) for this PR
All tests pass on x86-64. Conditional approval, provided an answer to the question about label length and the removal of |
Thanks! Removed. |
Removes:
bswap_16
,bswap_32
andbswap_64
This does not (yet) change:
depends
systemBesides CI targets, I've tested this extensively on macOS and some Ubuntu Jammy with Qt 5.12.
Should get extensive review, and it would be good to wait a little with moving forward with this in case we get any feedback re: BIP70 removal from the 1.14.7 release.