Skip to content

fuzz: exercise the transaction-handling path in process_message(s) - #35482

Merged
fanquake merged 5 commits into
bitcoin:masterfrom
HowHsu:fuzz-assert-mempool-empty
Aug 7, 2026
Merged

fanquake merged 5 commits into
bitcoin:masterfrom
HowHsu:fuzz-assert-mempool-empty

Conversation

@HowHsu

@HowHsu HowHsu commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Problem

process_message and process_messages keep the node in IBD (ResetIbd()) and
mine their coinbases with the default bare-OP_TRUE output script. As a result
net_processing returns early at the IsInitialBlockDownload() check and never
reaches the transaction-handling path; and even if it did, a tx spending a
bare-OP_TRUE coinbase is rejected as NONSTANDARD by
ValidateInputsStandardness. The reused mempool therefore always stays empty and
that path is never exercised.

Changes

Both targets now get the same treatment:

  1. Toggle IBD from the test input — a bool decides whether to also
    JumpOutOfIbd(), exercising both the IBD and non-IBD paths. In
    process_message it is consumed last, so existing corpus entries read false
    and are unchanged. In process_messages the messages run in a loop, so the
    bool must be consumed first (see the corpus note below).
  2. Use a spendable P2WSH_OP_TRUE coinbase — both anyone-can-spend (an
    OP_TRUE witness, no signature) and a standard witness output, so a fuzz-built
    tx spending a mature coinbase can actually be accepted into the mempool.
  3. Reset the rng before rebuilding (preparation) — rebuilding the chainman
    (and, in the next commit, the mempool) consumes the global PRNG. Reset it with
    MakeRandDeterministicDANGEROUS() first so the rebuild is deterministic across
    iterations. Mirrors the cmpctblock harness.
  4. Reset the reused mempool — now that the mempool can become non-empty,
    rebuild it together with the chainman in ResetChainmanAndMempool() when the
    block index grew or the mempool changed. A dirty mempool is detected by its
    sequence number rather than its size, since a tx can be added and removed
    within one iteration (leaving the size unchanged).

Corpus note

In process_messages the IBD bool is consumed before the message loop (first
integral read), which shifts the FuzzedDataProvider layout. Existing
process_messages corpus entries can be migrated by appending a single 0x00
byte at the end (read as false, keeping the IBD path); every other consumed
value stays the same. This is a qa-assets change accompanying this PR.

This note no longer applies because the IBD toggle is now consumed inside the
message loop. Appending a single 0x00 byte would not reliably target that bool
or preserve the rest of the input layout.

The accompanying qa-assets update should migrate or regenerate the affected
process_messages corpus entries for the current layout.

@DrahtBot

DrahtBot commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35482.

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK Crypt-iQ, frankomosh, maflcko

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #35675 (mining: add block template manager by ismaelsadeeq)
  • #24230 (indexes: Stop using node internal types and locking cs_main, improve sync logic by ryanofsky)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@maflcko

maflcko commented Jun 10, 2026

Copy link
Copy Markdown
Member

Hmm, what makes the fuzz target produce valid blocks, but not valid transactions? Is it that the prevhash can be solved by a fuzz engine for some reason, but the prevout can not? I guess that could be, because one may be a linear memory compare, and the other a map lookup?

Not sure what to do here, but an alternative could be to add the mempool reset logic and hope that fuzz engines in the future will be smart enough to solve a map lookup?

@sedited

sedited commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

I think I would also prefer if the mempools are just reset instead. Having an empty mempool at all times shouldn't be an invariant of the test.

@HowHsu
HowHsu force-pushed the fuzz-assert-mempool-empty branch from 17927ef to 357d076 Compare June 11, 2026 07:36
@maflcko

maflcko commented Jun 11, 2026

Copy link
Copy Markdown
Member

I don't think this change makes sense. Can you please answer my previous questions why this code is not hit?

I know the answer, but the burden to explain pull requests is on the author.

Hint: You'll have to look at the runtime coverage.

Absent that, I don't think this change makes sense, because it is blindly modifying dead/unreachable code without a context or goal.

@HowHsu

HowHsu commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Hmm, what makes the fuzz target produce valid blocks, but not valid transactions? Is it that the prevhash can be solved by a fuzz engine for some reason, but the prevout can not? I guess that could be, because one may be a linear memory compare, and the other a map lookup?

Not sure what to do here, but an alternative could be to add the mempool reset logic and hope that fuzz engines in the future will be smart enough to solve a map lookup?

I measured this on the process_message corpus: out of 2386 inputs, 90 grow the block index (so the fuzz engine does solve a valid hashPrevBlock), but 0 make the mempool non-empty.
It's probably not prevhash-vs-prevout: both are unordered_map lookups (BlockMap and the UTXO set), about equally hard, and those 90 hits show the engine can solve that kind of key. The real difference is signature verification. A block reaches the block index with no script checks at all — CheckBlock/AcceptBlock only verify (simplified) PoW + merkle + prevhash, and CheckInputScripts only runs later in ConnectBlock (where coinbase is skipped) — so an empty block with just a coinbase needs no signatures. A transaction, on the other hand, must pass CheckInputScripts to enter the mempool, and a fuzz engine can't brute-force a valid signature.

@maflcko

maflcko commented Jun 11, 2026

Copy link
Copy Markdown
Member

No, that is the wrong explanation and ai slop. A signature isn't needed for OP_TRUE.

Please don't use llm bots if you don't understand their output. You are neither helping yourself, nor anyone else.

@HowHsu

HowHsu commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

No, that is the wrong explanation and ai slop. A signature isn't needed for OP_TRUE.

Please don't use llm bots if you don't understand their output. You are neither helping yourself, nor anyone else.

Need sometime to investigate it.

@maflcko

maflcko commented Jun 11, 2026

Copy link
Copy Markdown
Member

Need sometime to investigate it.

Sure, take all the time you need. I am happy to answer any questions you may have.

Also, for future reference, copy-pasting LLM output without marking it as such is against the guidelines: See https://github.com/bitcoin/bitcoin/pull/35386/changes#diff-0db3c9d8a653e398b629930edc9e7dcde74514ef45c26f02a7bd51157d52dcee

@HowHsu

HowHsu commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor Author

No, that is the wrong explanation and ai slop. A signature isn't needed for OP_TRUE.

Please don't use llm bots if you don't understand their output. You are neither helping yourself, nor anyone else.

Still investigating. The first blocker I noticed from the coverage report is that the IBD state seems fixed. Shouldn't it be controlled by the test input so we can cover both the IBD and !IBD code paths?

The second one is the prevout, I'm gonna construct a valid one to pass it.

@maflcko

maflcko commented Jun 11, 2026

Copy link
Copy Markdown
Member

Still investigating. The first blocker I noticed from the coverage report is that the IBD state seems fixed. Shouldn't it be controlled by the test input so we can cover both the IBD and !IBD code paths?

Yeah, see:

src/test/util/validation.cpp:void TestChainstateManager::ResetIbd()
src/test/util/validation.cpp:void TestChainstateManager::JumpOutOfIbd()

The second one is the prevout, I'm gonna construct a valid one to pass it.

I actually don't know if the prevout is the problem. If a fuzz engine can solve the prevhash, it should be able to solve the prevout?

I think there is at least one more other reason why it fails...

@HowHsu

HowHsu commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Still investigating. The first blocker I noticed from the coverage report is that the IBD state seems fixed. Shouldn't it be controlled by the test input so we can cover both the IBD and !IBD code paths?

Yeah, see:

src/test/util/validation.cpp:void TestChainstateManager::ResetIbd()
src/test/util/validation.cpp:void TestChainstateManager::JumpOutOfIbd()

The second one is the prevout, I'm gonna construct a valid one to pass it.

I actually don't know if the prevout is the problem. If a fuzz engine can solve the prevhash, it should be able to solve the prevout?

I think there is at least one more other reason why it fails...

Finally found it:
ValidateInputsStandardness() --> Solver() returns TxoutType::NONSTANDARD
the rootcause is the default coinbase_output_script is CScript() << OP_TRUE. From fuzz/cmpctblock.cpp, I found P2WSH_OP_TRUE is good to pass it.

@maflcko

maflcko commented Jun 12, 2026

Copy link
Copy Markdown
Member

Jup.

Going further, I don't know (haven't tried) if a fuzz engine can solve this. The hash and the havoc effect makes this a bit difficult, but I think you can manually copy-paste a hex transaction into a fuzz input.

If you want to do that, I've pushed maflcko/DrahtBot@bef7685#diff-020ce280c4497d9badfc07d9034d427afaaed448e7289604e207e07bb03b654bR565 (untested, experimental)

@HowHsu

HowHsu commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Jup.

Going further, I don't know (haven't tried) if a fuzz engine can solve this. The hash and the havoc effect makes this a bit difficult, but I think you can manually copy-paste a hex transaction into a fuzz input.

If you want to do that, I've pushed maflcko/DrahtBot@bef7685#diff-020ce280c4497d9badfc07d9034d427afaaed448e7289604e207e07bb03b654bR565 (untested, experimental)

Yes, it's hard to let the fuzz engine solve it, previously I hacked the code to manually construct a Tx for connman.ProcessMessagesOnce. I 'll look into your code, thanks!

@HowHsu

HowHsu commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Jup.

Going further, I don't know (haven't tried) if a fuzz engine can solve this. The hash and the havoc effect makes this a bit difficult, but I think you can manually copy-paste a hex transaction into a fuzz input.

If you want to do that, I've pushed maflcko/DrahtBot@bef7685#diff-020ce280c4497d9badfc07d9034d427afaaed448e7289604e207e07bb03b654bR565 (untested, experimental)

Using your tool (plus a small local modification), I found the following input:

 74780066e604002000702b01c0004200ccf6020008005c5f02000000000101748d0a3aa658ffd81616ff63f7037a1e0bcc72b5f9bc051c903d990de2350a150000000000ffffffff0118ee052a010000002200204ae81572f06e1b88fd5c5ced7a1a000945432e83e1551e6f721ee9c00b8cc33260010151000000005c5f013a65786302ac87ffff07ffffff7c0000030301fb03ffff043b00747505000100ff0200001d0002d9270c0000fefefefafe81333461504b030104000000fb000161706900000000000000ff000000

It successfully reaches the point where a transaction is accepted into the mempool. The input depends on my local changes, though, so it's currently 205 bytes. I'll push the code tomorrow so the result can be reproduced.

@HowHsu HowHsu changed the title fuzz: assert the reused mempool stays empty in process_message(s) fuzz: exercise the transaction-handling path in process_message Jun 14, 2026
@HowHsu
HowHsu force-pushed the fuzz-assert-mempool-empty branch from 357d076 to c783432 Compare June 14, 2026 14:23
@HowHsu

HowHsu commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

Hi @maflcko,

I ran into a problem with process_messages: adding a ConsumeBool() for the IBD state invalidates all existing process_messages corpus entries. What's the usual practice for handling this?

@HowHsu
HowHsu force-pushed the fuzz-assert-mempool-empty branch from c783432 to 3fa4c35 Compare June 14, 2026 14:44
@maflcko

maflcko commented Jun 15, 2026

Copy link
Copy Markdown
Member

Usually that is not a problem and just ignored, because the hope is that the fuzz engines will re-discover everything.

However, it should also be possible to manually transform all fuzz inputs with the same tool/concept I shared above. Instead of manually injecting a bool in the right place in a single fuzz input, one would have to do it for all fuzz inputs. It should be possible with a script, but I've not yet written it and thus never tried it.

@maflcko

maflcko commented Jun 15, 2026

Copy link
Copy Markdown
Member

I've pushed an update to the inverse_fdp, so that the main.rs file is stand-alone and only holds fn main. Now, it should be trivial to modify the C++ code to write to stdout (when run on all old fuzz inputs) the correct main.rs file with a main function, which will then write (when run) the new correct fuzz input format for all fuzz inputs to a new folder.

@HowHsu
HowHsu marked this pull request as draft June 15, 2026 08:47
Comment thread src/test/fuzz/process_message.cpp Outdated
@@ -137,8 +144,9 @@ FUZZ_TARGET(process_message, .init = initialize_process_message)
node.validation_signals->SyncWithValidationInterfaceQueue();
node.validation_signals->UnregisterValidationInterface(node.peerman.get());
node.connman->StopNodes();
if (block_index_size != WITH_LOCK(chainman.GetMutex(), return chainman.BlockIndex().size())) {
// Reuse the global chainman, but reset it when it is dirty
if (block_index_size != WITH_LOCK(chainman.GetMutex(), return chainman.BlockIndex().size()) || node.mempool->size() > 0) {

@Crypt-iQ Crypt-iQ Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

|| node.mempool->size() > 0 branch won't be taken and will lead to non-determinism if a tx is added & removed and the mempool size doesn't change (I forget how this can happen, maybe with time-based eviction?). Also, the rng needs to be reset as creating a fresh mempool will still use the dirty rng state. See for reference the cmpctblock harness: it fixes the first problem by comparing mempool sequence numbers, and the second problem by calling MakeRandDeterministicDANGEROUS.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Checked that, you are right, thanks, I'll update it later.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@HowHsu
HowHsu force-pushed the fuzz-assert-mempool-empty branch from 3fa4c35 to 0c8546b Compare June 17, 2026 16:03
@HowHsu HowHsu changed the title fuzz: exercise the transaction-handling path in process_message fuzz: exercise the transaction-handling path in process_message(s) Jun 17, 2026
@HowHsu
HowHsu marked this pull request as ready for review June 18, 2026 03:24

@maflcko maflcko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

left two style nits

@@ -125,6 +125,10 @@ FUZZ_TARGET(process_message, .init = initialize_process_message)
connman.FlushSendBuffer(p2p_node);
(void)connman.ReceiveMsgFrom(p2p_node, std::move(net_msg));

if (fuzzed_data_provider.ConsumeBool()) {
chainman.JumpOutOfIbd();
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

88f10bdc3bcc6ae8383ede05a525d0e3c1db22e1: I don't understand this commit message. It claims:

The targets keep the node in IBD via ResetIbd()

However, the target code literally says "any time to successfully reset ibd" from commit fa0a864. So this seems like either a bug was added in commit fa0a864 (or later), and you are effectively reverting that commit.

It could make sense to properly explain where the bug was added and then also mention that this reverts that commit?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, there are other fuzz targets that use this pattern, so if they are affected by the same bug, they should be fixed as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

88f10bd: I don't understand this commit message. It claims:

The targets keep the node in IBD via ResetIbd()

However, the target code literally says "any time to successfully reset ibd" from commit fa0a864. So this seems like either a bug was added in commit fa0a864 (or later), and you are effectively reverting that commit.

It could make sense to properly explain where the bug was added and then also mention that this reverts that commit?

Updated.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also, there are other fuzz targets that use this pattern, so if they are affected by the same bug, they should be fixed as well.

I think it can be addressed in a separate PR which focuses on this bug in other targets.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The other target is using the exact same pattern. For every change you submit, please think about minimizing the review load.

It is easier to review one change once, instead of reviewing it several times, spread over time and several pull requests

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The other target is using the exact same pattern. For every change you submit, please think about minimizing the review load.

It is easier to review one change once, instead of reviewing it several times, spread over time and several pull requests

Got it. I'll take a closer look at the !IBD code path changes in p2p_handshake tomorrow. It seems those changes aren't specifically for exercising the transaction-handling path, so the PR title and description will likely need to be updated accordingly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The other target is using the exact same pattern. For every change you submit, please think about minimizing the review load.

It is easier to review one change once, instead of reviewing it several times, spread over time and several pull requests

Updated

Comment thread src/test/fuzz/process_message.cpp Outdated
{
SetMockTime(setup.m_node.chainman->GetParams().GenesisBlock().Time());
SetMockTime(Params().GenesisBlock().Time());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: This seems like the wrong style change for a few reasons:

  • When there is a params local, the local should be preferred, not the global Params().
  • This function is duplicated thrice, so maybe a std::vector<std::pair<COutPoint, CAmount>> ResetChainmanAndMempool(TestingSetup& setup) should sit in src/test/util/validation.h. (This refactor can be done in a preparatory commit).
  • Mixing the SetMockTime global mutator with the FakeNodeClock below seems confusing. Ideally only one is used. I haven't tested this, but my recommendation would be:
auto& GetFakeNodeClock(){
static FakeNodeClock g_fake_clock{};
return g_fake_clock;
}

and then call this helper in the init and in the target code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  • Mixing the SetMockTime global mutator with the FakeNodeClock below seems confusing. Ideally only one is used. I haven't tested this, but my recommendation would be:
auto& GetFakeNodeClock(){
static FakeNodeClock g_fake_clock{};
return g_fake_clock;
}

and then call this helper in the init and in the target code.

This sounds like a separate topic. Could we first replace SetMockTime with FakeNodeClock in this mempool reset PR, and then do the broader FakeNodeClock refactoring in a follow-up PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

nit: This seems like the wrong style change for a few reasons:

  • When there is a params local, the local should be preferred, not the global Params().
  • This function is duplicated thrice, so maybe a std::vector<std::pair<COutPoint, CAmount>> ResetChainmanAndMempool(TestingSetup& setup) should sit in src/test/util/validation.h. (This refactor can be done in a preparatory commit).
  • Mixing the SetMockTime global mutator with the FakeNodeClock below seems confusing. Ideally only one is used. I haven't tested this, but my recommendation would be:
auto& GetFakeNodeClock(){
static FakeNodeClock g_fake_clock{};
return g_fake_clock;
}

and then call this helper in the init and in the target code.

I've done this and included it as a commit in this PR, though it still feels like it belongs to a separate topic.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

in ef18579f107d8b32b26eeba66d5b43090133370e: Just seeing this commit and I think this is going too far. When I said "Mixing the SetMockTime global mutator with the FakeNodeClock below seems confusing. Ideally only one is used. I haven't tested this, but my recommendation would be:"...

I only meant to apply the suggestion to the fuzz targets that mix SetMockTime and FakeNodeClock: I didn't mean to change this globally. I think the auto& GetFakeNodeClock(){...} should only sit in the fuzz target code that really needs it. All other fuzz targets can just use a local-scope plain FakeNodeClock clock{};, like before.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

c5ab212: seems like the change to utxo_snapshot can be added back as it fits this pattern

@HowHsu

HowHsu commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

crACK 87b080f

Will test next.

I think that statement is not true now since the toggle now happens inside the loop.

Maybe update OP since it gets included in the merge commit?

Done, thanks.

@Crypt-iQ

Crypt-iQ commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

I don't have an input that hit the valid TX yet and I also wasn't able to check if this harness is deterministic. I believe there is existing non-determinism on master with process_messages (the only harness I ran). I did check that both IBD and non-IBD paths are covered.

@HowHsu

HowHsu commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

I don't have an input that hit the valid TX yet and I also wasn't able to check if this harness is deterministic. I believe there is existing non-determinism on master with process_messages (the only harness I ran). I did check that both IBD and non-IBD paths are covered.

Super thanks for doing that.

@sedited
sedited requested a review from frankomosh August 5, 2026 11:51

@frankomosh frankomosh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review ACK 87b080f

Maybe this then allows us to capture mature coinbase outpoints(returned by ResetChainmanAndMempool() afaict), which I think are currently discarded by process_message(s) ?

I am thinking that would make it possible for the engine to go beyond ProcessTransaction . Not sure if it does currently but I doubt it.

@maflcko

maflcko commented Aug 7, 2026

Copy link
Copy Markdown
Member

Nice.

review ACK 87b080f 🏁

Show signature

Signature:

untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
trusted comment: review ACK 87b080fe2b66036184a54a0bfc320498dd416d74 🏁
Z3MYZhyiN5MydRa+DK5CGUGpNvDLIVEszoNhU6NSWxGDcILStWzIUIY/CzRaGhYHJmj740zPUFNce4EfuPZQAQ==

@fanquake
fanquake merged commit f11dc61 into bitcoin:master Aug 7, 2026
29 checks passed

@maflcko maflcko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

forgot to submit all the style nits

Comment thread src/test/util/time.h
Comment on lines +79 to +81
inline FakeNodeClock& GetFakeNodeClock()
{
static FakeNodeClock g_fake_node_clock{0s};

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

some style notes in 2a4ef42: (Only for the future, no need to change anything in this pull)

Seems fine, but I think it would be better to just manually inline this function in the fuzz targets that use it? My hope is that this is used rarely enough so that it isn't worth it to expose to all fuzz targets via the util module. Also, it would be good to follow the TestingSetup pattern: Explicitly init the global in the fuzz target, and then pass around a TestingSetup* pointer.

More generally, I am mostly wondering what to do about the SetMockTime calls in the global fuzz initialize function. Possibly, they could use FakeNodeClock, and the fuzz targets that fail as a result, should be adjusted to pull in a local fake time. The fuzz targets could even have several FakeNodeClock (one for the init function, and one for the "main" function).

But this should be trivial to change in the future to use either approach, no need to change anything here. Edit: Either of the approaches would probably mean that one has to pass a reference of the clock into ResetChainmanAndMempool.

Also a style nit: If a commit is not intended to change any behavior, like 2a4ef42, the it can include in the commit message refactor: or "This commit does not change any behavior".

Also a style nit: The function should have a docstring, along the lines:

/// Return a global fake node clock, with mocktime unset; The caller must set mocktime before use.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Some investigation from my side for now, just to share:

I tried removing SetMockTime(1231006505) from the global fuzz initialize() function and tested all 235 fuzz targets. With -runs=0, 26 targets failed
because CheckGlobals detected system-time access during their .init function.

The distribution is:

  • 3 targets have no target-local NodeClock setup at all: coincontrol, crypter, and wallet_bdb_parser.
  • 7 targets set mocktime in .init, but only after constructing TestingSetup: cmpctblock, process_message, process_messages,
    ephemeral_package_eval, tx_package_eval, tx_pool, and tx_pool_standard.
  • 16 targets create a FakeNodeClock only in the fuzz target body, which is too late to cover .init: block_index_tree, connman,
    load_external_block_file, mini_miner, p2p_handshake, p2p_headers_presync, p2p_private_broadcast, partially_downloaded_block, rpc,
    scriptpubkeyman, spkm_migration, txdownloadman, txdownloadman_impl, validation_load_mempool, wallet_create_transaction, and wallet_fees.

The common first system-time access is during TestingSetup construction:

TestingSetup
  -> CTxMemPool
  -> lastRollingFeeUpdate{GetTime()}
  -> NodeClock::now()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also, it would be good to follow the TestingSetup pattern: Explicitly init the global in the fuzz target, and then pass around a TestingSetup* pointer.

Hi @maflcko , this seems confict with what you told me before, why don't us follow the pattern of FakeSteadyClock?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

New PR created for this: #35956

auto& chainman{static_cast<TestChainstateManager&>(*node.chainman)};
const auto block_index_size{WITH_LOCK(chainman.GetMutex(), return chainman.BlockIndex().size())};
GetFakeNodeClock().set(1610000000s); // any time to successfully reset ibd
GetFakeNodeClock().set(1610000000s); // 2021-01-07, arbitrary

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If the comment is added, after a rebase p2p_private_broadcast.cpp also applies

// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <addrman.h>
#include <blockencodings.h>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same in 2a29cee: Could say: "This refactor does not change any behavior and only moves code."

// it to call at most once.
bool jump_out_of_ibd{false};
LIMITED_WHILE (fuzzed_data_provider.ConsumeBool(), 30) {
if (!jump_out_of_ibd) jump_out_of_ibd = fuzzed_data_provider.ConsumeBool();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

in b114563: after submitting the new corpus, maybe one can think about adding sometimes-assertions (or so), to catch this silently breaking again in the future.

I guess it could be a build or runtime flag to enable sometimes-assertions. Then, there could be a sometimes-assertions CI build in qa-assets, and possibly in nightly.

@Crypt-iQ

Crypt-iQ commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

in b114563: after submitting the new corpus, maybe one can think about adding sometimes-assertions (or so), to catch this silently breaking again in the future.
I guess it could be a build or runtime flag to enable sometimes-assertions. Then, there could be a sometimes-assertions CI build in qa-assets, and possibly in nightly.

How do you think this would look at the implementation level? Add the assertion and at some point during the run, the sometimes assertion must be hit or a warning is printed at the end of the run i.e. when handling SIGINT?

Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Aug 9, 2026
…path in process_message(s)

ec59fec fuzz: reset the reused mempool in process_message(s) (Hao Xu)
f88ed2d fuzz: prepare deterministic mempool rebuilds (Hao Xu)
e55b8d8 fuzz: let the test input toggle IBD in the p2p fuzz targets (Hao Xu)
abafc81 test: add helper to reset chainman and mempool (Hao Xu)
542b445 fuzz: share a single FakeNodeClock in the chainman-resetting fuzz targets (Hao Xu)

Pull request description:

  ## Problem

  `process_message` and `process_messages` keep the node in IBD (`ResetIbd()`) and
  mine their coinbases with the default bare-`OP_TRUE` output script. As a result
  `net_processing` returns early at the `IsInitialBlockDownload()` check and never
  reaches the transaction-handling path; and even if it did, a tx spending a
  bare-`OP_TRUE` coinbase is rejected as `NONSTANDARD` by
  `ValidateInputsStandardness`. The reused mempool therefore always stays empty and
  that path is never exercised.

  ## Changes

  Both targets now get the same treatment:

  1. **Toggle IBD from the test input** — a `bool` decides whether to also
     `JumpOutOfIbd()`, exercising both the IBD and non-IBD paths. In
     `process_message` it is consumed last, so existing corpus entries read `false`
     and are unchanged. In `process_messages` the messages run in a loop, so the
     bool must be consumed *first* (see the corpus note below).
  2. **Use a spendable `P2WSH_OP_TRUE` coinbase** — both anyone-can-spend (an
     `OP_TRUE` witness, no signature) and a standard witness output, so a fuzz-built
     tx spending a mature coinbase can actually be accepted into the mempool.
  3. **Reset the rng before rebuilding (preparation)** — rebuilding the chainman
     (and, in the next commit, the mempool) consumes the global PRNG. Reset it with
     `MakeRandDeterministicDANGEROUS()` first so the rebuild is deterministic across
     iterations. Mirrors the `cmpctblock` harness.
  4. **Reset the reused mempool** — now that the mempool can become non-empty,
     rebuild it together with the chainman in `ResetChainmanAndMempool()` when the
     block index grew or the mempool changed. A dirty mempool is detected by its
     sequence number rather than its size, since a tx can be added and removed
     within one iteration (leaving the size unchanged).

  ## Corpus note

  ~~In `process_messages` the IBD bool is consumed before the message loop (first
  integral read), which shifts the `FuzzedDataProvider` layout. Existing
  `process_messages` corpus entries can be migrated by appending a single `0x00`
  byte at the end (read as `false`, keeping the IBD path); every other consumed
  value stays the same. This is a qa-assets change accompanying this PR.~~

    This note no longer applies because the IBD toggle is now consumed inside the
    message loop. Appending a single `0x00` byte would not reliably target that bool
    or preserve the rest of the input layout.

    The accompanying `qa-assets` update should migrate or regenerate the affected
    `process_messages` corpus entries for the current layout.

ACKs for top commit:
  Crypt-iQ:
    crACK ec59fec
  maflcko:
    review ACK ec59fec 🏁
  frankomosh:
    Review ACK ec59fec

Tree-SHA512: e557b2ca3329767a45fe8315c63df9c3191a3a46a17c5e75ea3e4ad0c25e0e500a687fa650297a386b0a2ebb95503d069089ca5ae3d0a34caab98367aeb28683
@HowHsu

HowHsu commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Review ACK 87b080f

Maybe this then allows us to capture mature coinbase outpoints(returned by ResetChainmanAndMempool() afaict), which I think are currently discarded by process_message(s) ?

I am thinking that would make it possible for the engine to go beyond ProcessTransaction . Not sure if it does currently but I doubt it.

Hi Frankomosh,

Could you elaborate on what you mean by "beyond ProcessTransaction"? For mature coinbase outpoints, they are used in cmpctblock to generate Txs.

Thanks!

@HowHsu

HowHsu commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor Author

in b114563: after submitting the new corpus, maybe one can think about adding sometimes-assertions (or so), to catch this silently breaking again in the future.
I guess it could be a build or runtime flag to enable sometimes-assertions. Then, there could be a sometimes-assertions CI build in qa-assets, and possibly in nightly.

How do you think this would look at the implementation level? Add the assertion and at some point during the run, the sometimes assertion must be hit or a warning is printed at the end of the run i.e. when handling SIGINT?

@maflcko @Crypt-iQ Maybe we can do something like below:

  struct FuzzTargetOptions {                                                                                                        
      std::function<void()> init{[] {}};                                                                                            
      std::function<void()> finalize{[] {}};                                                                                        
      bool hidden{false};                                                                                                           
  }; 

and put the assert in finalize(), since it is lightweight, maybe no build flags needed for now. How do you think?

@frankomosh

Copy link
Copy Markdown
Contributor

Could you elaborate on what you mean by "beyond ProcessTransaction"? For mature coinbase outpoints, they are used in cmpctblock to generate Txs.

What I meant is that your PR's P2WSH_OP_TRUE coinbases and ResetChainmanAndMempool() return value make it possible to inject a valid spending tx in the harness. I tried it here: https://github.com/frankomosh/bitcoin/tree/fuzz-process-messages-tx-acceptance

Please have a look and let me know.

@maflcko

maflcko commented Aug 18, 2026

Copy link
Copy Markdown
Member

Probably not a new issue, and only "silently" related to the changes here, but a lock order inversion is possible:

echo 'Gv8uXPBdXV0QEP//dHVhxyoVKP////8A/0BrLmNrAEEAIP+MXHR0OQAAAAD+///txgIUADBgAAEC
fgAAAK0ArQEAAAD/AFwAQf9cdHf5XGhlYWRlcltbyzHIw8RcX2Jsb2NrAAAAAGNtcAAAADAftOvd
D0sFqXEx6US5VIknlsOJqZ5goMwtmwZBPdCxQZbatBsWPOR3FcUvSLLsKwcgKT8XdmjvDgskH5pK
iAUI/uVJTf//fyAAAAAAAQIAAAAAAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//
//8DAskA/v///wIA+QKVAAAAAAFRAAAAAAAAAAAmaiSqIant4vYcP3HR3v0/qZnfo2lTdVxcaQaJ
eZlitIvr2DaXToz5ASAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMgAAAD/XPB0eAD/
AgAAAAD9ABZqCwAAAAAEAAAAXPBhYVtbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tb
W1tb//9bW1tbW1tbW1sAAAAxNgAAADc5MzU5NDk2ODEwNzg3NAAAAAICAgL9a4jAhyQCAgICAQAA
AAAABSpvdGhlcir/8wICAgICAAAAeAL0AAAAAAAAaW52O///BAAAAAAAtbW1tWFbW2FhtbVhYWFh
YSkpW1tbW2QAJwAAAAAAAAAAMTYAAAA3OTM1OTQ5NjgxMDc4NzQAAAACAgIC/WuIwIckAgICAgEA
AAAAAAUAAAAAAv7///MAeAL0AAAAAAAAaW52Ow==' | base64 --decode > /tmp/fuzz.input

FUZZ=process_messages ./bld-cmake/bin/fuzz /tmp/fuzz.input --printtoconsole=1 

will print:

2026-08-18T14:34:08.168931Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:108] [potential_deadlock_detected] [error] POTENTIAL DEADLOCK DETECTED
2026-08-18T14:34:08.168940Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:109] [potential_deadlock_detected] [error] Previous lock order was:
2026-08-18T14:34:08.168946Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:118] [potential_deadlock_detected] [error]  'NetEventsInterface::g_msgproc_mutex' in test/fuzz/process_messages.cpp:88 (in thread 'test')
2026-08-18T14:34:08.168952Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:118] [potential_deadlock_detected] [error]  'm_chainstate_mutex' in validation.cpp:3351 (in thread 'test')
2026-08-18T14:34:08.168958Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:118] [potential_deadlock_detected] [error]  'cs_main' in validation.cpp:3373 (in thread 'test')
2026-08-18T14:34:08.168963Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:118] [potential_deadlock_detected] [error]  (2) 'MempoolMutex()' in validation.cpp:3376 (in thread 'test')
2026-08-18T14:34:08.168969Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:118] [potential_deadlock_detected] [error]  (1) 'm_tx_download_mutex' in net_processing.cpp:2216 (in thread 'test')
2026-08-18T14:34:08.168974Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:122] [potential_deadlock_detected] [error] Current lock order is:
2026-08-18T14:34:08.168979Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:133] [potential_deadlock_detected] [error]  'NetEventsInterface::g_msgproc_mutex' in test/fuzz/process_messages.cpp:88 (in thread 'test')
2026-08-18T14:34:08.168985Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:133] [potential_deadlock_detected] [error]  'cs_main' in net_processing.cpp:4725 (in thread 'test')
2026-08-18T14:34:08.168990Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:133] [potential_deadlock_detected] [error]  (1) 'm_tx_download_mutex' in net_processing.cpp:4725 (in thread 'test')
2026-08-18T14:34:08.168996Z (mocktime: 2048-07-26T17:50:26Z) [test] [sync.cpp:133] [potential_deadlock_detected] [error]  (2) 'cs' in txmempool.h:521 (in thread 'test')
Assertion failed: detected inconsistent lock order for 'cs' in txmempool.h:521 (in thread 'test'), details in debug log.

