Commit Graph

4181 Commits

Author SHA1 Message Date
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.
2015-03-19 15:16:06 +01:00
a7bced779a p2p: log disconnect requests
This helps a lot with debugging.
2015-03-19 15:15:07 +01:00
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.
2015-03-19 15:11:02 +01:00
4811f460e7 p2p: export ExpectMsg (for eth protocol testing) 2015-03-19 15:08:04 +01:00
e13c673980 Merge remote-tracking branch 'ethereum/conversion' into conversion 2015-03-19 12:17:43 +01:00
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.
2015-03-19 12:15:43 +01:00
5f35e6778f Merge branch 'rpcfrontier' into conversion 2015-03-18 18:42:30 +01:00
af9da83ce2 Merge branch 'develop' into rpcfrontier 2015-03-18 18:42:21 +01:00
f0bb136099 Merge branch 'develop' into conversion 2015-03-18 18:42:01 +01:00
c12046d6bf Merge branch 'ethersphere-frontier/cli-private-network' into develop 2015-03-18 18:39:56 +01:00
79f90bf7c1 added frontier to version 2015-03-18 18:39:24 +01:00
bc5ae94384 Merge branch 'frontier/cli-private-network' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/cli-private-network 2015-03-18 18:37:20 +01:00
f9a6038f5b merge 2015-03-18 18:23:37 +01:00
baca0c2251 Merge pull request #523 from fjl/docker-fast
Dockerfile: use fast™ build steps
2015-03-18 12:09:20 -04:00
3e52c9439a Merge pull request #522 from fjl/makedag
cmd/ethereum: add makedag command for testing
2015-03-18 16:40:50 +01:00
4d0ae8b0cb Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into conversion 2015-03-18 14:16:07 +01:00
48dd601de0 prep template for fixed size hashes 2015-03-18 14:15:58 +01:00
064279c0ec cmd/ethereum, cmd/utils: partial fix for chain import 2015-03-18 14:04:44 +01:00
e30c323391 merge develop 2015-03-18 08:46:55 -04:00
d15f90645d Merge remote-tracking branch 'ethereum/conversion' into conversion 2015-03-18 13:39:01 +01:00
a59dd393e7 core: fix tests 2015-03-18 13:38:47 +01:00
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.
2015-03-18 13:36:48 +01:00
c298148a7f core/types: use package rlp instead of common.Decode 2015-03-18 13:24:34 +01:00
b94a6a0193 rlp: add DecodeBytes
Über-convenience.
2015-03-18 13:17:39 +01:00
0a1eeca41e conversions. -compilable- 2015-03-18 13:00:01 +01:00
942980609f conversions 2015-03-18 11:44:25 +01:00
cd52ef315c Added Hex methods 2015-03-18 11:44:17 +01:00
ca8d184173 fix eth tests 2015-03-18 16:31:49 +07:00
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
2015-03-18 14:44:58 +07:00
67c9d9c2fa Remove JsonWrapper 2015-03-17 20:14:19 -04:00
cb009a5c4d rlp: don't panic for nil *big.Int
All other pointer types can handle nil just fine.
2015-03-17 23:49:49 +01:00
c6f84325b1 Support JSON RPC batch requests 2015-03-17 17:46:22 -04:00
8fd243ee23 Add JSON RPC batch support
http://www.jsonrpc.org/specification#batch
2015-03-17 17:38:05 -04:00
7dbbe1bedc eth/backend: remove spurious and incorrent PeerInfo() 2015-03-18 04:01:47 +07:00
1872418316 eth: remove disused peer_util.go 2015-03-18 03:59:21 +07:00
142e81258c Merge branch 'develop' into conversion 2015-03-17 21:40:05 +01:00
3ea99f989f Merge pull request #498 from maran/feature/drytoHex
DRY up the use of toHex in the project and move it to common
2015-03-17 21:31:42 +01:00
048d4ec5be Merge branch 'rpcfrontier' into develop 2015-03-17 21:30:29 +01:00
917050dc30 Merge branch 'develop' into rpcfrontier 2015-03-17 21:27:34 +01:00
53104b09fa bump 2015-03-17 21:23:05 +01:00
786a58d8b0 Merge pull request #485 from ethersphere/frontier/nodeadmin.js
Frontier console node admin interface
2015-03-17 21:15:23 +01:00
86661de077 Fixed tests and bloom 2015-03-17 18:00:03 +01:00
c21293cd91 bloom 2015-03-17 16:05:17 +01:00
1513413412 Dockerfile: use fast™ build steps 2015-03-17 14:49:37 +01:00
b422835a59 cmd/ethereum: add makedag command for testing 2015-03-17 14:12:34 +01:00
fe819f3b9f Comment out whisper remove identity stubs 2015-03-17 09:11:01 -04:00
0fa7859b94 Fixed VM & Tests w/ conversion 2015-03-17 13:24:25 +01:00
ff55c6f5ba Merge branch 'develop' into conversion
Conflicts:
	common/types.go
2015-03-17 13:09:22 +01:00
b0ebccb31e fixed to 2015-03-17 12:56:29 +01:00
17c5ba2b6b core: actually convert transaction pool 2015-03-17 12:16:21 +01:00