Skip to content
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

Cannot open 0-conf channel on testnet3 #24

Open
Impa10r opened this issue Dec 4, 2024 · 4 comments
Open

Cannot open 0-conf channel on testnet3 #24

Impa10r opened this issue Dec 4, 2024 · 4 comments

Comments

@Impa10r
Copy link

Impa10r commented Dec 4, 2024

Hi. Is the guide still valid for LND 0.18.3? Getting same errors with bos and lncli:

$ bos open 027d5678e06b2c7f322464a6e18eeec7dfa6e4c90584d9794e5b9c6c850d9c14a3 \        
--type private-trusted  \
--avoid-broadcast  \       
--set-fee-rate 1 \ 
--amount 10000000

opening_to:
  - 027d5678e06b2c7f322464a6e18eeec7dfa6e4c90584d9794e5b9c6c850d9c14a3: 0.10000000

err:
  - 503
  - UnexpectedErrorOpeningChannels
  -
    err:
      message: 2 UNKNOWN: remote canceled funding, possibly timed out: received funding error from 027d5678e06b2c7f322464a6e18eeec7dfa6e4c90584d9794e5b9c6c850d9c14a3: chan_id=941a6231dfc9097c87400adc2f0fa2b8e7f58fbaf8fa11d7361ae443bddc7c09, err=channel rejected

$ lncli openchannel --node_key 027d5678e06b2c7f322464a6e18eeec7dfa6e4c90584d9794e5b9c6c850d9c14a3 --zero_conf --local_amt 10000000 --channel_type "anchors"
[lncli] rpc error: code = Unknown desc = received funding error from 027d5678e06b2c7f322464a6e18eeec7dfa6e4c90584d9794e5b9c6c850d9c14a3: chan_id=b70951835a1ef71005e3f2f11270bd357a7e327eaf75ead941580d40cdd68035, err=channel rejected

Receiving node log:

2024-12-04 15:57:20.799 [INF] FNDG: Cancelling funding reservation for node_key=020ed4ea09c56c3e398190ae5ac60504fe4e56d6989d49e2f7845f14608c546854, chan_id=b70951835a1ef71005e3f2f11270bd357a7e327eaf75ead941580d40cdd68035
2024-12-04 15:57:20.799 [ERR] FNDG: unable to cancel reservation: no active reservations for peer(020ed4ea09c56c3e398190ae5ac60504fe4e56d6989d49e2f7845f14608c546854)
@blckbx
Copy link
Owner

blckbx commented Dec 4, 2024

Blixt Wallet has a built-in channel acceptor. If you want to run this setup on two nodes, one has to run this acceptor on its own. For example with bos like: bos inbound-channel-rules --trust-funding-from PUBKEY

@Impa10r
Copy link
Author

Impa10r commented Dec 4, 2024

Yes, this works. Maybe add it to the guide so I don't forget next time?

@blckbx
Copy link
Owner

blckbx commented Dec 4, 2024

Maybe, although I think the use case for zero conf non-broadcasted channel is mobile wallets connecting to personal routing node.

@Impa10r
Copy link
Author

Impa10r commented Dec 4, 2024

it has a good use case now on testnet3 for not wasting sats on channels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants