JBaczuk / blockchain_fundamentals

Blockchain Fundamentals Course Materials
2 stars 3 forks source link

Missing "Standards" update. #6

Open Hal-Emmerich opened 1 year ago

Hal-Emmerich commented 1 year ago

In the course material you mention updating the OP_RETURN data limit. But its not actually covered in the course material.

JBaczuk commented 1 year ago

Hi Hal, I hope the course was useful, I believe it is this line of code: https://github.com/bitcoin/bitcoin/blob/adc0921ea19f3b06878df6b22393fec519ed8f91/src/policy/policy.h#L72

And remember, it's not a consensus rule, just a relay standard: https://bitcoin.stackexchange.com/questions/78572/op-return-max-bytes-clarification

Technically you don't even need to change the code, if you just want to change it on one running node