• Jeffrey Wilcke's avatar
    core, core/types: readd transactions after chain re-org · eaa4473d
    Jeffrey Wilcke authored
    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
    eaa4473d
Name
Last commit
Last update
..
compiler Loading commit data...
docserver Loading commit data...
math Loading commit data...
natspec Loading commit data...
number Loading commit data...
registrar Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
README.md Loading commit data...
big.go Loading commit data...
big_test.go Loading commit data...
bytes.go Loading commit data...
bytes_test.go Loading commit data...
debug.go Loading commit data...
list.go Loading commit data...
main_test.go Loading commit data...
package.go Loading commit data...
path.go Loading commit data...
rlp.go Loading commit data...
rlp_test.go Loading commit data...
size.go Loading commit data...
size_test.go Loading commit data...
test_utils.go Loading commit data...
types.go Loading commit data...
types_template.go Loading commit data...
types_test.go Loading commit data...
value.go Loading commit data...
value_test.go Loading commit data...