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
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
Dan Finlay
443b1a8eb7
Remove keyring controller from project
7 years ago
kumavis
dd45592641
metamask - use provider-engines block tracker
7 years ago
Dan Finlay
128cf40f91
Fix accont-tracker merge bug
7 years ago
Dan Finlay
d2a747e57e
Fix computed-balances controller reference
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
Dan Finlay
4c971ebfd1
Define encryptor in constructor params instead of platform object
7 years ago
Dan Finlay
e9043f22df
Allow custom encryptor to be passed to MetaMaskController and KeyringControllers.
7 years ago
frankiebee
14b9d16ece
platforms: put context for extension in platform extension class
7 years ago
frankiebee
bfd75107f1
add context to platform to not have X-Metamask-Origin in mascara
7 years ago
kumavis
765ef64061
metamask controller - destroy filter polyfill on disconnect
7 years ago
kumavis
245c0f0c27
metamask controller - move middleware into seperate files
7 years ago
Dan Finlay
a01921758b
Add computed balance to account detail view
7 years ago
Dan Finlay
86cd4e4fed
Got pending balance updating correctly
7 years ago
kumavis
96d1175834
debug - prefer logger over console
7 years ago
kumavis
a265144176
metamask cont - standardize multiplex stream naming
7 years ago
Dan Finlay
53a467cd1e
Some progress
7 years ago
frankiebee
3ad67d1b14
match other controller patterns
7 years ago
kumavis
9d4c02e57f
metamask - add jsonrpc filter middleware on per-connection engine
7 years ago
kumavis
57e4805c62
streams - use pump and published obj-multiplex
7 years ago
Kevin Serrano
056276af02
integrate infura currency
7 years ago
kumavis
cc56d0d2f6
inpage - use json-rpc-engine for inpage-provider
7 years ago
frankiebee
7ea83b6bae
Create TxStateManager
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
frankiebee
b80c7e417b
move newUnapprovedTransaction to transactions.js
7 years ago
kumavis
8c6f01b910
blacklist controller - breakout from metamask and infura controllers
7 years ago
kumavis
ecaa235b5e
phishing detection - move phishing detection into contentscript and metamask controller
7 years ago
frankiebee
25bc15ba17
lint fixes
7 years ago
frankiebee
ece9200c72
fix spelling mistake
7 years ago
frankiebee
432f516ab0
make addUnapprovedTransaction async function and use promise based ethQuery
7 years ago
frankiebee
948f3880a3
turn off auto faucet and remove file
7 years ago
frankiebee
da35f6744e
use new nodeify
7 years ago
kumavis
9f46984fee
metamask - on rpc err show whole error body
7 years ago
kumavis
68fc3603df
metamask - append dapp origin domain to rpc request
8 years ago
Kevin Serrano
b7f8657ab5
Add infura network status to our UI state.
8 years ago
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
8 years ago
Dan Finlay
48789f2a3d
Add ability to add tokens to token list
...
Fiex #1616
8 years ago
frankiebee
2e5deef2b0
check nonce and balance when resubmiting tx
8 years ago
kumavis
b3492d9c17
transaction controller - use nonce-tracker
8 years ago
Dan Finlay
b7b9e0c1ac
Persist selected account tab
...
Also improve error handling with token balances.
8 years ago