Commit Graph

40758 Commits

Author SHA1 Message Date
Luke Dashjr
eb5ff377cf Merge 14968 via http_bind_error 2024-06-21 19:28:12 +00:00
Luke Dashjr
a15f368b4d Merge 18490 via bugfix_symcheck_pe_case 2024-06-21 19:28:12 +00:00
Luke Dashjr
8402df120b Merge 18427 via 2020mingwthrd-mini 2024-06-21 19:28:12 +00:00
Luke Dashjr
a35c4fe0bc Merge 18902 via fix_gitdir_again 2024-06-21 19:28:12 +00:00
Luke Dashjr
1abd045d2e Merge 18818 via guix_reltar_autogen_distclean 2024-06-21 19:28:12 +00:00
Luke Dashjr
5cb9486bac Merge ci_i686mp_clang15 2024-06-21 19:28:12 +00:00
Luke Dashjr
0de7c1e030 CI: i686_multiprocess: Use clang-15
Needed to get past Clang 14 optimization bug: https://github.com/llvm/llvm-project/issues/96267
2024-06-22 17:32:18 +00:00
Luke Dashjr
51bbc98f62 Merge nowarn_unreachable-code 2024-06-21 19:28:12 +00:00
Luke Dashjr
6db3eb08b9 Merge lint_relaxer-26+knots 2024-06-21 19:28:12 +00:00
Luke Dashjr
e2099d6484 Merge ci_knots-26 2024-06-21 19:28:12 +00:00
Luke Dashjr
37442ac71a Merge 15155 via test_external_bcli 2024-06-21 19:28:12 +00:00
Luke Dashjr
2dc1722f60 Merge 13789 via bugfix_asm_pragmas 2024-06-21 19:28:12 +00:00
Luke Dashjr
5bb4fd232d Merge 5416 via sys_libsecp256k1 2024-06-21 19:28:12 +00:00
Luke Dashjr
97b8727d34 Merge 2241 via sys_leveldb 2024-06-21 19:28:12 +00:00
Luke Dashjr
2d213fc7c8 Merge 30283 via upnp_228_compat-22 2024-06-21 19:28:12 +00:00
Cory Fields
6430144243 upnp: add compatibility for miniupnpc 2.2.8
See: c0a50ce33e

The return value of 2 now indicates:
"A valid connected IGD has been found but its IP address is reserved (non routable)"

We continue to ignore any return value other than 1.

Github-Pull: #30283
Rebased-From: 8acdf66540
2024-06-21 20:54:10 +00:00
Luke Dashjr
23e0821ee7 Merge fix_evhttp_util_nodep-25 2024-06-21 19:28:12 +00:00
Luke Dashjr
990080d6c6 Merge 29577 via fix_objcxxflags_pr29577-27 2024-06-21 19:28:12 +00:00
Luke Dashjr
f41289db2b Merge 5872 via subdir_incl_compat 2024-06-21 19:28:12 +00:00
Luke Dashjr
52ed096953 Sanity check to detect LLVM bug 96267 2024-06-21 18:43:58 +00:00
Luke Dashjr
56c1c4bd3e Merge branch 'sys_leveldb' into HEAD 2024-06-21 18:43:07 +00:00
Luke Dashjr
46a8ac09a1 QA/sanity_tests: Run dbwrapper_SanityCheck 2024-06-21 18:35:52 +00:00
Luke Dashjr
b1df560be6 Revert "build: Enable -Wunreachable-code"
This partially reverts commit fa8adbe7c1.
2024-06-19 17:41:22 +00:00
MarcoFalke
9691293934 refactor: performance-for-range-copy in psbt.h
Github-Pull: #30253
Rebased-From: fab01b5220
2024-06-12 20:50:06 +00:00
merge-script
1088a98f5a
Merge bitcoin/bitcoin#30222: [27.1] Finalize
d756a384d2 doc: update manual pages for 27.1 (fanquake)
93bb18f1c8 build: bump version to v27.1 final (fanquake)
fcf1241971 doc: update release notes for v27.1 final (fanquake)
f2e05cd2a9 depends: Update Boost download link (Hennadii Stepanov)
ba35920542 build: Fix building `fuzz` binary on on SunOS / illumos (Hennadii Stepanov)

