-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Bitcoin Core v22 deprecated addresses is not handled #6119
Comments
Thanks for opening your first issue here! |
@chimp1984 would appreciate if you can take a look, currently this is holding up an upgrade of the mempool.space servers since it will break BSQ addresses from displaying on bisq.markets - thanks |
Ah damn Bitcoin RPC devs keep breaking APIs. @jmacxx could you have a look? |
Working on it. bisq/core/src/main/java/bisq/core/dao/node/full/RpcService.java Lines 354 to 355 in a384071
The following change should fix it:
|
Please invite me for review once a PR is ready. DAO code is always a bit risky.... |
I think it should support both node behaviors (if v <= 22, .., else ..), otherwise |
@jmacxx thanks, do you have a PR that I can test out? |
Description
Since Bitcoin Core v22, the Bitcoin API has changed the format of how addresses are returned. So since v22
deprecatedrpc=addresses
is required to get the old format and in v23 it's removed completely.Bisq JSON blocks data export does not seem to handle this transition which breaks the Bisq block explorer if upgrading to the latest versions as addresses are not visible.
Steps to reproduce
Run Bitcoin Core v22 or later with default settings.
Latest Bisq version v1.8.4
Expected behaviour
The
address
field should be presentActual behaviour
address
is now missing in the JSON data that is dumped.The text was updated successfully, but these errors were encountered: