Lazaridis
58a554b168
use the providers initial _blocktracker. fixes #2393
7 years ago
frankiebee
c3adbda5f5
remove RecentBlocks from disk
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
frankiebee
f13ad6bd6a
remove BlacklistController from disk state
7 years ago
Kevin Serrano
19a379edba
Bump limit for event emitter warning.
7 years ago
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