Commit Graph

2103 Commits

Author SHA1 Message Date
Luke Dashjr
82ce67629b Merge rm_historical_relnotes_from_dist 2024-03-25 17:26:53 +00:00
Luke Dashjr
b396a65415 Merge knots_branding-26.1 2024-03-25 17:26:53 +00:00
Luke Dashjr
23d7140944 contrib/init: Update branding in init scripts 2024-03-26 18:28:07 +00:00
Luke Dashjr
3d2a4c6926 nsis-header.bmp: Generate from SVG 2024-03-26 18:28:07 +00:00
Luke Dashjr
6a360f27f1 guix: Use librsvg 2.40 to avoid Rust deps 2024-03-26 18:26:55 +00:00
Luke Dashjr
0359679a8e Rather than clean generated icons, plan to distribute them 2024-03-26 18:26:55 +00:00
Luke Dashjr
d5f8312c75 guix: Dependencies for rendering icons 2024-03-26 18:26:55 +00:00
Luke Dashjr
ff28273c39 Merge branch 'macos_dmg-26.1' into svg_icon-26.1+knots 2024-03-26 18:26:48 +00:00
Luke Dashjr
777f57a2d9 Bugfix: macOS: Open Finder automatically when DMG is mounted 2024-03-26 18:23:34 +00:00
Luke Dashjr
12cb12a451 Bugfix: macdeployqtplus: Don't delete files that aren't being generated 2024-03-26 18:21:48 +00:00
Luke Dashjr
f80844a340 build: Restore support for macOS .dmg creation
This partially reverts b5790c35f7, 33ae0bd1e4, and a128111c29.
2024-03-26 18:21:45 +00:00
Luke Dashjr
03e1adcfc9 Merge branch 'rm_minisketch-26+k' into svg_icon-26.1+knots 2024-03-25 20:07:42 +00:00
Luke Dashjr
4c6331adee Merge branch 'guix_reltar_autogen_distclean' into svg_icon-26.1+knots 2024-03-25 20:07:29 +00:00
Luke Dashjr
150372f5a5 Merge 7483 via svg_icon-26.1+knots 2024-03-25 17:26:53 +00:00
Luke Dashjr
0e7b5c41e2 Merge macos_dmg-26.1 2024-03-25 17:26:53 +00:00
Luke Dashjr
79ff1ad3f4 Merge 22439 via guix_in_gitian-23+knots 2024-03-25 17:26:53 +00:00
Luke Dashjr
3e24fd46b0 Merge 29695 via gcc_branch_protection_default-26 2024-03-25 17:26:53 +00:00
Luke Dashjr
219e00f2c7 Merge 29585 via manpage_see_also-23+knots 2024-03-25 17:26:53 +00:00
Luke Dashjr
ab9cba5d14 Merge guix_shell_compat-24 2024-03-25 17:26:53 +00:00
Luke Dashjr
b92706599a Merge rm_minisketch-26+k 2024-03-25 17:26:53 +00:00
Luke Dashjr
ad4fe4b83a Merge 29147 via guix_attachable_sigs 2024-03-25 17:26:53 +00:00
Luke Dashjr
a8a21bd3d3 Merge 18490 via bugfix_symcheck_pe_case 2024-03-25 17:26:53 +00:00
Luke Dashjr
f52f72a54e Merge 18902 via fix_gitdir_again 2024-03-25 17:26:53 +00:00
Luke Dashjr
abb7cab32a Merge 18818 via guix_reltar_autogen_distclean 2024-03-25 17:26:53 +00:00
Luke Dashjr
2501496a0d Merge lint_relaxer-26+knots 2024-03-25 17:26:53 +00:00
fanquake
6a8fa8f26c guix: build GCC with --enable-standard-branch-protection
To enable Branch Target Identification Mechanism and Return
Address Signing by default at configure time use the
`--enable-standard-branch-protection` option.

This is equivalent to having `-mbranch-protection=standard` during
compilation. This can be explicitly disabled during compilation
by passing the `-mbranch-protection=none` option which turns off
all types of branch protections.

See:
https://gcc.gnu.org/install/specific.html#aarch64-x-x

