Super Testnet's avatar
Super Testnet 1 month ago
It applies it to inscription envelopes specifically, by testing for the existence of the bytes for "OP_FALSE OP_IF" in the witness

Replies (3)

Super Testnet's avatar
Super Testnet 1 month ago
I think so. Here is the relevant code snippet: It is a function called DatacarrierBytes and I don't know c++ all that well but it appears to match transactions containing OP_FALSE OP_IF or OP_RETURN, and counts the number of bytes they carry as a payload. I assume this function gets called wherever the data arrives filter is applied, which I suppose is probably in policy.cpp -- though I haven't checked
I don't know enough either, but I wonder if the is used also on inputs, or just outputs.