-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
"Invalid address or key" when attempting to openchannel #6951
Comments
Noticed that the "pending" force closes show a blocks till maturity as a negative number. Should be able to access those funds but can't... relevant? |
|
Updated to 22 which satisfied the nag, maybe it should it not have? No binaries for 23 yet, will try building... |
Yes, it should have not started 👀 Did you build master or it really was v0.22.0-beta Maybe with neutrino it skips this check 🤔 |
I think because Neutrino only connects on the P2P layer and not through RPC the same check cannot be used. I guess we could parse the announced version in P2P but I don't think we currently do that. |
I had been running v20, but it nagged so I updated to v22 (tagged binary) and it satisfied it Getting an updated Go to work is always an adventure, will report back if I ever manage to generate a btcd binary from master. |
Just realized I confused this node with another, it is NOT a neutrino back end... It uses btcd directly |
Just to clarify, Just to be sure that we are not talking about bitcoind, which went from bitcoind v0.21.1-beta to bitcoind v22.0-beta |
You need to be using btcd v0.23.1. |
confirm btcd... Getting to 23 is proving a challenge because it requires a newer glibc which means an OS upgrade... might be a bit to confirm. This is the same neutrino instance powering the node with this issue, so likely related: #6938 Would be nice to have a workaround: #6922 |
What do you mean by "requires a newer glibc"? If you're talking about |
I got it compiled but it won't start. citing:
I actually installed the newer glibc in parallel but it doesn't detect it, might be a hard code within Go? |
Ah, that sounds like a |
If the DNS issue mentioned in the link above becomes an issue, try adding |
I created a PR to make this easier, see btcsuite/btcd#1890. |
Awesome, got it built with CGO disabled... Peer I was opening to is offline now of course... grabbing another... |
Was able to create a channel with 15.1 client, thank you very much @guggero for the extended support. |
Background
This is an upgraded 15.1 node with existing channels and chain balances, including pending force closes
Using a
btcd
direct backend that was upgraded to 22 as requiredWhen attempting to open a channel, it fails with:
[lncli] rpc error: code = Unknown desc = -5: Invalid address or key: bc1p...
Same result with defaults or specifying anchors as chan type.
Addresses in error do not appear to be UTXO's in the chain wallet
Your environment
lnd
: 15.1uname -a
on *Nix) Ubuntu / 5.4.41-1Steps to reproduce
Production node balances on 15.1
Expected behaviour
Channel should open and show a txid
Actual behaviour
Complains about UTXO key
The text was updated successfully, but these errors were encountered: