aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol_test.go
Commit message (Collapse)AuthorAgeFilesLines
* use own total difficulty to limit best peerzelig2015-03-201-10/+3
| | | | | | | | | - 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
* eth, whisper: adapt for RLP encoder switch in package p2pFelix Lange2015-03-191-114/+75
| | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone.
* fix eth testszelig2015-03-181-3/+3
|
* private network supportzelig2015-03-181-3/+3
| | | | | | - protocolversion, networkid global int flags to cli and mist - fix bug with protocolversion check using wrong db - log protocolversion & networkid in backend
* Moved ethutil => commonobscuren2015-03-161-2/+2
|
* Fix logger import pathTaylor Gerring2015-03-081-1/+1
|
* Fixed testsobscuren2015-03-071-0/+1
|
* Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵obscuren2015-03-041-1/+0
|\ | | | | | | | | | | | | | | | | | | ethersphere-jsonlogs Conflicts: eth/block_pool.go eth/block_pool_test.go eth/protocol_test.go miner/worker.go
| * Fix logger import in testsTaylor Gerring2015-03-021-2/+2
| |
* | integrate blockpool into ethzelig2015-02-251-4/+14
|/ | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go
* cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p APIFelix Lange2015-02-061-19/+5
|
* fixed testobscuren2015-02-051-0/+2
|
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-061-4/+0
| | | | | | | | | | | | ...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.
* Mergeobscuren2015-01-061-131/+169
|
* eth protocol changeszelig2014-12-151-8/+38
| | | | | | | | | - changed backend interface - using callbacks for blockPool - use rlp stream for lazy decoding - use peer as logger - add id (peer pubkey) to ethProtocol fields - add testPeer to protocol test (temporary)
* initial commit for eth-p2p integrationzelig2014-12-151-0/+39
|
* eth protocol changeszelig2014-12-151-13/+43
| | | | | | | | | - changed backend interface - using callbacks for blockPool - use rlp stream for lazy decoding - use peer as logger - add id (peer pubkey) to ethProtocol fields - add testPeer to protocol test (temporary)
* initial commit for eth-p2p integrationzelig2014-12-151-0/+133