Replies: 1 comment
-
I'm new to this too, but did get a chance to look through the code, and can perhaps share some thoughts. With regard to your first question, indexing is basically a bunch of tables facilitating various kind of look-ups. Here's a bit of code from
You can see pretty clearly from the table names what kind of lookups they help with. With regard to the
And later, whenever some operation is attempted, it might check to see if this table exists, which will indicated whether the system "has sat index":
Hope this helps... |
Beta Was this translation helpful? Give feedback.
-
This might be a dumb question, but I really don't see is described anywhere. What does indexing do? Is it looking for inscriptions in every block and writing the inscriptions to its own database? What's the difference with the
--index-sats
as well?Bonus question; It seems like it tries to sync the index on every command. Is there a way to make Ord be a long running process and always say be syncing the index?
Beta Was this translation helpful? Give feedback.
All reactions