7394ee7c72
Fixed difficulty
...
Difficulty was broken when refactored.
2015-01-18 15:45:54 +01:00
24613a60dc
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-01-16 14:51:47 +01:00
acc8f7fadc
Add defer rescued back in
2015-01-16 14:51:38 +01:00
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
52bb149541
Merge pull request #257 from fjl/rlp-encoder
...
rlp: add functions for encoding
2015-01-15 22:28:48 +01:00
9caf32befe
Update code comments
2015-01-15 19:58:38 +01:00
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
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
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
29c46cdf34
rlp: fix Decode benchmarks
2015-01-15 11:12:39 +01:00
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
d5d9746ca3
updated tests
2015-01-15 10:46:42 +01:00
62e0e18030
Changed public whisper api not to reveal temporary private keys
2015-01-14 18:12:18 +01:00
bb55307a9d
Updated tests
2015-01-13 20:31:31 +01:00
499bc404e8
Stub missing UnmarshalJSON methods
2015-01-13 09:37:30 -06:00
a81d835e4d
cleanup
2015-01-13 09:37:08 -06:00
961e4da7d8
Add support for CodeAt
2015-01-13 09:27:36 -06:00
b178414a47
Added license headers
2015-01-13 09:13:43 -06:00
8f733461b3
Default datadir for mist is now shared with CLI (.ethereum)
2015-01-13 14:58:12 +01:00
82beaabf6a
Fixed consensus issue
2015-01-13 14:57:51 +01:00
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
1e5353824a
updated tests
2015-01-13 10:32:02 +01:00
4704a0a288
remove pre compiled for tests
2015-01-13 10:30:52 +01:00
b2112729fa
cleanup
2015-01-12 23:44:56 -06:00
32bed50ba1
begin conversion to rpc over http
...
Per specification at
https://github.com/ethereum/wiki/wiki/Generic-JSON-RPC
2015-01-12 23:25:29 -06:00
5b561f434d
Merge pull request #254 from chfast/pr/jitvm_stub
...
JitVm struct stub. Forwards calls to DebugVm.
2015-01-13 00:29:41 +01:00
750d70c202
updated tests
2015-01-13 00:25:45 +01:00
34689cb3f3
Added manual triggering of filters
2015-01-12 20:36:45 +01:00
ba225017c4
JitVm struct stub. Forwards calls to DebugVm.
2015-01-12 19:40:14 +01:00
8a1b51c716
updated tests
2015-01-12 16:13:30 +01:00
75cd9cd2de
updated tests
2015-01-12 14:40:40 +01:00
00348756bc
updated tests
2015-01-12 13:49:47 +01:00
35fe4313d5
pre-pow
2015-01-12 10:19:27 +01:00
7e6b72cb5c
removed accidental qt dep
2015-01-10 18:09:57 +01:00
e3da85faed
Implemented filter for ws + fixes
...
* proper 0xhex
* filters fixed
* start of filter manager
* accounts for ws. Closes #246
2015-01-10 00:51:56 +01:00
491c23a728
Moved the TD method from block processor.
2015-01-09 22:42:36 +01:00
351516c57c
Cast to string for hashable type
2015-01-09 22:23:33 +01:00
8c7b764d47
updated tests
2015-01-09 21:18:34 +01:00
905b8cc82f
mem fixes for vm. Changed uncle inclusion tests
2015-01-09 17:38:35 +01:00
35f4bb96f3
Limit hashes. Closes #249
2015-01-09 16:44:09 +01:00
b136b387a7
Merge branch 'ethersphere-develop' into develop
2015-01-09 16:34:49 +01:00
6eb455032c
recover
2015-01-09 15:32:14 +01:00
5c8c0ae04e
Fixed size 0 bug
2015-01-09 15:30:46 +01:00
a35be3a12a
Merge branch 'develop' of https://github.com/ethersphere/go-ethereum into ethersphere-develop
2015-01-09 13:37:15 +01:00
f9b0d1a8e7
Updated to new ethereum.js api
2015-01-09 13:36:47 +01:00
c9f566269b
merged
2015-01-09 13:28:48 +01:00
bfa12d75f8
new switch
2015-01-09 13:26:49 +01:00
18d8bf4b9c
updated ethereum.js
2015-01-09 13:01:21 +01:00
aee82d3196
removed
2015-01-09 13:00:37 +01:00
012a1c2533
Updated ethereum.js
2015-01-09 12:45:09 +01:00