With the LLM explanation:

• ImmediateTaskRunner executes validation callbacks synchronously while m_mempool.cs is held in src/validation.cpp:3376. The callback then acquires m_tx_download_mutex in src/net_processing.cpp:2216.

  Conversely, incoming transaction processing acquires m_tx_download_mutex in src/net_processing.cpp:4725, then AlreadyHaveTx() acquires the mempool lock through m_mempool.exists() in src/node/txdownloadman_impl.cpp:149 and
  src/txmempool.h:521.

  This exposes the conflicting lock orders:

  m_mempool.cs → m_tx_download_mutex
  m_tx_download_mutex → m_mempool.cs

Not sure if this has been discussed previously and not entirely sure what to do here. Possible fixes could be:

@maflcko

maflcko commented Aug 18, 2026

Copy link
Copy Markdown
Member

in b114563: after submitting the new corpus, maybe one can think about adding sometimes-assertions (or so), to catch this silently breaking again in the future.
I guess it could be a build or runtime flag to enable sometimes-assertions. Then, there could be a sometimes-assertions CI build in qa-assets, and possibly in nightly.

How do you think this would look at the implementation level? Add the assertion and at some point during the run, the sometimes assertion must be hit or a warning is printed at the end of the run i.e. when handling SIGINT?

@maflcko @Crypt-iQ Maybe we can do something like below:

  struct FuzzTargetOptions {                                                                                                        
      std::function<void()> init{[] {}};                                                                                            
      std::function<void()> finalize{[] {}};                                                                                        
      bool hidden{false};                                                                                                           
  }; 

and put the assert in finalize(), since it is lightweight, maybe no build flags needed for now. How do you think?

I think it is fine to only track reachability goals that are executed at least once. Generally, I'd expect the goals to be put toward the end of the fuzz target, and always to be executed?

So something trivial like this should be enough:

diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp
index 8c1def4..0b1b243 100644
--- a/src/test/fuzz/fuzz.cpp
+++ b/src/test/fuzz/fuzz.cpp
@@ -29,3 +29,5 @@
 #include <memory>
+#include <mutex>
 #include <random>
+#include <source_location>
 #include <string>
@@ -82,2 +84,56 @@ static const TypeTestOneInput* g_test_one_input{nullptr};
 
+namespace {
+class ReachabilityTracker
+{
+public:
+    ReachabilityTracker()
+    {
+        const char* enforce{std::getenv("FUZZ_ENFORCE_REACHABILITY")};
+        if (!enforce || std::string_view{enforce} == "0") return;
+        if (std::string_view{enforce} == "1") {
+            m_enforce = true;
+            return;
+        }
+        std::fprintf(stderr, "FUZZ_ENFORCE_REACHABILITY must be 0 or 1.\n");
+        std::abort();
+    }
+
+    ~ReachabilityTracker()
+    {
+        std::lock_guard lock{m_mutex};
+        bool all_reached{true};
+        for (const auto& [id, reached] : m_goals) {
+            std::cerr << (reached ? "PASS" : "FAIL") << " reachability goal "
+                      << id << '\n';
+            all_reached &= reached;
+        }
+        if (m_enforce && !all_reached) {
+            std::cerr.flush();
+            std::_Exit(EXIT_FAILURE);
+        }
+    }
+
+    void Observe(bool reached, std::source_location location)
+    {
+        const std::string id{std::string{location.file_name()} + ":" +
+                             std::to_string(location.line()) + ":" +
+                             std::to_string(location.column())};
+        std::lock_guard lock{m_mutex};
+        auto& goal{m_goals[id]};
+        goal |= reached;
+    }
+
+    std::map<std::string, bool> m_goals;
+    std::mutex m_mutex;
+    bool m_enforce{false};
+};
+
+ReachabilityTracker g_reachability_tracker;
+} // namespace
+
+void ReachabilityGoal(bool reached, std::source_location location)
+{
+    g_reachability_tracker.Observe(reached, location);
+}
+
 static void test_one_input(FuzzBufferType buffer)
diff --git a/src/test/fuzz/fuzz.h b/src/test/fuzz/fuzz.h
index f51310e..748dc17 100644
--- a/src/test/fuzz/fuzz.h
+++ b/src/test/fuzz/fuzz.h
@@ -9,2 +9,3 @@
 #include <functional>
+#include <source_location>
 #include <span>
@@ -34,2 +35,6 @@ void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target,
 
+void ReachabilityGoal(
+    bool reached,
+    std::source_location location = std::source_location::current());
+
 #define FUZZ_TARGET(...) DETAIL_FUZZ(__VA_ARGS__)

Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Aug 19, 2026
…path in process_message(s)

87b080fe2b66036184a54a0bfc320498dd416d74 fuzz: reset the reused mempool in process_message(s) (Hao Xu)
d522fd3196368d4be337bff7bc2a5f33ce3ed1c4 fuzz: prepare deterministic mempool rebuilds (Hao Xu)
b11456386b266b8c0a319b6fad3481b8eeb155cf fuzz: let the test input toggle IBD in the p2p fuzz targets (Hao Xu)
2a29cee68438e485b101e9a89c907f7a2ea38232 test: add helper to reset chainman and mempool (Hao Xu)
2a4ef42d34edf6499e4185c2fc7c6fed8b071ae7 fuzz: share a single FakeNodeClock in the chainman-resetting fuzz targets (Hao Xu)

Pull request description:

  ## Problem

  `process_message` and `process_messages` keep the node in IBD (`ResetIbd()`) and
  mine their coinbases with the default bare-`OP_TRUE` output script. As a result
  `net_processing` returns early at the `IsInitialBlockDownload()` check and never
  reaches the transaction-handling path; and even if it did, a tx spending a
  bare-`OP_TRUE` coinbase is rejected as `NONSTANDARD` by
  `ValidateInputsStandardness`. The reused mempool therefore always stays empty and
  that path is never exercised.

  ## Changes

  Both targets now get the same treatment:

  1. **Toggle IBD from the test input** — a `bool` decides whether to also
     `JumpOutOfIbd()`, exercising both the IBD and non-IBD paths. In
     `process_message` it is consumed last, so existing corpus entries read `false`
     and are unchanged. In `process_messages` the messages run in a loop, so the
     bool must be consumed *first* (see the corpus note below).
  2. **Use a spendable `P2WSH_OP_TRUE` coinbase** — both anyone-can-spend (an
     `OP_TRUE` witness, no signature) and a standard witness output, so a fuzz-built
     tx spending a mature coinbase can actually be accepted into the mempool.
  3. **Reset the rng before rebuilding (preparation)** — rebuilding the chainman
     (and, in the next commit, the mempool) consumes the global PRNG. Reset it with
     `MakeRandDeterministicDANGEROUS()` first so the rebuild is deterministic across
     iterations. Mirrors the `cmpctblock` harness.
  4. **Reset the reused mempool** — now that the mempool can become non-empty,
     rebuild it together with the chainman in `ResetChainmanAndMempool()` when the
     block index grew or the mempool changed. A dirty mempool is detected by its
     sequence number rather than its size, since a tx can be added and removed
     within one iteration (leaving the size unchanged).

  ## Corpus note

  ~~In `process_messages` the IBD bool is consumed before the message loop (first
  integral read), which shifts the `FuzzedDataProvider` layout. Existing
  `process_messages` corpus entries can be migrated by appending a single `0x00`
  byte at the end (read as `false`, keeping the IBD path); every other consumed
  value stays the same. This is a qa-assets change accompanying this PR.~~

    This note no longer applies because the IBD toggle is now consumed inside the
    message loop. Appending a single `0x00` byte would not reliably target that bool
    or preserve the rest of the input layout.

    The accompanying `qa-assets` update should migrate or regenerate the affected
    `process_messages` corpus entries for the current layout.

ACKs for top commit:
  Crypt-iQ:
    crACK 87b080fe2b66036184a54a0bfc320498dd416d74
  maflcko:
    review ACK 87b080fe2b66036184a54a0bfc320498dd416d74 🏁
  frankomosh:
    Review ACK 87b080fe2b66036184a54a0bfc320498dd416d74

Tree-SHA512: e557b2ca3329767a45fe8315c63df9c3191a3a46a17c5e75ea3e4ad0c25e0e500a687fa650297a386b0a2ebb95503d069089ca5ae3d0a34caab98367aeb28683
fanquake added a commit that referenced this pull request Aug 19, 2026
4e5327b fuzz: refactor: scope fake clocks to target phases (Hao Xu)
e33410d fuzz: document arbitrary mocktimes (Hao Xu)

Pull request description:

  Follow-up to #35482 (#35482 (comment)), addressing a remaining issue with the lifetime of the mock node clock.

  This replaces the process-wide `FakeNodeClock` accessor with scoped clocks in the affected fuzz target initialization and input-processing phases, following the existing `FakeSteadyClock` pattern. The active clock is passed to `ResetChainmanAndMempool()` by reference.

  Tested the affected fuzz targets with `-runs=1`:

  - `cmpctblock`
  - `process_message`
  - `process_messages`
  - `utxo_snapshot`
  - `utxo_snapshot_invalid`

ACKs for top commit:
  maflcko:
    review ACK 4e5327b 🚉
  nervana21:
    re-ACK 4e5327b

Tree-SHA512: 7763bb2a06e3f33bcae3ad7b43f6d30a231e39197e8d274eadd496da1194fc0178b27cf016b451f36309d9277ce414c85daf734604c85a9deb3803b26b968e6a
@maflcko

maflcko commented Aug 20, 2026

Copy link
Copy Markdown
Member

Not sure if this has been discussed previously and not entirely sure what to do here.

Ah, to answer my own question. This was discussed in bitcoin-core/qa-assets#276 (comment), and I already wrote the fix there.

Fixed the crash in
#36046

@HowHsu

HowHsu commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Not sure if this has been discussed previously and not entirely sure what to do here.

Missed this one, thanks for letting me know.

Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Aug 23, 2026
4e5327bc988b3928ab6c96d6407d28a91a347413 fuzz: refactor: scope fake clocks to target phases (Hao Xu)
e33410d888417d4bec8b5156b8b98d6d34ab2648 fuzz: document arbitrary mocktimes (Hao Xu)

Pull request description:

  Follow-up to #35482 (bitcoin/bitcoin#35482 (comment)), addressing a remaining issue with the lifetime of the mock node clock.

  This replaces the process-wide `FakeNodeClock` accessor with scoped clocks in the affected fuzz target initialization and input-processing phases, following the existing `FakeSteadyClock` pattern. The active clock is passed to `ResetChainmanAndMempool()` by reference.

  Tested the affected fuzz targets with `-runs=1`:

  - `cmpctblock`
  - `process_message`
  - `process_messages`
  - `utxo_snapshot`
  - `utxo_snapshot_invalid`

ACKs for top commit:
  maflcko:
    review ACK 4e5327bc988b3928ab6c96d6407d28a91a347413 🚉
  nervana21:
    re-ACK 4e5327bc988b3928ab6c96d6407d28a91a347413

Tree-SHA512: 7763bb2a06e3f33bcae3ad7b43f6d30a231e39197e8d274eadd496da1194fc0178b27cf016b451f36309d9277ce414c85daf734604c85a9deb3803b26b968e6a
@HowHsu

HowHsu commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

I think it is fine to only track reachability goals that are executed at least once. Generally, I'd expect the goals to be put toward the end of the fuzz target, and always to be executed?

So something trivial like this should be enough:

Hi @maflcko , I see what you mean now, do you mind me push this forward to be a polished PR?

@maflcko

maflcko commented Aug 24, 2026

Copy link
Copy Markdown
Member

