Jeffrey Wilcke 
							
						 
					 
					
						
						
							
						
						5b283663b4 
					 
					
						
						
							
							core: Added new TD strategy which mitigate the risk for selfish mining  
						
						 
						
						... 
						
						
						
						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`. 
						
						
					 
					
						2016-02-18 10:12:13 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Péter Szilágyi 
							
						 
					 
					
						
						
							
						
						9dc5de51a2 
					 
					
						
						
							
							tests: fix data race in bad-block-report disabling during tests  
						
						 
						
						
						
						
					 
					
						2015-11-05 13:29:50 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Lange 
							
						 
					 
					
						
						
							
						
						bfbcfbe4a9 
					 
					
						
						
							
							all: fix license headers one more time  
						
						 
						
						... 
						
						
						
						I forgot to update one instance of "go-ethereum" in commit 3f047be5a . 
						
						
					 
					
						2015-07-23 18:35:11 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Lange 
							
						 
					 
					
						
						
							
						
						3f047be5aa 
					 
					
						
						
							
							all: update license headers to distiguish GPL/LGPL  
						
						 
						
						... 
						
						
						
						All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library". 
						
						
					 
					
						2015-07-22 18:51:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Lange 
							
						 
					 
					
						
						
							
						
						5da82077d1 
					 
					
						
						
							
							cmd/ethtest, tests: add support for RLP JSON tests  
						
						 
						
						
						
						
					 
					
						2015-07-17 15:13:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gustav Simonsson 
							
						 
					 
					
						
						
							
						
						b08abe64e4 
					 
					
						
						
							
							Unskip SimpleTx3, check err in pre/post state validations  
						
						 
						
						
						
						
					 
					
						2015-07-08 13:09:22 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Lange 
							
						 
					 
					
						
						
							
						
						bdae4fd573 
					 
					
						
						
							
							all: add some godoc synopsis comments  
						
						 
						
						
						
						
					 
					
						2015-07-07 14:12:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Lange 
							
						 
					 
					
						
						
							
						
						ea54283b30 
					 
					
						
						
							
							all: update license information  
						
						 
						
						
						
						
					 
					
						2015-07-07 14:12:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gustav Simonsson 
							
						 
					 
					
						
						
							
						
						b7e8d954ef 
					 
					
						
						
							
							Add TestBcGasPricer, comments and unskip tests  
						
						 
						
						
						
						
					 
					
						2015-07-06 13:56:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jeffrey Wilcke 
							
						 
					 
					
						
						
							
						
						aa4502060b 
					 
					
						
						
							
							Merge pull request  #1400  from obscuren/badblock-reporting  
						
						 
						
						... 
						
						
						
						core, miner, tests: added test, implemented bad block reporting 
						
						
					 
					
						2015-07-06 02:03:50 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jeffrey Wilcke 
							
						 
					 
					
						
						
							
						
						bcc1660abc 
					 
					
						
						
							
							core, miner, tests: added test, implemented bad block reporting  
						
						 
						
						
						
						
					 
					
						2015-07-05 15:14:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gustav Simonsson 
							
						 
					 
					
						
						
							
						
						0f04af5916 
					 
					
						
						
							
							Fix core error forwarding, unify OOG VM err  
						
						 
						
						
						
						
					 
					
						2015-07-04 09:27:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gustav Simonsson 
							
						 
					 
					
						
						
							
						
						ff97059a99 
					 
					
						
						
							
							Update Ethereum JSON tests, skip failing  
						
						 
						
						
						
						
					 
					
						2015-07-03 09:40:07 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						baea8e87e5 
					 
					
						
						
							
							Rebase cleanup  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:27:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						01ec4dbb12 
					 
					
						
						
							
							Add stdin option  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:24:07 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						c941a39b75 
					 
					
						
						
							
							Cleanup logging  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:20:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						6ff956394a 
					 
					
						
						
							
							DRY file loading  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:20:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						ac0637c413 
					 
					
						
						
							
							More consistent test interfaces + test skipping  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:20:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						b6d40a9312 
					 
					
						
						
							
							Cleanup/reorg  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:20:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						c5d6fcbaba 
					 
					
						
						
							
							Return error up stack instead of passing testing var down  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:20:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Taylor Gerring 
							
						 
					 
					
						
						
							
						
						1b26d4f220 
					 
					
						
						
							
							Flatten helper directory  
						
						 
						
						
						
						
					 
					
						2015-06-18 22:15:07 +02:00