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

Timeout opening a channel when in blocksonly mode on bitcoind #7

Open
vincecate opened this issue Apr 16, 2019 · 3 comments
Open

Timeout opening a channel when in blocksonly mode on bitcoind #7

vincecate opened this issue Apr 16, 2019 · 3 comments

Comments

@vincecate
Copy link

vincecate commented Apr 16, 2019

pebbleerror

My Pebble wallet is connected to BTCPayserver. My bitcoind is runnin in "blocksonly" mode. This reduces the bandwidth needed by nearly a factor of 10. But it means we only see on blockchain stuff from others after it is inside a block. So setting up a channel there is a timeout that produces the attached error message in Pebble. The channel is opened ok and works. It is just the error message that is the problem.

Note that blocksonly mode does not slow down normal off-blockchain Lightning Network stuff, so it seems a great thing for reducing the cost of running a node. I believe as Lightning takes over that blocksonly will become the default setting.

@mandelmonkey
Copy link
Contributor

Thanks good to know
im not sure its possible for pebble to know if your btcpay is using blocks only mode, it uses grpc to communicate to btcpays lnd, which is proxied by btcpay, so I think maybe its more of a btcpayserver issue
I could add a patch to detect this error and assume its btcpay in blocksonly and hence return a better message

@vincecate
Copy link
Author

vincecate commented Apr 16, 2019 via email

@vincecate
Copy link
Author

vincecate commented Aug 19, 2019 via email

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