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.
10 years ago
Felix Lange
c388e7eac0
crypto: remove use of common.Value.Encode
...
This seems to be the last remaining use of it.
10 years ago
Felix Lange
ce063e8d9c
Merge remote-tracking branch 'ethereum/conversion' into conversion
10 years ago
Felix Lange
e80dda6051
eth, whisper: adapt for RLP encoder switch in package p2p
...
I have rewritten the protocol test to use p2p.MsgPipe because
p2p.NewMsg is gone.
10 years ago
Felix Lange
b9e0b11e7d
p2p: interrupt MsgPipe payload read/write
...
This is better because protocols might not actually read the payload for
some errors (msg too big, etc.) which can be a pain to test with the old
behaviour.
10 years ago
Felix Lange
a7bced779a
p2p: log disconnect requests
...
This helps a lot with debugging.
10 years ago
Felix Lange
5ba51594c7
p2p: use package rlp to encode messages
...
Message encoding functions have been renamed to catch any uses.
The switch to the new encoder can cause subtle incompatibilities.
If there are any users outside of our tree, they will at least be
alerted that there was a change.
NewMsg no longer exists. The replacements for EncodeMsg are called
Send and SendItems.
10 years ago
Felix Lange
4811f460e7
p2p: export ExpectMsg (for eth protocol testing)
10 years ago
obscuren
797bbce15e
Merge branch 'develop' into conversion
10 years ago
obscuren
a756dbeb7b
Removed uint casts
10 years ago
obscuren
ad7e491214
improved test output
10 years ago
obscuren
d4e5747d04
Merge branch 'develop' into conversion
10 years ago
obscuren
cf45b939a0
fixed tests
10 years ago
Felix Lange
e13c673980
Merge remote-tracking branch 'ethereum/conversion' into conversion
10 years ago
Felix Lange
965c9babe3
rlp: fix encoding of one element strings and byte slices
...
The encoder was missing a special case for one element strings whose
element is below 0x7f. Such strings must be encoded as a single byte
without a string header.
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
e67d32b467
Merge commit '85fa3790ac9f67232f0e31e7f861c66ef0e0047e' into develop
10 years ago
obscuren
85fa3790ac
Squashed 'tests/files/' changes from 641ebaa..e558aa4
...
e558aa4 clean up
47096f8 remove corrupted files
47e73ea even more failures
18506ee add tests
a9729da merge
bc09d2e merge
3c89576 new tests
650ac93 Merge remote-tracking branch 'origin/develop' into develop
ee7ea6a update blockChainTests
46484ae fuzz tests
eb8f8fb fuzz testing
1c74972 fuzz testing results
8f06b8f Block Tests +make RLP header larger than rlp +all block fields +1)Prefixed000 +2)Larger size +3)Less Size +4)rlp element list when shouldnt +5)given as array +random byte at the end +transaction fields +random byte in RLP
fdf6c3e BlokTests Invalid Block Header RLPs (0000prefix, tooLarge, tooShort)
c81751d update gasLimit
git-subtree-dir: tests/files
git-subtree-split: e558aa49d425eb43b8ee2f71f52b6312ab092520
10 years ago
obscuren
5f35e6778f
Merge branch 'rpcfrontier' into conversion
10 years ago
obscuren
af9da83ce2
Merge branch 'develop' into rpcfrontier
10 years ago
obscuren
f0bb136099
Merge branch 'develop' into conversion
10 years ago
obscuren
c12046d6bf
Merge branch 'ethersphere-frontier/cli-private-network' into develop
10 years ago
obscuren
79f90bf7c1
added frontier to version
10 years ago
obscuren
bc5ae94384
Merge branch 'frontier/cli-private-network' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/cli-private-network
10 years ago
obscuren
f9a6038f5b
merge
10 years ago
Taylor Gerring
baca0c2251
Merge pull request #523 from fjl/docker-fast
...
Dockerfile: use fast™ build steps
10 years ago
Felix Lange
3e52c9439a
Merge pull request #522 from fjl/makedag
...
cmd/ethereum: add makedag command for testing
10 years ago
obscuren
4d0ae8b0cb
Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into conversion
10 years ago
obscuren
48dd601de0
prep template for fixed size hashes
10 years ago
Felix Lange
064279c0ec
cmd/ethereum, cmd/utils: partial fix for chain import
10 years ago
Taylor Gerring
e30c323391
merge develop
10 years ago
Felix Lange
d15f90645d
Merge remote-tracking branch 'ethereum/conversion' into conversion
10 years ago
Felix Lange
a59dd393e7
core: fix tests
10 years ago
Felix Lange
b5b83db450
core: use package rlp to encode blocks
...
This also changes the chain export format so there is no
enclosing list around the blocks, which enables streaming export.
10 years ago
Felix Lange
c298148a7f
core/types: use package rlp instead of common.Decode
10 years ago
Felix Lange
b94a6a0193
rlp: add DecodeBytes
...
Über-convenience.
10 years ago
obscuren
0a1eeca41e
conversions. -compilable-
10 years ago
obscuren
942980609f
conversions
10 years ago
obscuren
cd52ef315c
Added Hex methods
10 years ago
zelig
ca8d184173
fix eth tests
10 years ago
zelig
b6aa88c099
private network support
...
- protocolversion, networkid global int flags to cli and mist
- fix bug with protocolversion check using wrong db
- log protocolversion & networkid in backend
10 years ago
Taylor Gerring
67c9d9c2fa
Remove JsonWrapper
10 years ago
Felix Lange
cb009a5c4d
rlp: don't panic for nil *big.Int
...
All other pointer types can handle nil just fine.
10 years ago
Taylor Gerring
c6f84325b1
Support JSON RPC batch requests
10 years ago
Taylor Gerring
8fd243ee23
Add JSON RPC batch support
...
http://www.jsonrpc.org/specification#batch
10 years ago
zelig
7dbbe1bedc
eth/backend: remove spurious and incorrent PeerInfo()
10 years ago
zelig
1872418316
eth: remove disused peer_util.go
10 years ago
obscuren
142e81258c
Merge branch 'develop' into conversion
10 years ago
Jeffrey Wilcke
3ea99f989f
Merge pull request #498 from maran/feature/drytoHex
...
DRY up the use of toHex in the project and move it to common
10 years ago
obscuren
048d4ec5be
Merge branch 'rpcfrontier' into develop
10 years ago