Dan Finlay
ced36eb201
Improve Keyring organization
...
Separated public & private methods. (Fixes #845 )
Made class method `type()` into a simple property. (Fixes #846 )
8 years ago
Kevin Serrano
1cbab788ec
Change fauceting to become a response of an emit.
8 years ago
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount.
8 years ago
Kevin Serrano
9123e70434
Remove entropy from encryption and project.
8 years ago
Dan Finlay
e8a8302624
Begin adding Ropsten support
...
Ropsten links will still not work until Etherscan publishes their ropsten link format.
At that time we will need to update ui/lib/account-link.js
Otherwise, fixes #831
8 years ago
Kevin Serrano
d6286cd13a
Maintain linting.
8 years ago
Kevin Serrano
bc6312e9e3
Promisify persistence of keyrings before returning key
...
Change single letter variables (shame)
8 years ago
Dan Finlay
ce1c5eb75a
Update migration code for new hd wallet param name
8 years ago
Kevin Serrano
cd2442e3e7
Persist keyrings from migration to storage.
8 years ago
kumavis
39e0a33bba
random-id - use Number.MAX_SAFE_INTEGER as max
8 years ago
Dan Finlay
8eb91e89bf
Increment tx ids to avoid collisions
...
Fixes #791
It was possible for two requests to have the same ID, causing a crash and loss of StreamProvider connection.
This new id generation strategy creates a random ID, and increments it for each request.
In case the id generator is included from two different processes, I'm initializing the counter at a random number, and rolling it over a large number when it gets too big.
8 years ago
Dan Finlay
f229d32442
Replace old random-id code with incrementing id generator
8 years ago
Kevin Serrano
592b64a19f
Revert one cb to previous state.
8 years ago
Kevin Serrano
5bfb700fa8
Minimize dispatches by using emitters and relying on state updates.
8 years ago
Kevin Serrano
e18109f1ea
Fix semantics in comments
8 years ago
Kevin Serrano
585284cb88
Lints.
8 years ago
Kevin Serrano
a4666de0ce
Minimize repeated code.
8 years ago
Kevin Serrano
b1fee2a1d3
Minimize repeated code.
8 years ago
Kevin Serrano
7de6b12aad
Re-enable disclaimer screen. Rename variables to reflect role more clearly.
8 years ago
Kevin Serrano
d891869eff
First attempt at fixing errors in confirmation screen.
8 years ago
Kevin Serrano
26a548a7a3
First attempt at fixing errors in confirmation screen.
8 years ago
Kevin Serrano
4826f7c0a0
Revert to previous anonymous function for promise.
8 years ago
Kevin Serrano
20cea5b2f5
Various keyring changes
...
- Rearrange the require statements.
- Remove unused web3.
- Simplify some callbacks and promises.
- Clarify certain parameters.
8 years ago
Kevin Serrano
bfeaae69f2
Clarify functions names. Package normalize inside util file. Fix require headers.
8 years ago
Kevin Serrano
7012747fb5
Package normalize inside sig util file.
8 years ago
Kevin Serrano
23263bec7d
Linting to the max.
8 years ago
kumavis
536cab0687
detect tx error - show warning and fix gasLimit
8 years ago
Frankie
17aac2dbc5
fix tx data so it has the network id
8 years ago
Kevin Serrano
e2b2083df0
remove gas field, due to alias redundancy.
8 years ago
Kevin Serrano
b6b4be61d9
Fix bug for increasing gas by 20 percent.
8 years ago
Dan Finlay
7068d2e71c
Adjust gas buffer to be 20% over estimate
8 years ago
Dan Finlay
6f39924e60
Increase gas buffer
...
Fixes #795
8 years ago
Dan Finlay
553a6da011
Fix 787 gas buffer bug
8 years ago
Dan Finlay
1896928562
Fix gas price buffering
...
Our gas price buffering logic had a bug, because bn.js has inconsistent behavior when using hex-prefixed output. The issue has been opened with them here:
https://github.com/indutny/bn.js/issues/151
We've corrected our usage in the mean time.
8 years ago
Dan Finlay
fc26a0a899
Fix network checking
8 years ago
Dan Finlay
abebe51f69
Add tolerance to normalize method
8 years ago
Dan Finlay
ba7d6b437f
Fix password validation and persistence issue
...
Was wiping the vault on each successful password attempt... :P
8 years ago
Kevin Serrano
2afc06287d
Implement private key exporting.
8 years ago
Dan Finlay
e0246975a7
Finish fixing nicknaming bug
8 years ago
Dan Finlay
bd2a429a85
Fix account nicknaming bug
...
When nicknaming, we weren't normalizing the input, and so we were retrieving with differently formatted addresses than we were persisting.
8 years ago
Dan Finlay
9ca3c57339
Fix vault creation bug
8 years ago
Dan Finlay
4db976ae46
Don't faucet during tests
8 years ago
Dan Finlay
756f56cfee
Don't faucet in development
8 years ago
Dan Finlay
185396ff08
Fix dual vault creation bug
8 years ago
Dan Finlay
ed1917d71a
Fix initial vault creation
8 years ago
Dan Finlay
4cf1b606e4
Fix handling of migrating old vault style
...
Now old vaults are recognized as an "Initialized" MetaMask instance.
Upon logging in, when fetching the initial password-derived key, if there is no new-style vault, but there is an old style vault, it is migrated to the new format before proceeding through the usual unlocking steps.
8 years ago
Kevin Serrano
8f3db0dbc0
Add reveal of seed words.
8 years ago
Dan Finlay
b5f6ef8c01
Fixed bugs related to clearing caches when restoring to a new vault
8 years ago
Dan Finlay
498b30bddc
Fix seed phrase restore
8 years ago
Kevin Serrano
db356a181a
Made progress on parity for MultiVault
...
- Deleted some unused items
- Renamed files and paths to match with new locations.
- Modified keyring controller logic to separate concerns.
- Fix account naming issues.
- Enable creation of new vault with default HD keyring.
- Formatting issues.
8 years ago