Pull request description:

  Backports:
  * https://github.com/bitcoin/bitcoin/pull/30216
  * https://github.com/bitcoin/bitcoin/pull/30217

  I don't think either of these changes warrants an `rc2` cycle.

ACKs for top commit:
  stickies-v:
    ACK d756a384d2
  willcl-ark:
    ACK d756a384d2

Tree-SHA512: b5662143283a49156403d865dee25f3b6c22741345a4c8ff10f16845ea7a1a6d9d1319a70a44d07f31263bf1a6d85701146e9cc697b82a5a58922c48504a552c
2024-06-11 14:18:57 +01:00
Luke Dashjr
5f111fde36 Bugfix: Restore <string> include in rest.cpp 2024-06-10 14:36:41 +00:00
Andrew Toth
793e8f5f87 rest: read raw block in rest_block and deserialize for json
Note that for speed this commit also removes the proof of work and
signet signature checks before returning the block in getblock.
It is assumed if a block is stored it will be valid.

Github-Pull: #26415
Rebased-From: e710cefd57
2024-06-10 14:05:11 +00:00
Andrew Toth
5417597c6c rpc: read raw block in getblock and deserialize for verbosity > 0
Note that for speed this commit also removes the proof of work and
signet signature checks before returning the block in getblock.
It is assumed if a block is stored it will be valid.

Github-Pull: #26415
Rebased-From: 95ce0783a6
2024-06-10 14:05:11 +00:00
Andrew Toth
b31a4a2a73 test: check more details on zmq raw block response
Github-Pull: #26415
Rebased-From: 0865ab8712
2024-06-10 14:05:11 +00:00
Andrew Toth
bbbcf92de2 zmq: read raw block with ReadRawBlockFromDisk
Github-Pull: #26415
Rebased-From: 38265cc14e
2024-06-10 14:05:11 +00:00
Andrew Toth
18aa12fb5c blockstorage: check nPos in ReadRawBlockFromDisk before seeking back
ReadRawBlockFromDisk assumes a non-null pos that has an nPos >= 8.
This simple check makes the function safer to call in the future,
so callers don't need to worry about causing UB if the pos is null.

Github-Pull: #26415
Rebased-From: da338aada7
2024-06-10 14:05:11 +00:00
fanquake
d756a384d2
doc: update manual pages for 27.1 2024-06-10 13:03:33 +01:00
fanquake
93bb18f1c8
build: bump version to v27.1 final 2024-06-10 13:03:33 +01:00
fanquake
fcf1241971
doc: update release notes for v27.1 final 2024-06-10 13:03:30 +01:00
fanquake
8d3448c59b build: ignore deprecated-declaration warnings in objc++ macOS code
These come from GUI code, and haven't/aren't being fixed, see discussion
in https://github.com/bitcoin-core/gui/issues/112. For now, just ignore
them entirely. Note that this only applies to ObjCXX code, so will not
hide any relevant warnings coming from C or CXX code (and they would be
unlikely in any case).

Alternative to #29362, which disables all compiler warnings, for macOS
builds in the CI.

Relevant output:
```bash
qt/macnotificationhandler.mm:27:9: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
        NSUserNotification* userNotification = [[NSUserNotification alloc] init];
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
           ^
qt/macnotificationhandler.mm:27:50: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
        NSUserNotification* userNotification = [[NSUserNotification alloc] init];
                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
           ^
qt/macnotificationhandler.mm:30:11: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
        [[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification: userNotification];
          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
@interface NSUserNotificationCenter : NSObject {
           ^
3 warnings generated.
```

Github-Pull: #29577
Rebased-From: 8b7630cb1f
2024-06-08 01:56:52 +00:00
Hennadii Stepanov
cafe533fef build: Add missed definition for AM_OBJCXXFLAGS
Github-Pull: #29577
Rebased-From: bd8f0354ba
2024-06-08 01:56:49 +00:00
Luke Dashjr
b4849c67c1 doc: Update Qt version to 5.15.14 2024-06-04 17:50:03 +00:00
fanquake
a0d864340a depends: qt 5.15.14
Github-Pull: #30198
Rebased-From: b018bd779d
2024-06-04 17:47:09 +00:00
Hennadii Stepanov
f2e05cd2a9
depends: Update Boost download link
See: https://github.com/boostorg/boost-tasks/pull/3

