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
Dan Finlay
d829fb91b8
Default to 1 gwei for empty blocks
7 years ago
Dan Finlay
0275231e13
Default gas estimate to 1 gwei for networks with no block activity
7 years ago
Dan Finlay
34826d18aa
Default to estimating 1 gwei for empty blocks.
...
To avoid estimating 0 gwei on low-traffic private networks.
7 years ago
Dan Finlay
aec24ec81e
Fix feature to work
7 years ago
Dan Finlay
447682d1fb
Linted
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
Kevin Serrano
20aa135ad8
Add fix for infinite spinner for incorrect seed phrase.
7 years ago
Dan Finlay
10ff77477c
Add Recent Blocks controller
...
Tracks recent blocks, useful for estimating recent successful gas
prices.
7 years ago
Dan Finlay
31564e0a86
Fix retry action
7 years ago
Dan Finlay
6ff580584a
Add retry background method and action
7 years ago
Dan Finlay
bd82b17310
Linted
7 years ago
Dan Finlay
049ec52a95
Add seed phrase bounty award notice
...
Only shows to people who installed before or equal to MetaMask 3.12.1
7 years ago
Dan Finlay
f0f6bb28e0
Get notice version filtering working nicely
7 years ago
kumavis
f64bc3c01a
deps - obs-store@3 + migrate stream plumbing
7 years ago
Dan Finlay
ec4b7de962
Add firstVersion field to notices selector
7 years ago
Dan Finlay
e89f82399f
Add optional version field to notices
...
Allows notices to only show to users who are on a certain version.
7 years ago
Dan Finlay
65cb970487
Prevent creation of multiple vaults
...
Fixes #2577 by ensuring only one seed phrase can be set for a new vault.
Also cleans up logs and reproduction logic.
7 years ago
Dan Finlay
c0aa7ce857
Add reproduction and mutex code
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
Dan Finlay
a10a600cce
Linted
7 years ago
Dan Finlay
3b4c679ffc
Fix bug where new account was not immediately selected
7 years ago
Dan Finlay
21bde66e16
Remove account-tracker from keyringController
7 years ago
Dan Finlay
d89394a7c9
Make account tracking much more reactive
7 years ago
kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
7 years ago
Dan Finlay
75177ce34c
Make account tracking more reactive
...
We were doing a lot of conditional observation & updating.
Pulled out a bunch of that for generic observer/syncers.
7 years ago
Dan Finlay
9cc1e8a6d8
Refresh computed balances controller when restoring vault
7 years ago
Dan Finlay
7032edf32b
Stop tracking old account balances after restore vault
...
Per @kgserrano note
7 years ago
Dan Finlay
50e8599988
Promisify metamask-controller vault creating methods
7 years ago
Dan Finlay
d7f384485d
Select first account when restoring seed
...
Fixes #2348
7 years ago
Dan Finlay
ab31eb6a17
Select first account on new vault creation
7 years ago
kumavis
4d273d3cea
lint fixes
7 years ago
kumavis
efa92a7fc5
network controller - refactor to use eth-rpc-client
7 years ago
kumavis
ff4e9a0d11
metamask controller - define this.newTransaction to ease instantiation order
7 years ago
kumavis
f7c1bc804d
metamask controller - simplify provider init
7 years ago
kumavis
e79037261e
metamask controller - breakout getAccounts method
7 years ago
Dan Finlay
9bc80d998e
Add signTypedData input validations
7 years ago
Adam Novak
8cc8fecdac
Don't pass origin as an HTTP header
...
Requests with this nonstandard header are being blocked by CORS when
made against Parity.
Not sending it ought to fix #1779 .
7 years ago
kumavis
d6ea2fa425
network - convert localhost from custom rpc to network type
7 years ago
kumavis
b88d11f86e
network controller - small refactor
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
Dan Finlay
861bd877f3
Ensure selected account is always set if possible
...
Fixes #2218
Subscribes to keyringController, and if only one account exists, sets it as selected.
7 years ago
Sergey Ukustov
c2b8dada91
Add eth_signTypedData handler
7 years ago
frankiebee
b24e16d346
re-enabled x-metamask-origin for mascara
7 years ago
kumavis
7e9c6e96a1
metamask - improve comment
7 years ago
frankiebee
9fd5458112
transactions: lint fixes and reveal status-update event for balance controller
7 years ago
Dan Finlay
651098c70d
Remove duplicate instantiation of account-tracker
7 years ago
Dan Finlay
2eca5455c0
Move obs store into account-tracker instead of inheriting
7 years ago
Dan Finlay
9e3648c668
Pass blocktracker to balances controller
7 years ago