aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol_test.go
Commit message (Collapse)AuthorAgeFilesLines
* eth: clean out light node notions from ethPéter Szilágyi2015-10-191-6/+3
|
* cmd, eth: support switching client modes of operationPéter Szilágyi2015-10-191-3/+3
|
* cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-1/+1
| | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
* eth: kill off protocol eth/60 in preparation for eth/62Péter Szilágyi2015-08-241-3/+0
|
* eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-241-105/+76
|
* core, eth, trie, xeth: merged state, chain, extra databases in oneJeffrey Wilcke2015-08-081-2/+2
|
* Merge pull request #1515 from fjl/license-fixesJeffrey Wilcke2015-07-281-1/+1
|\ | | | | all: fix license headers one more time
| * all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* | cmd/geth, core, eth: Version 1.0.0Jeffrey Wilcke2015-07-251-2/+2
|/ | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* cmd, core, eth, common: genesis preparationJeffrey Wilcke2015-07-101-2/+3
| | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block.
* all: update license informationFelix Lange2015-07-071-0/+16
|
* core, miner: miner header validation, transaction & receipt writingJeffrey Wilcke2015-07-031-1/+1
| | | | | | | | * Miners do now verify their own header, not their state. * Changed old putTx and putReceipts to be exported * Moved writing of transactions and receipts out of the block processer in to the chain manager. Closes #1386 * Miner post ChainHeadEvent & ChainEvent. Closes #1388
* eth: add the blocks from numbers protocol messagePéter Szilágyi2015-07-011-4/+4
|
* eth: clean up peer struct a bit, fix double txn bcastPéter Szilágyi2015-07-011-3/+3
|
* core/types: make transactions immutableFelix Lange2015-06-301-2/+2
|
* eth: fix test breakage from the previous commitPéter Szilágyi2015-06-181-1/+1
|
* eth: fix an accidental test compile errorPéter Szilágyi2015-06-151-3/+1
|
* eth: add protocol testsFelix Lange2015-06-091-336/+190
| | | | The protocol tests were commented out when eth/downloader was introduced.
* downloader: don't remove peers. keep them aroundobscuren2015-04-191-15/+3
|
* Updated loggingobscuren2015-04-071-2/+2
|
* change StatusMsgData.TD back to pointer type *big.Intzelig2015-04-011-5/+5
|
* check TxMsgzelig2015-04-011-0/+39
| | | | | | - add validation on TxMsg checking for nil - add test for nil transaction - add test for zero value transaction (no extra validation needed)
* test for invalid rlp encoding of block in BlocksMsgzelig2015-04-011-6/+28
| | | | | | | - rename Validate -> ValidateFields not to confure consensus block validation - add nil transaction and nil uncle header validation - remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0) - add test for nil header, nil transaction
* add tests for valid blocks msg handlingzelig2015-04-011-4/+46
|
* eth: SEC-29 eth wire protocol decoding invalid message data crashes clientzelig2015-04-011-19/+98
| | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg
* 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