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

Update Client Knots to 23.0 #8825

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Update Client Knots to 23.0 #8825

merged 5 commits into from
Jan 24, 2024

Conversation

yahiheb
Copy link
Collaborator

@yahiheb yahiheb commented Aug 1, 2022

Closes #8202

Release notes: https://github.com/bitcoinknots/bitcoin/blob/v23.0.knots20220529-release-notes/doc/release-notes.md

Source of the binaries: https://bitcoinknots.org/files/23.x/23.0.knots20220529/

I got the binaries from the following folders:

bitcoin-23.0.knots20220529-win64.zip
bitcoin-23.0.knots20220529-x86_64-apple-darwin.tar.gz
bitcoin-23.0.knots20220529-x86_64-linux-gnu.tar.gz

MaxHillebrand
MaxHillebrand previously approved these changes Aug 1, 2022
Copy link
Collaborator

@MaxHillebrand MaxHillebrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hash sums match, thanks!

@kiminuo
Copy link
Collaborator

kiminuo commented Aug 1, 2022

utACK. The change looks good to me.

@molnard
Copy link
Collaborator

molnard commented Aug 1, 2022

Why upgrade?

@yahiheb
Copy link
Collaborator Author

yahiheb commented Aug 1, 2022

#8202

To address #8202 and to use the latest release.

@molnard
Copy link
Collaborator

molnard commented Aug 2, 2022

We are already using the latest (stable) version. I suggest only upgrading this if we have a good reason to do so - it works flawlessly. With the upgrade, we can lose stability and dev time. What are the benefits of upgrading?

Copy link
Contributor

@Kukks Kukks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in WalletWasabi.Backend/docker-compose.yml, change image: btcpayserver/bitcoinknots:21.2 to image: btcpayserver/bitcoinknots:23.0

@yahiheb
Copy link
Collaborator Author

yahiheb commented Aug 3, 2022

What are the benefits of upgrading?

@molnard Tbh I don't have an answer to that.

in WalletWasabi.Backend/docker-compose.yml, change image: btcpayserver/bitcoinknots:21.2 to image: btcpayserver/bitcoinknots:23.0

@Kukks Done.

@stale
Copy link

stale bot commented Nov 9, 2022

This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 9, 2022
@stale stale bot closed this Nov 26, 2022
@yahiheb yahiheb deleted the knots-23.0 branch November 26, 2022 22:36
@kristapsk
Copy link
Collaborator

Backend now runs v23, it makes sense to reopen this and upgrade client too.

@MaxHillebrand MaxHillebrand changed the title Update Knots to 23.0 Update Client Knots to 23.0 Aug 28, 2023
@molnard
Copy link
Collaborator

molnard commented Aug 29, 2023

Backend now runs v23, it makes sense to reopen this and upgrade client too.

ACK, we have time to dogfood this now.

@molnard
Copy link
Collaborator

molnard commented Aug 29, 2023

@yahiheb can you recreate the PR - I cannot reopen it: "branch was deleted".

@yahiheb yahiheb restored the knots-23.0 branch January 24, 2024 02:42
@yahiheb yahiheb reopened this Jan 24, 2024
@yahiheb
Copy link
Collaborator Author

yahiheb commented Jan 24, 2024

@molnard I updated and reopened this PR if we wanna update Knots to 23.0

Copy link
Collaborator

@molnard molnard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK.

I saw two warnings in the logs. Neither seems to be a problem now.

  • Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
  • banlist.dat ignored because it can only be read by Bitcoin Knots version 22.x. Remove "C:\Bitcoin\banlist.dat" to silence this warning.

@stale stale bot removed the stale label Jan 24, 2024
@kristapsk
Copy link
Collaborator

  • Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.

Soon is already going on for years, so don't think it will be removed very soon, but in any case there is no benefits in not changing this. bitcoin/bitcoin#29240

Note that we already use cookie auth on servers, so it's well tested, supported by NBItcoin / Wasabi and safe to change.

@molnard molnard merged commit 9aafcfc into WalletWasabi:master Jan 24, 2024
7 checks passed
@molnard
Copy link
Collaborator

molnard commented Jan 24, 2024

cookie auth on servers, so it's well tested, supported by NBItcoin / Wasabi and safe to change

How complicated is that? Can you implement it @kristapsk ?

@yahiheb yahiheb deleted the knots-23.0 branch January 24, 2024 15:34
@kristapsk
Copy link
Collaborator

cookie auth on servers, so it's well tested, supported by NBItcoin / Wasabi and safe to change

How complicated is that? Can you implement it @kristapsk ?

Will look at it!

@lontivero
Copy link
Collaborator

There is nothing to do there. NBitcoin already supports it and works well. Just change connectionstring and that's all.

@kristapsk
Copy link
Collaborator

There is nothing to do there. NBitcoin already supports it and works well. Just change connectionstring and that's all.

Knots configuration needs to be changed for cookie auth, Wasabi connection string needs to be changed and probably should rewrite https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py in C#.

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

Successfully merging this pull request may close these issues.

Upgrade Bitcoin Knots 23.0
7 participants