-
Notifications
You must be signed in to change notification settings - Fork 132
[bug]: Add option to skip courier proof transfer in FundChannel RPC #1483
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
I think this may be where this was introduced: e98688b . |
This is actually what users are expected to do: Either use a default universe (pre-configured for testnet and prod) or run their own (currently needed for regtest, signet, testnet4, but we plan to create public/default universes for the default signet and testnet4). Without a universe capable proof courier channels won't work correctly. So I don't think we should introduce a flag to skip. |
So, are you going to make that same argument against #1476 or not since with an on chain we don't have a second connected (closing) transaction that we need to worry about?
|
No, because you might want to manually (or through a mechanism in your application that uses
Yes, that could be an option. And it would actually make sense as you describe it. But it would mean Bob would need to have a publicly reachable server exposed to the internet. Also, it's possible that Bob will close the channel and then it would upload the proof to its own universe (which works and is okay and Alice would then have to fetch it from there). |
Say we do add this option, OR the user has the existing option Or, is it not an issue because channels are currently always singly funded by the person that creates the proofs so it does not matter until the first off chain transaction happens? |
OK, maybe let's close this issue in favor of #1489 but I'd like to know still about my last question. |
The party that closes the channel will create the proofs and transfer them to the other party with the courier. And until that happens, the channel will appear in "waiting close". |
In #1476 it is requested to allow making on chain payments without requiring a proof courier service to be used. I would also like to see this option for
FundChannel
as it previously was available by default.I've just tried to use https://github.com/lightninglabs/tapdvalidation with a recent version of litd/tapd/lnd (lightninglabs/lightning-terminal#987) and I now get the following error:
tapdvalidation manually syncs the universe before trying to fund the channel. I'm not sure why we need a proof courier if we've done that manually before trying to fund the channel? This was not a problem in earlier versions.
I'm running on regtest and I don't have
proofcourieraddr
defined. I'm not sure if the default value ofuniverserpc://testnet.universe.lightning.finance:10029
is used for regtest?I've tried to figure out what itest is doing. I find a few cases where a proof courier is defined when making on chain payments.
https://github.com/lightninglabs/lightning-terminal/blob/72477225a8892b419e8903bf746a443920598cf7/itest/assets_test.go#L89-L98
Can that get inherited/remembered for channel funding?
There are also a few spots in itest where the courier is explicitly defined like this
https://github.com/lightninglabs/lightning-terminal/blob/72477225a8892b419e8903bf746a443920598cf7/itest/litd_custom_channels_test.go#L112-L124
As a workaround in tapdvalidation, I've added
--taproot-assets.proofcourieraddr=universerpc://alice:8443
and I no longer get the error above.Also, the error message says
unsupported proof courier type 'hashmail'
, but I've not set a hashmail server and I can't find any documentation on setting up a hashmail server address. I think this error message should be less confusing.The text was updated successfully, but these errors were encountered: