-
Notifications
You must be signed in to change notification settings - Fork 407
Add a commitment revocation hook ⚡🗼 #1776
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
Comments
Hey guys, is there any ETA for this? |
I can start looking into this over the next couple of days! |
Hmmm, have a look at the current ChannelSigner::validate_counterparty_revocation. I think that may actually suffice if you hook that. |
@sr-gi did this end up working for you? |
I didn't have a chance to try it out yet :( |
All good I'm still going to look into it more :) |
I've created some wraps to make this work based on I've seen that the
With respect to the If the |
Sorry for the delay following up. In general we should probably expose more as required here, though some of the particular utils you mention there shouldn't be required - |
Btw I'll be working on this for Summer of Bitcoin so I should have something up for this within the first couple weeks of the program (starting May 15) just to give a general timeline @sr-gi |
No worries. w.r.t the parts of code I mentioned, that was just to confirm that this does not seem to be solvable with the current interfaces (or if so, it'll look pretty hacky).
That's fantastic. I didn't know this was offered as a SoB project. Let me know if you need help co-mentoring this, I'll be happy to (or feel free to reach out if you need to chat about how this will be used downstream). |
In order to implement a watchtower client for LDK-based nodes the commitment revocation data should be exposed in some way (through a public API). The client will need to get access to this for each channel update.
The minimal required information to be exposed should be the
revoked_commitment_txid:penalty_tx
pair (or the bits and bolts required to build those).The text was updated successfully, but these errors were encountered: