Skip unspendable outputs in consistency check
Merge pull request #3026 from sipa/checkunspend

Skip unspendable outputs in consistency check