Felix Lange
069c87b960
whisper: use common.Hash
2015-03-21 00:57:18 +01:00
Felix Lange
7c4ff3abb4
eth: enable whisper again
2015-03-21 00:50:20 +01:00
Felix Lange
483d43a15a
whisper: use package rlp
2015-03-21 00:49:58 +01:00
Felix Lange
a829a56587
rlp: add Stream.Raw
2015-03-21 00:49:31 +01:00
Felix Lange
81800ca39e
Merge remote-tracking branch 'ethereum/conversion' into conversion
2015-03-20 22:47:27 +01:00
Felix Lange
b95ff54632
cmd/blocktest: delete package
...
Blocktests are now integrated in cmd/ethereum.
2015-03-20 22:46:41 +01:00
Felix Lange
b41185a68f
rlp: fix nil pointer decoding
...
The generic pointer decoder did not advance the input position
for empty values. This can lead to strange issues and even
infinite loops.
2015-03-20 22:33:40 +01:00
obscuren
abce6804a0
Right pad bytes to prevent future programmers making bugs
2015-03-20 20:37:56 +01:00
obscuren
f4e9638867
Merge branch 'ethersphere-frontier/blockpool' into conversion
2015-03-20 18:01:05 +01:00
obscuren
ecd10d2cf7
iterator returned wrong value
2015-03-20 18:00:54 +01:00
obscuren
1821d1af48
Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool
2015-03-20 17:42:25 +01:00
obscuren
54dac59285
wip
2015-03-20 17:42:09 +01:00
obscuren
a59bb053f4
merge
2015-03-20 16:02:01 +01:00
obscuren
deee9cb170
Added caching for block chain. Currently set to 10k
2015-03-20 15:54:42 +01:00
Taylor Gerring
28e1971272
Merge branch 'rpcxeth' into rpcfrontier
...
Conflicts:
rpc/api.go
2015-03-20 15:25:43 +01:00
Taylor Gerring
0cde7a4d46
Add xethAtStateNum convenience method
2015-03-20 14:56:55 +01:00
Taylor Gerring
efcc93e7da
Move Account register to xeth
2015-03-20 14:12:07 +01:00
Felix Lange
28ddc16a9b
Merge remote-tracking branch 'ethereum/conversion' into conversion
2015-03-20 14:01:35 +01:00
Felix Lange
c161d73d42
common: drop accessors for Value.Val
...
I don't see why we would need two different accessors for a public field.
2015-03-20 14:00:26 +01:00
Felix Lange
dcb9614dfe
common: drop unused kind field from Value
...
This makes Value 24 bytes smaller on 64bit systems.
2015-03-20 14:00:26 +01:00
Felix Lange
f7d1d601e9
common: make Value encodable with package rlp
...
Value.{Encode,Decode} are gone. It implements rlp.Encoder and rlp.Decoder
instead, so Value can be decoded into directly.
2015-03-20 14:00:26 +01:00
Felix Lange
c388e7eac0
crypto: remove use of common.Value.Encode
...
This seems to be the last remaining use of it.
2015-03-20 14:00:26 +01:00
zsfelfoldi
85acdadcfa
fixed jsre test
2015-03-20 13:48:23 +01:00
Taylor Gerring
739c36ad4d
inline GetStorageAt
2015-03-20 13:45:07 +01:00
Taylor Gerring
28e5fc8352
Make pretty
2015-03-20 13:37:56 +01:00
zsfelfoldi
8324b683b4
using robertkrimen/otto, godeps updated
2015-03-20 13:22:01 +01:00
Maran
7690285cbe
Fix link to build instructions in the readme
2015-03-20 13:19:26 +01:00
zelig
66b29899c4
use common.Hash as pool key, no string conversion needed
2015-03-20 11:57:47 +00:00
obscuren
4f5b362bda
%#x => %x
2015-03-20 12:52:03 +01:00
obscuren
91f9f355b2
test
2015-03-20 12:17:57 +01:00
obscuren
41c493ace9
Merge branch 'rpcfrontier' of github.com-obscure:ethereum/go-ethereum into rpcfrontier
2015-03-20 12:07:19 +01:00
obscuren
55fdf3e462
Listen to tx pre event and trigger 'pending'
2015-03-20 12:07:06 +01:00
zelig
d7564a9a25
fix common.Hash conversion
2015-03-20 10:41:41 +00:00
zelig
8987750a36
fix import in reorganised test
2015-03-20 10:41:41 +00:00
zelig
0578df9467
remove eth/wallet.go (only commented out content)
2015-03-20 10:41:41 +00:00
zelig
a578db5dae
improve documentation and move one test
2015-03-20 10:41:41 +00:00
zelig
8767179d74
reduce logging output
2015-03-20 10:41:41 +00:00
zelig
63cae9b9ac
uncomment status test, hack: skip the 2 unreliable fields
2015-03-20 10:41:41 +00:00
zelig
137a9c9365
check and penalise td misreporting
...
- add ErrIncorrectTD
- checkTD called after insertChain successful
- fix tests, use blockPoolTester.tds to map block index to TD
2015-03-20 10:41:41 +00:00
zelig
a9926a289d
fix missing hexification on IdleTooLong error log
2015-03-20 10:41:40 +00:00
zelig
391e89d70a
use own total difficulty to limit best peer
...
- update blockpool td by subscribing to ChainHeadEvent
- if ahead of best peer, demote it
- addPeer now take own td as current td
- removePeer now take own td as current td
- add relevant tests to peers_test
- eth: backend now calls blockpool with eth.eventMux and chainManager.Td
2015-03-20 10:41:40 +00:00
zelig
50661f0e68
peer suspension to disallow reconnect after disconnect on fatal error for set period (PeerSuspensionInterval)
2015-03-20 10:41:40 +00:00
obscuren
01ff0b3176
fixed ethash
2015-03-20 11:40:46 +01:00
obscuren
d8fe8f60e8
updated ethash
2015-03-20 11:19:12 +01:00
Taylor Gerring
b3329bc698
inline Transact
2015-03-20 07:15:34 +01:00
Taylor Gerring
aa3918efa7
Move transact gas check to XEth
2015-03-20 07:13:29 +01:00
Taylor Gerring
e038a42d7a
inline Call
2015-03-20 06:58:53 +01:00
Taylor Gerring
1d6451f5c3
inline GetBlockByNumber
2015-03-20 06:57:23 +01:00
Taylor Gerring
bde161382a
inline GetBlockByHash
2015-03-20 06:53:24 +01:00
Taylor Gerring
eb45211501
Merge branch 'rpcfrontier' of github.com:ethereum/go-ethereum into rpcfrontier
2015-03-20 06:45:44 +01:00