op-geth/core
Jeffrey Wilcke eaa4473dbd core, core/types: readd transactions after chain re-org
Added a `Difference` method to `types.Transactions` which sets the
receiver to the difference of a to b (NOTE: not a **and** b).

Transaction pool subscribes to RemovedTransactionEvent adding back to
those potential missing from the chain.

When a chain re-org occurs remove any transactions that were removed
from the canonical chain during the re-org as well as the receipts that
were generated in the process.

Closes #1746
2015-09-21 20:33:28 +02:00
..
state all: move common.Database to package ethdb 2015-09-14 23:36:30 +02:00
types core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
vm core, core/vm, core/state: remove unused functions 2015-09-10 21:10:58 +02:00
.gitignore Renamed `chain` => `core` 2014-12-04 10:28:02 +01:00
asm.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
bad_block.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
bench_test.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
block_processor.go Merge pull request #1810 from karalabe/pure-header-verifications-2 2015-09-16 14:21:12 -07:00
block_processor_test.go core, eth, miner: use pure header validation 2015-09-16 10:46:28 +03:00
blocks.go remove 0x 2015-08-20 18:50:47 +02:00
canary.go canary update 2015-08-20 18:38:21 +02:00
chain_makers.go core: allow modifying test-chain block times 2015-09-17 13:43:52 +03:00
chain_makers_test.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
chain_manager.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
chain_manager_test.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
chain_pow.go core: separate and contain POW verifier, extensive tests 2015-09-21 10:24:49 +03:00
chain_pow_test.go core: separate and contain POW verifier, extensive tests 2015-09-21 10:24:49 +03:00
chain_util.go all: move common.Database to package ethdb 2015-09-14 23:36:30 +02:00
chain_util_test.go core: split out TD from database and all internals 2015-09-11 17:42:25 +03:00
default_genesis.go core: added default genesis block 2015-08-02 01:23:02 +02:00
error.go Add tests for uncle timestamps and refactor timestamp type 2015-08-25 04:46:11 +02:00
events.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
execution.go core, tests: reduced state copy by N calls 2015-08-07 12:52:23 +02:00
fees.go Merge pull request #1515 from fjl/license-fixes 2015-07-28 04:29:42 -07:00
filter.go Filter on addresses should work as an OR not an AND. 2015-09-01 09:19:45 +02:00
filter_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
genesis.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
helper_test.go all: move common.Database to package ethdb 2015-09-14 23:36:30 +02:00
manager.go all: move common.Database to package ethdb 2015-09-14 23:36:30 +02:00
state_transition.go core: improve block gas tracking 2015-09-01 23:11:03 +02:00
transaction_pool.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
transaction_pool_test.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
transaction_util.go core, core/types: readd transactions after chain re-org 2015-09-21 20:33:28 +02:00
vm_env.go Add tests for uncle timestamps and refactor timestamp type 2015-08-25 04:46:11 +02:00