Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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`.
9 years ago
..
state
core, core/vm, crypto: fixes for homestead
9 years ago
types
core, core/vm, crypto: fixes for homestead
9 years ago
vm
core, core/vm, crypto: fixes for homestead
9 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
asm.go
all: fix license headers one more time
9 years ago
bad_block.go
all: fix license headers one more time
9 years ago
bench_test.go
parmas, crypto, core, core/vm: homestead consensus protocol changes
9 years ago
block_validator.go
core, core/vm, crypto: fixes for homestead
9 years ago
block_validator_test.go
cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks
9 years ago
blockchain.go
core: Added new TD strategy which mitigate the risk for selfish mining
9 years ago
blockchain_test.go
eth/filters: ✨ pending logs ✨
9 years ago
blocks.go
remove 0x
9 years ago
canary.go
canary update
9 years ago
chain_makers.go
core: fix invalid state reuse in chain maker based tests
9 years ago
chain_makers_test.go
core, eth, rpc: split out block validator and state processor
9 years ago
chain_pow.go
core: separate and contain POW verifier, extensive tests
9 years ago
chain_pow_test.go
core, eth: receipt chain reconstruction
9 years ago
database_util.go
core, core/vm, crypto: fixes for homestead
9 years ago
database_util_test.go
core, core/vm, crypto: fixes for homestead
9 years ago
default_genesis.go
cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks
9 years ago
error.go
Merge pull request #1889 from karalabe/fast-sync-rebase
9 years ago
events.go
eth/filters: ✨ pending logs ✨
9 years ago
execution.go
core, core/vm, crypto: fixes for homestead
9 years ago
fees.go
Merge pull request #1515 from fjl/license-fixes
9 years ago
filter_test.go
all: fix license headers one more time
9 years ago
gaspool.go
core, eth, rpc: split out block validator and state processor
9 years ago
genesis.go
cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks
9 years ago
helper_test.go
cmd/geth, cmd/utils, core, rpc: renamed to blockchain
9 years ago
state_processor.go
parmas, crypto, core, core/vm: homestead consensus protocol changes
9 years ago
state_transition.go
core, core/vm, crypto: fixes for homestead
9 years ago
tx_pool.go
core, core/vm, crypto: fixes for homestead
9 years ago
tx_pool_test.go
core, core/vm, crypto: fixes for homestead
9 years ago
types.go
core, eth, rpc: split out block validator and state processor
9 years ago
vm_env.go
parmas, crypto, core, core/vm: homestead consensus protocol changes
9 years ago