-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
Introduce hard limit on transaction fee (core) #1087
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@mmilata would you be interested in a small research? There are two things we would like to look at. First let's have a look on the current fee limits. That means create a table for top10 Bitcoin-like coins that we support (or simpler way: use the ones that we currently support in wallet.trezor.io) and list for each one of them:
And second, let's investigate how we deal with fee thresholds in the other non-Bitcoin-like coins because I am not sure we do. Do you think you could look at it at some point in future? The Port has definitely a priority. |
@tsusanka sure, can do that |
@tsusanka For some of the bitcoin-based coins, the threshold for 250B transaction is following:
Other coins such as ETH, ETC, NEM, XLM, ADA, XTZ don't have any warning or hard limit implemented. |
QA
|
@bosomt please include a picture of Suite/Wallet when you are testing it so support can have a look. |
maximum fee in suite is 2000 sat/b |
QA OK tested 2.3.3, no warning in older FW FW version 2.3.3 df5421e wallet log : ["log","Fri, 28 Aug 2020 07:40:33 GMT","[trezor.js] [call] Sending","ButtonAck",{}] |
TT only for now. We will introduce it to T1 via Port. |
test results for Electrum 4.0.2:
maybe we will need fix for Electrum to properly handle FW error returned by device when you hit hard limit ? @matejcik |
This is a huge edge case let's not worry about that. (Unless this happens for every wire.DataErorr then it might be worth the fix.) |
Let's implement this for Legacy too. |
We currently have soft warning when transaction fee seems too high. For a usual small segwit transaction the limit is around 0.003 BTC which is ~30 USD at the current price (~9000 USD).
When there is a really big fee (by accident or malware) we are just a user's click away from spending a huge fee. As requested by Product, let's introduce a hard limit which is 10x more than the soft limit and may be turned of using advanced setting introduced in #1064. By hard limit I mean we refuse to sign and raise an error.
The text was updated successfully, but these errors were encountered: