• Jeffrey Wilcke's avatar
    core: during chain reorg rewrite receipts and transactions · e17d8ddb
    Jeffrey Wilcke authored
    Added PutBlockReceipts; storing receipts by blocks. Eventually this will
    require pruning during some cleanup cycle. During forks the receipts by
    block are used to get the new canonical receipts and transactions.
    
    This PR fixes #1473 by rewriting transactions and receipts from the point
    of where the fork occured.
    e17d8ddb
chain_manager.go 22.1 KB