-
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
[bug]: Unable to run lnd 0.18.3rc2 with bitcoin core v28.0rc1 #9053
Comments
Fixes btcsuite#2224 and lightningnetwork/lnd#9053. Depending on the version of Bitcoin Core, the "warnings" field in the response to getnetworkinfo is either a single string value or an array of strings. We can easily parse those two variants with a custom type that implements an UnmarshalJSON method.
Thanks a lot for testing with the RC! This was broken by bitcoin/bitcoin#29845. I've created a fix here: btcsuite/btcd#2245. |
Fixes btcsuite#2224 and lightningnetwork/lnd#9053. Depending on the version of Bitcoin Core, the "warnings" field in the response to getnetworkinfo is either a single string value or an array of strings. We can easily parse those two variants with a custom type that implements an UnmarshalJSON method.
Fixes btcsuite#2224 and lightningnetwork/lnd#9053. Depending on the version of Bitcoin Core, the "warnings" field in the response to getnetworkinfo is either a single string value or an array of strings. We can easily parse those two variants with a custom type that implements an UnmarshalJSON method.
Fixes btcsuite#2224 and lightningnetwork/lnd#9053. Depending on the version of Bitcoin Core, the "warnings" field in the response to getnetworkinfo is either a single string value or an array of strings. We can easily parse those two variants with a custom type that implements an UnmarshalJSON method.
Fixes btcsuite#2224 and lightningnetwork/lnd#9053. Depending on the version of Bitcoin Core, the "warnings" field in the response to getnetworkinfo is either a single string value or an array of strings. We can easily parse those two variants with a custom type that implements an UnmarshalJSON method.
Please also open an issue on the Bitcoin Core when something like this happens... :-) |
I would be useful to know if the current Lnd master branch works now that barebitcoin/btcd#4 was merged (I don't see a new Lnd tag). |
We still need to bump the version of the btcd package so current master won't work. |
Bitcoin Core v28.0 will be released very soon(tm). |
Hello, will this fix be applied with LND v18.4 before Bitcoin Core v28 is released? I still don't see any precompiled binaries for LND v18.4, but I do see precompiled binaries for Bitcoin Core v28.... |
@twofaktor LND v0.18.4 isn't released yet. |
I know, and that worries me since it seems that Bitcoin Core v28 will be released earlier than LND v0.18.4, and LND v018.3 is not compatible with Bitcoin Core v28... |
+1 to this issue Have any temporary measures been found to overcome the fault? |
You have to enable the deprecated warnings rpc on bitcoin core using: |
Fixes btcsuite#2224 and lightningnetwork/lnd#9053. Depending on the version of Bitcoin Core, the "warnings" field in the response to getnetworkinfo is either a single string value or an array of strings. We can easily parse those two variants with a custom type that implements an UnmarshalJSON method.
Background
I am getting an error after unlocking lnd:
Your environment
Steps to reproduce
I upgraded bitcoin core from v27.0 to v28.0rc1, while lnd was still on v0.18.0, got the error as describe above. Then I upgraded lnd to v0.18.3rc2 and still got the same error.
Expected behaviour
LND should run with bitcoin core v28.0
Actual behaviour
LND cannot start using bitcoin core v28.0 as backend
The text was updated successfully, but these errors were encountered: