-
Notifications
You must be signed in to change notification settings - Fork 771
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
TxConfirmationDialog: warn high fees #3897
Conversation
selsta
commented
Apr 27, 2022
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 shouldn't be the only long-term solution, but it's a nice quick fix for now! |
@jeffro256
|
The only long term solution will be to remove the remote node scanner from simple mode and use hardcoded trusted community nodes. |
@selsta Or have nodes provide some kind of blockchain proof that their recommended fee is reasonable and have the wallet double-check the blockchain state with other nodes. Really the wallet software needs to be more active in calculating/reviewing suggested fee amounts. |
Apologies for being out of the loop here, but some sanity checks:
|
Yes, I changed it for the screenshot to demonstrate it. I'm open for different values.
As far as I understand it the wallet calculates the fee with data from the daemon. If the daemon tricks you like in this case I'm not sure what you want to do on wallet side. |
It would be good to offer the choice between remote node or having the trusted community node. You don't want to make it feel like it's being forced, user should have the option to decide. |
You can either use simple mode, which automatically will connect you to a community node or you can use advanced mode which allows you to set your own remote node. |
Would there be any security compromises with automatically having all simple mode users onto community node only? |
Security compromises compared to now? No. Simple mode already connects to a random remote node. |
To confirm, Simple mode currently connects to a random remote node automatically but with this change Simple mode will connect to a community trusted node automatically with no security compromises compared to now? |
Do we have an any idea as to how big the community trusted node list will be? |
Correct. |
Around 10 maybe? Don't know yet. |
It's GUI discussed here. But what about wallet RPC? It needs protection from high fees too. |
The GUI simple mode currently connects you to a random remote node that's why it was important to add the warning here quickly. The RPC wallet doesn't have such a feature so it is way more unlikely that you run into the high fee issue in the first place, unless you manually connect to a malicious remote node. We can add a warning to the other wallets too but you have to keep in mind that you should ideally use your own node or connect to a node from a person or community member that you trust. |