Commit Graph

3015 Commits

Author SHA1 Message Date
Gustav Simonsson
9caf32befe Update code comments 2015-01-15 19:58:38 +01:00
Gustav Simonsson
47d3b3dd58 Address pull request comments
* Remove flags field from key struct
* Change JSON struct fields from string to []byte
* Change GenerateNewKey API to take io.Reader for random source
* Remove mixing entropy source function
* Use testing Fatal in tests
2015-01-15 19:40:10 +01:00
Gustav Simonsson
a1c2749380 Address pull request comments
* Simplify scrypt constants with const block
* Add key store constructors and make their types private
* Simplify key store and file namings to be less Java Enterprise™
* Change test error logging to use t.Error(err)
* Reduce number of naked returns (just like my ex-gf)
* Simplify file reading path code
2015-01-15 19:40:10 +01:00
Gustav Simonsson
945798f913 Add new key_store interface and two new key stores
* Add new generic key_store interface
* Add new plaintext key store storing unprotected keys on disk
* Add new encrypted key store storing encrypted keys on disk
* Add new entropy mixing function using OS and go runtime sources
2015-01-15 19:40:10 +01:00
Marek Kotewicz
6d02c0d392 Merge commit '1a6dbeff6e86d65cae6d7db366cbaa4182eaff7f' into ethereumjs
Conflicts:
	libjsqrc/ethereumjs/dist/ethereum.js
	libjsqrc/ethereumjs/dist/ethereum.js.map
	libjsqrc/ethereumjs/dist/ethereum.min.js
	libjsqrc/ethereumjs/lib/abi.js
2015-01-15 17:27:07 +01:00
Marek Kotewicz
ec74fc05d4 gulp 2015-01-15 16:01:58 +01:00
Marek Kotewicz
46b932ccc0 negative integers support 2015-01-15 15:51:25 +01:00
Marek Kotewicz
f85f77f6cc fixed typos 2015-01-15 14:37:18 +01:00
Marek Kotewicz
6a4b4f3449 fixed readme 2015-01-15 14:30:34 +01:00
Marek Kotewicz
d0473d6d83 gulp 2015-01-15 11:40:04 +01:00
Marek Kotewicz
70bf1a5711 fixed typos 2015-01-15 11:39:02 +01:00
Marek Kotewicz
bacc5aa6d3 methodExists and propertyExists are now separated tests 2015-01-15 11:38:21 +01:00
Felix Lange
29c46cdf34 rlp: fix Decode benchmarks 2015-01-15 11:12:39 +01:00
Felix Lange
552f5b2693 rlp: add functions for encoding
I'm reasonably confident that the encoding matches the output of
ethutil.Encode for values that it supports. Some of the tests have been
adpated from the Ethereum testing repository.

There are still TODOs in the code.
2015-01-15 11:00:19 +01:00
obscuren
d5d9746ca3 updated tests 2015-01-15 10:46:42 +01:00
Lefteris Karapetsas
508f116738 Merge pull request #798 from LefterisJP/natspec_OnContractCreation
Natspec Popup Authentication on transaction
2015-01-15 01:37:52 +01:00
Marek Kotewicz
472ad43211 more comments 2015-01-14 20:36:26 +01:00
Marek Kotewicz
603c790213 next part of abi.js parsers tests and fixes 2015-01-14 20:29:20 +01:00
obscuren
62e0e18030 Changed public whisper api not to reveal temporary private keys 2015-01-14 18:12:18 +01:00
Marek Kotewicz
b0a9bbf33a next part of abi.js docs 2015-01-14 14:19:54 +01:00
Marek Kotewicz
6b2ec23132 formatting bool tests and fixes 2015-01-14 14:06:29 +01:00
Marek Kotewicz
ed1cb9edca simplifid abi.js methods 2015-01-14 13:53:40 +01:00
Marek Kotewicz
17f2f12ce6 gulp 2015-01-14 12:01:24 +01:00
Marek Kotewicz
12bdb5f550 providers documentation 2015-01-14 12:01:11 +01:00
Marek Kotewicz
8d1f96cc0a few comments 2015-01-14 10:50:34 +01:00
Lefteris Karapetsas
a4049fb85c Cleaned up some unused functions 2015-01-14 09:28:52 +01:00
obscuren
bb55307a9d Updated tests 2015-01-13 20:31:31 +01:00
Marek Kotewicz
422dc05bb0 ProviderManager separated to providermanager.js file 2015-01-13 18:40:01 +01:00
Marek Kotewicz
9a8f45ee30 Filter separated to filter.js file 2015-01-13 18:28:49 +01:00
Lefteris Karapetsas
dac93ed616 Natspechandler: Get function hash from transaction data 2015-01-13 17:54:09 +01:00
Marek Kotewicz
8b7d4b0c9e beginning of comments in web3 2015-01-13 17:05:05 +01:00
Taylor Gerring
499bc404e8 Stub missing UnmarshalJSON methods 2015-01-13 09:37:30 -06:00
Taylor Gerring
a81d835e4d cleanup 2015-01-13 09:37:08 -06:00
Taylor Gerring
961e4da7d8 Add support for CodeAt 2015-01-13 09:27:36 -06:00
Taylor Gerring
b178414a47 Added license headers 2015-01-13 09:13:43 -06:00
Lefteris Karapetsas
f54c90a0ba A first version of Natspec warning popup
- Runtime Contract code hash can now be retrieved from the Compiler

- Using the hash the Natspec handler stores and later retrieves Natspec
  JSON for a given contract.
2015-01-13 15:59:42 +01:00
Marek Kotewicz
ee167e53d1 test for parsing multiple methods description 2015-01-13 15:42:56 +01:00
obscuren
8f733461b3 Default datadir for mist is now shared with CLI (.ethereum) 2015-01-13 14:58:12 +01:00
obscuren
82beaabf6a Fixed consensus issue 2015-01-13 14:57:51 +01:00
Marek Kotewicz
4056c046a7 tests... 2015-01-13 13:47:31 +01:00
obscuren
e3cad04dec Fixed whisper messages
* Whisper protocol wasn't properly suppling envelope slices
* Message history wasn't properly propagated
* Added 'Messages' method, filtering any current envelope with the
  supplied filter.
2015-01-13 13:36:44 +01:00
Marek Kotewicz
1428dcee21 web3.contract -> web3.eth.contract 2015-01-13 13:03:40 +01:00
Marek Kotewicz
f3b71a73e3 removed unused line 2015-01-13 12:51:23 +01:00
Marek Kotewicz
380d9862c3 tests in progress, fixed utf characters conversion in toAscii 2015-01-13 12:49:10 +01:00
Gav Wood
b6c0e53d69 Auto-generated commits, too. 2015-01-13 11:06:43 +00:00
Gav Wood
e95bb34ea0 Fix for JS API formatting. 2015-01-13 11:04:31 +00:00
Marek Kotewicz
9e0de57a82 mocha test reporter 2015-01-13 11:29:19 +01:00
Marek Kotewicz
f6ff1f18b8 mocha reporter name starts with lower case letter 2015-01-13 11:21:58 +01:00
Marek Kotewicz
7595a5dfcb removed padding calculation from ethereum.js, padding is always 32 2015-01-13 11:15:44 +01:00
obscuren
1e5353824a updated tests 2015-01-13 10:32:02 +01:00