Which file(s) are responsible for the procedure which confirms that transactions are well-formed, specifically that "Size in bytes < MAX_BLOCK_SIZE" as described in the Protocol Rules article on the wiki: https://en.bitcoin.it/wiki/Protocol_rules?

1 Answer 1


The function, which is found in main.cpp is called CheckTransaction(): https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L526

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.