-
Notifications
You must be signed in to change notification settings - Fork 371
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
Abstract OnchainTxHandler
to its own trait
#1775
Comments
Hey @ariard (and anyone with some ideas :)), I've been working on this for a while and it seems a bit tricky abstracting some of the behaviour out into a trait, especially when it comes to the methods with generics such as
and so forth. We can't make that trait object-safe because of these methods. We need object-safety because the methods of Were there any other ideas for going about this at the time? |
I'm not sure I understand why |
Right, so there have probably been some architectural changes since #606 (comment). I think the main idea was to have dual-funding under the same umbrella as splicing which is changing onchain stuff over channel operation (see same link above). Although, definitely looking for the any better alternatives. For dual-funding alone I don't see any need to make it a trait, yeah. |
Right, so for splicing, I'm still not sure we want to make |
Ok well that would simplify a lot right now :D |
Closing to just get this out of the way of other things. |
While the dual-funding specification includes RBF as a fee-bumping strategy, it doesn't preclude to use CPFP as another one. As CPFP might be far more realistic in face of dual-funding with a set of mobile clients, ideally we could register the bumping request as another That said, I don't think we need to achieve such |
Requirement for #1621
The text was updated successfully, but these errors were encountered: