Luke Dashjr
e9d0a3182b
Merge 18194 via bugfix_gui_edit_sendaddr-mini
2025-03-05 03:27:08 +00:00
Luke Dashjr
ccf3424296
Merge bugfix_rpc_getbalance_hacky
2025-03-05 03:27:08 +00:00
Luke Dashjr
3b0c1f0add
Merge fix_rpc_arg_multiname
2025-03-05 03:27:08 +00:00
Luke Dashjr
cfdde513b6
Merge rpcarg_type_per_name
2025-03-05 03:27:08 +00:00
Luke Dashjr
efcc7b7a08
Merge 14485 via fadvise-28+knots
2025-03-05 03:27:08 +00:00
Luke Dashjr
4be2187282
Merge 29614 via bufferedfile_fclose
2025-03-05 03:27:08 +00:00
Luke Dashjr
cbfa6e5b9b
Merge 10731 via log_more_uacomment
2025-03-05 03:27:08 +00:00
Luke Dashjr
85dc1e1fc3
Merge 9524 via rpc_pruneblkchain0
2025-03-05 03:27:08 +00:00
Luke Dashjr
d0f65e2f2e
Merge http_bind_error+extra
2025-03-05 03:27:08 +00:00
Luke Dashjr
def0d7f8f8
Merge 14968 via http_bind_error
2025-03-05 03:27:08 +00:00
Luke Dashjr
d2d3b434b0
Merge 18490 via bugfix_symcheck_pe_case
2025-03-05 03:27:08 +00:00
Luke Dashjr
da1e5f9ffa
Merge 18427 via 2020mingwthrd-mini
2025-03-05 03:27:08 +00:00
Luke Dashjr
506a39d893
Merge 18902 via fix_gitdir_again
2025-03-05 03:27:08 +00:00
Luke Dashjr
5bd6cb2eb0
Merge 18818 via guix_reltar_autogen_distclean
2025-03-05 03:27:08 +00:00
Luke Dashjr
8d7611a7ec
Merge 31408 via qafix_framework_pr31408-27
2025-03-05 03:27:08 +00:00
Luke Dashjr
45a2e5951c
Merge nowarn_unused-function
2025-03-05 03:27:08 +00:00
Luke Dashjr
ad6a12d7bb
Merge nowarn_unreachable-code
2025-03-05 03:27:08 +00:00
Luke Dashjr
efeece9f03
Merge lint_relaxer-28+knots
2025-03-05 03:27:08 +00:00
Luke Dashjr
7d6366b565
Merge 15155 via test_external_bcli
2025-03-05 03:27:08 +00:00
Luke Dashjr
22df203e4c
Merge 13789 via bugfix_asm_pragmas
2025-03-05 03:27:08 +00:00
Luke Dashjr
3d44110252
Merge 5416 via sys_libsecp256k1
2025-03-05 03:27:08 +00:00
Luke Dashjr
91af8d0c4e
Merge 2241 via sys_leveldb
2025-03-05 03:27:08 +00:00
Luke Dashjr
b7dd579993
Merge 5872 via subdir_incl_compat
2025-03-05 03:27:08 +00:00
Luke Dashjr
5faa5027fa
QA: Allow test_runner to pass without full RPC coverage
2025-02-25 19:38:14 +00:00
Luke Dashjr
b24c622edf
lint: Allow including bitcoin-config.h without IWYU pragma
2025-02-25 19:38:14 +00:00
Luke Dashjr
eed7bb6496
lint-python: Allow for some style differences
2025-02-25 19:38:14 +00:00
Luke Dashjr
3c618efb42
fs_helpers: Guard _POSIX_C_SOURCE check within #ifdef
2025-02-24 20:01:00 +00:00
Luke Dashjr
529fea94db
lint/python-dead-code: Just warn, but allow
2025-02-21 15:27:23 +00:00
Luke Dashjr
f1c9717c7e
lint/circular-dependencies: Only check for real circular dependencies
2025-02-21 15:27:23 +00:00
Luke Dashjr
3248ebd754
lint/includes: Ignore duplicate includes in .cpp files
2025-02-21 15:27:23 +00:00
Luke Dashjr
2011d6f969
configure: Never error for unused-function warnings
2025-02-21 15:25:57 +00:00
Luke Dashjr
ed77ceddd8
Revert "build: Enable -Wunreachable-code"
...
This partially reverts commit fa8adbe7c1
.
2025-02-17 02:40:35 +00:00
MarcoFalke
81b6de569e
test: Avoid logging error when logging error
...
Github-Pull: #31408
Rebased-From: cccca8a77f
(minimised)
2025-01-08 14:19:17 +00:00
Ava Chow
32efe85043
Merge bitcoin/bitcoin#31594 : [28.x] 28.1 backports and final changes
...
36314b8da2
doc: Update 28.1 release notes (MarcoFalke)
58910279dc
doc: generate 28.1 manpages (Ava Chow)
6a68ef9bfb
build: bump to 28.1 (Ava Chow)
5b368f88a9
depends: Fix CXXFLAGS on NetBSD (Hennadii Stepanov)
05cd448e33
test: generateblocks called by multiple threads (MarcoFalke)
621c634b7f
rpc: Extend scope of validation mutex in generateblock (MarcoFalke)
Pull request description:
Backports:
- #31502
- #31563
ACKs for top commit:
glozow:
reACK 36314b8da2
achow101:
ACK 36314b8da2
Tree-SHA512: c7a624b4c166f4322011d98d1ca814ae98eaf5fd2481a507cd65a50216f1abbb91f8643508ce81f64f8b10fa2210db1722254c343253f2a950b9c64667735e9b
2025-01-07 13:32:56 -05:00
MarcoFalke
36314b8da2
doc: Update 28.1 release notes
2025-01-06 11:04:28 +01:00
Ava Chow
58910279dc
doc: generate 28.1 manpages
2025-01-02 20:53:02 +01:00
Ava Chow
6a68ef9bfb
build: bump to 28.1
2025-01-02 20:53:02 +01:00
Hennadii Stepanov
5b368f88a9
depends: Fix CXXFLAGS on NetBSD
...
This change corrects an issue where CXXFLAGS were mistakenly overridden
by CFLAGS.
Github-Pull: 31502
Rebased-From: a10bb400e8
2025-01-02 14:18:28 +01:00
MarcoFalke
05cd448e33
test: generateblocks called by multiple threads
...
Co-Authored-By: David Gumberg <davidzgumberg@gmail.com>
Github-Pull: 31563
Rebased-From: fa63b8232f
2025-01-02 14:17:02 +01:00
MarcoFalke
621c634b7f
rpc: Extend scope of validation mutex in generateblock
...
The mutex (required by TestBlockValidity) must be held after creating
the block, until TestBlockValidity is called. Otherwise, it is possible
that the chain advances in the meantime and leads to a crash in
TestBlockValidity:
Assertion failed: pindexPrev && pindexPrev == chainstate.m_chain.Tip() (validation.cpp: TestBlockValidity: 4338)
The diff can be reviewed with the git options
--ignore-all-space --function-context
Github-Pull: 31563
Rebased-From: fa62c8b1f0
2025-01-02 14:16:50 +01:00
Ava Chow
6db725662d
Merge bitcoin/bitcoin#31469 : [28.x] 28.1rc2 backports
...
5576618152
doc: update release notes for 28.1rc2 (Ava Chow)
01fe07a2ce
examples: Generate example bitcoin.conf (Ava Chow)
7ddfcf32da
doc: Generate manpages (Ava Chow)
e0b27b234c
build: Bump to 28.1rc2 (Ava Chow)
bdc6b3e531
Add release note for #31223 (Martin Zumsande)
a0585b6087
test: add functional test for -port behavior (Martin Zumsande)
bbde830b97
net, init: derive default onion port if a user specified a -port (Martin Zumsande)
227642d5af
test: fix MIN macro-redefinition (0xb10c)
b8112cf422
util: use explicit cast in MultiIntBitSet::Fill() (Vasil Dimov)
2835158be0
fuzz: add cstdlib to FuzzedDataProvider (fanquake)
Pull request description:
Backports:
* #31223
* #31448
* #31431
* #31419
ACKs for top commit:
hodlinator:
re-ACK 5576618152
Tree-SHA512: f99f3c5960f18f6894832c5f9a827f97fd3c6e086670341760ce1b77c304d53136492371c59148f3b4bbcfe2d5428c835fe632c61b229b40f1f6f6cf2b72cdca
2024-12-17 13:06:08 -05:00
Ava Chow
5576618152
doc: update release notes for 28.1rc2
2024-12-13 21:27:57 -05:00
Ava Chow
01fe07a2ce
examples: Generate example bitcoin.conf
2024-12-13 21:20:23 -05:00
Ava Chow
7ddfcf32da
doc: Generate manpages
2024-12-13 21:19:41 -05:00
Ava Chow
e0b27b234c
build: Bump to 28.1rc2
2024-12-13 21:16:24 -05:00
Martin Zumsande
bdc6b3e531
Add release note for #31223
...
Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
Github-Pull: bitcoin/bitcoin#31223
Rebased-From: 1dd3af8fbc
2024-12-13 21:15:29 -05:00
Martin Zumsande
a0585b6087
test: add functional test for -port behavior
...
Github-Pull: bitcoin/bitcoin#31223
Rebased-From: 997757dd2b
2024-12-13 21:15:26 -05:00
Martin Zumsande
bbde830b97
net, init: derive default onion port if a user specified a -port
...
After port collisions are no longer tolerated but lead to
a startup failure in v28.0, local setups of multiple nodes,
each with a different -port value would not be possible anymore
due to collision of the onion default port - even if the nodes
were using tor or not interested in receiving onion inbound connections.
Fix this by deriving the onion listening port to be -port + 1.
(idea by vasild / laanwj)
Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
Github-Pull: bitcoin/bitcoin#31223
Rebased-From: 0e2b12b92a
2024-12-13 21:15:23 -05:00
0xb10c
227642d5af
test: fix MIN macro-redefinition
...
Renames the `MIN` macro to `_TRACEPOINT_TEST_MIN`.
From #31418 :
```
stderr:
/virtual/main.c:70:9: warning: 'MIN' macro redefined [-Wmacro-redefined]
70 | #define MIN(a,b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
| ^
include/linux/minmax.h:329:9: note: previous definition is here
329 | #define MIN(a,b) __cmp(min,a,b)
| ^
1 warning generated.
```
fixes: https://github.com/bitcoin/bitcoin/issues/31418
Github-Pull: bitcoin/bitcoin#31419
Rebased-From: 00c1dbd26d
2024-12-11 11:41:49 -05:00
Vasil Dimov
b8112cf422
util: use explicit cast in MultiIntBitSet::Fill()
...
The current code does not have a bug, but is implicitly casting -1 to
65535 and the sanitizer has no way to know whether we intend that or
not.
```
FUZZ=bitset src/test/fuzz/fuzz /tmp/fuz
error: implicit conversion from type 'int' of value -1 (32-bit, signed)
to type 'value_type' (aka 'unsigned short') changed the value to 65535
(16-bit, unsigned)
Base64: Qv7bX/8=
```
Github-Pull: bitcoin/bitcoin#31431
Rebased-From: edb41e4814
2024-12-11 11:41:39 -05:00