-
Notifications
You must be signed in to change notification settings - Fork 156
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
Add wallet flag for allowhighfees #214
Conversation
It looks like a number of calls to SendRawTransaction were missed. grep -rsn "SendRawTransaction" RPC server should access wallet to get the variable. Not sure about the stake manager, you could pass a global for that package. |
tACK On simnet, let me review the code |
@@ -93,6 +94,7 @@ type config struct { | |||
PoolFees float64 `long:"poolfees" description:"The per-ticket fee mandated by the ticket pool as a percent (e.g. 1.00 for 1.00% fee)"` | |||
AddrIdxScanLen int `long:"addridxscanlen" description:"The width of the scan for last used addresses on wallet restore and start up (default: 750)"` | |||
StakePoolColdExtKey string `long:"stakepoolcoldextkey" description:"Enables the wallet as a stake pool with an extended key in the format of \"xpub...:index\" to derive cold wallet addresses to send fees to"` | |||
AllowHighFees bool `long:"allowhighfees" description:"Force dcrd to allow highfees from all sendrawtransaction"` |
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.
This is actually the RPC client doing this. Maybe "Force the RPC client to use the 'allowHighFees' flag when sending transactions'
Fix those issues and OK to squash and merge |
Also please add a detailed description in the commit (what was broken, what you added and why that fixed it). |
In the past there was no way to set the SendRawTransaction AllowHighFees options without changing code. This option lets users force their transactions to go through without having to be checked according to the high fees check in mempool.go in dcrd. Now users can set this flag on start up and all transactions will be excepted no matter how fee their fee is. (Though obviously the low end fee check will still be in place, this only applies to high fees)
Looks like all was taken care of. |
No description provided.