-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix for low fee 0.1DGB/KB #171
Conversation
Mintxfee default from 100000 to 10000000
Thanks @Jongjan88. I will test this soon. |
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. Looks like same issue I had run into, but I only tested up to 50 inputs. When I did 60 inputs I was able to recreate the problem so we didn't fully fix it with #159. Looks like this does fix this. I just tested it with 50+ inputs. Client compiles & runs.
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.
cACK.
@beggsdl Were you able to test this? |
I think there is still an issue. I will post some screenshots in a little bit. |
Windows and Linux bins with the update of this pr are online. |
That test of 1 000 000 at 2.0/kB was just to verify that it would fail when the fee was over the max. |
Sorry Tnx!!!! |
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.
cACK. Glad to see the additional testing and update of this PR. Appreciate all the work. Will look to @JaredTate and @gto90 for their thoughts and review.
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.
utACK
This compiles & runs for me. My question is should this be even higher? If someone dedusts a few 1000 utxos, it could be a lot higher fee. We do not want to prevent that ability. What does everyone think? If we look at BTC: |
My problem when testing was that I was running into “transaction too large” before I was hitting the max tx fee. I got this when I would try to send a couple million DGB, mostly from Coinbase TXs. Could dedusting run into the same thing and not often hit the max tx fee? |
You were probably hitting the max size limit for a transaction to be. That's probably our answer for how high fees should be. We should hit the “transaction too large” before the fee to high error. If that's the case now then we are probably good with this. The max size of a TX to relay/mine and source of "Transaction too large" error is Lines 26 to 27 in 3c77dec
But these can also limit TX size: Lines 42 to 51 in 3c77dec
The "Transaction too large" error is defined here, which is triggered by Lines 840 to 846 in 3c77dec
|
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. Thanks a ton for everyone's help on this!
@JaredTate Thank you for all the work you do for DigiByte!! |
issue #169 Minimum tx fee per kb and maxfee
https://github.com/DigiByte-Core/digibyte/releases/
After pr update:
Minimal fee: 0.1DGB/KB
Total maximum custom fee: 100 DGB/transaction ($0,74) Before: 1 DGB/transaction ($0,0074) - 2024-02-06