-
Notifications
You must be signed in to change notification settings - Fork 725
[Wallet] Prefer coins that have fewer ancestors, sanity check txn before ATMP and rebroadcast functional test #2601
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
[Wallet] Prefer coins that have fewer ancestors, sanity check txn before ATMP and rebroadcast functional test #2601
Conversation
|
I think that the introduction of |
4f9e6d2 to
bf74449
Compare
|
good catch zebra ☕, true that is redundant. Squashed changes in 503ce57 and 0c2b921 |
29288f8 to
92db52d
Compare
* Introduce new constant MIN_CHANGE and use it instead of the hardcoded "CENT" * Add test case for MIN_CHANGE * Introduce new constant for -mintxfee default: DEFAULT_TRANSACTION_MINFEE = 1000
92db52d to
26dcd16
Compare
|
rebased on master. |
Fuzzbawls
left a comment
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.
ACK 26dcd16c7b353b9921a427f3178392be30d1575c
random-zebra
left a comment
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.
Need to add the new test wallet_resendwallettransactions.py to the test runner file (in the "less than 60s" list).
26dcd16 to
9deb391
Compare
|
yes good, done, new test added to the test runner. Squashed in 5cd487e |
random-zebra
left a comment
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.
ACK 9deb391
Work originated from a third party service hitting the mempool ancestors count limit.
Focused on two main topics (plus some extra cleanup):
Based on the following backports:
DEPLOYMENT_V23for new version featureset dashpay/dash#6669 (only 6b0e622).Important Note:
This PR is not meant to be included in the shortly coming v5.3.2.1. Which is good enough as is, the
sendmanymin depth arg fix is already by-passing the issue automatically without human interaction (mempool utxo will not be selected by default).This is a follow up work to fully prevent the issue from happening in other flows and not only in
sendmany.Merge target is v5.4.