Dan Finlay
6ebdebc0a5
Remove line of cruft
8 years ago
Dan Finlay
4b7b0a86d8
Refine isInitialized derivation method
8 years ago
Dan Finlay
de8da9ddf6
Simplify Encryptor API Surface
...
At least, the portion of it that we use.
Moved salting within the encryptor, so it does not need to be managed externally.
KeyringController now caches the password instead of a passwordDerivedKey, since it is ignorant of the salt.
Encryptor payload is now in a JSON format, so its portions are both base64 encoded *and* labeled appropriately. The format is `{ "data": "0x0", "iv": "0x0", "salt": "string" }`.
Fixes #843
Fixes #859
8 years ago
kumavis
bc39cd7b89
KeyringController - estimateGas->analyzeGasUsage fix gasLimit + detect OOG
8 years ago
Dan Finlay
c4056a861a
Move state update outside of conditional callback block
8 years ago
Dan Finlay
606c0b7618
Remove callback type check
8 years ago
Kevin Serrano
6dad4f1f20
Phase out ethereumjs-util from encryptor module.
8 years ago
Kevin Serrano
17669e4af8
Make ropsten faucet button point at the correct url.
8 years ago
Dan Finlay
136296aad6
Began moving salt into encryptor
8 years ago
Dan Finlay
ea56426b23
Use callback in placeSeedWord method.
...
When displaying seed words, we were not using a callback, which had some race condition potential. This is simply a little cleaner and more correct.
Fixes #842
8 years ago
Dan Finlay
9fb96128e6
Rename idStoreMigrator method for clarity
...
Fixes #841
8 years ago
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
Dan Finlay
a4eadddd6b
Version 2.13.8
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
4a0197012e
Version 2.13.7
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