1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/shared/constants
Elliot Winkler 7b963cabd7
Alert users when the network is busy (#12268)
When a lot of transactions are occurring on the network, such as during
an NFT drop, it drives gas fees up. When this happens, we want to not
only inform the user about this, but also dissuade them from using a
higher gas fee (as we have proved in testing that high gas fees can
cause bidding wars and exacerbate the situation).

The method for determining whether the network is "busy" is already
handled by GasFeeController, which exposes a `networkCongestion`
property within the gas fee estimate data. If this number exceeds 0.66 —
meaning that the current base fee is above the 66th percentile among the
base fees over the last several days — then we determine that the
network is "busy".
2022-01-07 12:18:02 -07:00
..
alerts.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
gas.js Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
hardware-wallets.js Introduce QR based signer into MetaMask (#12065) 2021-11-23 13:58:39 -03:30
labels.js Fixing address truncation papercuts (#12330) 2021-10-13 12:54:48 -05:00
metametrics.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
network.js Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
permissions.js Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
swaps.js Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 2021-11-30 19:56:28 +01:00
time.js Adding periodic reminder modal for backing up recovery phrase (#11021) 2021-06-04 23:33:58 -07:00
tokens.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
transaction.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30