shopper – How can I question for all OP_RETURN knowledge beginning at a selected block peak (or hash) – CoinNewsTrend

shopper – How can I question for all OP_RETURN knowledge beginning at a selected block peak (or hash)

[ad_1]

I am engaged on a “mild shopper” for ION (Identification Overlay Community), and I might prefer to see if there’s a higher technique to seize the OP_RETURN knowledge that it wants with the intention to construct state.

Presently I’m iterating by means of each block beginning at a selected peak after which iterating by means of 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 solution to accomplish this by requesting all OP_RETURN knowledge solely? The bandwidth necessities for downloading the entire block knowledge 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.

[ad_2]

Supply hyperlink