Github-Pull: #29695
Rebased-From: 7850c5fe20
2024-03-23 03:19:13 +00:00
Luke Dashjr
7cb557e7de contrib: manpages shouldn't "see also" themselves 2024-03-15 00:43:04 +00:00
fanquake
53c6f77e86 contrib: list other binaries in manpage output
Github-Pull: #29585
Rebased-From: 7c3ac598dd
2024-03-14 23:07:46 +00:00
Luke Dashjr
acb3c923e9 lint/circular-dependencies: Only check for real circular dependencies 2024-03-10 18:45:12 +00:00
Luke Dashjr
c9b1692d2f guix: Exclude old release notes files from release tarball 2024-02-29 01:51:28 +00:00
Mark Friedenbach
11f3a7e6ba
Use hardened runtime on macOS release builds.
The Apple notary service requires submitted app bundles to be configured to use the hardened runtime libraries.  This is configured at signing time, and supported by the signapple tool Bitcoin Core uses for reproduceable signed binaries.  We simply need to pass "--hardened-runtime" when the signature is created.  Once attached to the bundle, the resulting codesigned binary can be successfully submitted to the Apple binary notarization service by any Apple Developer.

Github-Pull: #29127
Rebased-From: 4fdd836db9
2024-01-19 16:14:36 +00:00
Luke Dashjr
84afd82ac5 Bugfix: devtools/symbol-check: Check PE libraries case-insensitively 2024-01-07 01:39:29 +00:00
Luke Dashjr
78afc76a0c guix: Use DOS newlines for SHA256SUMS files
OpenPGP specifies that plain text should use CR LF for newlines.
By doing so, it becomes possible to include the hashes directly in the .asc file.
2023-12-28 17:15:10 +00:00
Luke Dashjr
ac0f44438d guix: Exclude minisketch files from release tarball 2023-11-24 20:00:02 +00:00
Luke Dashjr
80ae7cc735 Merge branch 'fix_gitdir_again' into rm_minisketch-26+k 2023-11-24 19:59:59 +00:00
fanquake
05e8874554
guix: update signapple
Fixes #28449

Github-Pull: #28759
Rebased-From: 79539fbfbf
2023-10-31 17:10:20 +00:00
Andrew Chow
deccc50631
guix: Zip needs to include all files with time as SOURCE_DATE_EPOCH
The zip for codesigned MacOS distribution needs to have all files have
the same timestamp. These files also need to be included in the zip as
zip is not automatically recursive. We use the same pattern for zip as
is done for the other zip files produced by guix.

Github-Pull: #28757
Rebased-From: f6f18eeaa8
2023-10-31 17:07:52 +00:00
Fabian Jahr
cb0336817e
scripted-diff: Rename hash_serialized_2 to hash_serialized_3
-BEGIN VERIFY SCRIPT-
sed -i 's/hash_serialized_2/hash_serialized_3/g' $( git grep -l 'hash_serialized_2' ./src ./contrib ./test )
-END VERIFY SCRIPT-
2023-10-20 22:53:06 +02:00
fanquake
4caa10b580
Merge bitcoin/bitcoin#28628: lint: Include test_utxo_snapshots in lint_shell, fix linter errors
348e79f7c6 lint: Include test_utxo_snapshots in lint_shell (Fabian Jahr)

Pull request description:

  jamesob excluded `test_utxo_snapshots.sh` from the shell linter with this explanation: "Add the script to the shellcheck exception list since the quoted variables rule needs to be violated in order to get bitcoind to pick up on $EARLY_IBD_FLAGS." However, macrofake pointed out that single lines can be excluded from linting.

  This fixes one fixable rule violation, excludes the rest of the offending lines from the linter and then removes the exclusion of the `test_utxo_snapshots.sh` file. Also adds documentation.

ACKs for top commit:
  Empact:
    ACK 348e79f7c6
  maflcko:
    lgtm ACK 348e79f7c6
  pablomartin4btc:
    tACK 348e79f7c6

Tree-SHA512: a904cc1cc3c94488dfbd39ea69a3ef17259f991708a797009001669448fef81eed086ecbce1ec433988d88baef293849698e2e0eb86a969b949cc7ef93af7b4b
2023-10-17 09:48:50 +01:00
Luke Dashjr
d9c5ef7f6a contrib/guix: Attempt to use guix shell before the deprecated guix environment 2023-10-17 01:36:57 +00:00
Andrew Chow
76d89579b5
Merge bitcoin/bitcoin#28630: depends: update LD64_VERSION to 711
092daa2f95 contrib: add test for macOS linker version to symbol-check (fanquake)
cefbf0bc20 depends: update LD64_VERSION to 711 (fanquake)

Pull request description:

  I forgot to do this in 7d5815293e.
  Add a test so it's impossible to forget.

ACKs for top commit:
  TheCharlatan:
    utACK 092daa2f95
  achow101:
    ACK 092daa2f95
  jarolrod:
    ACK 092daa2f95
  hebasto:
    ACK 092daa2f95.
  laanwj:
    ACK 092daa2f95

