-
Notifications
You must be signed in to change notification settings - Fork 117
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
Failed to find coin for address re-use in regtest #508
Comments
Attempt at reproducing bug: #515 |
I've spoken again with @jamaljsr . He mentioned that there was a delay message between send events. And that the coin locking error message was produced whilst attempting to kick off send during that delay. I'm pretty certain that the delay was caused by the proof courier's backoff procedure erroneously resuming (with a delay) from the stale state of a previous send. This is what I've observed via debugging. Not too long ago we merged this commit into I've created this PR to fix the courier's backoff procedure initial state: #529 I think that the coin locking error message is valid and doesn't need to be changed. If the coin was locked in a send event (which was ongoing because of the erroneous courier delay) then it was correct to raise the error message it did. |
This issue tracks a bug reported here: jamaljsr/polar#775 (comment)
Some aspects that I've found interesting whilst investigating so far:
Developers who have encountered this issue are requesting a new feature which will allow them to customise the coin lock time in a regtest environment. Or to observe minting rather than a set lock time. See this request: jamaljsr/polar#775 (comment)
This is the coin lock/lease 10 min constant:
https://github.com/ffranr/taproot-assets/blob/main/tapfreighter/wallet.go#L35-L37
A similar issue was reported here: https://lightningcommunity.slack.com/archives/C03B3556HQ8/p1694700896132179
The text was updated successfully, but these errors were encountered: