aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.go
Commit message (Collapse)AuthorAgeFilesLines
* all: gofmt -w -s (#15419)ferhat elmas2017-11-081-9/+9
|
* consensus, core, params: rebrand Metro to ByzantiumPéter Szilágyi2017-09-141-13/+13
|
* tests: update tests, use blockchain test "network" fieldFelix Lange2017-08-111-0/+88
| | | | | | | | | Blockchain tests now include the "network" which determines the chain config to use. Remove config matching based on test name and share the name-to-config index with state tests. Byzantium/Constantinople tests are still skipped because most of them fail anyway.
* tests: update tests and implement general state tests (#14734)Felix Lange2017-07-111-119/+0
| | | | | | | | | | | | | | Tests are now included as a submodule. This should make updating easier and removes ~60MB of JSON data from the working copy. State tests are replaced by General State Tests, which run the same test with multiple fork configurations. With the new test runner, consensus tests are run as subtests by walking json files. Many hex issues have been fixed upstream since the last update and most custom parsing code is replaced by existing JSON hex types. Tests can now be marked as 'expected failures', ensuring that fixes for those tests will trigger an update to test configuration. The new test runner also supports parallel execution and the -short flag.
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-5/+1
|
* tests: update from github.com/ethereum/tests @ f21c49dc816eFelix Lange2016-11-251-0/+3
|
* tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1Felix Lange2016-10-061-1/+6
| | | | | | Two new tests are skipped because they're buggy. Making some newer random state tests work required implementing the 'compressed return value encoding'.
* eth: enable bad block reportsFelix Lange2016-05-251-7/+0
| | | | | | | | | | | | We used to have reporting of bad blocks, but it was disabled before the Frontier release. We need it back because users are usually unable to provide the full RLP data of a bad block when it occurs. A shortcoming of this particular implementation is that the origin peer is not tracked for blocks received during eth/63 sync. No origin peer info is still better than no report at all though.
* all: fix go vet warningsFelix Lange2016-04-151-1/+1
|
* all: update license informationFelix Lange2016-04-151-1/+1
|
* core: Added new TD strategy which mitigate the risk for selfish miningJeffrey Wilcke2016-02-181-0/+3
| | | | | | | | | | | | | | | | Assuming the following scenario where a miner has 15% of all hashing power and the ability to exert a moderate control over the network to the point where if the attacker sees a message A, it can't stop A from propagating, but what it **can** do is send a message B and ensure that most nodes see B before A. The attacker can then selfish mine and augment selfish mining strategy by giving his own blocks an advantage. This change makes the time at which a block is received less relevant and so the level of control an attacker has over the network no longer makes a difference. This change changes the current td algorithm `B_td > C_td` to the new algorithm `B_td > C_td || B_td == C_td && rnd < 0.5`.
* tests: fix data race in bad-block-report disabling during testsPéter Szilágyi2015-11-051-2/+5
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* 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/ethtest, tests: add support for RLP JSON testsFelix Lange2015-07-171-0/+1
|
* Unskip SimpleTx3, check err in pre/post state validationsGustav Simonsson2015-07-081-6/+1
|
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Add TestBcGasPricer, comments and unskip testsGustav Simonsson2015-07-061-8/+12
|
* Merge pull request #1400 from obscuren/badblock-reportingJeffrey Wilcke2015-07-061-0/+3
|\ | | | | core, miner, tests: added test, implemented bad block reporting
| * core, miner, tests: added test, implemented bad block reportingJeffrey Wilcke2015-07-051-0/+3
| |
* | Fix core error forwarding, unify OOG VM errGustav Simonsson2015-07-041-5/+0
|/
* Update Ethereum JSON tests, skip failingGustav Simonsson2015-07-031-2/+21
|
* Rebase cleanupTaylor Gerring2015-06-191-29/+0
|
* Add stdin optionTaylor Gerring2015-06-191-23/+52
|
* Cleanup loggingTaylor Gerring2015-06-191-1/+1
|
* DRY file loadingTaylor Gerring2015-06-191-5/+27
|
* More consistent test interfaces + test skippingTaylor Gerring2015-06-191-0/+5
|
* Cleanup/reorgTaylor Gerring2015-06-191-13/+8
|
* Return error up stack instead of passing testing var downTaylor Gerring2015-06-191-13/+20
|
* Flatten helper directoryTaylor Gerring2015-06-191-0/+53