Commit Graph

3308 Commits

Author SHA1 Message Date
Marek Kotewicz
380c1522ac solidity methods "overloading" 2015-01-20 15:06:05 +01:00
obscuren
4dd7be7ed0 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2015-01-20 15:04:30 +01:00
Jeffrey Wilcke
12fad65991 Merge pull request #259 from Gustav-Simonsson/develop
KeyStore (Low level key functionality)
2015-01-20 15:04:21 +01:00
Marek Kotewicz
5c79ee4446 fixed natspec_contract.html example 2015-01-20 09:22:32 +01:00
Gustav Simonsson
d48140cab3 Address pull request comments
* Further simplify "constructor" function's allocation of structs
* Fix formatting
2015-01-19 22:12:22 +01:00
Gustav Simonsson
3cf038f300 Address pull request comments
* Allocate with composite literal instead of new
* Remove check of number of bytes read from rand
2015-01-19 20:24:30 +01:00
Marek Kotewicz
83505e61f3 Merge commit '2b4d38b9bf059014596e1ab00c99dc2ad4ab3761' into ethereumjs 2015-01-19 13:53:44 +01:00
Marek Kotewicz
6a58db66f7 parsing real, ureal values on output 2015-01-19 13:22:58 +01:00
Marek Kotewicz
af54832d24 encoding real on input 2015-01-19 12:59:29 +01:00
Marek Kotewicz
86b417e83f fixes for autoprovider 2015-01-19 11:36:41 +01:00
obscuren
f34838688e Minor browser improvements 2015-01-19 11:23:17 +01:00
obscuren
bcb1166e52 Added 0 key proof error
Private key \x00\x00...\x00 returns the _exact_ same public key as \x11
\x11...\x11. Currently investigating.
2015-01-19 11:22:56 +01:00
obscuren
8d1637f567 Moved connection errors to DebugDetail level 2015-01-19 11:21:46 +01:00
obscuren
b03614527b VmDebug => StdVm 2015-01-19 11:20:55 +01:00
obscuren
9b509f6478 Print error instead of returning for seed node err
Returning an error would indicate a complete failure initialising the
Ethereum backend. Instead we should print the message and continue.
2015-01-19 11:20:12 +01:00
obscuren
89c69a1d25 VmDebug => StdVm 2015-01-19 11:18:34 +01:00
Jeffrey Wilcke
06bfe19f05 Merge pull request #260 from fjl/rlp-encoder
rlp: allow encoding non-empty interface values
2015-01-19 10:59:35 +01:00
obscuren
7394ee7c72 Fixed difficulty
Difficulty was broken when refactored.
2015-01-18 15:45:54 +01:00
Marek Kotewicz
b2d23b91e7 Merge pull request #32 from kumavis/patch-1
WebsocketProvider - fixed incorrect variable name
2015-01-18 00:30:08 +01:00
Marek Kotewicz
2ce109eb53 Merge commit '6a383d6ed3fb37cf6739f6ac441652adfdb70463' into ethereumjs 2015-01-17 15:45:11 +01:00
Marek Kotewicz
823fb2995b tests for parsing output array 2015-01-17 13:50:07 +01:00
Marek Kotewicz
1e2c1ae98a output parser string support 2015-01-17 13:39:19 +01:00
Marek Kotewicz
b457e88cd0 support for int array types[] 2015-01-17 02:14:40 +01:00
aaron
e97478cc1e WebsocketProvider - fixed incorrect variable name 2015-01-16 16:03:13 -08:00
Marek Kotewicz
2d8383d3c8 removed unused functions 2015-01-16 23:55:32 +01:00
Marek Kotewicz
1c4d8f36e4 Merge commit '29333fc213b62b27ef826616cf77430947fb6eab' into ethereumjs 2015-01-16 16:49:50 +01:00
Marek Kotewicz
e94da808cb default padding set to 32, separated to one variable 2015-01-16 16:46:14 +01:00
Marek Kotewicz
a1c0bb68dd fixed checking first bit for parsing int output 2015-01-16 16:40:26 +01:00
Marek Kotewicz
774e9d24a1 abi.js rounds down floating point input 2015-01-16 16:26:58 +01:00
Marek Kotewicz
9a264a4284 updated bower.json && package.json version, added bignumber.js to bower dependencies 2015-01-16 16:04:41 +01:00
Marek Kotewicz
0172939490 fixed #28 and other small node.js issues 2015-01-16 15:49:36 +01:00
obscuren
24613a60dc Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2015-01-16 14:51:47 +01:00
obscuren
acc8f7fadc Add defer rescued back in 2015-01-16 14:51:38 +01:00
Marek Kotewicz
de4ea8e6f4 Merge commit 'd876522bc0614fea3180a54be57bcb61784b352e' into ethereumjs 2015-01-16 12:07:48 +01:00
Marek Kotewicz
2c36d5ff45 big integers on abi.js output, tests 2015-01-16 11:58:26 +01:00
Marek Kotewicz
f1295b506d tests for bigintegers on input 2015-01-16 11:28:46 +01:00
Marek Kotewicz
fbcc6d0d25 BigNumber support 2015-01-16 10:47:43 +01:00
Felix Lange
fc92abec2c rlp: allow encoding non-empty interface values
This needs to be supported because []someInterface does occur sometimes.

Funny enough, the fix involves changes to the decoder. makeDecoder
cannot return an error for non-empty interfaces anymore because the type
cache builds both decoder and writer. Do the check at 'runtime' instead.
2015-01-15 23:35:26 +01:00
Jeffrey Wilcke
52bb149541 Merge pull request #257 from fjl/rlp-encoder
rlp: add functions for encoding
2015-01-15 22:28:48 +01:00
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