• 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
..
downloader Loading commit data...
fetcher Loading commit data...
backend.go Loading commit data...
gasprice.go Loading commit data...
handler.go Loading commit data...
handler_test.go Loading commit data...
helper_test.go Loading commit data...
metrics.go Loading commit data...
peer.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
sync.go Loading commit data...