aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.go
Commit message (Collapse)AuthorAgeFilesLines
* 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