Replies: 2 comments 11 replies
-
Searching by stake address takes indeed some time, because it is entire addresses that are stored, and not only the stake part. The index is optimized for addresses because that's the most common use-case. It should still remain relatively fast for stake address too however. May I ask about how long it takes for you and what version you're using? Note: I also just noticed that it seems that the index isn't used for searching addresses by stake.. which would explain why it is slow as it has to scan through the whole database. That's a problem though because the index should be used here too! I'll look into this. |
Beta Was this translation helpful? Give feedback.
-
Does SQLite have hash table index so we could reduce query complexity even more from O(log n) to O(1)? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to get all transaction from addresses owned by stake address faster? Currently search by stake address takes longer time. Is it because kupo tries to find all owned addresses and find utxos for each address?
Beta Was this translation helpful? Give feedback.
All reactions