hirosystems / chainhook

Extract transactions from Stacks and Bitcoin and build event driven re-org resistant indexers and databases.
GNU General Public License v3.0
158 stars 65 forks source link

Not find ordinal protocol parse process in chainhook original code #410

Closed Hodgewhj closed 1 year ago

Hodgewhj commented 1 year ago

in order to find why my predicate json can't match any valid data (links : #409) , i scan the chainhook original code and can't seem to find the process of ordinal protocol parsing. (i not familiar with the rust language, so need some help)

one point: i find the ordinal-Inscription data struct, but i don't find where the struct was created and set value.

image

two point: here the ordinal_operations was set to empty vec, so according to my understanding, it will not to match any thing in the subsequent process.

image image image image image
lgalabru commented 1 year ago

hey @Hodgewhj, when working with ordinals, you should be using ordhook instead. Feel free to re-open an issue in the repo mentioned above if you're facing some issues.

Hodgewhj commented 1 year ago

Feel free to re-open an issue in the repo mentioned above if you're facing some issues.

thanks for your reply! i have aleardy found the inscription code in ordhook, but when i use the subcommand "chainhook service start", it occur blew errors

https://github.com/hirosystems/ordhook/issues/172

image

lgalabru commented 1 year ago

Closing, in favor or https://github.com/hirosystems/ordhook/issues/172