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
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
frankiebee
9b9df41724
more tests and craete a getPendingTransactions function
7 years ago
frankiebee
50075c6df5
fix messy merge
7 years ago
frankiebee
a73aecc796
fix merge and errors disaperaing on update
7 years ago
frankiebee
15c12ca4bb
add better comments
7 years ago
Dan Finlay
0ad310e096
Fail transactions after a day of retries
7 years ago
frankiebee
7ea83b6bae
Create TxStateManager
7 years ago
frankiebee
e9712a13ec
Create tests for TxStateManager
7 years ago
frankiebee
a5a32f3d57
use "localNonce" when the network returns a nonce that is lower then a known confirmed tx
7 years ago
kumavis
1af797b1b3
tx controller - tx state history various small fixes
7 years ago
kumavis
fdffb6fedc
introduce tx-state-history-helper and diff-based history
7 years ago
kumavis
25f9746dab
tx controller - fix error serialization
7 years ago
kumavis
5e6962342d
tx controller - fix getBalance fn
7 years ago
frankiebee
9c9165e930
filter by network for pending txs
7 years ago
frankiebee
5bb84f6e21
fix getPendingTransactions function for pendingTxTracker
7 years ago
frankiebee
a13643bdb5
fix class names
7 years ago
frankiebee
3a2190ec3c
fix the bind on pending tx watchers
7 years ago
frankiebee
a54c26382e
remove unnecessary if statment for error message
7 years ago
frankiebee
fb9866b4e1
fix spelling
7 years ago
frankiebee
08f49ab35f
rename PendingTransactionUtils -> PendingTransactionWatchers
7 years ago