frankiebee
eeb9390de8
meta - transactions - docs yo!
7 years ago
bitpshr
9c7eafc86f
Add more documentation to computed balances controller
7 years ago
Dan
9f12c26d44
Even more documentation for various controllers and libs.
7 years ago
bitpshr
6dbdc87713
Add generated docs
7 years ago
Dan
164f9c4662
Missing bracket in docblock.
7 years ago
Dan
e80bd230b9
NO MIXED TABS AND SPACES
7 years ago
Dan
6d96b1a2ab
Documentation fix: @constant -> @property
7 years ago
Dan
128cb1af46
Improve documentation of promises that return undefined.
7 years ago
Dan
e9ca7199ab
Typo fixes, type fixes on the return clauses of the buyEthUrl and getPrefferedLangCode functions.
7 years ago
Dan
cc7e71488e
Spell deprecated correctly.
7 years ago
Dan
23acddf8f6
@params -> @param fix
7 years ago
bitpshr
b4912f29cd
Disable token price polling when no client is active
7 years ago
Dan
20a075657f
Documentation for various controllers and libs
7 years ago
bitpshr
d0447f9058
Maintain token prices using a background service
7 years ago
bitpshr
7129d7c0f3
Require loglevel singleton in each module that uses it
7 years ago
frankiebee
943eea043c
fix up - more docs
7 years ago
frankiebee
88f4212363
meta - transactions - code clean up and jsDoc
7 years ago
frankiebee
3aaa28531e
transactions - code cleanup
7 years ago
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