Sure. I think the code should be pretty polished already. Maybe only nit would be to move it into src/test/fuzz/util/* somewhere?

@HowHsu

HowHsu commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Sure. I think the code should be pretty polished already. Maybe only nit would be to move it into src/test/fuzz/util/* somewhere?

I think src/test/fuzz/util/reachability.{h,cpp} would be good, though it's small for now.

alexanderwiederin added a commit to alexanderwiederin/rust-bitcoinkernel that referenced this pull request Sep 2, 2026
…462c683d4

97462c683d4 kernel: Add script tracer
ea7d459ac08 Merge bitcoin/bitcoin#36057: build: check for SetThreadDescription() at configure time
204256c73f2 Merge bitcoin/bitcoin#35900: iwyu: Fix warnings in `src/interfaces` and treat them as errors
da1cb4dd90e Merge bitcoin/bitcoin#35586: doc: note -blocknotify is not run during IBD/reindex in help text
b31aae4f9af Merge bitcoin/bitcoin#36094: ci: bump riscv toolchain to tag 2026.08.25
607f220c6cf Revert "ci: use mirror for riscv submodules"
64af18f4e6d ci: bump riscv toolchain to tag 2026.08.25
fd573f6db9d Merge bitcoin/bitcoin#36044: test: cover OP_SUCCESSx bypassing the initial stack element size limit
2224e4af6ce Merge bitcoin/bitcoin#35850: fuzz: Implement `connect_block` harness
2777300c68f fuzz: Implement connect_block harness
bed46bd16c2 build: check for SetThreadDescription() at configure time
40add915be5 test: Add reset to CuckooCache
a24110cef7f Merge bitcoin/bitcoin#36092: fix: UB sanitizer in mempool estimator logging
8b84f917789 Merge bitcoin/bitcoin#36088: util: Set Univalue to null after read failure
576a0ebb536 fix: UB sanitizer in mempool estimator logging
5f45583e437 Merge bitcoin/bitcoin#36077: bugfix: give TxDownloadManager its own RNG
fa72de78a93 util: Set Univalue to null after read failure
fa7786592d7 test: Add UniValue failed read test
e339043ee9e Merge bitcoin/bitcoin#35829: http: Make class fields private and make HTTPResponse a struct
031175197f1 Merge bitcoin/bitcoin#36032: rpc: avoid quadratic output lookups
b91d983f66f Merge bitcoin/bitcoin#36078: qa: Reduce `-maxconnections` in the functional test framework
0f5c6d0b64a Merge bitcoin/bitcoin#35618: depends: Make tarball creation from local directory reproducible
b8a8893bf2a qa: Lower `-rpcmaxconnections` in `interface_http.py` test
6f4109b4489 qa: Reduce `-maxconnections` in the functional test framework
80eaa6cabf2 bugfix: give TxDownloadManager its own RNG
5e0d7a286a4 refactor: Drastically narrow scope of http_bitcoin namespace and rename it to bitcoin_http
8f9fd8698a7 refactor: Make HTTPRemoteClient fields private
d72f67fd6c9 refactor: Expose additional HTTPRemoteClient fields through accessors
10bbae302fb refactor: Expose HTTPRemoteClient fields to tests through methods
5b06d908316 refactor: Replace HTTPServer::MaybeDispatchRequestsFromClient() with HTTPRemoteClient::TryReadRequest()
794a753958a Merge bitcoin/bitcoin#35583: test: close the listeners before terminating the event loop
f6b3f2ff6b1 Merge bitcoin/bitcoin#36064: qa: Minor improvement follow-ups to 35730
6a028161daf Merge bitcoin/bitcoin#36025: psbt: avoid duplicate taproot leaf script keys when merging
07d92a9d65a Merge bitcoin/bitcoin#35516: rpc: preserve global xpubs and proprietary fields in joinpsbts
4375d74d24c Merge bitcoin/bitcoin#34993: wallet: `NotifyCanGetAddressesChanged` when advancing `next_index`
290be9eafa4 qa: Minor feature_init.py improvements
6248331b295 qa: Switch to warning when skipping tests
04cf9ecee43 Merge bitcoin/bitcoin#35978: contrib/init: fix unused variables in openrc script
aed80c73958 Merge bitcoin/bitcoin#36067: test: Remove `BOOST_CHECK_CLOSE` in favor of exact comparison
07ca9ba9e84 Merge bitcoin/bitcoin#36059: test: make index crash test check saved state
402f1fdae6a Merge bitcoin/bitcoin#36063: refactor: [test] Remove deprecated SetMockTime(i64) alias
135e05cfa07 Merge bitcoin/bitcoin#36046: fuzz: Use ImmediateBackgroundTaskRunner in process_messages
9e115edd39f test: Remove `BOOST_CHECK_CLOSE` in favor of exact comparison
6d570415a01 refactor(qa): Move check right below related check
7e3b60584b3 refactor(qa): Simplify through using assert_raises()
fad1e6bf238 util: refactor: Remove deprecated SetMockTime(i64) alias
faf87c3535c test: refactor: Use FakeNodeClock over manual/global SetMockTime
994c17d6c0a Merge bitcoin/bitcoin#34697: descriptor: fix musig() duplicate key checks and doubled PSBT origin paths
a1183c02aac refactor: Extract Send() and Receive() into HTTPRemoteClient from HTTPServer
6d9b61d4f8d refactor: Extract HTTPRemoteClient::MaybeDisconnect() from HTTPServer::DisconnectClients()
6fec8d6914b refactor: Make HTTPRequest fields private
b8cd77237b3 refactor: Make HTTPRequest::GetHeader() return saner optional type
1cb416397b7 psbt: avoid duplicate taproot leaf script keys when merging
32765aca5c3 Merge bitcoin/bitcoin#35730: http: limit connected HTTPRemoteClients
a3335994a84 Merge bitcoin/bitcoin#35580: bugfix:  compare non-adjusted chunk weight against block weight limit
0ea81904ebd Merge bitcoin/bitcoin#35933: psbt: don't abort on invalid MuSig2 derivations
7ea36e985a9 test: preserve index crash test state
5aa15df60c4 test: expose missing index crash checkpoint
b3ff9c4d683 iwyu: Fix warnings in `src/interfaces` and treat them as errors
d564b0255f7 iwyu: Add temporary mapping to work around upstream bug
58a7869f860 Merge bitcoin/bitcoin#36051: ci: use ruff 0.16.x
f5e91c6fbae Merge bitcoin/bitcoin#35884: util: set os-level thread names on Windows
a1e27162257 Merge bitcoin/bitcoin#36045: test: avoid undersized Boost.Test signal stacks
9d0c38db746 ci: use mypy 2.3.1
7a53beca06a ci: use pyzmq 27.2.0
f29f076f3c2 ci: use ruff 16
7dcb7f09ed6 Merge bitcoin/bitcoin#34075: fees: Introduce Mempool Based Fee Estimation to reduce overestimation
5e8586ec5b0 Merge bitcoin/bitcoin#36019: bench: Construct CTxOut and COutPoint in a single expression
950bdb763e1 bench: Construct CTxOut and COutPoint in a single expression
bf8402c8803 Merge bitcoin/bitcoin#32958: wallet/refactor: Update SignPSBTInput to return util::Expected<void, PSBTError> and remove PSBTError:Ok
02306cc915c Merge bitcoin/bitcoin#35161: consensus: document merkle mutation root invariant
fae6665f013 fuzz: Use ImmediateBackgroundTaskRunner in process_messages
9eba3aafa6c test: avoid undersized Boost.Test signal stacks
747cff84248 rpc: avoid quadratic output lookups
7f9c4e29289 doc: add release notes
e18d392689d test: add mempool estimator i/o fuzz test
970f02096d3 fees: persist mempool policy estimator data
7dcb37989d2 fees: move fee_estimates.dat into fees directory
0db2b69e6db rpc: add verbosity option to estimatesmartfee options
06bb65730eb fees: gate mempool estimates on recent block coverage
cfe585df25c validation: emit block mempool removal signal from ConnectTip
0d88558f951 fees: return mempool estimates when it's lower than block policy
56db08d5291 Merge bitcoin/bitcoin#35877: build: ci/doc win64-cross build via nix
693b1351aff fees: add caching to MemPoolFeeRateEstimator
c9bb3df29ff fees: add MemPoolFeeRateEstimator class
558e26e66e0 test: cover OP_SUCCESSx bypassing the initial stack element size limit
e5be0dc35e8 refactor: Make HTTPResponse a struct since all fields are public
69c61f9f2f3 Merge bitcoin/bitcoin#36034: Release: Prepare "Translation string freeze" step
87b8a4ee506 Merge bitcoin-core/gui#944: Fix out-of-bounds read in RPCParseCommandLine on empty command
f9cc0c020c2 Merge bitcoin/bitcoin#36020: doc: Correct after HTTPRequest::m_client changed to weak_ptr
5a431c957d1 qt: Update `src/qt/locale/bitcoin_en.ts` translation source file
08dfaa04f4c Merge bitcoin/bitcoin#36018: test: [refactor] Properly use BOOST_CHECK_EXCEPTION
fa0fe212f52 test: [refactor] Properly use BOOST_CHECK_EXCEPTION
436921eb469 test: check joinpsbts preserves global xpubs and proprietary fields
011094b282b rpc: preserve global xpubs and proprietary fields in joinpsbts
367b2202a49 Merge bitcoin/bitcoin#35665: psbt: avoid duplicate global xpub keys when merging
bab030a6feb Merge bitcoin/bitcoin#35859: wallet: use unsigned KDF iteration count
21ee7f6c00b Merge bitcoin/bitcoin#35069: Refactor keypath parser
a07f1313b14 Merge bitcoin/bitcoin#35980: contrib: reject divergent verify-commits history
32dfed44a2a Merge bitcoin/bitcoin#36012: psbt: Remove unused `IsNull()` methods
8c366094b89 Merge bitcoin/bitcoin#35956: fuzz: scope fake clocks to target phases
4d86d9cc7ed Merge bitcoin/bitcoin#35968: test: sync funding block before isolating nodes
8c1d776bf2c Merge bitcoin/bitcoin#35965: test: Tighten Coin equality and add debug output
fa8762da626 build: ci/doc win64-cross build via nix
fafe7205cc8 doc: Clarify that cygwin/msys2 are not tested/supported
4b991d7b5fe Merge bitcoin/bitcoin#34239: depends: Hash included makefiles in package checksums
fe5e2a6319b Merge bitcoin/bitcoin#32162: depends: Switch from multilib to platform-specific toolchains
4e5327bc988 fuzz: refactor: scope fake clocks to target phases
15e5c35c451 doc: Correct comments after HTTPRequest::m_client was changed from shared to weak pointer
1156ce67545 test: Tighten `Coin` equality and add debug output
59224b66aa1 Merge bitcoin/bitcoin#36008: wallet: WalletBatch->WriteVersion respect argument
2c16efbb7b5 psbt: Remove unused IsNull() methods
dd669f40b98 util: set os-level thread names on Windows
b88bffe550a Merge bitcoin/bitcoin#36010: test: Print os exit code on failure
0fd515bbb70 Merge bitcoin/bitcoin#36009: miniscript: remove unused context argument from ParseHexStr
15a7a4ed7c4 Merge bitcoin/bitcoin#35952: kernel: prevent dangling iterators from temporary ranges
ac6b6c1f06e Merge bitcoin/bitcoin#35680: private broadcast: bound rebroadcast attempts to 1,000
d411bb02ff8 Merge bitcoin/bitcoin#35993: guix: build glibc with `--enable-kernel=3.17.0`
fada80192bd test: Print os exit code on failure
381c3312191 Merge bitcoin/bitcoin#36007: http: Make HTTPRequest::m_client a weak_ptr
82b3bfe38c0 Merge bitcoin/bitcoin#35797: psbt: support output metadata updates before inputs are added
681b429393e Merge bitcoin/bitcoin#35986: p2p: reconsider orphans when missing inputs are mined
16f4bd15bc9 Merge bitcoin/bitcoin#35954: qa: Disable Qt's glib event dispatcher for GUI tests on OpenBSD
1fdd208c1ce miniscript: remove unused context argument from ParseHexStr
4ca07c2fb3d Merge bitcoin/bitcoin#35963: doc : update cjdns docs to discourage using onlynet option
4b4ae6e37c5 Merge bitcoin/bitcoin#35995: doc: fix outdated URL in hash_tests.cpp
a23df4bfa87 Merge bitcoin/bitcoin#35946: rpc: Improve some type specs for openrpc
20ad7c9eab8 Merge bitcoin/bitcoin#35955: wallet: remove orphaned GetAffectedKeys and LegacyScriptPubKeyMan declarations
979a42ec173 http: Make HTTPRequest::m_client a weak_ptr
cf36df070b4 Wallet: Check crypter return values
777aee77d12 refactor: deduplicate keypath element parsing
7d8fddfba25 refactor: define BIP32_HARDENED and BIP32_UNHARDENED constants
e4d80e7001e test: close the loop after the network thread has completed
29fba5ddbb9 test: close the listeners before terminating the event loop
bd4b1524eab init: do not count file descriptors for HTTPServer if -server=0
b08662060db init: account for maximum file descriptors needed by HTTP
158efbc723d doc: fix outdated URL in hash_tests.cpp
9cacf677a91 rpc: add fee_rate_estimator option to estimatesmartfee
ba6c61bbdd3 fees: add FeeRateEstimatorManager class
2cb6b831e03 fees: add EstimateFeeRate and MaximumTarget to CBlockPolicyEstimator
5adb2ab0843 refactor: test block policy estimator directly
9c8309a8909 test: rename policy estimator tests to block policy estimator tests
e3d5ef1b5fb fees: move StringForBlockPolicyEstimateReason to block policy estimator
74245c20e05 fees: split wallet and estimator fee reasons
ec5d19665b8 wallet: WalletBatch->WriteVersion respect argument.
cc2acebefb0 http: configure simultaneous connection limit with -rpcmaxconnections
b3d6d2d1a7e http: limit connected clients to 16
86651d81971 scripted-diff: Rename nUserBind, nBind, nMaxConnections to snake_case
5548818115c guix: build glibc with --enable-kernel=3.17.0
f72537037d3 Merge bitcoin/bitcoin#35972: fuzz: Fix assertion in `txorphan`
4800cb7aea0 Merge bitcoin/bitcoin#35735: Add state to HTTPRequest
e0992599a63 Merge bitcoin/bitcoin#35846: test: Use throwing config parser getters without fallback
e5977f0b9e5 Merge bitcoin/bitcoin#35982: Update minisketch subtree to latest master
fe7dbde52c9 Merge bitcoin/bitcoin#35976: test: Speedup fee estimation functional test with batching
9cc7dc50bdc p2p: reconsider orphans when missing inputs are mined
c90c23d388f Merge bitcoin/bitcoin#35531: txindex: hash keys and pack positions to reduce disk usage
2dcb2c6df20 Update minisketch subtree to latest master
461e3be8d3d Squashed 'src/minisketch/' changes from d1bd01e189..4a179c61e3
05c36d9fadc Merge bitcoin-core/gui#957: fix: add .dat file extension automatically when exporting watchonly
75a4e6c6788 gui: fix allow restore wallets without .dat file extension
a8b582ec1d2 Merge bitcoin/bitcoin#32784: wallet: derivehdkey RPC to get xpub at arbitrary path
465bca734eb contrib: reject divergent verify-commits history
b3d1dca3388 contrib: fail on verify-commits ancestry errors
d837bb38a44 contrib/init: fix unused variables in openrc script
fe7d475d450 private broadcast: bound broadcast attempts per tx to 1k
b3d77ea0275 test: Speedup fee estimation functional test with batching
683e05a265c Merge bitcoin/bitcoin#35889: rpc: avoid quadratic `gettxspendingprevout` work and preserve order
230185a5ee7 Merge bitcoin/bitcoin#35971: net_processing: remove unused code
ae36e2ef798 rpc: avoid quadratic prevout resolution
da1eaeb3507 rpc: preserve `gettxspendingprevout` order
f98753e7621 refactor: identify prevouts by request index
221a3fe5cfb test: cover mixed `gettxspendingprevout` order
02de12b1e61 wallet: remove remaining LegacyScriptPubKeyMan references
d194be69d60 wallet: remove orphaned GetAffectedKeys declaration
01dde6b2057 fuzz: Fix assertion in txorphan
dec68f997e7 Merge bitcoin/bitcoin#35852: scripted-diff: Use inline const(expr) over static constexpr in headers
e95bab98f03 Merge bitcoin/bitcoin#35960: common: remove `::runtime_error` from `RunCommandParseJSON`
aad830ac4a6 Merge bitcoin/bitcoin#35847: test: move more tests to `baseindex_tests` and run them for all indexes
b76afff2749 Wallet: Use unsigned KDF iteration count
e07d826e0eb rpc: Fix type in ApplyTypeStrOverride
0cff3cc5187 net_processing: Remove redundant porphanTx in ProcessOrphanTx
c7eacbd45b0 net_processing: remove Peer& from UpdatePeerStateForReceivedHeaders
8454fb2bd74 test: sync funding block before isolating nodes
8b5da677d7b common: remove ::runtime_error from RunCommandParseJSON
25bed560bed test: add forward-compat functional test for txindex
703304ed8c1 doc: add release notes for txindex disk usage and downgrading
8e5320a2d24 tests: cover txindex hash prefix collisions and legacy fallback
b75efa19ba8 txindex: skip bloom filters and legacy lookups for new databases
004d7c098ca txindex: hash key prefixes and pack block positions
5a255970fd1 refactor: move txindex db constants and legacy key to txindex_key.h
327660134cb txindex: pass the full block to DB::WriteTxs
42771e79980 txindex: use a new block locator for downgrade safety
4b08baed72c txindex: return optional tx and block hash from FindTx
fc0dcf950f9 kernel: keep range iterators tied to their owner
0936c55f626 test: characterize kernel range iterators
ef501a63d9d consensus: document merkle mutation root invariant
11090c8bb35 Merge bitcoin/bitcoin#35951: doc: release note about I2P ElGamal sunset
beefda21be3 doc : update cjdns docs to discourage using onlynet option
b2c45888fde Merge bitcoin/bitcoin#35866: test: Verify unwelcome RPC clients are rejected before reading their requests
c0792889673 psbt: update output metadata without inputs
4f5712476a3 test: characterize P2WSH miniscript output
e24e8fa2a68 test: characterize PSBT output metadata
625f951ba2f Merge bitcoin/bitcoin#35959: Update secp256k1 subtree to latest master
e9ed5e83a39 Merge bitcoin/bitcoin#35605: wallet: rpc: Deprecate `removeprunedfunds` RPC
800ad9c3c0c doc: release note I2P ElGamal sunset
2f72123f613 Merge bitcoin/bitcoin#35867: test: classify SOCKS5 peers via getpeerinfo addrbind
f464f6cd67e Update secp256k1 subtree to lastest master
09cc345c3e3 Squashed 'src/secp256k1/' changes from d2d04864ef..687155df6b
c94074fa1b1 rpc: Surface OBJ_USER_KEYS description for openrpc
c020c21d543 rpc: Handle skip type args for openrpc
e33410d8884 fuzz: document arbitrary mocktimes
4c045f1a032 Merge bitcoin/bitcoin#35945: depends, qt: Add patch for missing headers
b0615672352 Merge bitcoin/bitcoin#35947: build, msvc: Update vcpkg manifest baseline
1f5c46f7ce2 Merge bitcoin/bitcoin#35931: ci: Check DLL imports of cross-built `bitcoind.exe`
b42f7fade0c descriptor: don't prepend key origins twice
7b15e2cb442 descriptor: fix duplicate check for hardened keys
1bec7fa22c9 Merge bitcoin/bitcoin#35496: kernel: add `btck_set_mock_time` for testing time-dependent paths
c1967c4453b Merge bitcoin/bitcoin#35950: Update leveldb subtree to latest master
512dc9af1b1 Merge bitcoin/bitcoin#35930: wallet: post-#35501 cleanups in CWalletTx
b970bb34d0c Merge bitcoin/bitcoin#33585: cmake: Use builtin support for .manifest files
de2adc308a4 qa: Disable Qt's glib event dispatcher for GUI tests on OpenBSD
aa0e0f793fe Merge bitcoin/bitcoin#35729: refactor: test: Unroll `&&` conditions in macros
3e76d22de25 Update leveldb subtree to latest master
9f10ef5e96d Squashed 'src/leveldb/' changes from a7f9bdc611..13da2d6758
2c01832f7be Merge bitcoin/bitcoin#35493: wallet, descriptor: Fix MuSig private key completeness checks on `importdescriptors`
b80cee03619 Merge bitcoin/bitcoin#35924: Wallet, refactor: Remove orphaned EraseWatchOnly function
5d051c05629 Merge bitcoin/bitcoin#35943: doc: fix dead link in txrequest.h
4ca182ca402 doc: clarify alternate_wtxids is empty when only one witness variant
fa48b5d28eb test: assert listsinceblock "removed" reports current canonical wtxid
9b96ee12881 wallet, test: add unit test for variant txid validation in CWalletTx deserializer
9de6543cb55 wallet: post-#35501 cleanup in CWalletTx
e2bf51543ad build, msvc: Disable default features of the `sqlite3` package
a31425610af build, msvc: Update vcpkg manifest baseline
757aa573c45 Merge bitcoin/bitcoin#33186: wallet, test: Ancient Wallet Migration from v0.14.3 (no-HD and Single Chain)
e8cc21c57f9 Merge bitcoin/bitcoin#35925: wallet, rpc: Exclude non-owned addresses from listreceivedby*
e8500cbd19d depends, qt: Add patch for missing headers
9954aa77280 http: don't parse any new requests from a client if m_req_busy = true
c7db3ae1f90 test: cover HTTPRequest state machine
90676e24ad1 Add state to HTTPRequest to avoid duplicate work over I/O cycles
99497b38f6c cmake: Unconditionally add .rc files to sources
654a4cf5e69 cmake: Use builtin support for .manifest files
8f695379f31 cmake: Unconditionally set WIN32_EXECUTABLE target property
507e528e845 http: reuse HTTPHeaders to parse chunked trailer
902d8908c94 http: only read one HTTPRequest at a time per client
a7b0b5084a4 doc: fix dead link in txrequest.h
1d386c250f2 Merge bitcoin/bitcoin#35941: doc: remove mention of `::wsystem`
57246934e71 doc: remove mention of wsystem
5973e075882 Merge bitcoin/bitcoin#35937: test: Append print_suppressions=0 to LSAN_OPTIONS, and suppress bitcoin-qt
b6bd573eb97 Merge bitcoin/bitcoin#34794: rest: add Cache-Control headers to REST responses
d055a3ab100 test: verify disallowed RPC clients are rejected upon `accept()`
128456b62d5 Merge bitcoin/bitcoin#35260: doc: clarify test placement guidance
fad9ab714b5 test: Append print_suppressions=0 to LSAN_OPTIONS, and suppress bitcoin-qt
05a7c470d28 Merge bitcoin/bitcoin#35822: fuzz: reset SOCKS5 interrupt between inputs
73a94b45459 psbt: avoid aborting on invalid MuSig2 derivations
e3d1e75a519 test: characterize MuSig2 derivation aborts
1be0b46297c Merge bitcoin/bitcoin#35898: rpc: fix mempool entry vsize docs
5f4d5626e7f Merge bitcoin/bitcoin#35908: doc: Update NetBSD Build Guide
8397e09e6ba Merge bitcoin/bitcoin#35928: doc: mention -DWITH_ZMQ=ON in macOS build guide
4b4e63f2823 Merge bitcoin/bitcoin#35704: windows: remove deprecated codecvt via UTF-8 narrow APIs
67fee5bf440 ci: Check DLL imports of cross-built `bitcoind.exe`
089c883c558 test: Add coverage for listreceivedby* excluding "send" addresses
873c0548059 wallet: Exclude non-owned addresses from listreceivedby*
c3945bfd2bf doc: use derivehdkey in multisig tutorial
3662e336697 test: use derivehdkey in M-of-N multisig demo
d9570f08383 rpc: add derivehdkey
62da9f96145 wallet: add GetExtKey helper
222855ed112 doc: mention -DWITH_ZMQ=ON in macOS build guide
aaf1548475d wallet: generalize GetActiveHDPubKeys helper
3821452c4af refactor: add hardened derivation helper
0ab61caafd1 rpc: ParsePathBIP32 helper
e36c4b76e19 util: reject out-of-range BIP32 keypath indices
ba78c31a00c fuzz: check ParseHDKeypath/WriteHDKeypath round-trip
8cce969085d Have ParseHDKeypath handle h derivation marker
fc530777623 test: move parse_hd_keypath test to bip32_tests
dab525eb771 key: add DeriveExtKey() helper
71c06c5cbcd Merge bitcoin/bitcoin#35830: fees: Return false for incompatible fee estimates
55dfc244143 Merge bitcoin/bitcoin#35915: Release: Prepare "Open Transifex translations for `v32.0`" step
f11dc6170ed Merge bitcoin/bitcoin#35482: fuzz: exercise the transaction-handling path in process_message(s)
6f906106d73 Merge bitcoin/bitcoin#35879: ci: Fix $BASE_ROOT_DIR installation
d36bf709f7f Merge bitcoin/bitcoin#35914: test, fuzz: Remove unused variables
ed2c59ab654 Merge bitcoin/bitcoin#35896: refactor: Default uint256::operator==, add operator<=>
fae7ba9abae ci: Fix $BASE_ROOT_DIR installation
fabe100c2b3 test: Use throwing config parser getters without fallback
fa8acd57cd1 test: Write true/false values in config.ini
6304789a18f Wallet, refactor: Remove orphaned EraseWatchOnly function
6b6d77cc84e windows: remove deprecated codecvt via UTF-8 narrow APIs
b388674acf0 Merge bitcoin/bitcoin#35872: rpc: avoid descriptor range counter overflow
c36ffd870e8 Merge bitcoin/bitcoin#35842: rpc: Properly make RPCResult::Type::ANY non-test-only
7cb9aaaee80 Merge bitcoin/bitcoin#35759: fuzz: check http_request body matches framing
5b008514dbe Merge bitcoin/bitcoin#35878: net_processing: process unique tx INVs only
3175d576288 test, refactor: Remove unused `error` in `wallet_tests.cpp`
422f1bd92f1 test, refactor: Remove unused `utxo_pool` in `coinselector_tests.cpp`
e550945a394 test, refactor: Remove unused `removed_refs` in `txgraph_tests.cpp`
a061b011b78 Merge bitcoin/bitcoin#35912: doc: fix stale bitcoin_en.xlf reference
950b1c09225 Merge bitcoin/bitcoin#34927: test: Check that RPCs do not time out, even under load
bd01e66f0a7 Merge bitcoin/bitcoin#35885: ci: switch to a sourceware mirror for riscv
fa2e76d397a bench: Add base_blob compare bench via uint256
97abf95f48a qt: Update the `src/qt/locale/bitcoin_en.ts` translation source file
81fcecfe452 Revert "ci: Temporarily remove riscv32 config from GHA matrix"
b283e1751cc ci: use mirror for riscv submodules
fa7bc26d127 test: Check that RPCs do not time out, even under load
fa2bd96cc0d test: Map cli CalledProcessError on server error to JSONRPCException
e50f422d25f test, refactor: Remove unused variables in `test/rbf_tests.cpp`
b7ae50e2e27 fuzz, refactor: Remove unused `header` in `p2p_transport_serialization.cpp`
3df0d067ade fuzz, refactor: Remove unused `random_string` in `locale.cpp`
fc28914de4e fuzz, refactor: Remove unused `linearization` in `cluster_linearize.cpp`
da58e559865 test, refactor: Remove unused `warnings` in `wallet/test/util.cpp`
4df077d7cd3 Merge bitcoin/bitcoin#35910: refactor: Remove unused newFeeRate var in ReplacementChecks
e98ffd4bd82 doc: fix stale bitcoin_en.xlf reference
fa9a9a82acd refactor: Remove unused newFeeRate var in ReplacementChecks
fa588e9e0f8 refactor: Mark assertion_fail as [[noreturn]]
1278a5970d5 net_processing: process unique tx INVs only
75f58519277 doc: add release note for REST cache-control headers
bbe21ac29f5 doc: document REST cache-control defaults
862a1795563 http: add no-store to dispatcher-generated error responses
f32685315c2 doc: Install `pkgconf` to find `capnproto` on NetBSD
5964c7229fc doc: Switch `pkg-config` package to modern `pkgconf` on NetBSD
9b85c9814d1 doc: Drop GCC upgrade instructions for NetBSD
ea59f172209 test: cover v0.14.3 wallet migration
18b8afd0933 test: support v0.14.x in dumb_sync_blocks
faec059dfe8 refactor: Add uint256::operator<=>()
b9d573e4a95 fees: Return false for incompatible fee estimates
a3ebf8ab607 rpc: fix mempool entry vsize docs
c4fbd3c7211 Merge bitcoin/bitcoin#35895: refactor: Enable clang-tidy rule to reject anon namespace in header
465196d0154 Merge bitcoin/bitcoin#35630: test: Add importdescriptors rpc error test coverage
fa6df14c236 refactor: uint256::operator==() = default
c940fd75145 Merge bitcoin/bitcoin#35180: coins: group private cache helpers
3db96eb5fd7 Merge bitcoin/bitcoin#35582: rpc: reject null for optional parameters
fa93132d6da refactor: Enable misc-definitions-in-headers
fa5ca877b60 refactor: Enable clang-tidy rule to reject anon namespace in header
fafe5042bd1 refactor: Use C++20 std::identity over IntIdentity
28257111acf Merge bitcoin/bitcoin#35737: test: Move cluster_linearize.h contents into cluster_linearize namespace
fac4b06e997 refactor: Use CLIENT_NAME in buildOpenRPCDoc
fa3aadbc32e refactor: Use self.Arg<bool> in getopenrpcinfo
fa1871a5281 refactor: Remove stale NOLINTNEXTLINE above GetAddressInfoBaseFields
fa226479149 rpc: Properly make RPCResult::Type::ANY non-test-only
fa1242dcc02 refactor: Use std::visit in ApplyArgFallback
27b6b5a458f Merge bitcoin/bitcoin#35836: rpc: Remove meaningless bool fallback in FundTransaction
3ac8b806a69 test: test the result order of a multiple import request is correct
e4732bf0187 test: test invalid or missing timestamp throws importdescriptors
324c231efea Merge bitcoin/bitcoin#35881: iwyu: Fix warnings in `src/consensus` and treat them as errors
6ed7e05e20d gui: fix add .dat file extension automatically when exporting watchonly
75183f4464b Merge bitcoin/bitcoin#35880: fuzz: don't connman.ReceiveMsgFrom oversized msg
fab74a0e922 refactor: Use C++14 digit separator for large int literals
fae759be793 scripted-diff: Use inline constexpr over plain constexpr
fa74f58a262 scripted-diff: Use inline const over (static) const
fab1a62c870 refactor: Use inline constexpr for string literals in headers
fa08bbed8dd contrib: Adjust generate-seeds.py to write inline constexpr
fad753611b5 scripted-diff: Use inline constexpr over (static) const
faedb52583e refactor: Make CFeeRate(integral) ctor constexpr
5555d5dcb55 scripted-diff: Use inline constexpr over static constexpr
fa6e1a1e85e refactor: Remove static from constexpr functions in headers
e2ab8ae5514 wallet: spkm: Only notify CanGetAddressesChanged on change
0892f16f911 refactor: moveonly: Pair CanGetAddressesChanged notifications with desc range.
e6adae3db24 wallet: `NotifyCanGetAddressesChanged` when advancing `next_index`
acf45c44c01 rest: add Cache-Control headers to REST responses
d3cfd02bd7f Merge bitcoin/bitcoin#35501: wallet: store all witness variants of a transaction
0b8ffd01cde Merge bitcoin/bitcoin#35790: fuzz: populate wallet TXO index in wallet_create_transaction
2f52c2e8c06 Merge bitcoin/bitcoin#35886: refactor: Remove unused #include in common/system
fa7304f3a5b refactor: Remove unused #include in common/system
e7eb159a868 Merge bitcoin/bitcoin#35773: test: Suppress implicit-unsigned-integer-truncation:SaltedCoinsCacheHasher::operator()
c6ef42d7dbc Merge bitcoin/bitcoin#35205: kernel,node: add `dbcache` setter and clarify defaults
f280f5eb474 wallet: rpc: deprecate removeprunedfunds
4e8c4bc794c test: classify SOCKS5 peers via getpeerinfo addrbind
17c5e33e9c5 Merge bitcoin/bitcoin#35216: qa: Improve functional test support on illumos and *BSD
13b53f8bf67 iwyu: Fix warnings in `src/consensus` and treat them as errors
bb19f1da19c fuzz: don't connman.ReceiveMsgFrom oversized msg
8a4bab8e975 Merge bitcoin/bitcoin#35863: test: fix wrong transaction in GetP2SHSigOpCount assertion
975a314667e Merge bitcoin/bitcoin#35832: p2p: avoid block disk reads on unnecessary requests
d24610fa2c7 Merge bitcoin/bitcoin#35870: guix: move `python-minimal` to Linux GUI build
b33a5b5767e Merge bitcoin/bitcoin#35871: refactor: Annotate `MakeAndPushFeature` with `[[maybe_unused]]`
4b322989ac2 Merge bitcoin/bitcoin#34995: iwyu: Fix warnings in `src/common` and treat them as errors
75f024a84e0 Merge bitcoin/bitcoin#35875: ci: Fix NetBSD SDK download failure, Temp. remove riscv32 from GHA
fa06ea42448 ci: Temporarily remove riscv32 config from GHA matrix
873550bea38 ci: verify cross-build SDK archives
2c87337efe8 ci: update NetBSD cross-build SDK
6a2de55a0d8 test: require `TryGetTotalRam()` detection
cd086c16dd7 node, qt: inline `DEFAULT_DB_CACHE`
8bd9f46082d kernel: allow setting chainstate `dbcache`
8aa21e119b0 kernel, node: colocate dbcache bounds
7cfa21d60a5 scripted-diff: use `MIN_DBCACHE_BYTES`
ab634325768 common: cache total RAM as `uint64_t`
031fa402c8a scripted-diff: use `TryGetTotalRam`
264555af3cc rpc: avoid descriptor range counter overflow
143a13fb2bd test: characterize descriptor range endpoint
41c44f55885 node, qt: use `1_MiB` for dbcache conversions
0238aebf619 refactor: Annotate `MakeAndPushFeature` with `[[maybe_unused]]`
1ed14c61222 Merge bitcoin-core/gui#872: Menu action to export a watchonly wallet
b75eb938a04 guix: move python-minimal to GUI build
101400b28f7 guix: remove -Werror=dev
e27c179db2f Merge bitcoin/bitcoin#35869: lint: (re-)add contrib/guix for Python linting
50145f62c92 ci, iwyu: Enforce warning-free `src/common`
30f6b05857f Merge bitcoin/bitcoin#35860: fuzz: Rework rpc fuzz target
dcc2ed52b84 Merge bitcoin/bitcoin#35856: fuzz: cover the mempool interface for transaction announcement
8221d714c78 lint: document CI lief version requirement
594a02c3ae0 lint: re-add guix scripts to mypy linting
e8691056c01 test: Unroll `&&` conditions in macros
ddddffda3af doc: Add doc/release-notes-35836.md
756afe14b5c test: give each ValidateInputsStandardness case its own scope
5559fa464b3 test: fix wrong transaction in GetP2SHSigOpCount assertion
556988790a7 Merge bitcoin/bitcoin#35592: http: check rpcallowip immediately after accepting connection
fa895bb77a8 fuzz: Rework rpc fuzz target
28641fd195d p2p: reject empty getblocktxn requests
dd2561003dd fuzz: cover the mempool interface for transaction announcement
9871fb726cb p2p: reject filtered block inv early when bloom is disabled
aaf94120266 refactor: split p2p_getdata.py in sub-cases
34c03075a5a test: run generic baseindex tests against every index type
11b3e251c48 test: make baseindex flush test chain-length agnostic
8b959f4c6ab test: move unclean_shutdown test to baseindex_tests
2232d6afbe2 test: move index_reorg_crash to baseindex_tests
a3597e26837 test: move BuildChain helper into test mining util
954985e6a38 test: simplify blockfilter test's BuildChain helper
67efced1fc8 Merge bitcoin/bitcoin#35838: qa: Enable `interface_gui.py` on macOS
45f5609f2ed qa: Enable `interface_gui.py` on macOS
fa7fe798c61 wallet: Remove meaningless bool fallback in FundTransaction
9611a356035 Merge bitcoin/bitcoin#35828: util: Make LineReader consistently use string_view
6e2962e48cb Merge bitcoin/bitcoin#35753: kernel: handle null mempool on chainstate deletion
87bc4c74c4d Merge bitcoin/bitcoin#35787: init, rpc: ignore empty addnode values
67998e15c8d Merge bitcoin/bitcoin#35553: test: Add missing test case for getdata requests from blocks-only peers
9b38d077f89 Merge bitcoin-core/gui#953: Adds option to not load the wallet after migration
146988ef6c5 Merge bitcoin/bitcoin#35551: test: add interface_gui.py to test bitcoin-qt startup
7e5952b0aa0 Merge bitcoin/bitcoin#35821: guix: followups to #35537
683ae4c520b guix: consolidate config flags
665f11d04ac guix: consolidate gcc toolchain setup
288f76ed0fc guix: consolidate mingw-w64 toolchain setup
cc9b0f2266d guix: consolidate LLVM toolchain setup
b12a70f330d guix: turn linux/win linker warnings into errors
fd7d4f29704 Merge bitcoin/bitcoin#35795: build: set CMAKE_VISIBILITY_INLINES_HIDDEN in REDUCE_EXPORTS
8ecbe270f0d Merge bitcoin/bitcoin#35606: script: qa: Improve `Key::Fingerprint` type safety
a9d181f2d35 Merge bitcoin/bitcoin#35084: ipc: Add nonunix platform support
6573196e63b doc: Release note for export watchonly wallet gui action
cb51f97f6c5 gui: Menu action for exporting a watchonly wallet
4cea59573c8 add release notes
492a715d784 gui: Adds option to not load the wallet after migration
dff44e4c8f3 util: LineReader - Drop support for raw std::byte spans
5d5cdcd79d4 util: Make LineReader consistently use string_views
e8eaa80ce29 util: LineReader - Don't include newline and acknowledge single-char \r
5907a5c7dc2 gui: Add ExceptionSafeConnect that takes a lambda
7dea464d6b5 Merge bitcoin/bitcoin#35692: addrman: remove unreachable tried-collision branch
a2aab6df97d Merge bitcoin/bitcoin#35810: guix: Drop unused `(guix licenses)` import from `manifest_build.scm`
77440814bf2 fuzz: reset SOCKS5 interrupt between inputs
90ce21e21d0 rpc: reject empty node argument in addnode
69465de4470 init: ignore empty addnode values
e75b76b12c5 Merge bitcoin/bitcoin#35261: guix: disable LTO in GCC
a92e93429ee guix: Drop unused `(guix licenses)` import from `manifest_build.scm`
5be248341a8 bugfix: compare real chunk weight against block weight limit
fc987908699 test: `TestChunkBlockLimits` uses incorrect weight for comparison
e34b8d5a7dc Merge bitcoin/bitcoin#35794: doc: Discourage adding AI agents as commit (co)-authors
b33a7fcd7bd Merge bitcoin/bitcoin#34628: p2p: Replace per-peer transaction rate-limiting with global rate limits
6b059d9dbdb Merge bitcoin/bitcoin#32800: rpc: Distinguish between vsize and sigop adjusted mempool vsize
11ebbd90721 Merge bitcoin/bitcoin#28463: p2p: Increase inbound capacity for block-relay only connections
3f313a774be build: set CMAKE_VISIBILITY_INLINES_HIDDEN in REDUCE_EXPORTS
3a2c52f9d70 Merge bitcoin/bitcoin#35792: refactor: Make all `const static` class members `constexpr`
f5d7cc66ecb doc: Discourage adding AI agents as commit authors
05c35c402cc refactor: Make all `const static` class members `constexpr`
c11508406e6 doc: Update docs that refer to -maxconnections
69ce0dba2ae test: add test that EvictTxPeerIfFull only evicts tx-relaying peers
3ed7f064180 p2p: trigger possible eviction if we support bloom filters and change a peer to tx relay
0bd3d3dfa56 init: make inbound tx relay percentage configurable
cc59aee196e test: add functional test for inbound maxconnection limits
1b76e047364 net: increase inbound capacity for block-relay-only connections
baa5a2ce43a guix: pass --disable-tm-clone-registry to base GCC
9c2589630f0 guix: mirror some arguments from linux-gcc to mingw-w64-gcc
e0b8fbde897 guix: disable-nls in *-base-gcc
7dc87f8e1e2 guix: disable-lto in *-base-gcc
9ed3d6ef2a2 guix: modernise style in *-base-gcc
1eac6a728bf fuzz: populate wallet TXO index in wallet_create_transaction
610dd320d1a Merge bitcoin/bitcoin#35783: chainparams: remove my testnet3 seed
afa5e46bbc6 Merge bitcoin/bitcoin#35076: doc: clarify pruning impact on wallet sync
26b730cdbf2 Merge bitcoin/bitcoin#35320: key: validate BIP32 seed length in CExtKey::SetSeed
edf4b807f05 Merge bitcoin/bitcoin#35781: Update secp256k1 subtree to latest master
774d11c58f2 Merge bitcoin/bitcoin#35664: test: add CLTV and CHECK(MULTI)SIGVERIFY failure-path vectors to script_tests.json
526673487ce Merge bitcoin/bitcoin#34683: rpc: support a formal description of our JSON-RPC interface
290cb2f17ef Merge bitcoin/bitcoin#35775: scripted-diff: Use C.UTF-8 locale in Guix scripts
d472a7798ac Merge bitcoin/bitcoin#32764: guix: Build for macOS using LLVM toolchain only
9755d33390d Merge bitcoin/bitcoin#34808: cmake, translation: Use native Qt TS file as source for translations on Transifex
51143291a6c Merge bitcoin/bitcoin#35782: doc: fix outdated i2p URLs in comments
2cb3bfa8df7 scripted-diff: Use long form of shell options in Guix scripts
711eb10f08b guix: Add copyright headers to Guix scripts
7295b8be704 chainparams: remove my testnet3 seed
419f7427eee doc: fix outdated i2p URLs in comments
a33f240524d Squashed 'src/secp256k1/' changes from bd0287d650..d2d04864ef
c26d4e2d6f0 Update secp256k1 subtree to latest master
22a03ca6944 Merge bitcoin/bitcoin#35694: clusterlin: minor SFL optimizations
7b6f9ba7bad Merge bitcoin/bitcoin#34672: mining: add reason/debug to `submitSolution` and unify with `submitBlock`
5311b15727f Merge bitcoin/bitcoin#33014: rpc: Fix internal bug in descriptorprocesspsbt when encountering invalid signatures
c9cedebfffb coins: group private cache helpers
8a90c7cd973 guix: Build for macOS using LLVM toolchain only
db74d3390a3 doc: clarify test placement guidance
d3d74e701f7 ipc, refactor: Update mp::g_thread_context references
80f831494e5 guix: Fix `glibc` version in comment
8916f7967e1 scripted-diff: Use C.UTF-8 locale in Guix scripts
a2e074d66ac Merge bitcoin-core/gui#951: test: Nudge toward QT_STYLE_OVERRIDE=fusion on macOS
6ced9ad782b Merge bitcoin/bitcoin#35770: net: Simplify `AddressPosition` comparitor
b8844d3df75 Merge bitcoin/bitcoin#35766: p2p: Assume v2transport for addresses from seeds
fa7f5537817 test: Suppress implicit-unsigned-integer-truncation:SaltedCoinsCacheHasher::operator()
075e7f42187 net: Simplify `AddressPosition` comparitor
fa0c8337a8d test: Nudge toward QT_STYLE_OVERRIDE=fusion on macOS
faa50c08b17 refactor: Run clang-format on qt test_main.cpp
bc49bd154a3 Merge bitcoin/bitcoin#35709: depends: Update Qt to 6.8.4
efa1800a885 Merge bitcoin/bitcoin#35769: depends, zeromq: Apply upstream patch
fc4ceda8b61 Merge bitcoin-core/gui#949: Fix `-Wsfinae-incomplete` warnings when building with GCC 16.x
559d042ba25 Merge bitcoin/bitcoin#35736: bitcoin-util: replace netmagic command with getchainparams command
8f2ed31f702 Merge bitcoin/bitcoin#35767: fuzz: Avoid dangling prevoutfetch threads after AFL fork
a31c30290d4 Merge bitcoin/bitcoin#35746: ci: Test build directory path with spaces
e446ea09c4d depends, zeromq: Apply upstream patch
87b080fe2b6 fuzz: reset the reused mempool in process_message(s)
d522fd31963 fuzz: prepare deterministic mempool rebuilds
b11456386b2 fuzz: let the test input toggle IBD in the p2p fuzz targets
2a29cee6843 test: add helper to reset chainman and mempool
2a4ef42d34e fuzz: share a single FakeNodeClock in the chainman-resetting fuzz targets
32eb5210029 Merge bitcoin/bitcoin#35215: coins: use SipHash-1-3-UJ for CCoinsMap keys
883ef1d85d7 Merge bitcoin/bitcoin#35727: blockencodings: fix extra transaction count
f3f302150b5 ci: Put space and non-ASCII char in `BASE_BUILD_DIR`
a7e980af31b build: Quote host paths in NSIS installer template
faada35f9c0 fuzz: [refactor] Use 100'000 digit separator in __AFL_LOOP
cf0f2aeae00 p2p: Assume v2transport for addresses from seeds
fae067ec4a4 fuzz: Avoid dangling prevoutfetch threads after AFL fork
7e1a750d45d guix, refactor: Use `target` variable instead of hardcoded value
de9b436ba36 depends: Switch from multilib to platform-specific toolchains
d673ca765a5 Merge bitcoin/bitcoin#35537: guix: split builds into Linux, Linux GUI and macOS/Windows
b36c2d78a3a Merge bitcoin/bitcoin#35490: test: cover unused mempool space in coins cache limit
7502b9ddba7 fuzz: check http_request body matches framing
d1d85263f8e Merge bitcoin/bitcoin#35681: test: cover disconnect on private broadcast peer with relay=false
4906594a384 Merge bitcoin-core/gui#950: qt, test: Run GUI tests on macOS with `minimal` QPA plugin
e0c196f9c11 Merge bitcoin/bitcoin#35721: lint: drop most remaining default Ruff rule ignores
fd59d68c262 qt, test: Enable tests on macOS with `minimal` QPA plugin
c8b2aeb2263 qt: Avoid implicit `NSApplication` instantiation
006f8f7d49a Merge bitcoin/bitcoin#35090: fuzz: add p2p_private_broadcast harness
51d36dfd076 qt: Fix `-Wsfinae-incomplete` warnings when building with GCC 16.x
0b0785daa00 guix: split macOS and win builds
008a3e29c88 guix: split builds into Linux(gui) and macOS/Windows
a99b27f1920 validation: handle null mempool on delete
a3b5dc05723 cmake: Add `GenerateWindowsInstaller` script
3bfdcbd7ee4 coins: reuse cache hasher for txid set
2beab94896a coins: use SipHash-1-3-UJ for `CCoinsMap`
7ff55cc6500 bench: add fixed-width SipHash benchmarks
3aea85411f6 test: add SipHash-1-3-UJ coverage
a0ccd4ad171 crypto: add fixed-width SipHash-1-3-UJ
c2d7931b5c8 crypto: add generic SipHash-1-3-UJ
25bfca06d66 refactor: simplify adding SipHash-1-3-UJ
af50ba8500a test: add shared SipHash vectors
fa5cbb89097 uint256: Workaround GCC-14 stringop-overread bug in Compare
18c05d93016 Merge bitcoin/bitcoin#35590: test: wallet: BnB incomplete result on attempt-limit success
21b4b790e48 test: Move cluster_linearize.h contents into cluster_linearize namespace
b56b66fc64b Merge bitcoin/bitcoin#35679: fuzz: Remove unused `DeserializeFromFuzzingInput` params overload
6ee05c4b188 test: wallet: BnB incomplete result on attempt-limit success
6aa5d8d9481 blockencodings: fix extra transaction count
be4e64d9e40 test: characterize extra transaction miscount
2d3f72fd3fa ipc, refactor: Update mp::SpawnProcess call
7298281ba8d bitcoin-util: replace netmagic command with getchainparams command
9d6ba4b3b57 Merge bitcoin/bitcoin#34514: refactor: remove unnecessary `std::move` for a few trivially copyable types
ca9ffb8e123 rpc: add OpenRPC discovery alias
6c9d76d5894 doc: release note for alternate_wtxids in gettransaction
99bdcb064c2 test: compat, ensure downgrade preserves tx witness variants
ef2afc6a0a3 test: Test for wallet txs with alternate wtxids
2d55c7a74dd wallet: Show alternate wtxids in gettransaction
0b1af01bd44 wallet: Replace CWalletTx::SetTx with Update
56cf27db4dc wallet: Store all witness variants of a transaction
798ba6d04fa wallet: Make CWalletTx::tx private and use CWalletTx::GetTx to access
72ebdd6364c wallet: Remove unused CWalletTx CopyFrom and copy constructor
19af439bdf3 wallet: Deserialize directly in CWalletTx's ctor
afab8d4225c fuzz, refactor: Remove `Serialize` overload
efa7f8c1437 fuzz: Remove unused `DeserializeFromFuzzingInput` params overload
6eca11175be lint: remove E731 Ruff ignore
b52454538b0 lint: remove E712 Ruff ignore
e9f19815caa ipc, refactor: Add Stream type alias and use it
3859805f05e ipc, refactor: Add SocketId type alias and use it
2ee9b69c7a1 ipc, refactor: Add ProcessId type alias and use it
34497971418 ipc: Avoid 'unistd.h' error with MSVC
dbcc192dce6 ipc, refactor: fix include order
7c86d4834ed ipc, refactor: use native path separators in test
00287b9a340 ipc, refactor: Change Protocol class field order
33d37f3c35e ipc, refactor: Drop connect/listen/serve exe_name parameters
794940469e7 ipc, moveonly: combine ipc_test.cpp and ipc_tests.cpp
efb4eae3386 clusterlin: avoid recomputing intersections in MergeChunks
4b91ad149f0 clusterlin: reserve the suboptimal-chunk queue up front
e6ca996255b clusterlin: avoid heap allocations in GetLinearization
226e6388b7f depends: Update Qt to 6.8.4
fef99e6563a qt: fix out-of-bounds read in RPCParseCommandLine on empty command
349c72ee00a net_processing: Drop unnecessary txid arg from InitiateTxBroadcastToAll
12b0dc33c4a doc: Add release note for -txsendrate etc
5cde66341a6 tests: basic functional test for tx rate limiting
4842903ac12 rpc: report -txsendrate and bucket info via getnetworkinfo
74a47a52071 init: add -txsendrate configuration parameter
6307bd034bf net_processing: Provide a 30bpm heartbeat log while inv backlog is in use
df31ee57aaf net_processing: add a global delay queue for sending txs
7927650e56d util/tokenbucket.h: Provide a generic TokenBucket class
749bb447f81 txmempool: Drop CompareMiningScoreWithTopology
e1b7490fbc9 net_processing: Replace CompareInvMempoolOrder
6cfc65d2103 txmempool: Add ExtractBestByMiningScoreWithTopology
026f70e05f9 net_processing: Remove per-peer rate-limiting
46c8c471dcf net_processing: bump last_inv_sequence for bip35 messages explicitly
5d57f2cefee test: cover unused mempool space in coins cache
1fc9277a1c1 test: cover disconnect on private broadcast peer with relay=false
bc7d9050467 addrman: remove unreachable tried-collision branch
0390338692a test: check MuSig import private key warnings
5e62fbf09c0 wallet: check descriptor private key completeness on import
cd8d01bf47a descriptors: require complete MuSig private keys
55d3cd51a48 doc: add release note describing change for forbidden clients
d1ed2a6e25d http: check rpcallowip immediately after accepting connection
d24d3cbad01 fuzz: add p2p_private_broadcast harness
c4068cf37b6 test: add negative zero CSV failure script test vector
37edf0e2338 test: add CHECKLOCKTIMEVERIFY failure-path script test vectors
29b124416e4 doc: add release notes for 32800
5d25a0c28d1 rpc: add `vsize_adjusted` field to getrawtransaction output for mempool transactions
eaef8d31118 rpc: add `vsize_adjusted` and `vsize_bip141` field to mempool-related RPCs
6d387af562f psbt: remove write-only global xpub tracking set
3b7051c7e33 test: check combinepsbt with conflicting global xpub origins
7c632c0e2a2 psbt: avoid duplicate global xpub keys when merging
a86a96d17b3 test: add CHECKSIGVERIFY/CHECKMULTISIGVERIFY failure script test vectors
07fb58b9ef2 test: Test a locked wallet rejects an empty importdescriptors request
aeca0610865 rpc: reject null for optional parameters
f4a6d079c42 qa: Support `get_bind_addrs` and `feature_bind_extra` on illumos
5e96a8fd5ac doc: Add `lsof` to Test Suite Dependencies on NetBSD
5d01aa4772a qa: Ignore `lsof` warnings on NetBSD
70352fda038 qa: Strip prefix length from NetBSD `ifconfig` output
1c1735567e2 doc: Add `lsof` to Test Suite Dependencies on FreeBSD
4cb7f39c2ce qa: Drop OpenBSD from supported platforms in `get_bind_addrs` function
8a982eea854 qa: Add `skip_if_no_lsof_on_nonlinux` helper and use it where needed
7e973cce52c depends: Make tarball creation from local directory reproducible
e5b7785447f test: wallet: resend: avoid internal behavior via removeprunedfunds
c9a70f93387 script: qa: Improve Key::Fingerprint type safety
aa01721c899 test: add interface_gui.py to test bitcoin-gui startup via RPC
ef0676f4007 rpc: factor getaddressinfo embedded field docs
1fb6b605609 test: add functional test for getopenrpcinfo
672dd42d140 rpc: add getopenrpcinfo command
d5e64b01e1b doc: note -blocknotify is not run during IBD/reindex in help text
f5116c587f7 rpc: add placeholder annotation for deprecated params
26c221a980d rpc: expose RPC metadata for introspection
6a1a66c180c rpc: render Type::ANY in help text instead of aborting
06de34a0333 rpc: erase empty map entry in removeCommand
d4d64ae7393 rpc: add missing string_view include to server.h
278710a88d8 test: Add missing test case for getdata requests from blocks-only peers
156f2c6c49d kernel: add `btck_set_mock_time` for testing time-dependent paths
75929b11edb doc: add release note for submitSolution IPC changes
ed75d70fdb8 refactor: centralize SubmitBlock result handling
cbaa1696f37 mining: add reason and debug output to submitSolution
83f3bc002d0 mining: clarify SubmitBlock result handling
87bca1c2adb net: add options to AttemptToEvictConnection
2cf9d79d84c key: validate BIP32 seed length in CExtKey::SetSeed
3e8e21b2efc txgraph: avoid moving primitive members
d9f94aa882a rpc: avoid moving RPC enum types
b67baed4e7e coins: avoid moving `COutPoint` values
7e19ce200b2 rpc: Fix descriptorprocesspsbt internal bug on invalid signatures
51ee8ca1683 doc: clarify pruning impact on wallet sync
6cca38e2b92 refactor: remove unused PSBTError::Ok
3660678b953 refactor: SignPSBTInput now uses util:Expected
ec61a1af621 depends: Hash included makefiles in package checksums
a434d660250 cmake, translation: Specify English as target language explicitly
4097d6d968e cmake, translation: Sort messages within contexts alphabetically
312ab8ab0a8 cmake, translation: Skip source locations in TS files
4f553bd0da2 cmake, translation: Remove TS to XLIFF conversion
8c30055458b translation: Switch to Qt TS source file

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: 97462c683d49792a58ba954723a205cda86a5e0b
alexanderwiederin added a commit to alexanderwiederin/rust-bitcoinkernel that referenced this pull request Sep 25, 2026
…7f3b857103e

37f3b857103e kernel: Add script tracer
ea7d459ac08b Merge bitcoin/bitcoin#36057: build: check for SetThreadDescription() at configure time
204256c73f28 Merge bitcoin/bitcoin#35900: iwyu: Fix warnings in `src/interfaces` and treat them as errors
da1cb4dd90e5 Merge bitcoin/bitcoin#35586: doc: note -blocknotify is not run during IBD/reindex in help text
b31aae4f9af5 Merge bitcoin/bitcoin#36094: ci: bump riscv toolchain to tag 2026.08.25
607f220c6cfd Revert "ci: use mirror for riscv submodules"
64af18f4e6d7 ci: bump riscv toolchain to tag 2026.08.25
fd573f6db9d1 Merge bitcoin/bitcoin#36044: test: cover OP_SUCCESSx bypassing the initial stack element size limit
2224e4af6ced Merge bitcoin/bitcoin#35850: fuzz: Implement `connect_block` harness
2777300c68f5 fuzz: Implement connect_block harness
bed46bd16c2b build: check for SetThreadDescription() at configure time
40add915be5c test: Add reset to CuckooCache
a24110cef7fa Merge bitcoin/bitcoin#36092: fix: UB sanitizer in mempool estimator logging
8b84f9177899 Merge bitcoin/bitcoin#36088: util: Set Univalue to null after read failure
576a0ebb536f fix: UB sanitizer in mempool estimator logging
5f45583e4373 Merge bitcoin/bitcoin#36077: bugfix: give TxDownloadManager its own RNG
fa72de78a931 util: Set Univalue to null after read failure
fa7786592d7c test: Add UniValue failed read test
e339043ee9ed Merge bitcoin/bitcoin#35829: http: Make class fields private and make HTTPResponse a struct
031175197f1b Merge bitcoin/bitcoin#36032: rpc: avoid quadratic output lookups
b91d983f66fa Merge bitcoin/bitcoin#36078: qa: Reduce `-maxconnections` in the functional test framework
0f5c6d0b64a2 Merge bitcoin/bitcoin#35618: depends: Make tarball creation from local directory reproducible
b8a8893bf2a1 qa: Lower `-rpcmaxconnections` in `interface_http.py` test
6f4109b44891 qa: Reduce `-maxconnections` in the functional test framework
80eaa6cabf28 bugfix: give TxDownloadManager its own RNG
5e0d7a286a49 refactor: Drastically narrow scope of http_bitcoin namespace and rename it to bitcoin_http
8f9fd8698a75 refactor: Make HTTPRemoteClient fields private
d72f67fd6c9d refactor: Expose additional HTTPRemoteClient fields through accessors
10bbae302fb7 refactor: Expose HTTPRemoteClient fields to tests through methods
5b06d9083169 refactor: Replace HTTPServer::MaybeDispatchRequestsFromClient() with HTTPRemoteClient::TryReadRequest()
794a753958a7 Merge bitcoin/bitcoin#35583: test: close the listeners before terminating the event loop
f6b3f2ff6b16 Merge bitcoin/bitcoin#36064: qa: Minor improvement follow-ups to 35730
6a028161dafc Merge bitcoin/bitcoin#36025: psbt: avoid duplicate taproot leaf script keys when merging
07d92a9d65aa Merge bitcoin/bitcoin#35516: rpc: preserve global xpubs and proprietary fields in joinpsbts
4375d74d24ca Merge bitcoin/bitcoin#34993: wallet: `NotifyCanGetAddressesChanged` when advancing `next_index`
290be9eafa48 qa: Minor feature_init.py improvements
6248331b295c qa: Switch to warning when skipping tests
04cf9ecee435 Merge bitcoin/bitcoin#35978: contrib/init: fix unused variables in openrc script
aed80c739581 Merge bitcoin/bitcoin#36067: test: Remove `BOOST_CHECK_CLOSE` in favor of exact comparison
07ca9ba9e84a Merge bitcoin/bitcoin#36059: test: make index crash test check saved state
402f1fdae6a7 Merge bitcoin/bitcoin#36063: refactor: [test] Remove deprecated SetMockTime(i64) alias
135e05cfa073 Merge bitcoin/bitcoin#36046: fuzz: Use ImmediateBackgroundTaskRunner in process_messages
9e115edd39ff test: Remove `BOOST_CHECK_CLOSE` in favor of exact comparison
6d570415a018 refactor(qa): Move check right below related check
7e3b60584b36 refactor(qa): Simplify through using assert_raises()
fad1e6bf238e util: refactor: Remove deprecated SetMockTime(i64) alias
faf87c3535c5 test: refactor: Use FakeNodeClock over manual/global SetMockTime
994c17d6c0a1 Merge bitcoin/bitcoin#34697: descriptor: fix musig() duplicate key checks and doubled PSBT origin paths
a1183c02aaca refactor: Extract Send() and Receive() into HTTPRemoteClient from HTTPServer
6d9b61d4f8dc refactor: Extract HTTPRemoteClient::MaybeDisconnect() from HTTPServer::DisconnectClients()
6fec8d6914bf refactor: Make HTTPRequest fields private
b8cd77237b34 refactor: Make HTTPRequest::GetHeader() return saner optional type
1cb416397b7a psbt: avoid duplicate taproot leaf script keys when merging
32765aca5c34 Merge bitcoin/bitcoin#35730: http: limit connected HTTPRemoteClients
a3335994a848 Merge bitcoin/bitcoin#35580: bugfix:  compare non-adjusted chunk weight against block weight limit
0ea81904ebdf Merge bitcoin/bitcoin#35933: psbt: don't abort on invalid MuSig2 derivations
7ea36e985a90 test: preserve index crash test state
5aa15df60c49 test: expose missing index crash checkpoint
b3ff9c4d683f iwyu: Fix warnings in `src/interfaces` and treat them as errors
d564b0255f7e iwyu: Add temporary mapping to work around upstream bug
58a7869f860f Merge bitcoin/bitcoin#36051: ci: use ruff 0.16.x
f5e91c6fbae7 Merge bitcoin/bitcoin#35884: util: set os-level thread names on Windows
a1e271622574 Merge bitcoin/bitcoin#36045: test: avoid undersized Boost.Test signal stacks
9d0c38db7466 ci: use mypy 2.3.1
7a53beca06a8 ci: use pyzmq 27.2.0
f29f076f3c27 ci: use ruff 16
7dcb7f09ed64 Merge bitcoin/bitcoin#34075: fees: Introduce Mempool Based Fee Estimation to reduce overestimation
5e8586ec5b01 Merge bitcoin/bitcoin#36019: bench: Construct CTxOut and COutPoint in a single expression
950bdb763e17 bench: Construct CTxOut and COutPoint in a single expression
bf8402c8803f Merge bitcoin/bitcoin#32958: wallet/refactor: Update SignPSBTInput to return util::Expected<void, PSBTError> and remove PSBTError:Ok
02306cc915ca Merge bitcoin/bitcoin#35161: consensus: document merkle mutation root invariant
fae6665f0134 fuzz: Use ImmediateBackgroundTaskRunner in process_messages
9eba3aafa6c2 test: avoid undersized Boost.Test signal stacks
747cff842481 rpc: avoid quadratic output lookups
7f9c4e292899 doc: add release notes
e18d392689da test: add mempool estimator i/o fuzz test
970f02096d37 fees: persist mempool policy estimator data
7dcb37989d25 fees: move fee_estimates.dat into fees directory
0db2b69e6db7 rpc: add verbosity option to estimatesmartfee options
06bb65730ebe fees: gate mempool estimates on recent block coverage
cfe585df25c4 validation: emit block mempool removal signal from ConnectTip
0d88558f9511 fees: return mempool estimates when it's lower than block policy
56db08d5291a Merge bitcoin/bitcoin#35877: build: ci/doc win64-cross build via nix
693b1351aff4 fees: add caching to MemPoolFeeRateEstimator
c9bb3df29ff9 fees: add MemPoolFeeRateEstimator class
558e26e66e02 test: cover OP_SUCCESSx bypassing the initial stack element size limit
e5be0dc35e88 refactor: Make HTTPResponse a struct since all fields are public
69c61f9f2f3d Merge bitcoin/bitcoin#36034: Release: Prepare "Translation string freeze" step
87b8a4ee506e Merge bitcoin-core/gui#944: Fix out-of-bounds read in RPCParseCommandLine on empty command
f9cc0c020c2f Merge bitcoin/bitcoin#36020: doc: Correct after HTTPRequest::m_client changed to weak_ptr
5a431c957d1b qt: Update `src/qt/locale/bitcoin_en.ts` translation source file
08dfaa04f4ca Merge bitcoin/bitcoin#36018: test: [refactor] Properly use BOOST_CHECK_EXCEPTION
fa0fe212f52a test: [refactor] Properly use BOOST_CHECK_EXCEPTION
436921eb469a test: check joinpsbts preserves global xpubs and proprietary fields
011094b282b2 rpc: preserve global xpubs and proprietary fields in joinpsbts
367b2202a496 Merge bitcoin/bitcoin#35665: psbt: avoid duplicate global xpub keys when merging
bab030a6feb9 Merge bitcoin/bitcoin#35859: wallet: use unsigned KDF iteration count
21ee7f6c00ba Merge bitcoin/bitcoin#35069: Refactor keypath parser
a07f1313b145 Merge bitcoin/bitcoin#35980: contrib: reject divergent verify-commits history
32dfed44a2ae Merge bitcoin/bitcoin#36012: psbt: Remove unused `IsNull()` methods
8c366094b89a Merge bitcoin/bitcoin#35956: fuzz: scope fake clocks to target phases
4d86d9cc7ed0 Merge bitcoin/bitcoin#35968: test: sync funding block before isolating nodes
8c1d776bf2ce Merge bitcoin/bitcoin#35965: test: Tighten Coin equality and add debug output
fa8762da626a build: ci/doc win64-cross build via nix
fafe7205cc89 doc: Clarify that cygwin/msys2 are not tested/supported
4b991d7b5fe4 Merge bitcoin/bitcoin#34239: depends: Hash included makefiles in package checksums
fe5e2a6319b8 Merge bitcoin/bitcoin#32162: depends: Switch from multilib to platform-specific toolchains
4e5327bc988b fuzz: refactor: scope fake clocks to target phases
15e5c35c4513 doc: Correct comments after HTTPRequest::m_client was changed from shared to weak pointer
1156ce675457 test: Tighten `Coin` equality and add debug output
59224b66aa1d Merge bitcoin/bitcoin#36008: wallet: WalletBatch->WriteVersion respect argument
2c16efbb7b5b psbt: Remove unused IsNull() methods
dd669f40b98b util: set os-level thread names on Windows
b88bffe550a3 Merge bitcoin/bitcoin#36010: test: Print os exit code on failure
0fd515bbb707 Merge bitcoin/bitcoin#36009: miniscript: remove unused context argument from ParseHexStr
15a7a4ed7c4d Merge bitcoin/bitcoin#35952: kernel: prevent dangling iterators from temporary ranges
ac6b6c1f06e9 Merge bitcoin/bitcoin#35680: private broadcast: bound rebroadcast attempts to 1,000
d411bb02ff83 Merge bitcoin/bitcoin#35993: guix: build glibc with `--enable-kernel=3.17.0`
fada80192bdd test: Print os exit code on failure
381c3312191b Merge bitcoin/bitcoin#36007: http: Make HTTPRequest::m_client a weak_ptr
82b3bfe38c09 Merge bitcoin/bitcoin#35797: psbt: support output metadata updates before inputs are added
681b429393e3 Merge bitcoin/bitcoin#35986: p2p: reconsider orphans when missing inputs are mined
16f4bd15bc9f Merge bitcoin/bitcoin#35954: qa: Disable Qt's glib event dispatcher for GUI tests on OpenBSD
1fdd208c1ce3 miniscript: remove unused context argument from ParseHexStr
4ca07c2fb3d0 Merge bitcoin/bitcoin#35963: doc : update cjdns docs to discourage using onlynet option
4b4ae6e37c54 Merge bitcoin/bitcoin#35995: doc: fix outdated URL in hash_tests.cpp
a23df4bfa874 Merge bitcoin/bitcoin#35946: rpc: Improve some type specs for openrpc
20ad7c9eab8f Merge bitcoin/bitcoin#35955: wallet: remove orphaned GetAffectedKeys and LegacyScriptPubKeyMan declarations
979a42ec1736 http: Make HTTPRequest::m_client a weak_ptr
cf36df070b4d Wallet: Check crypter return values
777aee77d120 refactor: deduplicate keypath element parsing
7d8fddfba258 refactor: define BIP32_HARDENED and BIP32_UNHARDENED constants
e4d80e7001e9 test: close the loop after the network thread has completed
29fba5ddbb9e test: close the listeners before terminating the event loop
bd4b1524eabf init: do not count file descriptors for HTTPServer if -server=0
b08662060db7 init: account for maximum file descriptors needed by HTTP
158efbc723d3 doc: fix outdated URL in hash_tests.cpp
9cacf677a918 rpc: add fee_rate_estimator option to estimatesmartfee
ba6c61bbdd32 fees: add FeeRateEstimatorManager class
2cb6b831e030 fees: add EstimateFeeRate and MaximumTarget to CBlockPolicyEstimator
5adb2ab08433 refactor: test block policy estimator directly
9c8309a89097 test: rename policy estimator tests to block policy estimator tests
e3d5ef1b5fb2 fees: move StringForBlockPolicyEstimateReason to block policy estimator
74245c20e05e fees: split wallet and estimator fee reasons
ec5d19665b89 wallet: WalletBatch->WriteVersion respect argument.
cc2acebefb04 http: configure simultaneous connection limit with -rpcmaxconnections
b3d6d2d1a7ef http: limit connected clients to 16
86651d81971b scripted-diff: Rename nUserBind, nBind, nMaxConnections to snake_case
5548818115c0 guix: build glibc with --enable-kernel=3.17.0
f72537037d33 Merge bitcoin/bitcoin#35972: fuzz: Fix assertion in `txorphan`
4800cb7aea01 Merge bitcoin/bitcoin#35735: Add state to HTTPRequest
e0992599a638 Merge bitcoin/bitcoin#35846: test: Use throwing config parser getters without fallback
e5977f0b9e5b Merge bitcoin/bitcoin#35982: Update minisketch subtree to latest master
fe7dbde52c9e Merge bitcoin/bitcoin#35976: test: Speedup fee estimation functional test with batching
9cc7dc50bdc9 p2p: reconsider orphans when missing inputs are mined
c90c23d388f6 Merge bitcoin/bitcoin#35531: txindex: hash keys and pack positions to reduce disk usage
2dcb2c6df20b Update minisketch subtree to latest master
461e3be8d3d1 Squashed 'src/minisketch/' changes from d1bd01e189..4a179c61e3
05c36d9fadcc Merge bitcoin-core/gui#957: fix: add .dat file extension automatically when exporting watchonly
75a4e6c67881 gui: fix allow restore wallets without .dat file extension
a8b582ec1d25 Merge bitcoin/bitcoin#32784: wallet: derivehdkey RPC to get xpub at arbitrary path
465bca734ebf contrib: reject divergent verify-commits history
b3d1dca33882 contrib: fail on verify-commits ancestry errors
d837bb38a44d contrib/init: fix unused variables in openrc script
fe7d475d450b private broadcast: bound broadcast attempts per tx to 1k
b3d77ea0275e test: Speedup fee estimation functional test with batching
683e05a265c8 Merge bitcoin/bitcoin#35889: rpc: avoid quadratic `gettxspendingprevout` work and preserve order
230185a5ee74 Merge bitcoin/bitcoin#35971: net_processing: remove unused code
ae36e2ef798f rpc: avoid quadratic prevout resolution
da1eaeb35075 rpc: preserve `gettxspendingprevout` order
f98753e76210 refactor: identify prevouts by request index
221a3fe5cfbe test: cover mixed `gettxspendingprevout` order
02de12b1e614 wallet: remove remaining LegacyScriptPubKeyMan references
d194be69d601 wallet: remove orphaned GetAffectedKeys declaration
01dde6b20578 fuzz: Fix assertion in txorphan
dec68f997e7c Merge bitcoin/bitcoin#35852: scripted-diff: Use inline const(expr) over static constexpr in headers
e95bab98f03c Merge bitcoin/bitcoin#35960: common: remove `::runtime_error` from `RunCommandParseJSON`
aad830ac4a65 Merge bitcoin/bitcoin#35847: test: move more tests to `baseindex_tests` and run them for all indexes
b76afff27490 Wallet: Use unsigned KDF iteration count
e07d826e0ebd rpc: Fix type in ApplyTypeStrOverride
0cff3cc51879 net_processing: Remove redundant porphanTx in ProcessOrphanTx
c7eacbd45b08 net_processing: remove Peer& from UpdatePeerStateForReceivedHeaders
8454fb2bd74c test: sync funding block before isolating nodes
8b5da677d7b0 common: remove ::runtime_error from RunCommandParseJSON
25bed560bed3 test: add forward-compat functional test for txindex
703304ed8c19 doc: add release notes for txindex disk usage and downgrading
8e5320a2d246 tests: cover txindex hash prefix collisions and legacy fallback
b75efa19ba80 txindex: skip bloom filters and legacy lookups for new databases
004d7c098cad txindex: hash key prefixes and pack block positions
5a255970fd1b refactor: move txindex db constants and legacy key to txindex_key.h
327660134cb1 txindex: pass the full block to DB::WriteTxs
42771e79980c txindex: use a new block locator for downgrade safety
4b08baed72c4 txindex: return optional tx and block hash from FindTx
fc0dcf950f97 kernel: keep range iterators tied to their owner
0936c55f626c test: characterize kernel range iterators
ef501a63d9d6 consensus: document merkle mutation root invariant
11090c8bb359 Merge bitcoin/bitcoin#35951: doc: release note about I2P ElGamal sunset
beefda21be3f doc : update cjdns docs to discourage using onlynet option
b2c45888fde0 Merge bitcoin/bitcoin#35866: test: Verify unwelcome RPC clients are rejected before reading their requests
c0792889673d psbt: update output metadata without inputs
4f5712476a3c test: characterize P2WSH miniscript output
e24e8fa2a689 test: characterize PSBT output metadata
625f951ba2fc Merge bitcoin/bitcoin#35959: Update secp256k1 subtree to latest master
e9ed5e83a392 Merge bitcoin/bitcoin#35605: wallet: rpc: Deprecate `removeprunedfunds` RPC
800ad9c3c0c4 doc: release note I2P ElGamal sunset
2f72123f613f Merge bitcoin/bitcoin#35867: test: classify SOCKS5 peers via getpeerinfo addrbind
f464f6cd67e5 Update secp256k1 subtree to lastest master
09cc345c3e32 Squashed 'src/secp256k1/' changes from d2d04864ef..687155df6b
c94074fa1b13 rpc: Surface OBJ_USER_KEYS description for openrpc
c020c21d543a rpc: Handle skip type args for openrpc
e33410d88841 fuzz: document arbitrary mocktimes
4c045f1a0323 Merge bitcoin/bitcoin#35945: depends, qt: Add patch for missing headers
b0615672352f Merge bitcoin/bitcoin#35947: build, msvc: Update vcpkg manifest baseline
1f5c46f7ce25 Merge bitcoin/bitcoin#35931: ci: Check DLL imports of cross-built `bitcoind.exe`
b42f7fade0cd descriptor: don't prepend key origins twice
7b15e2cb442c descriptor: fix duplicate check for hardened keys
1bec7fa22c9f Merge bitcoin/bitcoin#35496: kernel: add `btck_set_mock_time` for testing time-dependent paths
c1967c4453b1 Merge bitcoin/bitcoin#35950: Update leveldb subtree to latest master
512dc9af1b13 Merge bitcoin/bitcoin#35930: wallet: post-#35501 cleanups in CWalletTx
b970bb34d0c5 Merge bitcoin/bitcoin#33585: cmake: Use builtin support for .manifest files
de2adc308a42 qa: Disable Qt's glib event dispatcher for GUI tests on OpenBSD
aa0e0f793fed Merge bitcoin/bitcoin#35729: refactor: test: Unroll `&&` conditions in macros
3e76d22de258 Update leveldb subtree to latest master
9f10ef5e96d1 Squashed 'src/leveldb/' changes from a7f9bdc611..13da2d6758
2c01832f7beb Merge bitcoin/bitcoin#35493: wallet, descriptor: Fix MuSig private key completeness checks on `importdescriptors`
b80cee036199 Merge bitcoin/bitcoin#35924: Wallet, refactor: Remove orphaned EraseWatchOnly function
5d051c05629d Merge bitcoin/bitcoin#35943: doc: fix dead link in txrequest.h
4ca182ca4028 doc: clarify alternate_wtxids is empty when only one witness variant
fa48b5d28eb5 test: assert listsinceblock "removed" reports current canonical wtxid
9b96ee12881e wallet, test: add unit test for variant txid validation in CWalletTx deserializer
9de6543cb55f wallet: post-#35501 cleanup in CWalletTx
e2bf51543ad9 build, msvc: Disable default features of the `sqlite3` package
a31425610af3 build, msvc: Update vcpkg manifest baseline
757aa573c458 Merge bitcoin/bitcoin#33186: wallet, test: Ancient Wallet Migration from v0.14.3 (no-HD and Single Chain)
e8cc21c57f9e Merge bitcoin/bitcoin#35925: wallet, rpc: Exclude non-owned addresses from listreceivedby*
e8500cbd19db depends, qt: Add patch for missing headers
9954aa77280e http: don't parse any new requests from a client if m_req_busy = true
c7db3ae1f907 test: cover HTTPRequest state machine
90676e24ad1a Add state to HTTPRequest to avoid duplicate work over I/O cycles
99497b38f6c6 cmake: Unconditionally add .rc files to sources
654a4cf5e69c cmake: Use builtin support for .manifest files
8f695379f314 cmake: Unconditionally set WIN32_EXECUTABLE target property
507e528e8450 http: reuse HTTPHeaders to parse chunked trailer
902d8908c94d http: only read one HTTPRequest at a time per client
a7b0b5084a4a doc: fix dead link in txrequest.h
1d386c250f22 Merge bitcoin/bitcoin#35941: doc: remove mention of `::wsystem`
57246934e712 doc: remove mention of wsystem
5973e0758820 Merge bitcoin/bitcoin#35937: test: Append print_suppressions=0 to LSAN_OPTIONS, and suppress bitcoin-qt
b6bd573eb97a Merge bitcoin/bitcoin#34794: rest: add Cache-Control headers to REST responses
d055a3ab1005 test: verify disallowed RPC clients are rejected upon `accept()`
128456b62d5e Merge bitcoin/bitcoin#35260: doc: clarify test placement guidance
fad9ab714b55 test: Append print_suppressions=0 to LSAN_OPTIONS, and suppress bitcoin-qt
05a7c470d28c Merge bitcoin/bitcoin#35822: fuzz: reset SOCKS5 interrupt between inputs
73a94b45459a psbt: avoid aborting on invalid MuSig2 derivations
e3d1e75a519a test: characterize MuSig2 derivation aborts
1be0b46297c6 Merge bitcoin/bitcoin#35898: rpc: fix mempool entry vsize docs
5f4d5626e7f0 Merge bitcoin/bitcoin#35908: doc: Update NetBSD Build Guide
8397e09e6baa Merge bitcoin/bitcoin#35928: doc: mention -DWITH_ZMQ=ON in macOS build guide
4b4e63f28231 Merge bitcoin/bitcoin#35704: windows: remove deprecated codecvt via UTF-8 narrow APIs
67fee5bf440c ci: Check DLL imports of cross-built `bitcoind.exe`
089c883c558e test: Add coverage for listreceivedby* excluding "send" addresses
873c0548059b wallet: Exclude non-owned addresses from listreceivedby*
c3945bfd2bf8 doc: use derivehdkey in multisig tutorial
3662e3366978 test: use derivehdkey in M-of-N multisig demo
d9570f083835 rpc: add derivehdkey
62da9f961450 wallet: add GetExtKey helper
222855ed1129 doc: mention -DWITH_ZMQ=ON in macOS build guide
aaf1548475de wallet: generalize GetActiveHDPubKeys helper
3821452c4af1 refactor: add hardened derivation helper
0ab61caafd10 rpc: ParsePathBIP32 helper
e36c4b76e198 util: reject out-of-range BIP32 keypath indices
ba78c31a00c9 fuzz: check ParseHDKeypath/WriteHDKeypath round-trip
8cce969085db Have ParseHDKeypath handle h derivation marker
fc5307776236 test: move parse_hd_keypath test to bip32_tests
dab525eb7717 key: add DeriveExtKey() helper
71c06c5cbcd5 Merge bitcoin/bitcoin#35830: fees: Return false for incompatible fee estimates
55dfc244143a Merge bitcoin/bitcoin#35915: Release: Prepare "Open Transifex translations for `v32.0`" step
f11dc6170ed8 Merge bitcoin/bitcoin#35482: fuzz: exercise the transaction-handling path in process_message(s)
6f906106d73d Merge bitcoin/bitcoin#35879: ci: Fix $BASE_ROOT_DIR installation
d36bf709f7f8 Merge bitcoin/bitcoin#35914: test, fuzz: Remove unused variables
ed2c59ab6547 Merge bitcoin/bitcoin#35896: refactor: Default uint256::operator==, add operator<=>
fae7ba9abae8 ci: Fix $BASE_ROOT_DIR installation
fabe100c2b33 test: Use throwing config parser getters without fallback
fa8acd57cd1b test: Write true/false values in config.ini
6304789a18f9 Wallet, refactor: Remove orphaned EraseWatchOnly function
6b6d77cc84e4 windows: remove deprecated codecvt via UTF-8 narrow APIs
b388674acf06 Merge bitcoin/bitcoin#35872: rpc: avoid descriptor range counter overflow
c36ffd870e8b Merge bitcoin/bitcoin#35842: rpc: Properly make RPCResult::Type::ANY non-test-only
7cb9aaaee80c Merge bitcoin/bitcoin#35759: fuzz: check http_request body matches framing
5b008514dbe2 Merge bitcoin/bitcoin#35878: net_processing: process unique tx INVs only
3175d576288f test, refactor: Remove unused `error` in `wallet_tests.cpp`
422f1bd92f15 test, refactor: Remove unused `utxo_pool` in `coinselector_tests.cpp`
e550945a3941 test, refactor: Remove unused `removed_refs` in `txgraph_tests.cpp`
a061b011b786 Merge bitcoin/bitcoin#35912: doc: fix stale bitcoin_en.xlf reference
950b1c09225d Merge bitcoin/bitcoin#34927: test: Check that RPCs do not time out, even under load
bd01e66f0a75 Merge bitcoin/bitcoin#35885: ci: switch to a sourceware mirror for riscv
fa2e76d397a4 bench: Add base_blob compare bench via uint256
97abf95f48ab qt: Update the `src/qt/locale/bitcoin_en.ts` translation source file
81fcecfe4525 Revert "ci: Temporarily remove riscv32 config from GHA matrix"
b283e1751cc4 ci: use mirror for riscv submodules
fa7bc26d1276 test: Check that RPCs do not time out, even under load
fa2bd96cc0d4 test: Map cli CalledProcessError on server error to JSONRPCException
e50f422d25f9 test, refactor: Remove unused variables in `test/rbf_tests.cpp`
b7ae50e2e27e fuzz, refactor: Remove unused `header` in `p2p_transport_serialization.cpp`
3df0d067ade9 fuzz, refactor: Remove unused `random_string` in `locale.cpp`
fc28914de4e1 fuzz, refactor: Remove unused `linearization` in `cluster_linearize.cpp`
da58e559865e test, refactor: Remove unused `warnings` in `wallet/test/util.cpp`
4df077d7cd32 Merge bitcoin/bitcoin#35910: refactor: Remove unused newFeeRate var in ReplacementChecks
e98ffd4bd82d doc: fix stale bitcoin_en.xlf reference
fa9a9a82acd4 refactor: Remove unused newFeeRate var in ReplacementChecks
fa588e9e0f80 refactor: Mark assertion_fail as [[noreturn]]
1278a5970d5a net_processing: process unique tx INVs only
75f585192776 doc: add release note for REST cache-control headers
bbe21ac29f55 doc: document REST cache-control defaults
862a17955631 http: add no-store to dispatcher-generated error responses
f32685315c2e doc: Install `pkgconf` to find `capnproto` on NetBSD
5964c7229fc2 doc: Switch `pkg-config` package to modern `pkgconf` on NetBSD
9b85c9814d1d doc: Drop GCC upgrade instructions for NetBSD
ea59f1722097 test: cover v0.14.3 wallet migration
18b8afd09333 test: support v0.14.x in dumb_sync_blocks
faec059dfe8b refactor: Add uint256::operator<=>()
b9d573e4a959 fees: Return false for incompatible fee estimates
a3ebf8ab607f rpc: fix mempool entry vsize docs
c4fbd3c72114 Merge bitcoin/bitcoin#35895: refactor: Enable clang-tidy rule to reject anon namespace in header
465196d0154c Merge bitcoin/bitcoin#35630: test: Add importdescriptors rpc error test coverage
fa6df14c2360 refactor: uint256::operator==() = default
c940fd75145d Merge bitcoin/bitcoin#35180: coins: group private cache helpers
3db96eb5fd7d Merge bitcoin/bitcoin#35582: rpc: reject null for optional parameters
fa93132d6da5 refactor: Enable misc-definitions-in-headers
fa5ca877b603 refactor: Enable clang-tidy rule to reject anon namespace in header
fafe5042bd1b refactor: Use C++20 std::identity over IntIdentity
28257111acf2 Merge bitcoin/bitcoin#35737: test: Move cluster_linearize.h contents into cluster_linearize namespace
fac4b06e997e refactor: Use CLIENT_NAME in buildOpenRPCDoc
fa3aadbc32e0 refactor: Use self.Arg<bool> in getopenrpcinfo
fa1871a52816 refactor: Remove stale NOLINTNEXTLINE above GetAddressInfoBaseFields
fa2264791490 rpc: Properly make RPCResult::Type::ANY non-test-only
fa1242dcc022 refactor: Use std::visit in ApplyArgFallback
27b6b5a458f5 Merge bitcoin/bitcoin#35836: rpc: Remove meaningless bool fallback in FundTransaction
3ac8b806a699 test: test the result order of a multiple import request is correct
e4732bf01876 test: test invalid or missing timestamp throws importdescriptors
324c231efeaf Merge bitcoin/bitcoin#35881: iwyu: Fix warnings in `src/consensus` and treat them as errors
6ed7e05e20da gui: fix add .dat file extension automatically when exporting watchonly
75183f4464bf Merge bitcoin/bitcoin#35880: fuzz: don't connman.ReceiveMsgFrom oversized msg
fab74a0e922c refactor: Use C++14 digit separator for large int literals
fae759be7930 scripted-diff: Use inline constexpr over plain constexpr
fa74f58a2620 scripted-diff: Use inline const over (static) const
fab1a62c870e refactor: Use inline constexpr for string literals in headers
fa08bbed8dd2 contrib: Adjust generate-seeds.py to write inline constexpr
fad753611b5c scripted-diff: Use inline constexpr over (static) const
faedb52583e1 refactor: Make CFeeRate(integral) ctor constexpr
5555d5dcb559 scripted-diff: Use inline constexpr over static constexpr
fa6e1a1e85e2 refactor: Remove static from constexpr functions in headers
e2ab8ae55142 wallet: spkm: Only notify CanGetAddressesChanged on change
0892f16f911d refactor: moveonly: Pair CanGetAddressesChanged notifications with desc range.
e6adae3db242 wallet: `NotifyCanGetAddressesChanged` when advancing `next_index`
acf45c44c013 rest: add Cache-Control headers to REST responses
d3cfd02bd7f8 Merge bitcoin/bitcoin#35501: wallet: store all witness variants of a transaction
0b8ffd01cde8 Merge bitcoin/bitcoin#35790: fuzz: populate wallet TXO index in wallet_create_transaction
2f52c2e8c062 Merge bitcoin/bitcoin#35886: refactor: Remove unused #include in common/system
fa7304f3a5b8 refactor: Remove unused #include in common/system
e7eb159a868f Merge bitcoin/bitcoin#35773: test: Suppress implicit-unsigned-integer-truncation:SaltedCoinsCacheHasher::operator()
c6ef42d7dbcf Merge bitcoin/bitcoin#35205: kernel,node: add `dbcache` setter and clarify defaults
f280f5eb4749 wallet: rpc: deprecate removeprunedfunds
4e8c4bc794c0 test: classify SOCKS5 peers via getpeerinfo addrbind
17c5e33e9c54 Merge bitcoin/bitcoin#35216: qa: Improve functional test support on illumos and *BSD
13b53f8bf674 iwyu: Fix warnings in `src/consensus` and treat them as errors
bb19f1da19c1 fuzz: don't connman.ReceiveMsgFrom oversized msg
8a4bab8e9753 Merge bitcoin/bitcoin#35863: test: fix wrong transaction in GetP2SHSigOpCount assertion
975a314667ed Merge bitcoin/bitcoin#35832: p2p: avoid block disk reads on unnecessary requests
d24610fa2c7e Merge bitcoin/bitcoin#35870: guix: move `python-minimal` to Linux GUI build
b33a5b5767ef Merge bitcoin/bitcoin#35871: refactor: Annotate `MakeAndPushFeature` with `[[maybe_unused]]`
4b322989ac2d Merge bitcoin/bitcoin#34995: iwyu: Fix warnings in `src/common` and treat them as errors
75f024a84e0a Merge bitcoin/bitcoin#35875: ci: Fix NetBSD SDK download failure, Temp. remove riscv32 from GHA
fa06ea42448d ci: Temporarily remove riscv32 config from GHA matrix
873550bea381 ci: verify cross-build SDK archives
2c87337efe82 ci: update NetBSD cross-build SDK
6a2de55a0d8b test: require `TryGetTotalRam()` detection
cd086c16dd77 node, qt: inline `DEFAULT_DB_CACHE`
8bd9f46082df kernel: allow setting chainstate `dbcache`
8aa21e119b02 kernel, node: colocate dbcache bounds
7cfa21d60a58 scripted-diff: use `MIN_DBCACHE_BYTES`
ab6343257681 common: cache total RAM as `uint64_t`
031fa402c8a2 scripted-diff: use `TryGetTotalRam`
264555af3cc2 rpc: avoid descriptor range counter overflow
143a13fb2bd1 test: characterize descriptor range endpoint
41c44f558852 node, qt: use `1_MiB` for dbcache conversions
0238aebf6190 refactor: Annotate `MakeAndPushFeature` with `[[maybe_unused]]`
1ed14c61222e Merge bitcoin-core/gui#872: Menu action to export a watchonly wallet
b75eb938a041 guix: move python-minimal to GUI build
101400b28f77 guix: remove -Werror=dev
e27c179db2fd Merge bitcoin/bitcoin#35869: lint: (re-)add contrib/guix for Python linting
50145f62c923 ci, iwyu: Enforce warning-free `src/common`
30f6b05857fb Merge bitcoin/bitcoin#35860: fuzz: Rework rpc fuzz target
dcc2ed52b840 Merge bitcoin/bitcoin#35856: fuzz: cover the mempool interface for transaction announcement
8221d714c788 lint: document CI lief version requirement
594a02c3ae05 lint: re-add guix scripts to mypy linting
e8691056c014 test: Unroll `&&` conditions in macros
ddddffda3af4 doc: Add doc/release-notes-35836.md
756afe14b5c1 test: give each ValidateInputsStandardness case its own scope
5559fa464b34 test: fix wrong transaction in GetP2SHSigOpCount assertion
556988790a7f Merge bitcoin/bitcoin#35592: http: check rpcallowip immediately after accepting connection
fa895bb77a8a fuzz: Rework rpc fuzz target
28641fd195db p2p: reject empty getblocktxn requests
dd2561003dd2 fuzz: cover the mempool interface for transaction announcement
9871fb726cb5 p2p: reject filtered block inv early when bloom is disabled
aaf941202667 refactor: split p2p_getdata.py in sub-cases
34c03075a5a0 test: run generic baseindex tests against every index type
11b3e251c488 test: make baseindex flush test chain-length agnostic
8b959f4c6ab6 test: move unclean_shutdown test to baseindex_tests
2232d6afbe21 test: move index_reorg_crash to baseindex_tests
a3597e268376 test: move BuildChain helper into test mining util
954985e6a380 test: simplify blockfilter test's BuildChain helper
67efced1fc83 Merge bitcoin/bitcoin#35838: qa: Enable `interface_gui.py` on macOS
45f5609f2ed9 qa: Enable `interface_gui.py` on macOS
fa7fe798c611 wallet: Remove meaningless bool fallback in FundTransaction
9611a356035b Merge bitcoin/bitcoin#35828: util: Make LineReader consistently use string_view
6e2962e48cb5 Merge bitcoin/bitcoin#35753: kernel: handle null mempool on chainstate deletion
87bc4c74c4df Merge bitcoin/bitcoin#35787: init, rpc: ignore empty addnode values
67998e15c8dd Merge bitcoin/bitcoin#35553: test: Add missing test case for getdata requests from blocks-only peers
9b38d077f894 Merge bitcoin-core/gui#953: Adds option to not load the wallet after migration
146988ef6c53 Merge bitcoin/bitcoin#35551: test: add interface_gui.py to test bitcoin-qt startup
7e5952b0aa04 Merge bitcoin/bitcoin#35821: guix: followups to #35537
683ae4c520b1 guix: consolidate config flags
665f11d04ac0 guix: consolidate gcc toolchain setup
288f76ed0fcb guix: consolidate mingw-w64 toolchain setup
cc9b0f2266d9 guix: consolidate LLVM toolchain setup
b12a70f330d0 guix: turn linux/win linker warnings into errors
fd7d4f29704c Merge bitcoin/bitcoin#35795: build: set CMAKE_VISIBILITY_INLINES_HIDDEN in REDUCE_EXPORTS
8ecbe270f0de Merge bitcoin/bitcoin#35606: script: qa: Improve `Key::Fingerprint` type safety
a9d181f2d353 Merge bitcoin/bitcoin#35084: ipc: Add nonunix platform support
6573196e63bf doc: Release note for export watchonly wallet gui action
cb51f97f6c59 gui: Menu action for exporting a watchonly wallet
4cea59573c83 add release notes
492a715d7841 gui: Adds option to not load the wallet after migration
dff44e4c8f30 util: LineReader - Drop support for raw std::byte spans
5d5cdcd79d4c util: Make LineReader consistently use string_views
e8eaa80ce295 util: LineReader - Don't include newline and acknowledge single-char \r
5907a5c7dc22 gui: Add ExceptionSafeConnect that takes a lambda
7dea464d6b51 Merge bitcoin/bitcoin#35692: addrman: remove unreachable tried-collision branch
a2aab6df97d9 Merge bitcoin/bitcoin#35810: guix: Drop unused `(guix licenses)` import from `manifest_build.scm`
77440814bf2c fuzz: reset SOCKS5 interrupt between inputs
90ce21e21d09 rpc: reject empty node argument in addnode
69465de4470d init: ignore empty addnode values
e75b76b12c5d Merge bitcoin/bitcoin#35261: guix: disable LTO in GCC
a92e93429ee3 guix: Drop unused `(guix licenses)` import from `manifest_build.scm`
5be248341a8e bugfix: compare real chunk weight against block weight limit
fc9879086990 test: `TestChunkBlockLimits` uses incorrect weight for comparison
e34b8d5a7dcd Merge bitcoin/bitcoin#35794: doc: Discourage adding AI agents as commit (co)-authors
b33a7fcd7bd8 Merge bitcoin/bitcoin#34628: p2p: Replace per-peer transaction rate-limiting with global rate limits
6b059d9dbdbd Merge bitcoin/bitcoin#32800: rpc: Distinguish between vsize and sigop adjusted mempool vsize
11ebbd907217 Merge bitcoin/bitcoin#28463: p2p: Increase inbound capacity for block-relay only connections
3f313a774bec build: set CMAKE_VISIBILITY_INLINES_HIDDEN in REDUCE_EXPORTS
3a2c52f9d70d Merge bitcoin/bitcoin#35792: refactor: Make all `const static` class members `constexpr`
f5d7cc66ecba doc: Discourage adding AI agents as commit authors
05c35c402cc5 refactor: Make all `const static` class members `constexpr`
c11508406e6e doc: Update docs that refer to -maxconnections
69ce0dba2ae4 test: add test that EvictTxPeerIfFull only evicts tx-relaying peers
3ed7f064180f p2p: trigger possible eviction if we support bloom filters and change a peer to tx relay
0bd3d3dfa562 init: make inbound tx relay percentage configurable
cc59aee196e2 test: add functional test for inbound maxconnection limits
1b76e0473647 net: increase inbound capacity for block-relay-only connections
baa5a2ce43a8 guix: pass --disable-tm-clone-registry to base GCC
9c2589630f05 guix: mirror some arguments from linux-gcc to mingw-w64-gcc
e0b8fbde8973 guix: disable-nls in *-base-gcc
7dc87f8e1e29 guix: disable-lto in *-base-gcc
9ed3d6ef2a2a guix: modernise style in *-base-gcc
1eac6a728bfc fuzz: populate wallet TXO index in wallet_create_transaction
610dd320d1a8 Merge bitcoin/bitcoin#35783: chainparams: remove my testnet3 seed
afa5e46bbc6d Merge bitcoin/bitcoin#35076: doc: clarify pruning impact on wallet sync
26b730cdbf2c Merge bitcoin/bitcoin#35320: key: validate BIP32 seed length in CExtKey::SetSeed
edf4b807f051 Merge bitcoin/bitcoin#35781: Update secp256k1 subtree to latest master
774d11c58f22 Merge bitcoin/bitcoin#35664: test: add CLTV and CHECK(MULTI)SIGVERIFY failure-path vectors to script_tests.json
526673487cee Merge bitcoin/bitcoin#34683: rpc: support a formal description of our JSON-RPC interface
290cb2f17ef6 Merge bitcoin/bitcoin#35775: scripted-diff: Use C.UTF-8 locale in Guix scripts
d472a7798ac1 Merge bitcoin/bitcoin#32764: guix: Build for macOS using LLVM toolchain only
9755d33390d8 Merge bitcoin/bitcoin#34808: cmake, translation: Use native Qt TS file as source for translations on Transifex
51143291a6c5 Merge bitcoin/bitcoin#35782: doc: fix outdated i2p URLs in comments
2cb3bfa8df7c scripted-diff: Use long form of shell options in Guix scripts
711eb10f08bc guix: Add copyright headers to Guix scripts
7295b8be704a chainparams: remove my testnet3 seed
419f7427eee2 doc: fix outdated i2p URLs in comments
a33f240524da Squashed 'src/secp256k1/' changes from bd0287d650..d2d04864ef
c26d4e2d6f03 Update secp256k1 subtree to latest master
22a03ca69443 Merge bitcoin/bitcoin#35694: clusterlin: minor SFL optimizations
7b6f9ba7bad1 Merge bitcoin/bitcoin#34672: mining: add reason/debug to `submitSolution` and unify with `submitBlock`
5311b15727f2 Merge bitcoin/bitcoin#33014: rpc: Fix internal bug in descriptorprocesspsbt when encountering invalid signatures
c9cedebfffbc coins: group private cache helpers
8a90c7cd9739 guix: Build for macOS using LLVM toolchain only
db74d3390a39 doc: clarify test placement guidance
d3d74e701f76 ipc, refactor: Update mp::g_thread_context references
80f831494e53 guix: Fix `glibc` version in comment
8916f7967e10 scripted-diff: Use C.UTF-8 locale in Guix scripts
a2e074d66ac1 Merge bitcoin-core/gui#951: test: Nudge toward QT_STYLE_OVERRIDE=fusion on macOS
6ced9ad782b8 Merge bitcoin/bitcoin#35770: net: Simplify `AddressPosition` comparitor
b8844d3df759 Merge bitcoin/bitcoin#35766: p2p: Assume v2transport for addresses from seeds
fa7f55378179 test: Suppress implicit-unsigned-integer-truncation:SaltedCoinsCacheHasher::operator()
075e7f421876 net: Simplify `AddressPosition` comparitor
fa0c8337a8d4 test: Nudge toward QT_STYLE_OVERRIDE=fusion on macOS
faa50c08b17b refactor: Run clang-format on qt test_main.cpp
bc49bd154a31 Merge bitcoin/bitcoin#35709: depends: Update Qt to 6.8.4
efa1800a885c Merge bitcoin/bitcoin#35769: depends, zeromq: Apply upstream patch
fc4ceda8b610 Merge bitcoin-core/gui#949: Fix `-Wsfinae-incomplete` warnings when building with GCC 16.x
559d042ba256 Merge bitcoin/bitcoin#35736: bitcoin-util: replace netmagic command with getchainparams command
8f2ed31f7023 Merge bitcoin/bitcoin#35767: fuzz: Avoid dangling prevoutfetch threads after AFL fork
a31c30290d4c Merge bitcoin/bitcoin#35746: ci: Test build directory path with spaces
e446ea09c4d3 depends, zeromq: Apply upstream patch
87b080fe2b66 fuzz: reset the reused mempool in process_message(s)
d522fd319636 fuzz: prepare deterministic mempool rebuilds
b11456386b26 fuzz: let the test input toggle IBD in the p2p fuzz targets
2a29cee68438 test: add helper to reset chainman and mempool
2a4ef42d34ed fuzz: share a single FakeNodeClock in the chainman-resetting fuzz targets
32eb52100296 Merge bitcoin/bitcoin#35215: coins: use SipHash-1-3-UJ for CCoinsMap keys
883ef1d85d74 Merge bitcoin/bitcoin#35727: blockencodings: fix extra transaction count
f3f302150b5f ci: Put space and non-ASCII char in `BASE_BUILD_DIR`
a7e980af31b9 build: Quote host paths in NSIS installer template
faada35f9c09 fuzz: [refactor] Use 100'000 digit separator in __AFL_LOOP
cf0f2aeae009 p2p: Assume v2transport for addresses from seeds
fae067ec4a40 fuzz: Avoid dangling prevoutfetch threads after AFL fork
7e1a750d45d9 guix, refactor: Use `target` variable instead of hardcoded value
de9b436ba365 depends: Switch from multilib to platform-specific toolchains
d673ca765a5a Merge bitcoin/bitcoin#35537: guix: split builds into Linux, Linux GUI and macOS/Windows
b36c2d78a3ad Merge bitcoin/bitcoin#35490: test: cover unused mempool space in coins cache limit
7502b9ddba74 fuzz: check http_request body matches framing
d1d85263f8eb Merge bitcoin/bitcoin#35681: test: cover disconnect on private broadcast peer with relay=false
4906594a3844 Merge bitcoin-core/gui#950: qt, test: Run GUI tests on macOS with `minimal` QPA plugin
e0c196f9c11c Merge bitcoin/bitcoin#35721: lint: drop most remaining default Ruff rule ignores
fd59d68c2629 qt, test: Enable tests on macOS with `minimal` QPA plugin
c8b2aeb2263c qt: Avoid implicit `NSApplication` instantiation
006f8f7d49a3 Merge bitcoin/bitcoin#35090: fuzz: add p2p_private_broadcast harness
51d36dfd076a qt: Fix `-Wsfinae-incomplete` warnings when building with GCC 16.x
0b0785daa00b guix: split macOS and win builds
008a3e29c884 guix: split builds into Linux(gui) and macOS/Windows
a99b27f19209 validation: handle null mempool on delete
a3b5dc057236 cmake: Add `GenerateWindowsInstaller` script
3bfdcbd7ee49 coins: reuse cache hasher for txid set
2beab94896a3 coins: use SipHash-1-3-UJ for `CCoinsMap`
7ff55cc6500e bench: add fixed-width SipHash benchmarks
3aea85411f61 test: add SipHash-1-3-UJ coverage
a0ccd4ad1715 crypto: add fixed-width SipHash-1-3-UJ
c2d7931b5c8b crypto: add generic SipHash-1-3-UJ
25bfca06d669 refactor: simplify adding SipHash-1-3-UJ
af50ba8500a8 test: add shared SipHash vectors
fa5cbb890971 uint256: Workaround GCC-14 stringop-overread bug in Compare
18c05d93016b Merge bitcoin/bitcoin#35590: test: wallet: BnB incomplete result on attempt-limit success
21b4b790e488 test: Move cluster_linearize.h contents into cluster_linearize namespace
b56b66fc64be Merge bitcoin/bitcoin#35679: fuzz: Remove unused `DeserializeFromFuzzingInput` params overload
6ee05c4b188c test: wallet: BnB incomplete result on attempt-limit success
6aa5d8d9481f blockencodings: fix extra transaction count
be4e64d9e405 test: characterize extra transaction miscount
2d3f72fd3fa4 ipc, refactor: Update mp::SpawnProcess call
7298281ba8df bitcoin-util: replace netmagic command with getchainparams command
9d6ba4b3b572 Merge bitcoin/bitcoin#34514: refactor: remove unnecessary `std::move` for a few trivially copyable types
ca9ffb8e1238 rpc: add OpenRPC discovery alias
6c9d76d58942 doc: release note for alternate_wtxids in gettransaction
99bdcb064c2d test: compat, ensure downgrade preserves tx witness variants
ef2afc6a0a3c test: Test for wallet txs with alternate wtxids
2d55c7a74dde wallet: Show alternate wtxids in gettransaction
0b1af01bd442 wallet: Replace CWalletTx::SetTx with Update
56cf27db4dc0 wallet: Store all witness variants of a transaction
798ba6d04faa wallet: Make CWalletTx::tx private and use CWalletTx::GetTx to access
72ebdd6364c7 wallet: Remove unused CWalletTx CopyFrom and copy constructor
19af439bdf36 wallet: Deserialize directly in CWalletTx's ctor
afab8d4225c7 fuzz, refactor: Remove `Serialize` overload
efa7f8c14376 fuzz: Remove unused `DeserializeFromFuzzingInput` params overload
6eca11175be6 lint: remove E731 Ruff ignore
b52454538b08 lint: remove E712 Ruff ignore
e9f19815caa3 ipc, refactor: Add Stream type alias and use it
3859805f05e6 ipc, refactor: Add SocketId type alias and use it
2ee9b69c7a1f ipc, refactor: Add ProcessId type alias and use it
344979714189 ipc: Avoid 'unistd.h' error with MSVC
dbcc192dce61 ipc, refactor: fix include order
7c86d4834ed2 ipc, refactor: use native path separators in test
00287b9a3404 ipc, refactor: Change Protocol class field order
33d37f3c35ef ipc, refactor: Drop connect/listen/serve exe_name parameters
794940469e77 ipc, moveonly: combine ipc_test.cpp and ipc_tests.cpp
efb4eae33861 clusterlin: avoid recomputing intersections in MergeChunks
4b91ad149f00 clusterlin: reserve the suboptimal-chunk queue up front
e6ca996255bb clusterlin: avoid heap allocations in GetLinearization
226e6388b7fd depends: Update Qt to 6.8.4
fef99e6563ae qt: fix out-of-bounds read in RPCParseCommandLine on empty command
349c72ee00a0 net_processing: Drop unnecessary txid arg from InitiateTxBroadcastToAll
12b0dc33c4af doc: Add release note for -txsendrate etc
5cde66341a66 tests: basic functional test for tx rate limiting
4842903ac122 rpc: report -txsendrate and bucket info via getnetworkinfo
74a47a520713 init: add -txsendrate configuration parameter
6307bd034bfb net_processing: Provide a 30bpm heartbeat log while inv backlog is in use
df31ee57aaf5 net_processing: add a global delay queue for sending txs
7927650e56d2 util/tokenbucket.h: Provide a generic TokenBucket class
749bb447f819 txmempool: Drop CompareMiningScoreWithTopology
e1b7490fbc91 net_processing: Replace CompareInvMempoolOrder
6cfc65d2103e txmempool: Add ExtractBestByMiningScoreWithTopology
026f70e05f96 net_processing: Remove per-peer rate-limiting
46c8c471dcf5 net_processing: bump last_inv_sequence for bip35 messages explicitly
5d57f2cefee2 test: cover unused mempool space in coins cache
1fc9277a1c13 test: cover disconnect on private broadcast peer with relay=false
bc7d9050467f addrman: remove unreachable tried-collision branch
0390338692a7 test: check MuSig import private key warnings
5e62fbf09c01 wallet: check descriptor private key completeness on import
cd8d01bf47a2 descriptors: require complete MuSig private keys
55d3cd51a48d doc: add release note describing change for forbidden clients
d1ed2a6e25d7 http: check rpcallowip immediately after accepting connection
d24d3cbad010 fuzz: add p2p_private_broadcast harness
c4068cf37b66 test: add negative zero CSV failure script test vector
37edf0e2338e test: add CHECKLOCKTIMEVERIFY failure-path script test vectors
29b124416e42 doc: add release notes for 32800
5d25a0c28d19 rpc: add `vsize_adjusted` field to getrawtransaction output for mempool transactions
eaef8d31118d rpc: add `vsize_adjusted` and `vsize_bip141` field to mempool-related RPCs
6d387af562fc psbt: remove write-only global xpub tracking set
3b7051c7e338 test: check combinepsbt with conflicting global xpub origins
7c632c0e2a2e psbt: avoid duplicate global xpub keys when merging
a86a96d17b37 test: add CHECKSIGVERIFY/CHECKMULTISIGVERIFY failure script test vectors
07fb58b9ef25 test: Test a locked wallet rejects an empty importdescriptors request
aeca0610865e rpc: reject null for optional parameters
f4a6d079c42b qa: Support `get_bind_addrs` and `feature_bind_extra` on illumos
5e96a8fd5acf doc: Add `lsof` to Test Suite Dependencies on NetBSD
5d01aa4772a4 qa: Ignore `lsof` warnings on NetBSD
70352fda0385 qa: Strip prefix length from NetBSD `ifconfig` output
1c1735567e2a doc: Add `lsof` to Test Suite Dependencies on FreeBSD
4cb7f39c2ceb qa: Drop OpenBSD from supported platforms in `get_bind_addrs` function
8a982eea8540 qa: Add `skip_if_no_lsof_on_nonlinux` helper and use it where needed
7e973cce52ca depends: Make tarball creation from local directory reproducible
e5b7785447fc test: wallet: resend: avoid internal behavior via removeprunedfunds
c9a70f933872 script: qa: Improve Key::Fingerprint type safety
aa01721c8994 test: add interface_gui.py to test bitcoin-gui startup via RPC
ef0676f40077 rpc: factor getaddressinfo embedded field docs
1fb6b6056093 test: add functional test for getopenrpcinfo
672dd42d1402 rpc: add getopenrpcinfo command
d5e64b01e1bf doc: note -blocknotify is not run during IBD/reindex in help text
f5116c587f7a rpc: add placeholder annotation for deprecated params
26c221a980dd rpc: expose RPC metadata for introspection
6a1a66c180cb rpc: render Type::ANY in help text instead of aborting
06de34a0333e rpc: erase empty map entry in removeCommand
d4d64ae73938 rpc: add missing string_view include to server.h
278710a88d8f test: Add missing test case for getdata requests from blocks-only peers
156f2c6c49d6 kernel: add `btck_set_mock_time` for testing time-dependent paths
75929b11edb4 doc: add release note for submitSolution IPC changes
ed75d70fdb82 refactor: centralize SubmitBlock result handling
cbaa1696f374 mining: add reason and debug output to submitSolution
83f3bc002d08 mining: clarify SubmitBlock result handling
87bca1c2adba net: add options to AttemptToEvictConnection
2cf9d79d84cb key: validate BIP32 seed length in CExtKey::SetSeed
3e8e21b2efce txgraph: avoid moving primitive members
d9f94aa882ae rpc: avoid moving RPC enum types
b67baed4e7e4 coins: avoid moving `COutPoint` values
7e19ce200b2e rpc: Fix descriptorprocesspsbt internal bug on invalid signatures
51ee8ca1683c doc: clarify pruning impact on wallet sync
6cca38e2b929 refactor: remove unused PSBTError::Ok
3660678b953c refactor: SignPSBTInput now uses util:Expected
ec61a1af6214 depends: Hash included makefiles in package checksums
a434d6602509 cmake, translation: Specify English as target language explicitly
4097d6d968e8 cmake, translation: Sort messages within contexts alphabetically
312ab8ab0a8e cmake, translation: Skip source locations in TS files
4f553bd0da25 cmake, translation: Remove TS to XLIFF conversion
8c30055458b4 translation: Switch to Qt TS source file

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: 37f3b857103e5b95c4c3b895d1b03f45419f5278
alexanderwiederin added a commit to alexanderwiederin/rust-bitcoinkernel that referenced this pull request Oct 6, 2026
…8a8daf3fad1

e8a8daf3fad1 kernel: Add script tracer
ea7d459ac08b Merge bitcoin/bitcoin#36057: build: check for SetThreadDescription() at configure time
204256c73f28 Merge bitcoin/bitcoin#35900: iwyu: Fix warnings in `src/interfaces` and treat them as errors
da1cb4dd90e5 Merge bitcoin/bitcoin#35586: doc: note -blocknotify is not run during IBD/reindex in help text
b31aae4f9af5 Merge bitcoin/bitcoin#36094: ci: bump riscv toolchain to tag 2026.08.25
607f220c6cfd Revert "ci: use mirror for riscv submodules"
64af18f4e6d7 ci: bump riscv toolchain to tag 2026.08.25
fd573f6db9d1 Merge bitcoin/bitcoin#36044: test: cover OP_SUCCESSx bypassing the initial stack element size limit
2224e4af6ced Merge bitcoin/bitcoin#35850: fuzz: Implement `connect_block` harness
2777300c68f5 fuzz: Implement connect_block harness
bed46bd16c2b build: check for SetThreadDescription() at configure time
40add915be5c test: Add reset to CuckooCache
a24110cef7fa Merge bitcoin/bitcoin#36092: fix: UB sanitizer in mempool estimator logging
8b84f9177899 Merge bitcoin/bitcoin#36088: util: Set Univalue to null after read failure
576a0ebb536f fix: UB sanitizer in mempool estimator logging
5f45583e4373 Merge bitcoin/bitcoin#36077: bugfix: give TxDownloadManager its own RNG
fa72de78a931 util: Set Univalue to null after read failure
fa7786592d7c test: Add UniValue failed read test
e339043ee9ed Merge bitcoin/bitcoin#35829: http: Make class fields private and make HTTPResponse a struct
031175197f1b Merge bitcoin/bitcoin#36032: rpc: avoid quadratic output lookups
b91d983f66fa Merge bitcoin/bitcoin#36078: qa: Reduce `-maxconnections` in the functional test framework
0f5c6d0b64a2 Merge bitcoin/bitcoin#35618: depends: Make tarball creation from local directory reproducible
b8a8893bf2a1 qa: Lower `-rpcmaxconnections` in `interface_http.py` test
6f4109b44891 qa: Reduce `-maxconnections` in the functional test framework
80eaa6cabf28 bugfix: give TxDownloadManager its own RNG
5e0d7a286a49 refactor: Drastically narrow scope of http_bitcoin namespace and rename it to bitcoin_http
8f9fd8698a75 refactor: Make HTTPRemoteClient fields private
d72f67fd6c9d refactor: Expose additional HTTPRemoteClient fields through accessors
10bbae302fb7 refactor: Expose HTTPRemoteClient fields to tests through methods
5b06d9083169 refactor: Replace HTTPServer::MaybeDispatchRequestsFromClient() with HTTPRemoteClient::TryReadRequest()
794a753958a7 Merge bitcoin/bitcoin#35583: test: close the listeners before terminating the event loop
f6b3f2ff6b16 Merge bitcoin/bitcoin#36064: qa: Minor improvement follow-ups to 35730
6a028161dafc Merge bitcoin/bitcoin#36025: psbt: avoid duplicate taproot leaf script keys when merging
07d92a9d65aa Merge bitcoin/bitcoin#35516: rpc: preserve global xpubs and proprietary fields in joinpsbts
4375d74d24ca Merge bitcoin/bitcoin#34993: wallet: `NotifyCanGetAddressesChanged` when advancing `next_index`
290be9eafa48 qa: Minor feature_init.py improvements
6248331b295c qa: Switch to warning when skipping tests
04cf9ecee435 Merge bitcoin/bitcoin#35978: contrib/init: fix unused variables in openrc script
aed80c739581 Merge bitcoin/bitcoin#36067: test: Remove `BOOST_CHECK_CLOSE` in favor of exact comparison
07ca9ba9e84a Merge bitcoin/bitcoin#36059: test: make index crash test check saved state
402f1fdae6a7 Merge bitcoin/bitcoin#36063: refactor: [test] Remove deprecated SetMockTime(i64) alias
135e05cfa073 Merge bitcoin/bitcoin#36046: fuzz: Use ImmediateBackgroundTaskRunner in process_messages
9e115edd39ff test: Remove `BOOST_CHECK_CLOSE` in favor of exact comparison
6d570415a018 refactor(qa): Move check right below related check
7e3b60584b36 refactor(qa): Simplify through using assert_raises()
fad1e6bf238e util: refactor: Remove deprecated SetMockTime(i64) alias
faf87c3535c5 test: refactor: Use FakeNodeClock over manual/global SetMockTime
994c17d6c0a1 Merge bitcoin/bitcoin#34697: descriptor: fix musig() duplicate key checks and doubled PSBT origin paths
a1183c02aaca refactor: Extract Send() and Receive() into HTTPRemoteClient from HTTPServer
6d9b61d4f8dc refactor: Extract HTTPRemoteClient::MaybeDisconnect() from HTTPServer::DisconnectClients()
6fec8d6914bf refactor: Make HTTPRequest fields private
b8cd77237b34 refactor: Make HTTPRequest::GetHeader() return saner optional type
1cb416397b7a psbt: avoid duplicate taproot leaf script keys when merging
32765aca5c34 Merge bitcoin/bitcoin#35730: http: limit connected HTTPRemoteClients
a3335994a848 Merge bitcoin/bitcoin#35580: bugfix:  compare non-adjusted chunk weight against block weight limit
0ea81904ebdf Merge bitcoin/bitcoin#35933: psbt: don't abort on invalid MuSig2 derivations
7ea36e985a90 test: preserve index crash test state
5aa15df60c49 test: expose missing index crash checkpoint
b3ff9c4d683f iwyu: Fix warnings in `src/interfaces` and treat them as errors
d564b0255f7e iwyu: Add temporary mapping to work around upstream bug
58a7869f860f Merge bitcoin/bitcoin#36051: ci: use ruff 0.16.x
f5e91c6fbae7 Merge bitcoin/bitcoin#35884: util: set os-level thread names on Windows
a1e271622574 Merge bitcoin/bitcoin#36045: test: avoid undersized Boost.Test signal stacks
9d0c38db7466 ci: use mypy 2.3.1
7a53beca06a8 ci: use pyzmq 27.2.0
f29f076f3c27 ci: use ruff 16
7dcb7f09ed64 Merge bitcoin/bitcoin#34075: fees: Introduce Mempool Based Fee Estimation to reduce overestimation
5e8586ec5b01 Merge bitcoin/bitcoin#36019: bench: Construct CTxOut and COutPoint in a single expression
950bdb763e17 bench: Construct CTxOut and COutPoint in a single expression
bf8402c8803f Merge bitcoin/bitcoin#32958: wallet/refactor: Update SignPSBTInput to return util::Expected<void, PSBTError> and remove PSBTError:Ok
02306cc915ca Merge bitcoin/bitcoin#35161: consensus: document merkle mutation root invariant
fae6665f0134 fuzz: Use ImmediateBackgroundTaskRunner in process_messages
9eba3aafa6c2 test: avoid undersized Boost.Test signal stacks
747cff842481 rpc: avoid quadratic output lookups
7f9c4e292899 doc: add release notes
e18d392689da test: add mempool estimator i/o fuzz test
970f02096d37 fees: persist mempool policy estimator data
7dcb37989d25 fees: move fee_estimates.dat into fees directory
0db2b69e6db7 rpc: add verbosity option to estimatesmartfee options
06bb65730ebe fees: gate mempool estimates on recent block coverage
cfe585df25c4 validation: emit block mempool removal signal from ConnectTip
0d88558f9511 fees: return mempool estimates when it's lower than block policy
56db08d5291a Merge bitcoin/bitcoin#35877: build: ci/doc win64-cross build via nix
693b1351aff4 fees: add caching to MemPoolFeeRateEstimator
c9bb3df29ff9 fees: add MemPoolFeeRateEstimator class
558e26e66e02 test: cover OP_SUCCESSx bypassing the initial stack element size limit
e5be0dc35e88 refactor: Make HTTPResponse a struct since all fields are public
69c61f9f2f3d Merge bitcoin/bitcoin#36034: Release: Prepare "Translation string freeze" step
87b8a4ee506e Merge bitcoin-core/gui#944: Fix out-of-bounds read in RPCParseCommandLine on empty command
f9cc0c020c2f Merge bitcoin/bitcoin#36020: doc: Correct after HTTPRequest::m_client changed to weak_ptr
5a431c957d1b qt: Update `src/qt/locale/bitcoin_en.ts` translation source file
08dfaa04f4ca Merge bitcoin/bitcoin#36018: test: [refactor] Properly use BOOST_CHECK_EXCEPTION
fa0fe212f52a test: [refactor] Properly use BOOST_CHECK_EXCEPTION
436921eb469a test: check joinpsbts preserves global xpubs and proprietary fields
011094b282b2 rpc: preserve global xpubs and proprietary fields in joinpsbts
367b2202a496 Merge bitcoin/bitcoin#35665: psbt: avoid duplicate global xpub keys when merging
bab030a6feb9 Merge bitcoin/bitcoin#35859: wallet: use unsigned KDF iteration count
21ee7f6c00ba Merge bitcoin/bitcoin#35069: Refactor keypath parser
a07f1313b145 Merge bitcoin/bitcoin#35980: contrib: reject divergent verify-commits history
32dfed44a2ae Merge bitcoin/bitcoin#36012: psbt: Remove unused `IsNull()` methods
8c366094b89a Merge bitcoin/bitcoin#35956: fuzz: scope fake clocks to target phases
4d86d9cc7ed0 Merge bitcoin/bitcoin#35968: test: sync funding block before isolating nodes
8c1d776bf2ce Merge bitcoin/bitcoin#35965: test: Tighten Coin equality and add debug output
fa8762da626a build: ci/doc win64-cross build via nix
fafe7205cc89 doc: Clarify that cygwin/msys2 are not tested/supported
4b991d7b5fe4 Merge bitcoin/bitcoin#34239: depends: Hash included makefiles in package checksums
fe5e2a6319b8 Merge bitcoin/bitcoin#32162: depends: Switch from multilib to platform-specific toolchains
4e5327bc988b fuzz: refactor: scope fake clocks to target phases
15e5c35c4513 doc: Correct comments after HTTPRequest::m_client was changed from shared to weak pointer
1156ce675457 test: Tighten `Coin` equality and add debug output
59224b66aa1d Merge bitcoin/bitcoin#36008: wallet: WalletBatch->WriteVersion respect argument
2c16efbb7b5b psbt: Remove unused IsNull() methods
dd669f40b98b util: set os-level thread names on Windows
b88bffe550a3 Merge bitcoin/bitcoin#36010: test: Print os exit code on failure
0fd515bbb707 Merge bitcoin/bitcoin#36009: miniscript: remove unused context argument from ParseHexStr
15a7a4ed7c4d Merge bitcoin/bitcoin#35952: kernel: prevent dangling iterators from temporary ranges
ac6b6c1f06e9 Merge bitcoin/bitcoin#35680: private broadcast: bound rebroadcast attempts to 1,000
d411bb02ff83 Merge bitcoin/bitcoin#35993: guix: build glibc with `--enable-kernel=3.17.0`
fada80192bdd test: Print os exit code on failure
381c3312191b Merge bitcoin/bitcoin#36007: http: Make HTTPRequest::m_client a weak_ptr
82b3bfe38c09 Merge bitcoin/bitcoin#35797: psbt: support output metadata updates before inputs are added
681b429393e3 Merge bitcoin/bitcoin#35986: p2p: reconsider orphans when missing inputs are mined
16f4bd15bc9f Merge bitcoin/bitcoin#35954: qa: Disable Qt's glib event dispatcher for GUI tests on OpenBSD
1fdd208c1ce3 miniscript: remove unused context argument from ParseHexStr
4ca07c2fb3d0 Merge bitcoin/bitcoin#35963: doc : update cjdns docs to discourage using onlynet option
4b4ae6e37c54 Merge bitcoin/bitcoin#35995: doc: fix outdated URL in hash_tests.cpp
a23df4bfa874 Merge bitcoin/bitcoin#35946: rpc: Improve some type specs for openrpc
20ad7c9eab8f Merge bitcoin/bitcoin#35955: wallet: remove orphaned GetAffectedKeys and LegacyScriptPubKeyMan declarations
979a42ec1736 http: Make HTTPRequest::m_client a weak_ptr
cf36df070b4d Wallet: Check crypter return values
777aee77d120 refactor: deduplicate keypath element parsing
7d8fddfba258 refactor: define BIP32_HARDENED and BIP32_UNHARDENED constants
e4d80e7001e9 test: close the loop after the network thread has completed
29fba5ddbb9e test: close the listeners before terminating the event loop
bd4b1524eabf init: do not count file descriptors for HTTPServer if -server=0
b08662060db7 init: account for maximum file descriptors needed by HTTP
158efbc723d3 doc: fix outdated URL in hash_tests.cpp
9cacf677a918 rpc: add fee_rate_estimator option to estimatesmartfee
ba6c61bbdd32 fees: add FeeRateEstimatorManager class
2cb6b831e030 fees: add EstimateFeeRate and MaximumTarget to CBlockPolicyEstimator
5adb2ab08433 refactor: test block policy estimator directly
9c8309a89097 test: rename policy estimator tests to block policy estimator tests
e3d5ef1b5fb2 fees: move StringForBlockPolicyEstimateReason to block policy estimator
74245c20e05e fees: split wallet and estimator fee reasons
ec5d19665b89 wallet: WalletBatch->WriteVersion respect argument.
cc2acebefb04 http: configure simultaneous connection limit with -rpcmaxconnections
b3d6d2d1a7ef http: limit connected clients to 16
86651d81971b scripted-diff: Rename nUserBind, nBind, nMaxConnections to snake_case
5548818115c0 guix: build glibc with --enable-kernel=3.17.0
f72537037d33 Merge bitcoin/bitcoin#35972: fuzz: Fix assertion in `txorphan`
4800cb7aea01 Merge bitcoin/bitcoin#35735: Add state to HTTPRequest
e0992599a638 Merge bitcoin/bitcoin#35846: test: Use throwing config parser getters without fallback
e5977f0b9e5b Merge bitcoin/bitcoin#35982: Update minisketch subtree to latest master
fe7dbde52c9e Merge bitcoin/bitcoin#35976: test: Speedup fee estimation functional test with batching
9cc7dc50bdc9 p2p: reconsider orphans when missing inputs are mined
c90c23d388f6 Merge bitcoin/bitcoin#35531: txindex: hash keys and pack positions to reduce disk usage
2dcb2c6df20b Update minisketch subtree to latest master
461e3be8d3d1 Squashed 'src/minisketch/' changes from d1bd01e189..4a179c61e3
05c36d9fadcc Merge bitcoin-core/gui#957: fix: add .dat file extension automatically when exporting watchonly
75a4e6c67881 gui: fix allow restore wallets without .dat file extension
a8b582ec1d25 Merge bitcoin/bitcoin#32784: wallet: derivehdkey RPC to get xpub at arbitrary path
465bca734ebf contrib: reject divergent verify-commits history
b3d1dca33882 contrib: fail on verify-commits ancestry errors
d837bb38a44d contrib/init: fix unused variables in openrc script
fe7d475d450b private broadcast: bound broadcast attempts per tx to 1k
b3d77ea0275e test: Speedup fee estimation functional test with batching
683e05a265c8 Merge bitcoin/bitcoin#35889: rpc: avoid quadratic `gettxspendingprevout` work and preserve order
230185a5ee74 Merge bitcoin/bitcoin#35971: net_processing: remove unused code
ae36e2ef798f rpc: avoid quadratic prevout resolution
da1eaeb35075 rpc: preserve `gettxspendingprevout` order
f98753e76210 refactor: identify prevouts by request index
221a3fe5cfbe test: cover mixed `gettxspendingprevout` order
02de12b1e614 wallet: remove remaining LegacyScriptPubKeyMan references
d194be69d601 wallet: remove orphaned GetAffectedKeys declaration
01dde6b20578 fuzz: Fix assertion in txorphan
dec68f997e7c Merge bitcoin/bitcoin#35852: scripted-diff: Use inline const(expr) over static constexpr in headers
e95bab98f03c Merge bitcoin/bitcoin#35960: common: remove `::runtime_error` from `RunCommandParseJSON`
aad830ac4a65 Merge bitcoin/bitcoin#35847: test: move more tests to `baseindex_tests` and run them for all indexes
b76afff27490 Wallet: Use unsigned KDF iteration count
e07d826e0ebd rpc: Fix type in ApplyTypeStrOverride
0cff3cc51879 net_processing: Remove redundant porphanTx in ProcessOrphanTx
c7eacbd45b08 net_processing: remove Peer& from UpdatePeerStateForReceivedHeaders
8454fb2bd74c test: sync funding block before isolating nodes
8b5da677d7b0 common: remove ::runtime_error from RunCommandParseJSON
25bed560bed3 test: add forward-compat functional test for txindex
703304ed8c19 doc: add release notes for txindex disk usage and downgrading
8e5320a2d246 tests: cover txindex hash prefix collisions and legacy fallback
b75efa19ba80 txindex: skip bloom filters and legacy lookups for new databases
004d7c098cad txindex: hash key prefixes and pack block positions
5a255970fd1b refactor: move txindex db constants and legacy key to txindex_key.h
327660134cb1 txindex: pass the full block to DB::WriteTxs
42771e79980c txindex: use a new block locator for downgrade safety
4b08baed72c4 txindex: return optional tx and block hash from FindTx
fc0dcf950f97 kernel: keep range iterators tied to their owner
0936c55f626c test: characterize kernel range iterators
ef501a63d9d6 consensus: document merkle mutation root invariant
11090c8bb359 Merge bitcoin/bitcoin#35951: doc: release note about I2P ElGamal sunset
beefda21be3f doc : update cjdns docs to discourage using onlynet option
b2c45888fde0 Merge bitcoin/bitcoin#35866: test: Verify unwelcome RPC clients are rejected before reading their requests
c0792889673d psbt: update output metadata without inputs
4f5712476a3c test: characterize P2WSH miniscript output
e24e8fa2a689 test: characterize PSBT output metadata
625f951ba2fc Merge bitcoin/bitcoin#35959: Update secp256k1 subtree to latest master
e9ed5e83a392 Merge bitcoin/bitcoin#35605: wallet: rpc: Deprecate `removeprunedfunds` RPC
800ad9c3c0c4 doc: release note I2P ElGamal sunset
2f72123f613f Merge bitcoin/bitcoin#35867: test: classify SOCKS5 peers via getpeerinfo addrbind
f464f6cd67e5 Update secp256k1 subtree to lastest master
09cc345c3e32 Squashed 'src/secp256k1/' changes from d2d04864ef..687155df6b
c94074fa1b13 rpc: Surface OBJ_USER_KEYS description for openrpc
c020c21d543a rpc: Handle skip type args for openrpc
e33410d88841 fuzz: document arbitrary mocktimes
4c045f1a0323 Merge bitcoin/bitcoin#35945: depends, qt: Add patch for missing headers
b0615672352f Merge bitcoin/bitcoin#35947: build, msvc: Update vcpkg manifest baseline
1f5c46f7ce25 Merge bitcoin/bitcoin#35931: ci: Check DLL imports of cross-built `bitcoind.exe`
b42f7fade0cd descriptor: don't prepend key origins twice
7b15e2cb442c descriptor: fix duplicate check for hardened keys
1bec7fa22c9f Merge bitcoin/bitcoin#35496: kernel: add `btck_set_mock_time` for testing time-dependent paths
c1967c4453b1 Merge bitcoin/bitcoin#35950: Update leveldb subtree to latest master
512dc9af1b13 Merge bitcoin/bitcoin#35930: wallet: post-#35501 cleanups in CWalletTx
b970bb34d0c5 Merge bitcoin/bitcoin#33585: cmake: Use builtin support for .manifest files
de2adc308a42 qa: Disable Qt's glib event dispatcher for GUI tests on OpenBSD
aa0e0f793fed Merge bitcoin/bitcoin#35729: refactor: test: Unroll `&&` conditions in macros
3e76d22de258 Update leveldb subtree to latest master
9f10ef5e96d1 Squashed 'src/leveldb/' changes from a7f9bdc611..13da2d6758
2c01832f7beb Merge bitcoin/bitcoin#35493: wallet, descriptor: Fix MuSig private key completeness checks on `importdescriptors`
b80cee036199 Merge bitcoin/bitcoin#35924: Wallet, refactor: Remove orphaned EraseWatchOnly function
5d051c05629d Merge bitcoin/bitcoin#35943: doc: fix dead link in txrequest.h
4ca182ca4028 doc: clarify alternate_wtxids is empty when only one witness variant
fa48b5d28eb5 test: assert listsinceblock "removed" reports current canonical wtxid
9b96ee12881e wallet, test: add unit test for variant txid validation in CWalletTx deserializer
9de6543cb55f wallet: post-#35501 cleanup in CWalletTx
e2bf51543ad9 build, msvc: Disable default features of the `sqlite3` package
a31425610af3 build, msvc: Update vcpkg manifest baseline
757aa573c458 Merge bitcoin/bitcoin#33186: wallet, test: Ancient Wallet Migration from v0.14.3 (no-HD and Single Chain)
e8cc21c57f9e Merge bitcoin/bitcoin#35925: wallet, rpc: Exclude non-owned addresses from listreceivedby*
e8500cbd19db depends, qt: Add patch for missing headers
9954aa77280e http: don't parse any new requests from a client if m_req_busy = true
c7db3ae1f907 test: cover HTTPRequest state machine
90676e24ad1a Add state to HTTPRequest to avoid duplicate work over I/O cycles
99497b38f6c6 cmake: Unconditionally add .rc files to sources
654a4cf5e69c cmake: Use builtin support for .manifest files
8f695379f314 cmake: Unconditionally set WIN32_EXECUTABLE target property
507e528e8450 http: reuse HTTPHeaders to parse chunked trailer
902d8908c94d http: only read one HTTPRequest at a time per client
a7b0b5084a4a doc: fix dead link in txrequest.h
1d386c250f22 Merge bitcoin/bitcoin#35941: doc: remove mention of `::wsystem`
57246934e712 doc: remove mention of wsystem
5973e0758820 Merge bitcoin/bitcoin#35937: test: Append print_suppressions=0 to LSAN_OPTIONS, and suppress bitcoin-qt
b6bd573eb97a Merge bitcoin/bitcoin#34794: rest: add Cache-Control headers to REST responses
d055a3ab1005 test: verify disallowed RPC clients are rejected upon `accept()`
128456b62d5e Merge bitcoin/bitcoin#35260: doc: clarify test placement guidance
fad9ab714b55 test: Append print_suppressions=0 to LSAN_OPTIONS, and suppress bitcoin-qt
05a7c470d28c Merge bitcoin/bitcoin#35822: fuzz: reset SOCKS5 interrupt between inputs
73a94b45459a psbt: avoid aborting on invalid MuSig2 derivations
e3d1e75a519a test: characterize MuSig2 derivation aborts
1be0b46297c6 Merge bitcoin/bitcoin#35898: rpc: fix mempool entry vsize docs
5f4d5626e7f0 Merge bitcoin/bitcoin#35908: doc: Update NetBSD Build Guide
8397e09e6baa Merge bitcoin/bitcoin#35928: doc: mention -DWITH_ZMQ=ON in macOS build guide
4b4e63f28231 Merge bitcoin/bitcoin#35704: windows: remove deprecated codecvt via UTF-8 narrow APIs
67fee5bf440c ci: Check DLL imports of cross-built `bitcoind.exe`
089c883c558e test: Add coverage for listreceivedby* excluding "send" addresses
873c0548059b wallet: Exclude non-owned addresses from listreceivedby*
c3945bfd2bf8 doc: use derivehdkey in multisig tutorial
3662e3366978 test: use derivehdkey in M-of-N multisig demo
d9570f083835 rpc: add derivehdkey
62da9f961450 wallet: add GetExtKey helper
222855ed1129 doc: mention -DWITH_ZMQ=ON in macOS build guide
aaf1548475de wallet: generalize GetActiveHDPubKeys helper
3821452c4af1 refactor: add hardened derivation helper
0ab61caafd10 rpc: ParsePathBIP32 helper
e36c4b76e198 util: reject out-of-range BIP32 keypath indices
ba78c31a00c9 fuzz: check ParseHDKeypath/WriteHDKeypath round-trip
8cce969085db Have ParseHDKeypath handle h derivation marker
fc5307776236 test: move parse_hd_keypath test to bip32_tests
dab525eb7717 key: add DeriveExtKey() helper
71c06c5cbcd5 Merge bitcoin/bitcoin#35830: fees: Return false for incompatible fee estimates
55dfc244143a Merge bitcoin/bitcoin#35915: Release: Prepare "Open Transifex translations for `v32.0`" step
f11dc6170ed8 Merge bitcoin/bitcoin#35482: fuzz: exercise the transaction-handling path in process_message(s)
6f906106d73d Merge bitcoin/bitcoin#35879: ci: Fix $BASE_ROOT_DIR installation
d36bf709f7f8 Merge bitcoin/bitcoin#35914: test, fuzz: Remove unused variables
ed2c59ab6547 Merge bitcoin/bitcoin#35896: refactor: Default uint256::operator==, add operator<=>
fae7ba9abae8 ci: Fix $BASE_ROOT_DIR installation
fabe100c2b33 test: Use throwing config parser getters without fallback
fa8acd57cd1b test: Write true/false values in config.ini
6304789a18f9 Wallet, refactor: Remove orphaned EraseWatchOnly function
6b6d77cc84e4 windows: remove deprecated codecvt via UTF-8 narrow APIs
b388674acf06 Merge bitcoin/bitcoin#35872: rpc: avoid descriptor range counter overflow
c36ffd870e8b Merge bitcoin/bitcoin#35842: rpc: Properly make RPCResult::Type::ANY non-test-only
7cb9aaaee80c Merge bitcoin/bitcoin#35759: fuzz: check http_request body matches framing
5b008514dbe2 Merge bitcoin/bitcoin#35878: net_processing: process unique tx INVs only
3175d576288f test, refactor: Remove unused `error` in `wallet_tests.cpp`
422f1bd92f15 test, refactor: Remove unused `utxo_pool` in `coinselector_tests.cpp`
e550945a3941 test, refactor: Remove unused `removed_refs` in `txgraph_tests.cpp`
a061b011b786 Merge bitcoin/bitcoin#35912: doc: fix stale bitcoin_en.xlf reference
950b1c09225d Merge bitcoin/bitcoin#34927: test: Check that RPCs do not time out, even under load
bd01e66f0a75 Merge bitcoin/bitcoin#35885: ci: switch to a sourceware mirror for riscv
fa2e76d397a4 bench: Add base_blob compare bench via uint256
97abf95f48ab qt: Update the `src/qt/locale/bitcoin_en.ts` translation source file
81fcecfe4525 Revert "ci: Temporarily remove riscv32 config from GHA matrix"
b283e1751cc4 ci: use mirror for riscv submodules
fa7bc26d1276 test: Check that RPCs do not time out, even under load
fa2bd96cc0d4 test: Map cli CalledProcessError on server error to JSONRPCException
e50f422d25f9 test, refactor: Remove unused variables in `test/rbf_tests.cpp`
b7ae50e2e27e fuzz, refactor: Remove unused `header` in `p2p_transport_serialization.cpp`
3df0d067ade9 fuzz, refactor: Remove unused `random_string` in `locale.cpp`
fc28914de4e1 fuzz, refactor: Remove unused `linearization` in `cluster_linearize.cpp`
da58e559865e test, refactor: Remove unused `warnings` in `wallet/test/util.cpp`
4df077d7cd32 Merge bitcoin/bitcoin#35910: refactor: Remove unused newFeeRate var in ReplacementChecks
e98ffd4bd82d doc: fix stale bitcoin_en.xlf reference
fa9a9a82acd4 refactor: Remove unused newFeeRate var in ReplacementChecks
fa588e9e0f80 refactor: Mark assertion_fail as [[noreturn]]
1278a5970d5a net_processing: process unique tx INVs only
75f585192776 doc: add release note for REST cache-control headers
bbe21ac29f55 doc: document REST cache-control defaults
862a17955631 http: add no-store to dispatcher-generated error responses
f32685315c2e doc: Install `pkgconf` to find `capnproto` on NetBSD
5964c7229fc2 doc: Switch `pkg-config` package to modern `pkgconf` on NetBSD
9b85c9814d1d doc: Drop GCC upgrade instructions for NetBSD
ea59f1722097 test: cover v0.14.3 wallet migration
18b8afd09333 test: support v0.14.x in dumb_sync_blocks
faec059dfe8b refactor: Add uint256::operator<=>()
b9d573e4a959 fees: Return false for incompatible fee estimates
a3ebf8ab607f rpc: fix mempool entry vsize docs
c4fbd3c72114 Merge bitcoin/bitcoin#35895: refactor: Enable clang-tidy rule to reject anon namespace in header
465196d0154c Merge bitcoin/bitcoin#35630: test: Add importdescriptors rpc error test coverage
fa6df14c2360 refactor: uint256::operator==() = default
c940fd75145d Merge bitcoin/bitcoin#35180: coins: group private cache helpers
3db96eb5fd7d Merge bitcoin/bitcoin#35582: rpc: reject null for optional parameters
fa93132d6da5 refactor: Enable misc-definitions-in-headers
fa5ca877b603 refactor: Enable clang-tidy rule to reject anon namespace in header
fafe5042bd1b refactor: Use C++20 std::identity over IntIdentity
28257111acf2 Merge bitcoin/bitcoin#35737: test: Move cluster_linearize.h contents into cluster_linearize namespace
fac4b06e997e refactor: Use CLIENT_NAME in buildOpenRPCDoc
fa3aadbc32e0 refactor: Use self.Arg<bool> in getopenrpcinfo
fa1871a52816 refactor: Remove stale NOLINTNEXTLINE above GetAddressInfoBaseFields
fa2264791490 rpc: Properly make RPCResult::Type::ANY non-test-only
fa1242dcc022 refactor: Use std::visit in ApplyArgFallback
27b6b5a458f5 Merge bitcoin/bitcoin#35836: rpc: Remove meaningless bool fallback in FundTransaction
3ac8b806a699 test: test the result order of a multiple import request is correct
e4732bf01876 test: test invalid or missing timestamp throws importdescriptors
324c231efeaf Merge bitcoin/bitcoin#35881: iwyu: Fix warnings in `src/consensus` and treat them as errors
6ed7e05e20da gui: fix add .dat file extension automatically when exporting watchonly
75183f4464bf Merge bitcoin/bitcoin#35880: fuzz: don't connman.ReceiveMsgFrom oversized msg
fab74a0e922c refactor: Use C++14 digit separator for large int literals
fae759be7930 scripted-diff: Use inline constexpr over plain constexpr
fa74f58a2620 scripted-diff: Use inline const over (static) const
fab1a62c870e refactor: Use inline constexpr for string literals in headers
fa08bbed8dd2 contrib: Adjust generate-seeds.py to write inline constexpr
fad753611b5c scripted-diff: Use inline constexpr over (static) const
faedb52583e1 refactor: Make CFeeRate(integral) ctor constexpr
5555d5dcb559 scripted-diff: Use inline constexpr over static constexpr
fa6e1a1e85e2 refactor: Remove static from constexpr functions in headers
e2ab8ae55142 wallet: spkm: Only notify CanGetAddressesChanged on change
0892f16f911d refactor: moveonly: Pair CanGetAddressesChanged notifications with desc range.
e6adae3db242 wallet: `NotifyCanGetAddressesChanged` when advancing `next_index`
acf45c44c013 rest: add Cache-Control headers to REST responses
d3cfd02bd7f8 Merge bitcoin/bitcoin#35501: wallet: store all witness variants of a transaction
0b8ffd01cde8 Merge bitcoin/bitcoin#35790: fuzz: populate wallet TXO index in wallet_create_transaction
2f52c2e8c062 Merge bitcoin/bitcoin#35886: refactor: Remove unused #include in common/system
fa7304f3a5b8 refactor: Remove unused #include in common/system
e7eb159a868f Merge bitcoin/bitcoin#35773: test: Suppress implicit-unsigned-integer-truncation:SaltedCoinsCacheHasher::operator()
c6ef42d7dbcf Merge bitcoin/bitcoin#35205: kernel,node: add `dbcache` setter and clarify defaults
f280f5eb4749 wallet: rpc: deprecate removeprunedfunds
4e8c4bc794c0 test: classify SOCKS5 peers via getpeerinfo addrbind
17c5e33e9c54 Merge bitcoin/bitcoin#35216: qa: Improve functional test support on illumos and *BSD
13b53f8bf674 iwyu: Fix warnings in `src/consensus` and treat them as errors
bb19f1da19c1 fuzz: don't connman.ReceiveMsgFrom oversized msg
8a4bab8e9753 Merge bitcoin/bitcoin#35863: test: fix wrong transaction in GetP2SHSigOpCount assertion
975a314667ed Merge bitcoin/bitcoin#35832: p2p: avoid block disk reads on unnecessary requests
d24610fa2c7e Merge bitcoin/bitcoin#35870: guix: move `python-minimal` to Linux GUI build
b33a5b5767ef Merge bitcoin/bitcoin#35871: refactor: Annotate `MakeAndPushFeature` with `[[maybe_unused]]`
4b322989ac2d Merge bitcoin/bitcoin#34995: iwyu: Fix warnings in `src/common` and treat them as errors
75f024a84e0a Merge bitcoin/bitcoin#35875: ci: Fix NetBSD SDK download failure, Temp. remove riscv32 from GHA
fa06ea42448d ci: Temporarily remove riscv32 config from GHA matrix
873550bea381 ci: verify cross-build SDK archives
2c87337efe82 ci: update NetBSD cross-build SDK
6a2de55a0d8b test: require `TryGetTotalRam()` detection
cd086c16dd77 node, qt: inline `DEFAULT_DB_CACHE`
8bd9f46082df kernel: allow setting chainstate `dbcache`
8aa21e119b02 kernel, node: colocate dbcache bounds
7cfa21d60a58 scripted-diff: use `MIN_DBCACHE_BYTES`
ab6343257681 common: cache total RAM as `uint64_t`
031fa402c8a2 scripted-diff: use `TryGetTotalRam`
264555af3cc2 rpc: avoid descriptor range counter overflow
143a13fb2bd1 test: characterize descriptor range endpoint
41c44f558852 node, qt: use `1_MiB` for dbcache conversions
0238aebf6190 refactor: Annotate `MakeAndPushFeature` with `[[maybe_unused]]`
1ed14c61222e Merge bitcoin-core/gui#872: Menu action to export a watchonly wallet
b75eb938a041 guix: move python-minimal to GUI build
101400b28f77 guix: remove -Werror=dev
e27c179db2fd Merge bitcoin/bitcoin#35869: lint: (re-)add contrib/guix for Python linting
50145f62c923 ci, iwyu: Enforce warning-free `src/common`
30f6b05857fb Merge bitcoin/bitcoin#35860: fuzz: Rework rpc fuzz target
dcc2ed52b840 Merge bitcoin/bitcoin#35856: fuzz: cover the mempool interface for transaction announcement
8221d714c788 lint: document CI lief version requirement
594a02c3ae05 lint: re-add guix scripts to mypy linting
e8691056c014 test: Unroll `&&` conditions in macros
ddddffda3af4 doc: Add doc/release-notes-35836.md
756afe14b5c1 test: give each ValidateInputsStandardness case its own scope
5559fa464b34 test: fix wrong transaction in GetP2SHSigOpCount assertion
556988790a7f Merge bitcoin/bitcoin#35592: http: check rpcallowip immediately after accepting connection
fa895bb77a8a fuzz: Rework rpc fuzz target
28641fd195db p2p: reject empty getblocktxn requests
dd2561003dd2 fuzz: cover the mempool interface for transaction announcement
9871fb726cb5 p2p: reject filtered block inv early when bloom is disabled
aaf941202667 refactor: split p2p_getdata.py in sub-cases
34c03075a5a0 test: run generic baseindex tests against every index type
11b3e251c488 test: make baseindex flush test chain-length agnostic
8b959f4c6ab6 test: move unclean_shutdown test to baseindex_tests
2232d6afbe21 test: move index_reorg_crash to baseindex_tests
a3597e268376 test: move BuildChain helper into test mining util
954985e6a380 test: simplify blockfilter test's BuildChain helper
67efced1fc83 Merge bitcoin/bitcoin#35838: qa: Enable `interface_gui.py` on macOS
45f5609f2ed9 qa: Enable `interface_gui.py` on macOS
fa7fe798c611 wallet: Remove meaningless bool fallback in FundTransaction
9611a356035b Merge bitcoin/bitcoin#35828: util: Make LineReader consistently use string_view
6e2962e48cb5 Merge bitcoin/bitcoin#35753: kernel: handle null mempool on chainstate deletion
87bc4c74c4df Merge bitcoin/bitcoin#35787: init, rpc: ignore empty addnode values
67998e15c8dd Merge bitcoin/bitcoin#35553: test: Add missing test case for getdata requests from blocks-only peers
9b38d077f894 Merge bitcoin-core/gui#953: Adds option to not load the wallet after migration
146988ef6c53 Merge bitcoin/bitcoin#35551: test: add interface_gui.py to test bitcoin-qt startup
7e5952b0aa04 Merge bitcoin/bitcoin#35821: guix: followups to #35537
683ae4c520b1 guix: consolidate config flags
665f11d04ac0 guix: consolidate gcc toolchain setup
288f76ed0fcb guix: consolidate mingw-w64 toolchain setup
cc9b0f2266d9 guix: consolidate LLVM toolchain setup
b12a70f330d0 guix: turn linux/win linker warnings into errors
fd7d4f29704c Merge bitcoin/bitcoin#35795: build: set CMAKE_VISIBILITY_INLINES_HIDDEN in REDUCE_EXPORTS
8ecbe270f0de Merge bitcoin/bitcoin#35606: script: qa: Improve `Key::Fingerprint` type safety
a9d181f2d353 Merge bitcoin/bitcoin#35084: ipc: Add nonunix platform support
6573196e63bf doc: Release note for export watchonly wallet gui action
cb51f97f6c59 gui: Menu action for exporting a watchonly wallet
4cea59573c83 add release notes
492a715d7841 gui: Adds option to not load the wallet after migration
dff44e4c8f30 util: LineReader - Drop support for raw std::byte spans
5d5cdcd79d4c util: Make LineReader consistently use string_views
e8eaa80ce295 util: LineReader - Don't include newline and acknowledge single-char \r
5907a5c7dc22 gui: Add ExceptionSafeConnect that takes a lambda
7dea464d6b51 Merge bitcoin/bitcoin#35692: addrman: remove unreachable tried-collision branch
a2aab6df97d9 Merge bitcoin/bitcoin#35810: guix: Drop unused `(guix licenses)` import from `manifest_build.scm`
77440814bf2c fuzz: reset SOCKS5 interrupt between inputs
90ce21e21d09 rpc: reject empty node argument in addnode
69465de4470d init: ignore empty addnode values
e75b76b12c5d Merge bitcoin/bitcoin#35261: guix: disable LTO in GCC
a92e93429ee3 guix: Drop unused `(guix licenses)` import from `manifest_build.scm`
5be248341a8e bugfix: compare real chunk weight against block weight limit
fc9879086990 test: `TestChunkBlockLimits` uses incorrect weight for comparison
e34b8d5a7dcd Merge bitcoin/bitcoin#35794: doc: Discourage adding AI agents as commit (co)-authors
b33a7fcd7bd8 Merge bitcoin/bitcoin#34628: p2p: Replace per-peer transaction rate-limiting with global rate limits
6b059d9dbdbd Merge bitcoin/bitcoin#32800: rpc: Distinguish between vsize and sigop adjusted mempool vsize
11ebbd907217 Merge bitcoin/bitcoin#28463: p2p: Increase inbound capacity for block-relay only connections
3f313a774bec build: set CMAKE_VISIBILITY_INLINES_HIDDEN in REDUCE_EXPORTS
3a2c52f9d70d Merge bitcoin/bitcoin#35792: refactor: Make all `const static` class members `constexpr`
f5d7cc66ecba doc: Discourage adding AI agents as commit authors
05c35c402cc5 refactor: Make all `const static` class members `constexpr`
c11508406e6e doc: Update docs that refer to -maxconnections
69ce0dba2ae4 test: add test that EvictTxPeerIfFull only evicts tx-relaying peers
3ed7f064180f p2p: trigger possible eviction if we support bloom filters and change a peer to tx relay
0bd3d3dfa562 init: make inbound tx relay percentage configurable
cc59aee196e2 test: add functional test for inbound maxconnection limits
1b76e0473647 net: increase inbound capacity for block-relay-only connections
baa5a2ce43a8 guix: pass --disable-tm-clone-registry to base GCC
9c2589630f05 guix: mirror some arguments from linux-gcc to mingw-w64-gcc
e0b8fbde8973 guix: disable-nls in *-base-gcc
7dc87f8e1e29 guix: disable-lto in *-base-gcc
9ed3d6ef2a2a guix: modernise style in *-base-gcc
1eac6a728bfc fuzz: populate wallet TXO index in wallet_create_transaction
610dd320d1a8 Merge bitcoin/bitcoin#35783: chainparams: remove my testnet3 seed
afa5e46bbc6d Merge bitcoin/bitcoin#35076: doc: clarify pruning impact on wallet sync
26b730cdbf2c Merge bitcoin/bitcoin#35320: key: validate BIP32 seed length in CExtKey::SetSeed
edf4b807f051 Merge bitcoin/bitcoin#35781: Update secp256k1 subtree to latest master
774d11c58f22 Merge bitcoin/bitcoin#35664: test: add CLTV and CHECK(MULTI)SIGVERIFY failure-path vectors to script_tests.json
526673487cee Merge bitcoin/bitcoin#34683: rpc: support a formal description of our JSON-RPC interface
290cb2f17ef6 Merge bitcoin/bitcoin#35775: scripted-diff: Use C.UTF-8 locale in Guix scripts
d472a7798ac1 Merge bitcoin/bitcoin#32764: guix: Build for macOS using LLVM toolchain only
9755d33390d8 Merge bitcoin/bitcoin#34808: cmake, translation: Use native Qt TS file as source for translations on Transifex
51143291a6c5 Merge bitcoin/bitcoin#35782: doc: fix outdated i2p URLs in comments
2cb3bfa8df7c scripted-diff: Use long form of shell options in Guix scripts
711eb10f08bc guix: Add copyright headers to Guix scripts
7295b8be704a chainparams: remove my testnet3 seed
419f7427eee2 doc: fix outdated i2p URLs in comments
a33f240524da Squashed 'src/secp256k1/' changes from bd0287d650..d2d04864ef
c26d4e2d6f03 Update secp256k1 subtree to latest master
22a03ca69443 Merge bitcoin/bitcoin#35694: clusterlin: minor SFL optimizations
7b6f9ba7bad1 Merge bitcoin/bitcoin#34672: mining: add reason/debug to `submitSolution` and unify with `submitBlock`
5311b15727f2 Merge bitcoin/bitcoin#33014: rpc: Fix internal bug in descriptorprocesspsbt when encountering invalid signatures
c9cedebfffbc coins: group private cache helpers
8a90c7cd9739 guix: Build for macOS using LLVM toolchain only
db74d3390a39 doc: clarify test placement guidance
d3d74e701f76 ipc, refactor: Update mp::g_thread_context references
80f831494e53 guix: Fix `glibc` version in comment
8916f7967e10 scripted-diff: Use C.UTF-8 locale in Guix scripts
a2e074d66ac1 Merge bitcoin-core/gui#951: test: Nudge toward QT_STYLE_OVERRIDE=fusion on macOS
6ced9ad782b8 Merge bitcoin/bitcoin#35770: net: Simplify `AddressPosition` comparitor
b8844d3df759 Merge bitcoin/bitcoin#35766: p2p: Assume v2transport for addresses from seeds
fa7f55378179 test: Suppress implicit-unsigned-integer-truncation:SaltedCoinsCacheHasher::operator()
075e7f421876 net: Simplify `AddressPosition` comparitor
fa0c8337a8d4 test: Nudge toward QT_STYLE_OVERRIDE=fusion on macOS
faa50c08b17b refactor: Run clang-format on qt test_main.cpp
bc49bd154a31 Merge bitcoin/bitcoin#35709: depends: Update Qt to 6.8.4
efa1800a885c Merge bitcoin/bitcoin#35769: depends, zeromq: Apply upstream patch
fc4ceda8b610 Merge bitcoin-core/gui#949: Fix `-Wsfinae-incomplete` warnings when building with GCC 16.x
559d042ba256 Merge bitcoin/bitcoin#35736: bitcoin-util: replace netmagic command with getchainparams command
8f2ed31f7023 Merge bitcoin/bitcoin#35767: fuzz: Avoid dangling prevoutfetch threads after AFL fork
a31c30290d4c Merge bitcoin/bitcoin#35746: ci: Test build directory path with spaces
e446ea09c4d3 depends, zeromq: Apply upstream patch
87b080fe2b66 fuzz: reset the reused mempool in process_message(s)
d522fd319636 fuzz: prepare deterministic mempool rebuilds
b11456386b26 fuzz: let the test input toggle IBD in the p2p fuzz targets
2a29cee68438 test: add helper to reset chainman and mempool
2a4ef42d34ed fuzz: share a single FakeNodeClock in the chainman-resetting fuzz targets
32eb52100296 Merge bitcoin/bitcoin#35215: coins: use SipHash-1-3-UJ for CCoinsMap keys
883ef1d85d74 Merge bitcoin/bitcoin#35727: blockencodings: fix extra transaction count
f3f302150b5f ci: Put space and non-ASCII char in `BASE_BUILD_DIR`
a7e980af31b9 build: Quote host paths in NSIS installer template
faada35f9c09 fuzz: [refactor] Use 100'000 digit separator in __AFL_LOOP
cf0f2aeae009 p2p: Assume v2transport for addresses from seeds
fae067ec4a40 fuzz: Avoid dangling prevoutfetch threads after AFL fork
7e1a750d45d9 guix, refactor: Use `target` variable instead of hardcoded value
de9b436ba365 depends: Switch from multilib to platform-specific toolchains
d673ca765a5a Merge bitcoin/bitcoin#35537: guix: split builds into Linux, Linux GUI and macOS/Windows
b36c2d78a3ad Merge bitcoin/bitcoin#35490: test: cover unused mempool space in coins cache limit
7502b9ddba74 fuzz: check http_request body matches framing
d1d85263f8eb Merge bitcoin/bitcoin#35681: test: cover disconnect on private broadcast peer with relay=false
4906594a3844 Merge bitcoin-core/gui#950: qt, test: Run GUI tests on macOS with `minimal` QPA plugin
e0c196f9c11c Merge bitcoin/bitcoin#35721: lint: drop most remaining default Ruff rule ignores
fd59d68c2629 qt, test: Enable tests on macOS with `minimal` QPA plugin
c8b2aeb2263c qt: Avoid implicit `NSApplication` instantiation
006f8f7d49a3 Merge bitcoin/bitcoin#35090: fuzz: add p2p_private_broadcast harness
51d36dfd076a qt: Fix `-Wsfinae-incomplete` warnings when building with GCC 16.x
0b0785daa00b guix: split macOS and win builds
008a3e29c884 guix: split builds into Linux(gui) and macOS/Windows
a99b27f19209 validation: handle null mempool on delete
a3b5dc057236 cmake: Add `GenerateWindowsInstaller` script
3bfdcbd7ee49 coins: reuse cache hasher for txid set
2beab94896a3 coins: use SipHash-1-3-UJ for `CCoinsMap`
7ff55cc6500e bench: add fixed-width SipHash benchmarks
3aea85411f61 test: add SipHash-1-3-UJ coverage
a0ccd4ad1715 crypto: add fixed-width SipHash-1-3-UJ
c2d7931b5c8b crypto: add generic SipHash-1-3-UJ
25bfca06d669 refactor: simplify adding SipHash-1-3-UJ
af50ba8500a8 test: add shared SipHash vectors
fa5cbb890971 uint256: Workaround GCC-14 stringop-overread bug in Compare
18c05d93016b Merge bitcoin/bitcoin#35590: test: wallet: BnB incomplete result on attempt-limit success
21b4b790e488 test: Move cluster_linearize.h contents into cluster_linearize namespace
b56b66fc64be Merge bitcoin/bitcoin#35679: fuzz: Remove unused `DeserializeFromFuzzingInput` params overload
6ee05c4b188c test: wallet: BnB incomplete result on attempt-limit success
6aa5d8d9481f blockencodings: fix extra transaction count
be4e64d9e405 test: characterize extra transaction miscount
2d3f72fd3fa4 ipc, refactor: Update mp::SpawnProcess call
7298281ba8df bitcoin-util: replace netmagic command with getchainparams command
9d6ba4b3b572 Merge bitcoin/bitcoin#34514: refactor: remove unnecessary `std::move` for a few trivially copyable types
ca9ffb8e1238 rpc: add OpenRPC discovery alias
6c9d76d58942 doc: release note for alternate_wtxids in gettransaction
99bdcb064c2d test: compat, ensure downgrade preserves tx witness variants
ef2afc6a0a3c test: Test for wallet txs with alternate wtxids
2d55c7a74dde wallet: Show alternate wtxids in gettransaction
0b1af01bd442 wallet: Replace CWalletTx::SetTx with Update
56cf27db4dc0 wallet: Store all witness variants of a transaction
798ba6d04faa wallet: Make CWalletTx::tx private and use CWalletTx::GetTx to access
72ebdd6364c7 wallet: Remove unused CWalletTx CopyFrom and copy constructor
19af439bdf36 wallet: Deserialize directly in CWalletTx's ctor
afab8d4225c7 fuzz, refactor: Remove `Serialize` overload
efa7f8c14376 fuzz: Remove unused `DeserializeFromFuzzingInput` params overload
6eca11175be6 lint: remove E731 Ruff ignore
b52454538b08 lint: remove E712 Ruff ignore
e9f19815caa3 ipc, refactor: Add Stream type alias and use it
3859805f05e6 ipc, refactor: Add SocketId type alias and use it
2ee9b69c7a1f ipc, refactor: Add ProcessId type alias and use it
344979714189 ipc: Avoid 'unistd.h' error with MSVC
dbcc192dce61 ipc, refactor: fix include order
7c86d4834ed2 ipc, refactor: use native path separators in test
00287b9a3404 ipc, refactor: Change Protocol class field order
33d37f3c35ef ipc, refactor: Drop connect/listen/serve exe_name parameters
794940469e77 ipc, moveonly: combine ipc_test.cpp and ipc_tests.cpp
efb4eae33861 clusterlin: avoid recomputing intersections in MergeChunks
4b91ad149f00 clusterlin: reserve the suboptimal-chunk queue up front
e6ca996255bb clusterlin: avoid heap allocations in GetLinearization
226e6388b7fd depends: Update Qt to 6.8.4
fef99e6563ae qt: fix out-of-bounds read in RPCParseCommandLine on empty command
349c72ee00a0 net_processing: Drop unnecessary txid arg from InitiateTxBroadcastToAll
12b0dc33c4af doc: Add release note for -txsendrate etc
5cde66341a66 tests: basic functional test for tx rate limiting
4842903ac122 rpc: report -txsendrate and bucket info via getnetworkinfo
74a47a520713 init: add -txsendrate configuration parameter
6307bd034bfb net_processing: Provide a 30bpm heartbeat log while inv backlog is in use
df31ee57aaf5 net_processing: add a global delay queue for sending txs
7927650e56d2 util/tokenbucket.h: Provide a generic TokenBucket class
749bb447f819 txmempool: Drop CompareMiningScoreWithTopology
e1b7490fbc91 net_processing: Replace CompareInvMempoolOrder
6cfc65d2103e txmempool: Add ExtractBestByMiningScoreWithTopology
026f70e05f96 net_processing: Remove per-peer rate-limiting
46c8c471dcf5 net_processing: bump last_inv_sequence for bip35 messages explicitly
5d57f2cefee2 test: cover unused mempool space in coins cache
1fc9277a1c13 test: cover disconnect on private broadcast peer with relay=false
bc7d9050467f addrman: remove unreachable tried-collision branch
0390338692a7 test: check MuSig import private key warnings
5e62fbf09c01 wallet: check descriptor private key completeness on import
cd8d01bf47a2 descriptors: require complete MuSig private keys
55d3cd51a48d doc: add release note describing change for forbidden clients
d1ed2a6e25d7 http: check rpcallowip immediately after accepting connection
d24d3cbad010 fuzz: add p2p_private_broadcast harness
c4068cf37b66 test: add negative zero CSV failure script test vector
37edf0e2338e test: add CHECKLOCKTIMEVERIFY failure-path script test vectors
29b124416e42 doc: add release notes for 32800
5d25a0c28d19 rpc: add `vsize_adjusted` field to getrawtransaction output for mempool transactions
eaef8d31118d rpc: add `vsize_adjusted` and `vsize_bip141` field to mempool-related RPCs
6d387af562fc psbt: remove write-only global xpub tracking set
3b7051c7e338 test: check combinepsbt with conflicting global xpub origins
7c632c0e2a2e psbt: avoid duplicate global xpub keys when merging
a86a96d17b37 test: add CHECKSIGVERIFY/CHECKMULTISIGVERIFY failure script test vectors
07fb58b9ef25 test: Test a locked wallet rejects an empty importdescriptors request
aeca0610865e rpc: reject null for optional parameters
f4a6d079c42b qa: Support `get_bind_addrs` and `feature_bind_extra` on illumos
5e96a8fd5acf doc: Add `lsof` to Test Suite Dependencies on NetBSD
5d01aa4772a4 qa: Ignore `lsof` warnings on NetBSD
70352fda0385 qa: Strip prefix length from NetBSD `ifconfig` output
1c1735567e2a doc: Add `lsof` to Test Suite Dependencies on FreeBSD
4cb7f39c2ceb qa: Drop OpenBSD from supported platforms in `get_bind_addrs` function
8a982eea8540 qa: Add `skip_if_no_lsof_on_nonlinux` helper and use it where needed
7e973cce52ca depends: Make tarball creation from local directory reproducible
e5b7785447fc test: wallet: resend: avoid internal behavior via removeprunedfunds
c9a70f933872 script: qa: Improve Key::Fingerprint type safety
aa01721c8994 test: add interface_gui.py to test bitcoin-gui startup via RPC
ef0676f40077 rpc: factor getaddressinfo embedded field docs
1fb6b6056093 test: add functional test for getopenrpcinfo
672dd42d1402 rpc: add getopenrpcinfo command
d5e64b01e1bf doc: note -blocknotify is not run during IBD/reindex in help text
f5116c587f7a rpc: add placeholder annotation for deprecated params
26c221a980dd rpc: expose RPC metadata for introspection
6a1a66c180cb rpc: render Type::ANY in help text instead of aborting
06de34a0333e rpc: erase empty map entry in removeCommand
d4d64ae73938 rpc: add missing string_view include to server.h
278710a88d8f test: Add missing test case for getdata requests from blocks-only peers
156f2c6c49d6 kernel: add `btck_set_mock_time` for testing time-dependent paths
75929b11edb4 doc: add release note for submitSolution IPC changes
ed75d70fdb82 refactor: centralize SubmitBlock result handling
cbaa1696f374 mining: add reason and debug output to submitSolution
83f3bc002d08 mining: clarify SubmitBlock result handling
87bca1c2adba net: add options to AttemptToEvictConnection
2cf9d79d84cb key: validate BIP32 seed length in CExtKey::SetSeed
3e8e21b2efce txgraph: avoid moving primitive members
d9f94aa882ae rpc: avoid moving RPC enum types
b67baed4e7e4 coins: avoid moving `COutPoint` values
7e19ce200b2e rpc: Fix descriptorprocesspsbt internal bug on invalid signatures
51ee8ca1683c doc: clarify pruning impact on wallet sync
6cca38e2b929 refactor: remove unused PSBTError::Ok
3660678b953c refactor: SignPSBTInput now uses util:Expected
ec61a1af6214 depends: Hash included makefiles in package checksums
a434d6602509 cmake, translation: Specify English as target language explicitly
4097d6d968e8 cmake, translation: Sort messages within contexts alphabetically
312ab8ab0a8e cmake, translation: Skip source locations in TS files
4f553bd0da25 cmake, translation: Remove TS to XLIFF conversion
8c30055458b4 translation: Switch to Qt TS source file

git-subtree-dir: libbitcoinkernel-sys/bitcoin
git-subtree-split: e8a8daf3fad1043b082d4728886c481b658147d3
fanquake added a commit that referenced this pull request Oct 28, 2026
b3e4cdc fuzz: track complete v1 transport messages (Hao Xu)
454f917 fuzz: track compact block reachability (Hao Xu)
96ab84c fuzz: track valid transaction packages (Hao Xu)
bb09525 fuzz: track valid ephemeral packages (Hao Xu)
84ec127 fuzz: track tx_pool acceptance (Hao Xu)
e2ba005 fuzz: track tx_pool_standard acceptance (Hao Xu)
0302981 fuzz: track successful UTXO snapshot activation (Hao Xu)
56a89c4 fuzz: track successful mempool loads (Hao Xu)
1a1ef16 fuzz: track successful block policy estimator reads (Hao Xu)
5e8da56 fuzz: track p2p handshake reachability (Hao Xu)
193101b fuzz: track process_message reachability (Hao Xu)
9cc7951 fuzz: track process_messages reachability (Hao Xu)
bcf97a3 fuzz: add reachability goal tracking (Hao Xu)

Pull request description:

  This is a follow-up to #35482.

  Add `ReachabilityGoal()` to aggregate whether selected conditions are reached across all inputs processed by a fuzz target. Goals are identified by source location and reported at shutdown. Setting `FUZZ_ENFORCE_REACHABILITY=1` makes the process fail if any registered goal was not reached.

  Add goals for selected high-value paths, including IBD and non-IBD message processing, completed P2P handshakes and transport messages, successful estimator/mempool/snapshot operations, transaction and package acceptance, and compact block reconstruction.

  ### Testing

  Built the fuzz binary and replayed the current qa-assets corpora for all instrumented targets with `FUZZ_ENFORCE_REACHABILITY=1`.

ACKs for top commit:
  nervana21:
    tACK b3e4cdc
  Crypt-iQ:
    crACK b3e4cdc
  maflcko:
    review ACK b3e4cdc 🗨

Tree-SHA512: cefd313c15347c768f5c017c24c7dc2004b9bb44ff15106658f48c561dd3b59ae0350a90883594b736e90f791980492e017f89c626e83248ad72e64e06a72dcc
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.

7 participants