A Bitcoin nodes run series of checks on a transaction as it arrives before it is verified. Nodes are built to own transaction pools to verify transactions. The conditions for verification can change from time to time. However, they typically fall within the points listed below.
What Do Bitcoin Nodes Check Before Verifying a Transaction?
They check to see if the data structure and the syntax of the transaction are correct.
They check to see if the transaction is above 1 MB.
They confirm that the outputs and inputs have values are not be more than 21 million or less than 0.
They check the locktime to confirm that it is less than the number allowed.
They confirm that the unlocking scripts for the inputs are verified against that of the output.
They check to see if the transaction size is more than or up to 100 bytes.
They reject any transaction when the value is too low for an empty block.
They reject the transactions if the input value is not as high as the output value.
They confirm that the input value falls within the required range.
They make sure that all Coinbase transactions have a maturity of at least 100 confirmations.
The output for each input must exit. If it has been spent, the transaction will be rejected.
They confirm that the locking script and the standard format match.
They confirm that a matching script exists.
The Bitcoin nodes make sure that the signatures are not above the signature limit.
They verify that the script for unlocking can push numbers onto the stack.
They throw any transaction that is missing into the orphan transaction pool.
The Bitcoin nodes ensure that fraudsters do not infiltrate the system by making sure each transaction meets all the requirements before it is verified. Any transaction that doesn't meet the requirements is rejected.
https://smartereum.com/2343/ethereum-potential-overtake-ethereum-bitcoin-comparison-sat-apr-14/
Posted from my blog with SteemPress : https://smartereum.com/8970/how-do-bitcoin-nodes-verify-transactions/