Create an API to return data objects for a given script.
Closed this issue · 1 comments
dajohi commented
Create an API in which given a script, returns an array of []byte's containing the script data objects for OP_DATA_* and OP_PUSHDATA*.
This is needed for bloom filtering.
davecgh commented
This needs more explanation as it's pretty unclear to me what exactly you're after. Typically, if something needs to know about a script's internals, it should btcscript itself dealing with those internals as opposed to exposing them.