From d632cafd9c5393c79b57a267861481fd94ba1e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 24 Oct 2025 18:16:00 +0200 Subject: [PATCH] Upgrade bitcoind to 30.0 Also disables building the tests, which eats up more than 5GB of disk space. --- site-cookbooks/kosmos-bitcoin/attributes/default.rb | 4 ++-- site-cookbooks/kosmos-bitcoin/recipes/bitcoind.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site-cookbooks/kosmos-bitcoin/attributes/default.rb b/site-cookbooks/kosmos-bitcoin/attributes/default.rb index c13f5ff..2a14c39 100644 --- a/site-cookbooks/kosmos-bitcoin/attributes/default.rb +++ b/site-cookbooks/kosmos-bitcoin/attributes/default.rb @@ -1,5 +1,5 @@ -node.default['bitcoin']['version'] = '29.0' -node.default['bitcoin']['checksum'] = '882c782c34a3bf2eacd1fae5cdc58b35b869883512f197f7d6dc8f195decfdaa' +node.default['bitcoin']['version'] = '30.0' +node.default['bitcoin']['checksum'] = '9b472a4d51dfed9aa9d0ded2cb8c7bcb9267f8439a23a98f36eb509c1a5e6974' node.default['bitcoin']['username'] = 'satoshi' node.default['bitcoin']['usergroup'] = 'bitcoin' node.default['bitcoin']['network'] = 'mainnet' diff --git a/site-cookbooks/kosmos-bitcoin/recipes/bitcoind.rb b/site-cookbooks/kosmos-bitcoin/recipes/bitcoind.rb index f586a4b..fa33bfd 100644 --- a/site-cookbooks/kosmos-bitcoin/recipes/bitcoind.rb +++ b/site-cookbooks/kosmos-bitcoin/recipes/bitcoind.rb @@ -43,7 +43,7 @@ bash "compile_bitcoin-core" do cwd "/usr/local/bitcoind" environment ({'CC' => 'gcc-13', 'CXX' => 'g++-13', 'NO_QT' => '1'}) code <<-EOH - cmake -B build --toolchain depends/x86_64-pc-linux-gnu/toolchain.cmake + cmake -B build --toolchain depends/x86_64-pc-linux-gnu/toolchain.cmake -DBUILD_TESTS=OFF cmake --build build -j $(($(nproc)/2)) cmake --install build EOH