-
Notifications
You must be signed in to change notification settings - Fork 65
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
Return the fee in satoshis for a size of 1000 bytes #185
Conversation
I am not 100% sure what exactly this should be. I need to break down the math & logic and write it down so it's clear to everyone. Once we do that, it should be smooth sailing for all the fee issues. We want the fee high enough to prevent cheap spam attacks, and low enough for room to grow & incentive for cheap TX's on DGB. Last thing we want is if DGB 10x in next year and transactions get spendy for everyone. |
It is calculate the fee over 1000 bytes. I think we should change fees in other places like mintxfee and default_min_relay_tx_fee. i did couple of test with core wallet. And this pr. No problems so far. |
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. Compiles & runs. Ah yes, this function returns the fee in satoshis for a 1000-byte transaction. It indeed should call GetFee(1000) instead of GetFee(100000) to correctly represent a kilobyte (1000 bytes) of transaction data.
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. Thanks @Jongjan88!
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
Thank you @Jongjan88 and @JaredTate
Thanks! @JaredTate @ycagel @gto90 !! Lets go to 50.. |
test/functional/test_runner.py
PR184
66 Failed
PR184 && PR185
57 Failed