Github-Pull: #30217
Rebased-From: ffbc173ca1
2024-06-04 11:17:16 +01:00
Hennadii Stepanov
ba35920542
build: Fix building fuzz binary on on SunOS / illumos
Github-Pull: #30216
Rebased-From: 3299abce94
2024-06-04 11:17:16 +01:00
merge-script
fccd32efe6
Merge bitcoin/bitcoin#30092: [27.x] Backports and rc1
22701a4346 doc: update manual pages for 27.1rc1 (fanquake)
9e919072bd build: bump version to 27.1rc1 (fanquake)
9b4640c4be doc: update release-notes.md for 27.1 (fanquake)
80032d6917 qt: 27.1rc1 translations update (Hennadii Stepanov)
423bd6dc68 windeploy: Renew certificate (Ava Chow)
77b2321ca0 depends: Fetch miniupnpc sources from an alternative website (Hennadii Stepanov)
31adcfa171 test: add GetAddedNodeInfo() CJDNS regression unit test (Jon Atack)
9cdb9edfb8 p2p, bugfix: detect addnode cjdns peers in GetAddedNodeInfo() (Jon Atack)
3c26058da2 crypto: disable asan for sha256_sse4 with clang and -O0 (Cory Fields)
0ba11cf908 rpc: move UniValue in blockToJSON (willcl-ark)
dedf319b08 gui: don't permit port in proxy IP option (willcl-ark)
d1289a1300 gui: fix create unsigned transaction fee bump (furszy)

Pull request description:

  Backports:
  * https://github.com/bitcoin-core/gui/pull/812
  * https://github.com/bitcoin-core/gui/pull/813
  * https://github.com/bitcoin/bitcoin/pull/30085
  * https://github.com/bitcoin/bitcoin/pull/30094
  * https://github.com/bitcoin/bitcoin/pull/30097
  * https://github.com/bitcoin/bitcoin/pull/30149
  * https://github.com/bitcoin/bitcoin/pull/30151

  Bump to 27.1rc1.

ACKs for top commit:
  stickies-v:
    re-ACK 22701a4346
  willcl-ark:
    reACK 22701a4346
  hebasto:
    re-ACK 22701a4346.

Tree-SHA512: 6eca44ba7e6664eb4677646597dfdaf56a241c8c3e95e0ab8929ee2fc3671303fc6c2634d359b4523dbd452ac5e54fd1f4c7c2bf7e9c5209395f8cb3b4753fb3
2024-05-29 09:16:55 +01:00
Luke Dashjr
fe21e5bc03 GUI: setWalletActionsEnabled: Keep historyAction disabled if privacy mode is already on 2024-05-28 20:52:06 +00:00
fanquake
22701a4346
doc: update manual pages for 27.1rc1 2024-05-28 12:28:11 +01:00
fanquake
9e919072bd
build: bump version to 27.1rc1 2024-05-28 12:28:11 +01:00
fanquake
9b4640c4be
doc: update release-notes.md for 27.1 2024-05-28 12:28:06 +01:00
Hennadii Stepanov
80032d6917
qt: 27.1rc1 translations update 2024-05-28 10:18:55 +01:00
Cory Fields
2ae23d32c7 rpc: avoid copying into UniValue
These are simple (and hopefully obviously correct) copies that can be moves
instead.

Github-Pull: #30115
Rebased-From: d7707d9843
2024-05-23 19:40:02 +00:00
Ava Chow
423bd6dc68
windeploy: Renew certificate
Github-Pull: #30149
Rebased-From: 9f4ff1e965
2024-05-23 13:28:44 +01:00
Hennadii Stepanov
77b2321ca0
depends: Fetch miniupnpc sources from an alternative website
The https://miniupnp.tuxfamily.org website is unavailable now.

Github-Pull: #30151
Rebased-From: 21b8a14d37
2024-05-23 09:44:19 +01:00
Jon Atack
31adcfa171
test: add GetAddedNodeInfo() CJDNS regression unit test
Github-Pull: #30085
Rebased-From: d0b047494c
2024-05-23 09:44:19 +01:00