I am engaged on a “mild consumer” for ION (Id Overlay Community), and I might wish to see if there’s a higher methodology to seize the OP_RETURN information that it wants with the intention to construct state.
Presently I’m iterating via each block beginning at a selected top after which iterating via every transaction and every transaction output with the intention to discover the OP_RETURN signature that I’m in search of.
Is there a greater method to accomplish this by requesting all OP_RETURN information solely? The bandwidth necessities for downloading all the block information is a bottleneck for what I might love to do, however I do not suppose what I am in search of is feasible with solely the Bitcoin Wire protocol.