aboutsummaryrefslogtreecommitdiffstats
path: root/eth
Commit message (Collapse)AuthorAgeFilesLines
* Print error instead of returning for seed node errobscuren2015-01-191-1/+1
| | | | | Returning an error would indicate a complete failure initialising the Ethereum backend. Instead we should print the message and continue.
* Limit hashes. Closes #249obscuren2015-01-091-0/+7
|
* Merge remote-tracking branch 'upstream/develop' into developzelig2015-01-091-7/+3
|\
| * just enable by defaultobscuren2015-01-091-7/+3
| |
* | major blockpool changezelig2015-01-091-117/+350
| | | | | | | | | | | | | | | | | | | | | | | | - the spec says response to getBlockHashes(from, max) should return all hashes starting from PARENT of from. This required major changes and results in much hackier code. - Introduced a first round block request after peer introduces with current head, so that hashes can be linked to the head - peerInfo records currentBlockHash, currentBlock, parentHash and headSection - AddBlockHashes checks header section and creates the top node from the peerInfo of the best peer - AddBlock checks peerInfo and updates the block there rather than in a node - request further hashes once a section is created but then no more until the root block is found (so that we know when to stop asking) - in processSection, when root node is checked and receives a block, we need to check if the section has a parent known to blockchain or blockPool - when peers are switched, new peer launches a new requestHeadSection loop or activates its actual head section, i.e., the section for it currentBlockHash - all tests pass
* | add ErrInsufficientChainInfo errorzelig2015-01-091-0/+2
| |
* | adapt unit tests to speczelig2015-01-091-53/+139
| | | | | | | | | | | | | | - 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
* | no need to call AddBlockHashes when receiving new blockzelig2015-01-091-10/+0
| |
* | minor changes in integration testszelig2015-01-093-8/+8
|/
* Refactored ethutil.Config.Db outobscuren2015-01-071-4/+4
|
* Adjusted difficulty and skip get tx messagesobscuren2015-01-061-1/+1
|
* Don't auto push jeff ...obscuren2015-01-061-0/+1
|
* Fixed port numobscuren2015-01-061-1/+1
|
* Changed to poc-8 & removed GetTxsobscuren2015-01-062-2/+1
|
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-062-8/+4
| | | | | | | | | | | | ...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.
* unclean shutdown for nowobscuren2015-01-061-1/+1
|
* Mergeobscuren2015-01-0627-1019/+2015
|
* BlockManager => BlockProcessorobscuren2015-01-052-9/+89
|
* Cleaned up some of that utilobscuren2015-01-041-16/+74
|
* Fixed bug where logging could crash client during tx addingobscuren2015-01-031-2/+4
|
* Updated protocol versionobscuren2015-01-031-1/+1
|
* Removed the need of having a backend for the tx poolobscuren2015-01-021-1/+1
|
* Refactored block & Transactionobscuren2014-12-232-2/+2
| | | | * Includes new rlp decoder
* Merge fixesobscuren2014-12-181-2/+2
|
* Added whisper handlerobscuren2014-12-161-0/+4
|
* Removed goroutine from "Run"obscuren2014-12-161-8/+8
|
* made mist in a compilable, workable state using the new refactored packagesobscuren2014-12-152-0/+27
|
* Moved peer helper methedsobscuren2014-12-151-17/+0
|
* removed filter manager from baseobscuren2014-12-152-36/+22
|
* Added old filter. Needs some refactoringobscuren2014-12-151-57/+6
|
* WIPobscuren2014-12-151-3/+5
|
* added protocol handlerobscuren2014-12-151-1/+1
|
* added whisperobscuren2014-12-151-18/+19
|
* WIPobscuren2014-12-151-43/+10
|
* adapt blockpool/backend to use pow/ezp with pow.Block for VerifyPoW funczelig2014-12-152-12/+3
|
* blockmanager start/stop obsoletezelig2014-12-151-2/+0
|
* blockpool rewritten , tests broken FIXMEzelig2014-12-152-292/+8
|
* protocolzelig2014-12-151-7/+83
| | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
* initial commit for eth blockpool + testzelig2014-12-151-2/+3
|
* eth protocol changeszelig2014-12-152-11/+132
| | | | | | | | | - 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-152-1/+165
|
* blockpool rewritten , tests broken FIXMEzelig2014-12-151-363/+863
|
* add protocol error types specific to blockpoolzelig2014-12-151-0/+4
|
* protocolzelig2014-12-151-50/+52
| | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
* initial commit for new backend (eth.Ethereum)zelig2014-12-151-0/+357
|
* initial commit for eth blockpool + testzelig2014-12-152-0/+712
|
* eth protocol changeszelig2014-12-152-70/+122
| | | | | | | | | - 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)
* no logging in error (to be refactored into p2p)zelig2014-12-151-6/+0
|
* initial commit for eth-p2p integrationzelig2014-12-153-0/+500