Which function in which file verifies that transactions are the right size

1

1

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?

Kinnard Hockenhull

Posted 2013-04-30T02:02:42.747

Reputation: 2 285

Answers

1

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

Kinnard Hockenhull

Posted 2013-04-30T02:02:42.747

Reputation: 2 285