5 #ifndef BITCOIN_BLOCKVALIDITY_H 6 #define BITCOIN_BLOCKVALIDITY_H 49 #endif // BITCOIN_BLOCKVALIDITY_H
Outputs do not overspend inputs, no double spends, coinbase output ok, no immature coinbase spends...
Only first tx is coinbase, 2 <= coinbase input script length <= 100, transactions valid...
All parent headers found, difficulty matches, timestamp >= median previous, checkpoint.