Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moving to a better xeth | obscuren | 2015-01-29 | 1 | -0/+4 |
| | |||||
* | Update CLI to use new Websocket RPC | Taylor Gerring | 2015-01-28 | 1 | -0/+4 |
| | | | | Use “wsport” flag to change default port | ||||
* | Move HTTP transport to sub package of RPC | Taylor Gerring | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Print error instead of returning for seed node err | obscuren | 2015-01-19 | 1 | -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 #249 | obscuren | 2015-01-09 | 1 | -0/+7 |
| | |||||
* | Merge remote-tracking branch 'upstream/develop' into develop | zelig | 2015-01-09 | 1 | -7/+3 |
|\ | |||||
| * | just enable by default | obscuren | 2015-01-09 | 1 | -7/+3 |
| | | |||||
* | | major blockpool change | zelig | 2015-01-09 | 1 | -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 error | zelig | 2015-01-09 | 1 | -0/+2 |
| | | |||||
* | | adapt unit tests to spec | zelig | 2015-01-09 | 1 | -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 block | zelig | 2015-01-09 | 1 | -10/+0 |
| | | |||||
* | | minor changes in integration tests | zelig | 2015-01-09 | 3 | -8/+8 |
|/ | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -4/+4 |
| | |||||
* | Adjusted difficulty and skip get tx messages | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Don't auto push jeff ... | obscuren | 2015-01-06 | 1 | -0/+1 |
| | |||||
* | Fixed port num | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Changed to poc-8 & removed GetTxs | obscuren | 2015-01-06 | 2 | -2/+1 |
| | |||||
* | eth, p2p: remove EncodeMsg from p2p.MsgWriter | Felix Lange | 2015-01-06 | 2 | -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 now | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Merge | obscuren | 2015-01-06 | 27 | -1019/+2015 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 2 | -9/+89 |
| | |||||
* | Cleaned up some of that util | obscuren | 2015-01-04 | 1 | -16/+74 |
| | |||||
* | Fixed bug where logging could crash client during tx adding | obscuren | 2015-01-03 | 1 | -2/+4 |
| | |||||
* | Updated protocol version | obscuren | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | Removed the need of having a backend for the tx pool | obscuren | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 2 | -2/+2 |
| | | | | * Includes new rlp decoder | ||||
* | Merge fixes | obscuren | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | Added whisper handler | obscuren | 2014-12-16 | 1 | -0/+4 |
| | |||||
* | Removed goroutine from "Run" | obscuren | 2014-12-16 | 1 | -8/+8 |
| | |||||
* | made mist in a compilable, workable state using the new refactored packages | obscuren | 2014-12-15 | 2 | -0/+27 |
| | |||||
* | Moved peer helper metheds | obscuren | 2014-12-15 | 1 | -17/+0 |
| | |||||
* | removed filter manager from base | obscuren | 2014-12-15 | 2 | -36/+22 |
| | |||||
* | Added old filter. Needs some refactoring | obscuren | 2014-12-15 | 1 | -57/+6 |
| | |||||
* | WIP | obscuren | 2014-12-15 | 1 | -3/+5 |
| | |||||
* | added protocol handler | obscuren | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | added whisper | obscuren | 2014-12-15 | 1 | -18/+19 |
| | |||||
* | WIP | obscuren | 2014-12-15 | 1 | -43/+10 |
| | |||||
* | adapt blockpool/backend to use pow/ezp with pow.Block for VerifyPoW func | zelig | 2014-12-15 | 2 | -12/+3 |
| | |||||
* | blockmanager start/stop obsolete | zelig | 2014-12-15 | 1 | -2/+0 |
| | |||||
* | blockpool rewritten , tests broken FIXME | zelig | 2014-12-15 | 2 | -292/+8 |
| | |||||
* | protocol | zelig | 2014-12-15 | 1 | -7/+83 |
| | | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects) | ||||
* | initial commit for eth blockpool + test | zelig | 2014-12-15 | 1 | -2/+3 |
| | |||||
* | eth protocol changes | zelig | 2014-12-15 | 2 | -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 integration | zelig | 2014-12-15 | 2 | -1/+165 |
| | |||||
* | blockpool rewritten , tests broken FIXME | zelig | 2014-12-15 | 1 | -363/+863 |
| | |||||
* | add protocol error types specific to blockpool | zelig | 2014-12-15 | 1 | -0/+4 |
| | |||||
* | protocol | zelig | 2014-12-15 | 1 | -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) | zelig | 2014-12-15 | 1 | -0/+357 |
| | |||||
* | initial commit for eth blockpool + test | zelig | 2014-12-15 | 2 | -0/+712 |
| | |||||
* | eth protocol changes | zelig | 2014-12-15 | 2 | -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) | zelig | 2014-12-15 | 1 | -6/+0 |
| | |||||
* | initial commit for eth-p2p integration | zelig | 2014-12-15 | 3 | -0/+500 |