mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
7b963cabd7
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". |
||
---|---|---|
.. | ||
gasFeeInput | ||
useApproveTransaction.js | ||
useCopyToClipboard.js | ||
useCurrencyDisplay.js | ||
useCurrencyDisplay.test.js | ||
useCurrentAsset.js | ||
useEqualityCheck.js | ||
useEthFiatAmount.js | ||
useGasFeeErrors.js | ||
useGasFeeErrors.test.js | ||
useGasFeeEstimates.js | ||
useGasFeeEstimates.test.js | ||
useI18nContext.js | ||
useIncrementedGasFees.js | ||
useMethodData.js | ||
useMetricEvent.js | ||
useOriginMetadata.js | ||
usePrevious.js | ||
useSafeGasEstimatePolling.js | ||
useShouldAnimateGasEstimations.js | ||
useShouldShowSpeedUp.js | ||
useSwappedTokenValue.js | ||
useTimeout.js | ||
useTokenData.js | ||
useTokenData.test.js | ||
useTokenDisplayValue.js | ||
useTokenDisplayValue.test.js | ||
useTokenFiatAmount.js | ||
useTokensToSearch.js | ||
useTokenTracker.js | ||
useTransactionDisplayData.js | ||
useTransactionDisplayData.test.js | ||
useUserPreferencedCurrency.js | ||
useUserPreferencedCurrency.test.js |