f72cb28b0f
adapt unit tests to spec
...
- AddBlockHashes ignores the first hash (just used to match getBlockHashes query) sends the rest as blocksMsg
- new test TestPeerWithKnownParentBlock
- new test TestChainConnectingWithParentHash
- adapt all other tests to the new scheme
2015-01-09 05:57:09 +00:00
43ed0ed1ae
no need to call AddBlockHashes when receiving new block
2015-01-09 05:06:04 +00:00
69dfca2feb
minor changes in integration tests
2015-01-09 05:04:32 +00:00
3bdf28c1fe
GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT of hash
2015-01-09 05:03:26 +00:00
db4aaedcbd
Moved ptrie => trie. Removed old trie
2015-01-08 11:47:04 +01:00
982c812e81
Read directly from stdin
2015-01-07 13:38:28 +01:00
c1908c7d91
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-01-07 13:22:29 +01:00
59c5a2f519
Merge pull request #244 from fjl/license-tool
...
Generated License Headers
2015-01-07 13:22:22 +01:00
1d05027ba2
a few fixes for the license tool
2015-01-07 13:17:50 +01:00
fed3e6a808
Refactored ethutil.Config.Db out
2015-01-07 13:17:48 +01:00
ec7cb9981c
add license tool and initial mailmap
2015-01-07 12:56:46 +01:00
032ab66529
Added version flag
2015-01-07 01:21:55 +01:00
60d9611c23
Fixed tests where txs weren't properly removed
2015-01-07 01:21:45 +01:00
f0ec751237
Updated tests
2015-01-06 20:22:31 +01:00
25e6c4eff8
Adjusted difficulty and skip get tx messages
2015-01-06 14:02:47 +01:00
a76b7dadae
Don't auto push jeff ...
2015-01-06 13:39:01 +01:00
1b903767e0
Fixed port num
2015-01-06 13:31:52 +01:00
4e7f53adf0
Changed to poc-8 & removed GetTxs
2015-01-06 13:31:08 +01:00
564f02aa2b
Fixed tests
2015-01-06 13:18:09 +01:00
3b8725e0f5
Merge pull request #239 from fjl/grab-bag
...
Grab bag of fixes
2015-01-06 13:13:16 +01:00
3caa4ad1ba
p2p: improve test for peers message
...
The test now checks that the number of of addresses is correct
and terminates cleanly.
2015-01-06 12:23:38 +01:00
b0ff946b55
p2p: move peerList back into baseProtocol
...
It had been moved to Peer, probably for debugging.
2015-01-06 12:23:38 +01:00
eb0e7b1b81
eth, p2p: remove EncodeMsg from p2p.MsgWriter
...
...and make it a top-level function instead.
The original idea behind having EncodeMsg in the interface was that
implementations might be able to encode RLP data to their underlying
writer directly instead of buffering the encoded data. The encoder
will buffer anyway, so that doesn't matter anymore.
Given the recent problems with EncodeMsg (copy-pasted implementation
bug) I'd rather implement once, correctly.
2015-01-06 12:23:38 +01:00
36e1e5f151
cmd/peerserver: add some command line switches
2015-01-06 12:23:37 +01:00
4c8c115a76
cmd/peerserver: use NoDial, don't use seed peers
2015-01-06 12:23:37 +01:00
545e14691b
cmd/peerserver: fix for new client identity type
2015-01-06 12:23:37 +01:00
be97785856
cmd/evm: add dummy implementation for GetHash
...
Fixes the build. AFAIK evm does not bother keeping a chain and
cannot provide a real implementation.
2015-01-06 12:23:37 +01:00
fde0ddb324
cmd/rlpdump: remove stray return
2015-01-06 12:23:36 +01:00
117f66e823
Added license headers
2015-01-06 12:13:57 +01:00
a26aecdfdb
Updated WS API. Fixes #219 . Closes #220
2015-01-06 11:44:22 +01:00
47e6b2cef8
Allow extra to be set for mined blocks
2015-01-06 00:19:07 +01:00
cc7f8f58e8
Limit block extra to 1024
2015-01-06 00:17:05 +01:00
c9985bf563
Fixed peer window. Minor tweaks and fixes
2015-01-05 19:53:53 +01:00
22c0c5465a
Merge pull request #235 from fjl/rlpdump
...
fixes for rlpdump
2015-01-05 17:48:04 +01:00
2cfbf76db8
Merge pull request #233 from fjl/rlpdump
...
cmd/rlpdump: new helper command
2015-01-05 17:42:52 +01:00
ec4dee0fcd
cmd/rlpdump: remove extra buffer
2015-01-05 17:42:20 +01:00
952287db29
Updated tests
2015-01-05 17:40:23 +01:00
b99b2c446c
Precompiled contract & Depth change
...
* Added pre-compiled contract 0x04 (mem cpy)
* Changed depth error to return the gas instead of consuming
2015-01-05 17:39:42 +01:00
04c0f7e15c
cmd/rlpdump: add license header and synopsis
2015-01-05 17:38:39 +01:00
d001479a47
unclean shutdown for now
2015-01-05 17:15:25 +01:00
f16810c48e
added shh back in
2015-01-05 17:12:52 +01:00
66b05433b6
Merge branch 'ethersphere-eth.blockpool' into poc8
2015-01-05 17:12:19 +01:00
6abf8ef78f
Merge
2015-01-05 17:10:42 +01:00
b907a5d765
cmd/rlpdump: new helper command
2015-01-05 13:45:38 +01:00
b0854fbff5
BlockManager => BlockProcessor
2015-01-05 11:22:02 +01:00
c1dee15144
BlockManager => BlockProcessor
2015-01-05 00:18:44 +01:00
987119cd4a
Merge branch 'poc8' into docbranch
2015-01-04 14:39:15 +01:00
08b03afa4b
Version bump
2015-01-04 14:34:04 +01:00
09841b1c9b
Cleaned up some of that util
2015-01-04 14:20:16 +01:00
bd0c267cbe
Cleanup old code
2015-01-03 17:29:08 +01:00