aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-01-12 18:54:29 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-24 20:46:33 +0800
commitbcf565730b1816304947021080981245d084a930 (patch)
tree77957ccaeff1e3d554b731496c3dea6e7cadb458 /xeth/xeth.go
parent587bafaa9faba2d5b0b19c1a0e3e709218e25912 (diff)
downloadgo-tangerine-bcf565730b1816304947021080981245d084a930.tar
go-tangerine-bcf565730b1816304947021080981245d084a930.tar.gz
go-tangerine-bcf565730b1816304947021080981245d084a930.tar.bz2
go-tangerine-bcf565730b1816304947021080981245d084a930.tar.lz
go-tangerine-bcf565730b1816304947021080981245d084a930.tar.xz
go-tangerine-bcf565730b1816304947021080981245d084a930.tar.zst
go-tangerine-bcf565730b1816304947021080981245d084a930.zip
[release/1.3.4] 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`.
Diffstat (limited to 'xeth/xeth.go')
0 files changed, 0 insertions, 0 deletions