frankiebee
5494aa4f9c
transactions - lint fixes
7 years ago
frankiebee
2d7c3c2b00
meta - transactions - create a transactions dir in controller and move relevant files into it
7 years ago
frankiebee
c02da0f27c
transactions - _normalizeTxParams will now return a new object for txParams
7 years ago
frankiebee
343f0e9e80
transactions - remove unnecessary keys on txParams
7 years ago
frankiebee
245c01bc0f
transactions - make #_validateTxParams not async and "linting" wink wink nudge nudge
7 years ago
frankiebee
457a47bf62
transactions - normalize txParams
7 years ago
kumavis
038ad91454
app - currency - fix typo + prefer log over console
7 years ago
kumavis
79d63332ee
app - currency - fix typo
7 years ago
kumavis
ecbab14cae
app - warn on fetch errors instead of spamming sentry
7 years ago
frankiebee
ab126b8c78
transactions gasLimit - use the block gasLimit if getCode fails
7 years ago
frankiebee
3def45004a
transactions#newUnapprovedTransaction - dont default origin to metamask
7 years ago
frankiebee
03b123a85d
transactions - put the origing on the txMeta to help with debugging
7 years ago
kumavis
c4c459c8d7
controllers - currency - warn currency and encountered error
7 years ago
kumavis
21fbaed97c
tx controller - explode on non-hex txParams + dont add chainId to txParams + sign with chainId as number
7 years ago
Dan
b9309f689b
Use extension api to get initial locale.
7 years ago
Dan
5fe0be722b
Handle i18n with redux.
7 years ago
Dan
106ce091a9
Fix TransactionStateManager spelling.
7 years ago
Lazaridis
2d3763d709
add READMEs to folders, re #3427
7 years ago
frankiebee
9d7640996a
transactions - return the txMeta in retryTransaction
7 years ago
frankiebee
5572345b78
fix marking of confirmed transaction as dropped
7 years ago
frankiebee
4a3288fec9
transactions - make _markNonceDuplicatesDropped
7 years ago
frankiebee
62febac876
refactor retrytx with higher gas price:
...
- create a new tx instead of overwriting the tx hash
- add a new state 'dropped' to the txStateManager
- mark duplicate txs as dropped when one gets confirmed in a block
7 years ago
Jeffrey Tong
57dc5a6e9b
fix typo in transaction.js
7 years ago
Bruno Barbieri
03d17c75ae
wipe only transactions for current account
7 years ago
Bruno Barbieri
e6fda855a5
added reset account feature
7 years ago
kumavis
96fc916024
Update transactions.js
7 years ago
frankiebee
234c2417ca
transactions - transtion approved transactions to failed transactions on boot
7 years ago
frankiebee
be8d924432
transactions - fail txs on boot who fail addTxDefaults
7 years ago
frankiebee
9f19fea8e0
transactions - wrap addTxDefaults in a try catch and re try addTxDefaults on boot if they did not complete
7 years ago
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
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
Dan Finlay
aec24ec81e
Fix feature to work
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
Alexander Tseung
a218008adf
Track usage of old and new UI ( #2794 )
...
[NewUI] Track usage of old and new UI
7 years ago
Dan Finlay
33dbee3db9
Remove retryTimePeriod from tx controller
7 years ago
Dan
bf4043c59b
Adds updateTransaction to background and used it to update after editing in send-v2.
7 years ago
Dan
1f1fc2c49e
Canceled, edited transactions show edited amount.
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
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
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