frankiebee
3e359d6a6a
Merge branch 'master' into i1567-FixInaccurateError
2017-06-16 16:39:52 -07:00
Dan Finlay
06f6aa7a00
Debounce background updates
...
Our background sometimes emits absurd quantities of updates very quickly.
This PR reduces the amount of inter-process traffic by ensuring the `sendUpdate` method does not fire more than every 200 ms.
Fixes #1621
2017-06-15 18:01:10 -07:00
frankiebee
f76a555c09
Merge branch 'master' into i1567-FixInaccurateError
2017-06-15 14:28:10 -07:00
kumavis
41a1ce037b
Merge pull request #1611 from MetaMask/checkTxsOnSync
...
add a check for weather a tx is included in a block when jumping blocks
2017-06-15 14:12:14 -07:00
kumavis
27b874f2c4
transactions controller - add comments
2017-06-15 14:08:07 -07:00
frankiebee
2e5deef2b0
check nonce and balance when resubmiting tx
2017-06-15 13:48:48 -07:00
frankiebee
07539a63e4
remove unnecessary log
2017-06-14 21:52:49 -07:00
frankiebee
a10740af7e
add a check for weather a tx is included in a block when jumping blocks
2017-06-14 20:17:59 -07:00
frankiebee
6ae97290f0
check for the tx in the block that provider engine gives us
2017-06-14 17:43:04 -07:00
Dan Finlay
0fd32e67d4
Do not mark slowly mined txs as failed.
...
Fixes #1567
Also seems to fix #1556
Also improves resubmit performance by only resubmitting on `latest`.
2017-06-14 12:01:45 -07:00
Dan Finlay
dd7e11d196
Merge pull request #1598 from MetaMask/txRetry
...
put tx resubmission on the block event
2017-06-13 10:45:21 -07:00
frankiebee
ec3383c162
rename continuallyResubmitPendingTxs to resubmitPendingTxs
2017-06-13 09:50:01 -07:00
Thomas Huang
ae7c296669
Fix networkState in chain id
2017-06-12 17:44:11 -07:00
frankiebee
96fa29ffbc
put tx resubmission on the block event
2017-06-12 16:11:37 -07:00
kumavis
3b3c96ef34
Merge pull request #1208 from MetaMask/i#1203MainNetSwitch
...
Change default to mainnet
2017-06-12 14:22:07 -07:00
kumavis
c0a023ffdb
default testnet - fix typo
2017-06-12 13:46:56 -07:00
kumavis
27220b7bcd
Merge branch 'master' into i#1203MainNetSwitch
2017-06-12 13:27:04 -07:00
Thomas Huang
13e6672028
Linting
2017-06-12 11:08:32 -07:00
Dan Finlay
ba254d9041
Merge branch 'master' into currency-fix
2017-06-12 10:32:54 -07:00
Kevin Serrano
203a573f3f
Use new URL for currency API from cryptonator.
2017-06-05 16:23:56 -07:00
Kevin Serrano
2b7d842498
Update gasblocklimit params with every block.
2017-06-02 15:18:14 -07:00
Kevin Serrano
82cbfaa826
Convert gasLimit to not use muln in BN
2017-06-01 12:53:16 -07:00
Thomas Huang
8f9a230d8d
Merge pull request #1500 from MetaMask/RemoveStreamingSubprovider
...
Remove streaming subprovider
2017-05-25 15:04:50 -07:00
Dan Finlay
ad40e4d260
Remove stream subprovider
...
Since the polling leak seems to be coming from elsewhere, and new bugs came from this, I'm rolling back this change so that we can push the other improvements sooner and fix the bug at its true root.
2017-05-25 12:37:04 -07:00
frankiebee
717dceede8
fix spelling
2017-05-24 23:36:10 -04:00
frankiebee
3b06a29e1b
Merge branch 'master' into reloadDapp
2017-05-24 23:10:58 -04:00
frankiebee
473b88f399
Reload the page when switching networks for sites that use web3
2017-05-24 23:00:58 -04:00
Dan Finlay
764806d211
Merge pull request #1494 from MetaMask/1472-gasceiling
...
Add Max GasLimit Ceiling
2017-05-24 16:36:00 -07:00
Kevin Serrano
26fd016b63
Add new blockGasLimit property to txMeta object.
2017-05-24 16:17:03 -07:00
kumavis
e6b278569e
inpage-provider - disable polling after first block
2017-05-24 11:34:26 -07:00
frankiebee
db982cf795
stop polling when switching networks
2017-05-24 11:52:18 -04:00
Frankie
97ea7454b3
Merge branch 'master' into networkController
2017-05-23 20:36:11 -04:00
frankiebee
c5d74e6421
include ethQuery in txController
2017-05-23 20:06:19 -04:00
frankiebee
243eeff7cb
Fix for tests
2017-05-23 19:49:57 -04:00
Dan Finlay
e4d09aebf4
Cleanup
2017-05-23 14:49:10 -07:00
Dan Finlay
cd2ad1733d
Continually resubmit pending txs
2017-05-23 12:22:15 -07:00
frankiebee
529304c005
Wrap the provider in a proxy
2017-05-23 01:56:10 -04:00
frankiebee
e08c1541e5
Add a migration for the network controller
2017-05-23 01:55:20 -04:00
frankiebee
13a41f3129
Merge branch 'master' into networkController
2017-05-22 19:48:10 -04:00
kumavis
b217ad1ae8
clean - remove console logs
2017-05-22 16:06:22 -07:00
kumavis
1c1400b584
deps - use stream-subprovider from provider-engine
2017-05-22 15:59:07 -07:00
Dan Finlay
cbfaa6f56f
Rename stream to streamSubprovider
2017-05-22 15:41:13 -07:00
Dan Finlay
48d9a21071
Use filter subprovider in-page to avoid filter leaks
2017-05-22 15:23:29 -07:00
Dan Finlay
709c0eb307
Use stream-provider v3 api
2017-05-22 15:21:25 -07:00
Dan Finlay
c5432da567
Add new streaming subprovider but getting a loop
...
Regarding #1458
Uses a new streaming subprovider architecture on an experimental branch of StreamProvider:
https://github.com/flyswatter/web3-stream-provider/tree/StreamSubprovider
2017-05-20 20:38:38 -07:00
frankiebee
f87ea49b5a
Create a network controller to manage switcing networks an updating the provider
2017-05-19 00:14:10 +02:00
Dan Finlay
68d6ea44a0
Fix path references
2017-05-16 11:39:00 -07:00
Dan Finlay
2df9344be5
Rename tx manager to tx controller
2017-05-16 10:35:28 -07:00
kumavis
28aba6e9de
migration 13 - change provider from testnet to ropsten
2017-05-15 23:56:13 -07:00
Thomas Huang
3367363b12
Remove all traces of testnet
2017-05-15 19:11:16 -07:00