Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block ancient dust spam #140

Open
wants to merge 3 commits into
base: namecoinq
Choose a base branch
from
Open

Commits on Nov 20, 2014

  1. Add CTxIndex::GetHeight routine.

    Split the old code of CTxIndex::GetDepthInMainChain to allow also
    GetHeight() and GetContainingBlock() to be used.
    domob1812 committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    2897ea6 View commit details
    Browse the repository at this point in the history
  2. Add IsUnspendable method, blocking dust spam outputs.

    Implement IsUnspendable() as additional check when verifying
    transactions.  This method checks for provably unspendable outputs (will
    be useful later on for the UTXO set), and it also blocks dust spam
    outputs created between blocks 39k and 41k from being spent in the
    future.  This enables them to be removed from the UTXO set.
    domob1812 committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    92e2272 View commit details
    Browse the repository at this point in the history
  3. Block dust spam tx from mempool before fork point.

    Don't accept dust spam tx to the mempool even before the fork point.
    Blocks with them are still considered valid, though.
    domob1812 committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    9459649 View commit details
    Browse the repository at this point in the history