frankiebee
f0dd4f1923
transactions - emit 'newUnapprovedTx' before estimateGas finishes
7 years ago
Dan Finlay
7cb66ce4cb
Prefer passing a provider over an ethQuery instance
7 years ago
Dan Finlay
4a9dad7c40
Improve gas price estimation by backfilling recent-blocks
...
When first initializing, recent-block controller now back-fills up to
its desired history length. This makes estimated gas prices reflect a
longer recent history, even when first switching to a new network.
Fixes #2925
7 years ago
Dan Finlay
d829fb91b8
Default to 1 gwei for empty blocks
7 years ago
Dan Finlay
0275231e13
Default gas estimate to 1 gwei for networks with no block activity
7 years ago
Dan Finlay
34826d18aa
Default to estimating 1 gwei for empty blocks.
...
To avoid estimating 0 gwei on low-traffic private networks.
7 years ago
kumavis
ab7701efb3
provider - infura - use infura REST api
7 years ago
kumavis
63ae7fb589
bugfix - transactions controller - breakout logic and fix order of operations bug
7 years ago
kumavis
9a8670309d
bugfix - transactions controller - breakout logic and fix order of operations bug
7 years ago
Thomas
39b700bf87
Account for 0x/empty string address and contract creation
7 years ago
Dan Finlay
aec24ec81e
Fix feature to work
7 years ago
Dan Finlay
447682d1fb
Linted
7 years ago
Dan Finlay
4bca98d588
Derive gas price estimate from previous transactions
...
Return the 50th percentile lowest gas price of the previous 20 blocks.
7 years ago
Kevin Serrano
20aa135ad8
Add fix for infinite spinner for incorrect seed phrase.
7 years ago
kumavis
3f6cef0b3f
tx-gas-utils - tx-param-validation - use more intuitive check
7 years ago
Kevin Serrano
414f89668e
Fix some silly linting issues.
7 years ago
frankiebee
5efb0044d8
transactions:pending - only check nonces of transactions who's from adress match the txMeta
7 years ago
Dan Finlay
33dbee3db9
Remove retryTimePeriod from tx controller
7 years ago
Dan Finlay
75b8baafb6
Stop failing pending transactions after any period of time
7 years ago
frankiebee
f47e81e493
transactions - throw error if dapp provides txParams whos value has a decimal
7 years ago
Dan Finlay
30b45c8a38
Do not log whole txs in recent block controller.
...
Only record gas prices, because that has a current use.
7 years ago
Dan Finlay
975f7279c7
Allow updating token details
...
Fixes #2173
7 years ago
Dan Finlay
10ff77477c
Add Recent Blocks controller
...
Tracks recent blocks, useful for estimating recent successful gas
prices.
7 years ago
Thomas Huang
fb8744771a
Change console.log for opts in _configureInfuraProvider
7 years ago
frankiebee
828734b977
transactions:gas-utils - handle new type of estimateGas error
7 years ago
kumavis
161aa66cb4
Revert "Revert "network - for infura networks use the infura block tracker provider""
...
This reverts commit 5df7dcd758
.
7 years ago
Frankie
5df7dcd758
Revert "network - for infura networks use the infura block tracker provider"
7 years ago
kumavis
33e6befdaa
network - for infura networks use the infura block tracker provider
7 years ago
frankiebee
da209a9cfd
dont aggresively query account data
7 years ago
Dan Finlay
542e0035dd
Pass polling interval to zero client provider
7 years ago
kumavis
a91200fd08
tx-controller - failed state is a finished state
7 years ago
Dan Finlay
950ec9596c
Do not allow nonces larger than the next valid nonce
...
To avoid situations where a user signs a transaction that will become
surprisingly valid in the future.
7 years ago
vicnaum
553d713636
A more expressive way
...
replaced ifs with ? :
7 years ago
Dan Finlay
0e25129028
Enforce retry tx at minimum gas of previous tx
7 years ago
Dan Finlay
31564e0a86
Fix retry action
7 years ago
Dan Finlay
6ff580584a
Add retry background method and action
7 years ago
vicnaum
7854321fae
Fix for #2644 - Specified Nonce isn't used
...
Added nonceSpecified.
And a check if nonce was specified - then we should use the specified nonce instead of generating a new one.
7 years ago
Dan
f58aae3f2b
firstRetryBlockNumber defaults to latestBlockNumber if undefined on txMeta in _resubmitTx
7 years ago
Dan
ea23da9e75
Correct note for updateTx after block-update event in transaction.js
7 years ago
Dan
871d9fd9fb
Fix undefined latestBlockNumber in _resubmitTx
7 years ago
Dan
ae2a4d78e8
Exponentional backoff on transaction retry in pending-tx-tracker
7 years ago
William Chong
03f86acd60
fix #1398 , prevent injecting xml without xml suffix
7 years ago
Dan Finlay
8192c0b58c
Fix migration comment
7 years ago
Dan Finlay
ab35a76a24
Migrate old data to include firstVersion info
7 years ago
Dan Finlay
bd82b17310
Linted
7 years ago
Dan Finlay
049ec52a95
Add seed phrase bounty award notice
...
Only shows to people who installed before or equal to MetaMask 3.12.1
7 years ago
Dan Finlay
f0f6bb28e0
Get notice version filtering working nicely
7 years ago
kumavis
f64bc3c01a
deps - obs-store@3 + migrate stream plumbing
7 years ago
Dan Finlay
ec4b7de962
Add firstVersion field to notices selector
7 years ago
Dan Finlay
e89f82399f
Add optional version field to notices
...
Allows notices to only show to users who are on a certain version.
7 years ago