-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index inscriptions by address #3372
Index inscriptions by address #3372
Conversation
@raphjaph actively harassing to check on this PR as were suggested on stream, thanks |
I don't think it should fail, I implemented the address index onto my own branch a while ago without the transaction index. Users shouldn't need to double up on storing tx information as it is already done with -txindex. Perhaps use it if it is available otherwise use the rpc getTransaction. |
Hello @markovichecha ! I’m experimenting with your version when indexing testnet (I launched Ord in Docker with the command “ord --data-dir /index-data --index-transactions --index-addresses server”). And I encountered this behavior:
after that, the indexer starts scanning a few days before the specified date, and again hits the same block, and so on in a circle. Have you seen this kind of behavior? |
Hey @Klyaus. I haven't met this error, but may be it was due to not indexing testnet. I'll return to this PR soon and will change transaction index behavior and try to fix this issue. |
Great! Thanks for the answer. I also think this is due to the fact that this is a testnet. |
We recently merged #3757, which adds a more comprehensive address to output tracker. If you look at it you'll see the html page is just a list of outputs. If you want you could add more descriptive and aggregated information like inscriptions, btc, sats and runes. Also your PR links addresses we show in places to the address html page. If you feel like you could probably use some of the work you did here and just build on top of what I coded up. Best to chunk these up into different PRs. Let me know if you're up for that :) |
Added an address to inscriptions index and address endpoint with inscriptions. Resolves: #2619
Address index relies on transactions index, how should we handle this? Fail to startup if there are no --index-transactions flag?