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
frankiebee
087cd9fb1a
break out tx status pendding watchers
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
frankiebee
dce593fd7b
remove stack from txs
7 years ago
frankiebee
b471afcdb3
use error for #approveTransaction when setting failed
7 years ago
frankiebee
b80c7e417b
move newUnapprovedTransaction to transactions.js
7 years ago
frankiebee
25bc15ba17
lint fixes
7 years ago
frankiebee
3a4726018e
fix addTxDefaults
7 years ago
frankiebee
432f516ab0
make addUnapprovedTransaction async function and use promise based ethQuery
7 years ago
kumavis
35a128db1e
nonce-tracker - hotfix for provider proxying
7 years ago
kumavis
7e2e4948a6
tx cont - dont recursively store history
7 years ago
kumavis
0ef90fb1f0
tx controller + nonce tracker - record nonce components on txMeta
7 years ago
frankiebee
ba88f7b8dd
fix typo
7 years ago
frankiebee
b81f883150
fix stack wording
7 years ago
frankiebee
1df833bee8
use clone
7 years ago
frankiebee
e0a626da3b
remove line numbers
7 years ago
kumavis
5b9a6bd367
tx cont - remove old cb from async fn
7 years ago
frankiebee
ab01358a48
Add stack traces both in errors and as a way to track txMetas
7 years ago
kumavis
12d6f21627
transactions - block nonce-tracker while updating pending transactions
7 years ago
kumavis
67fdba5e42
transaction - promisify _checkPendingTxs
7 years ago
frankiebee
7eccf5905a
make publishTransaction and signTransaction async methods
7 years ago