Tree-SHA512: 37f0bdfd6607a7760eabe5efe279532ba0c59c0915161e08d5e3b9a0b7705839d62537d6e17406062f6a0a1db5407575da7cd671e9cb916e422e77f5649c6e2b
2023-10-16 13:29:26 -04:00
Fabian Jahr
348e79f7c6
lint: Include test_utxo_snapshots in lint_shell 2023-10-13 14:06:06 +02:00
fanquake
73dfa6da08
Merge bitcoin/bitcoin#28631: devtools: test_utxo_snapshots.sh sleep cleanup and documentation
36a3004a41 devtools: test_utxo_snapshots.sh sleep cleanup and documentation (Fabian Jahr)

Pull request description:

  There were bare sleep statements in the script where it was unclear why they were needed and I think they could also be replaced by existing helpers.

ACKs for top commit:
  Sjors:
    utACK 36a3004a41
  pablomartin4btc:
    utACK 36a3004a41

Tree-SHA512: b6e2fc69cd7babcfa7f413f11304f4d648d6d64b3b526862664ccedb0016ad182b9e886aa4e8c33315e4c18824512e11a4fd6365f9c3c95093967d3ef7687e62
2023-10-13 11:16:33 +02:00
Fabian Jahr
36a3004a41
devtools: test_utxo_snapshots.sh sleep cleanup and documentation 2023-10-10 12:57:54 +02:00
fanquake
092daa2f95
contrib: add test for macOS linker version to symbol-check 2023-10-10 11:22:14 +01:00
vuittont60
57131bfa3c docs: fix typo 2023-10-10 15:06:47 +08:00
fanquake
b2ede22395
headerssync: update params for 26.x 2023-10-05 11:36:03 +01:00
fanquake
2eacc61ad7
Merge bitcoin/bitcoin#25970: Add headerssync tuning parameters optimization script to repo
3d420d8f28 Add instructions for headerssync-params.py to release-process.md (Pieter Wuille)
53d7d35b58 Update parameters in headerssync.cpp (Pieter Wuille)
7899402cff Add headerssync-params.py script to the repository (Pieter Wuille)

Pull request description:

  Builds upon #25946, as it incorporates changes based on the selected values there.

  This adds the headerssync tuning parameters optimization script from https://gist.github.com/sipa/016ae445c132cdf65a2791534dfb7ae1 to the repository, updates the parameters based on its output, and adds release process instructions for doing this update in the future.

  A few considerations:
  * It would be a bit cleaner to have these parameters be part of `CChainParams`, but due to the nature of the approach, it really only applies to chains with unforgeable proof-of-work, which we really can only reasonably expect from mainnet, so I think it's fine to keep them local to `headerssync.cpp`. Keeping them as compile-time evaluatable constants also has a (likely negligible) performance impact (avoiding runtime modulo operations).
  * If we want to make sure the chainparams and headerssync params don't go out of date, it could be possible to run the script in CI, and and possibly even have the parameters be generated automatically at build time. I think that's overkill for how unfrequently these need to change, and running the script has non-trivial cost (~minutes in the normal python interpreter).
  * A viable alternative is just leaving this out-of-repo entirely, and just do ad-hoc updating from time to time. Having it in the repo and release notes does make sure it's not forgotten, though adds a cost to contributors/maintainers who follow the process.

ACKs for top commit:
  ajtowns:
    reACK 3d420d8f28

Tree-SHA512: 03188301c20423c72c1cbd008ccce89b93e2898edcbeecc561b2928a0d64e9a829ab0744dc3b017c23de8b02f3c107ae31e694302d3931f4dc3540e184de1963
2023-10-05 11:28:29 +01:00
fanquake
693a7cfc6c
Merge bitcoin/bitcoin#28507: contrib/bash-completions: use package naming conventions
360b917674 contrib/bash-completions: use package naming conventions (Erik Arvstedt)

Pull request description:

  #### Copy of commit msg

  This naming scheme supports auto-detection and on-demand loading of completions.

  See
  ba109693ee/README.md (faq),
  section "Where should I put it to be sure that interactive bash shells will find it and source it", keyword `foo.bash`.

  Previously, distro package maintainers had to rename these files manually.

ACKs for top commit:
  willcl-ark:
    ACK 360b917674

Tree-SHA512: 6dd1f62309e877402fac2f7aec785d3053a1fd3fdeae38abc961c3f61269eb664a2489b6fa8294bd706d8ac387c7af3ac66cd7a852810f69371fa8ae991afacb
2023-10-03 10:58:34 +01:00
James O'Beirne
7ee46a755f contrib: add script to demo/test assumeutxo
Add the script to the shellcheck exception list since the
quoted variables rule needs to be violated in order to get
bitcoind to pick up on $CHAIN_HACK_FLAGS.
2023-09-30 06:41:23 -04:00