ethereum/pyethereum — pull request #122 by ebuchman (2014-06-13 15:25:18+00:00)
Title: check txs for adding to new_miner

new_miner() should only add the old txs if they haven't already been included in a block.

new_miner gets called in 1) initialization, 2) when we find a new block, 3) when we receive blocks from a peer.

Only (3) might require adding the old txs, if they haven't been included in blocks received.