-
Notifications
You must be signed in to change notification settings - Fork 131
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
elementsregtest (liquidregtest) chain with initialfreecoins cause electrs panic #125
Comments
You need to adjust The txid of the initial issuance prevout differs based on some chain parameters. Back when I implemented this I couldn't find an easy way to determine it and just used the prevout used with the default chain settings (which might've changed since) This should be fixed, or at least be made into a CLI argument that can be overridden without recompiling. |
(Based on the error message you got, the Edit: actually, I believe rust-elements fixed the reversed bytes display issue, so you shouldn't have to reverse it |
ok,thanks for tracking this down. A CLI argument would be helpful but may be rarely used. |
From the error message you posted:
You can also find it by looking up the prevout of the 2nd transaction in the genesis block:
|
While attempting to index an elementsregtest chain that has
initialfreecoins=2100000000000000
in its elements.conf and where there are transactions that use free coins, electrs panics.The stack trace is below.
This scenario can be reproduced using an elements daemon configured using https://elementsproject.org/elements-code-tutorial/overview, or in https://github.com/philippem/elements-docker-compose/tree/add-esplora
The text was updated successfully, but these errors were encountered: