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
21fbaed97c
tx controller - explode on non-hex txParams + dont add chainId to txParams + sign with chainId as number
7 years ago
Dan
106ce091a9
Fix TransactionStateManager spelling.
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
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
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
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
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
ea23da9e75
Correct note for updateTx after block-update event in transaction.js
7 years ago
Dan
ae2a4d78e8
Exponentional backoff on transaction retry in pending-tx-tracker
7 years ago
Dora E. Mondrian
41fea44af3
newUnaprovedTx => newUnapprovedTx
...
This typo tripped me up when I was reading through the code and trying to understand what's going on.
7 years ago
kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
7 years ago
kumavis
dcf10f3d75
nonce-tracker - use blockTracker directly
7 years ago
Dan Finlay
94513cae7b
Provide method for tx tracker to refer to all txs
7 years ago
frankiebee
ec9c528313
pending-tx - check time stamp instead of block number for resubmit
7 years ago
Kevin Serrano
15809894ff
Add indicator for specified gas price
7 years ago
frankiebee
833da191c3
transaction - provide notes for history
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
Dan Finlay
1983e161c6
Fix accountTracker store references
7 years ago
frankiebee
0a94ec41d3
pending-tx - move incrementing of the retryCount on the txMeta outside pending-tx-tracker
7 years ago
frankiebee
508696f71d
transactions: reveal #getFilteredTxList from txStateManage and fix accountTracker.store reference
7 years ago
frankiebee
80c98b1653
transactions: make evnt names pretty and eaiser to read
7 years ago
frankiebee
9fd5458112
transactions: lint fixes and reveal status-update event for balance controller
7 years ago
frankiebee
2ed8d579da
listen for the blocke event on the block tracker instead of rawBlock on the provider
7 years ago
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
7 years ago
frankiebee
77a48fb0b1
ensure that values written to txParams are hex strings
7 years ago
Dan Finlay
e4d7fb2447
Add state-labeled events to allow subscribing to any transaction's state change
7 years ago
frankiebee
9e0c0745ab
linting && format fixing
7 years ago
frankiebee
3ad67d1b14
match other controller patterns
7 years ago