Skip to content

validation: use parallel input prevout fetching in TestBlockValidity - #35751

Draft
andrewtoth wants to merge 2 commits into
bitcoin:masterfrom
andrewtoth:testblockvalidity-startfetching
Draft

andrewtoth wants to merge 2 commits into
bitcoin:masterfrom
andrewtoth:testblockvalidity-startfetching

Conversation

@andrewtoth

@andrewtoth andrewtoth commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

Use CoinsViewOverlay to speed up ConnectBlock in TestBlockValidity. This also has the benefit of not inserting entries fetched from db into the main cache.

cs_main must be held for each place where the overlay is being used, and the reset guard ensures it will be reset for the next caller.

@DrahtBot

DrahtBot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

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

External sites

Reviews

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

Type Reviewers
Concept ACK Sjors
Stale ACK sedited

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:

  • #36066 (validation: Separate check-only version of ConnectBlock by optout21)

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.

@sedited sedited 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.

ACK 985d248

I was too hasty here, looks like we need to understand the regression a bit better.

@sedited
sedited requested a review from Sjors July 22, 2026 11:18
@l0rinc

l0rinc commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

For the record: This is a follow up to #31132 (comment) and #34164 (comment).


https://corecheck.dev/bitcoin/bitcoin/pulls/35751 claimed AssembleBlock slowed down considerably but I can't reproduce it locally (though I can confirm it's called from the benchmark).

Details
> Before:

|               ns/op |                op/s |    err% |     total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
|           82,662.62 |           12,097.37 |    0.3% |      1.07 | `AssembleBlock`

> After

|               ns/op |                op/s |    err% |     total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
|           82,993.67 |           12,049.11 |    0.4% |      1.08 | `AssembleBlock`

Could you provide a reproducible way to test the performance claim, ideally using a deterministic set of mainnet block proposals or a microbenchmark?
And since this change targets block-template validation, maybe we should ping @Sjors to get input from reviewers familiar with mining workloads.

@andrewtoth

Copy link
Copy Markdown
Contributor Author

https://corecheck.dev/bitcoin/bitcoin/pulls/35751 claimed AssembleBlock slowed down considerably

@l0rinc is that the correct benchmark data you meant to post in the details? It doesn't seem to show the a slowdown...

Could you provide a reproducible way to test the performance claim, ideally using a deterministic set of mainnet block proposals or a microbenchmark?

There have been many benchmarks performed already by you in #31132 for this change. Is this not obvious to you it will increase performance?

@sedited

sedited commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

@l0rinc is that the correct benchmark data you meant to post in the details? It doesn't seem to show the a slowdown...

I see it in the report too, and can measure the slowdown locally as well.

@sedited

sedited commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

If I fill up the block properly in the AssembleBlock benchmark, this does indeed then speed up connection. Seems like we should be doing that anyway to make the benchmark realistic?

I'm guessing there is a cutover where the synchronization overhead outweighs getting the coins from cache (or maybe even from disk?). Maybe it would be worthwhile to introduce a heuristic where we skip background fetching if the block does not spend a lot of coins?

@Sjors

Sjors commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Concept ACK on (indirectly) making the checkBlock() IPC faster. This is intended to be called frequently by the Job Declarator Server role in Stratum v2.

Although #35671 introduces a different approach for that, its makeTemplate() method also goes through TextBlockValidity. I wonder if TxCollection could be made even faster if pre-loads coins it needs, before a client calls makeTemplate()to check the full block. Update: see Sjors#122

I haven't studied the earlier work, so for that reason alone a quick benchmark might be nice to demonstrate to others too.

@andrewtoth
andrewtoth force-pushed the testblockvalidity-startfetching branch from 985d248 to 2046c94 Compare July 29, 2026 02:51
@andrewtoth
andrewtoth force-pushed the testblockvalidity-startfetching branch from 2046c94 to ff4dd42 Compare July 29, 2026 03:01
@DrahtBot

Copy link
Copy Markdown
Contributor

🚧 At least one of the CI tasks failed.
Task iwyu: https://github.com/bitcoin/bitcoin/actions/runs/30417973130/job/90468502585
LLM reason (✨ experimental): CI failed because IWYU reported a missing/incorrect #include in src/bench/block_assemble.cpp (triggering the “Failure generated from IWYU” step).

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

@andrewtoth

Copy link
Copy Markdown
Contributor Author

Yes, I see the regression in the in corecheck as well. I first read @l0rinc's comment as containing the regression. My apologies.

@Sjors I've included an additional commit at the start that improves the AssembleBlock benchmark by filling the block to max weight with transactions. The new benchmark shows a 10% speedup on my local machine when comparing the first and second commits.

Before this change
ns/op op/s err% ins/op cyc/op IPC bra/op miss% total benchmark
16,370,829.20 61.08 0.5% 169,414,150.61 36,723,542.62 4.613 21,344,193.75 0.2% 5.71 AssembleBlock
16,157,284.00 61.89 2.9% 169,412,308.63 36,308,394.28 4.666 21,345,426.37 0.2% 5.61 AssembleBlock
16,328,205.58 61.24 1.6% 169,374,584.69 36,629,119.06 4.624 21,343,993.70 0.2% 5.57 AssembleBlock
After this change
ns/op op/s err% ins/op cyc/op IPC bra/op miss% total benchmark
14,860,137.50 67.29 1.8% 160,474,005.09 35,797,692.66 4.483 21,636,973.66 0.2% 5.42 AssembleBlock
14,322,912.28 69.82 1.1% 160,432,472.41 34,525,565.16 4.647 21,656,523.97 0.2% 5.41 AssembleBlock
14,767,059.78 67.72 0.7% 160,474,240.27 35,583,122.53 4.510 21,644,652.59 0.2% 5.49 AssembleBlock

I'm guessing there is a cutover where the synchronization overhead outweighs getting the coins from cache (or maybe even from disk?). Maybe it would be worthwhile to introduce a heuristic where we skip background fetching if the block does not spend a lot of coins?

@sedited There is likely a cutover, but it would be dependent on the system as well as other factors like how many coins are in the cache vs have to be fetched from db.
re: a heuristic - what we really care about is that slow blocks are faster. A block spending few coins is already very fast, and so speeding it up from 2ms -> 1ms will not really benefit anything in the grand scheme IMO.

@l0rinc l0rinc mentioned this pull request Aug 5, 2026
14 tasks

@optout21 optout21 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.

Another performance improvement, a must-have follow-up of #35295/#34164/#31132, looks good.

Two comments:

I am confused by the description of the 2nd (last) commit. It states:

  • "Use CoinsViewOverlay to speed up ConnectBlock in TestBlockValidity." -- CoinsViewOverlay was used before; the change seems not about using it, but using an existing shared instance, instead of always a new one.

  • "This also has the benefit of not populating entries in the main cache." -- that was true also without the change.

There is also another usage of m_connect_block_view, at line 3055:

3055    CoinsViewOverlay& view{*m_coins_views->m_connect_block_view};
3056    const auto reset_guard{view.StartFetching(*block_to_connect)};

(https://github.com/andrewtoth/bitcoin/blob/ff4dd421f9020e85711c6e4069e62abf31fc3c0f/src/validation.cpp#L3055-L3056)

Could this also use the newly introduced ConnectBlockView()?

Comment thread src/validation.cpp Resolved
Use CoinsViewOverlay to speed up ConnectBlock in TestBlockValidity.
This also has the benefit of not inserting entries fetched from db
into the main cache.

cs_main must be held for each place where the overlay is being used,
and the reset guard ensures it will be reset for the next caller.
@andrewtoth
andrewtoth force-pushed the testblockvalidity-startfetching branch from ff4dd42 to 2ba5628 Compare August 8, 2026 17:21
@andrewtoth

Copy link
Copy Markdown
Contributor Author

Thanks for your review @optout21.

"Use CoinsViewOverlay to speed up ConnectBlock in TestBlockValidity." -- CoinsViewOverlay was used before; the change seems not about using it, but using an existing shared instance, instead of always a new one.

"This also has the benefit of not populating entries in the main cache." -- that was true also without the change.

It was using a CCoinsViewCache before as an ephemeral cache on top of the main cache. This patch changes it to use the CoinsViewOverlay. The previous version would insert cache misses into the cache before returning to the view_dummy cache, while CoinsViewOverlay does not do that. I updated the commit message and PR description to try and clarify that.

Could this also use the newly introduced ConnectBlockView()?

Done.

@l0rinc l0rinc 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.

I think the reentrancy issue needs to be addressed before this can be merged.
I also left a few comments on making the benchmark match its stated workload, plus some nits (feel free to just resolve those, but since we need to push anyway, we might as well clean this up a bit).

tx.vout.emplace_back(1337, P2WSH_OP_TRUE);
tx.vout.assign(FAN_OUT, CTxOut{100'000, P2WSH_OP_TRUE});
if (NUM_BLOCKS - b >= COINBASE_MATURITY)
txs.at(b) = MakeTransactionRef(tx);

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.

nit: we could std::move a few of these (please check the other cases as well):

Suggested change
txs.at(b) = MakeTransactionRef(tx);
txs.at(b) = MakeTransactionRef(std::move(tx));

LOCK(::cs_main);

for (const auto& txr : txs) {
for (const uint32_t o : std::views::iota(uint32_t{0}, FAN_OUT)) {

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.

nit: I don't usually mind this iteration, but above we're using standard loop which makes the two iterations assymetric

bench.run([&] {
PrepareBlock(test_setup->m_node, options);
});
}

@l0rinc l0rinc Aug 16, 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.

The commit message claims we fill assembled block to max weight, but we still have leftover transactions - can we assert the claim (and adjust the FAN_OUT to make it true? Just make sure the number is not 110, we're still sensitive to that...)

Suggested change
assert(GetBlockWeight(*PrepareBlock(test_setup->m_node, options)) > MAX_BLOCK_WEIGHT - DEFAULT_BLOCK_RESERVED_WEIGHT);
}

Edit: We could also assert that mining the fan-out transactions empties the mempool, to verify that the inputs are confirmed.

tx.vin.back().scriptWitness = witness;
tx.vout.emplace_back(1337, P2WSH_OP_TRUE);
tx.vout.assign(FAN_OUT, CTxOut{100'000, P2WSH_OP_TRUE});
if (NUM_BLOCKS - b >= COINBASE_MATURITY)

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.

8ebb32e bench: fill assembled block to max weight in AssembleBlock:

nit: and if we're modifying this we might as well add braces and format it

tx.vin.emplace_back(COutPoint{txr->GetHash(), o});
tx.vin.back().scriptWitness = witness;
tx.vout.emplace_back(1337, P2WSH_OP_TRUE);
const MempoolAcceptResult res = test_setup->m_node.chainman->ProcessTransaction(MakeTransactionRef(tx));

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.

8ebb32e bench: fill assembled block to max weight in AssembleBlock:

we don't need to copy the existing style:

Suggested change
const MempoolAcceptResult res = test_setup->m_node.chainman->ProcessTransaction(MakeTransactionRef(tx));
const auto res{test_setup->m_node.chainman->ProcessTransaction(MakeTransactionRef(tx))};

Comment thread src/validation.cpp
index_dummy.nHeight = tip->nHeight + 1;
index_dummy.phashBlock = &block_hash;
CCoinsViewCache view_dummy(&chainstate.CoinsTip());
CoinsViewOverlay& overlay_view{chainstate.ConnectBlockView()};

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.

2ba5628 validation: use parallel input prevout fetching in TestBlockValidity:

TestBlockValidity() previously used a local cache. This PR changes it to reuse ConnectBlockView(), which a synchronous BlockChecked callback can reach while ConnectTip() still has a fetch active.

Could we first record that both paths now select the same overlay?

BOOST_AUTO_TEST_CASE(testblockvalidity_with_active_connect_view)
{
    auto tip_hash{WITH_LOCK(cs_main, return Assert(m_node.chainman)->ActiveTip()->GetBlockHash())};
    auto outer_block{BadBlock(tip_hash)};
    auto candidate_block{GoodBlock(tip_hash)};
    LOCK(cs_main);
    auto& chainstate{Assert(m_node.chainman)->ActiveChainstate()};
    auto reset_guard{chainstate.ConnectBlockView().StartFetching(*outer_block)};
    BOOST_CHECK(&chainstate.TestBlockValidityView() != &chainstate.ConnectBlockView());
    BOOST_CHECK(TestBlockValidity(chainstate, *candidate_block, /*check_pow=*/false, /*check_merkle_root=*/false).IsValid());
}

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.

I think the reentrancy issue needs to be addressed before this can be merged.

I don't think there is a reentrancy issue? I see though that BlockChecked callbacks in ConnectTip are synchronous, so a future change could theoretically call TestBlockValidity from the callback on the same thread. Nothing does that today. We can prevent this by calling Assert(overlay_view.GetCacheSize() == 0); inside TestBlockValidity. I'm not sure I see the value of this unit test.

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.

Agree, the test is just a demonstration, an assert is the ideal solution here!

@sedited

sedited commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

@andrewtoth what is the status here? I think it would be interesting to add some more real block creation timings, i.e. run this side-by-side with master on hopefully a similar mempool and see if there is a difference.

@andrewtoth

Copy link
Copy Markdown
Contributor Author

@sedited thanks for the ping. I have been distracted by other issues but I am still interested in pursuing this. I will address @l0rinc's latest comments soon.

One thing I would like to understand better is how checkBlock() is used in practice. How often do we actually call it? One thing to consider is that with this method none of the uncached coins will be pre-emptively inserted into the cache. When many of the block's coins are not cached, this will be much faster on the first call. However, currently these coins will all be cached, while after this change they will not be. So subsequent calls with a similar block might be slower due to not inserting the coins in the cache.

@Sjors' idea Sjors#122 might help here as well, but it's a much larger change.

run this side-by-side with master on hopefully a similar mempool and see if there is a difference.

Yes, good idea. I will try and gather some real world data with this.

Marking as draft until I figure out the above.

@andrewtoth
andrewtoth marked this pull request as draft October 2, 2026 18:36
tx.vin.emplace_back(COutPoint{txr->GetHash(), o});
tx.vin.back().scriptWitness = witness;
tx.vout.emplace_back(1337, P2WSH_OP_TRUE);
const MempoolAcceptResult res = test_setup->m_node.chainman->ProcessTransaction(MakeTransactionRef(tx));

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.

8ebb32e bench: fill assembled block to max weight in AssembleBlock:

Nit: the fixture checks the entire growing mempool after each insertion, we could probably disable those checks.

Avoid repeated mempool checks during setup
diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp
index 5c15f3cebc..9f9dc5fae1 100644
--- a/src/bench/block_assemble.cpp
+++ b/src/bench/block_assemble.cpp
@@ -29,7 +29,7 @@ using node::BlockCreateOptions;
 
 static void AssembleBlock(benchmark::Bench& bench)
 {
-    const auto test_setup = MakeNoLogFileContext<const TestingSetup>();
+    const auto test_setup = MakeNoLogFileContext<const TestingSetup>(ChainType::REGTEST, {.extra_args = {"-checkmempool=0"}});
 
     CScriptWitness witness;
     witness.stack.push_back(WITNESS_STACK_ELEM_OP_TRUE);

Comment thread src/validation.cpp
index_dummy.phashBlock = &block_hash;
CCoinsViewCache view_dummy(&chainstate.CoinsTip());
CoinsViewOverlay& overlay_view{chainstate.ConnectBlockView()};
const auto reset_guard{overlay_view.StartFetching(block)};

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.

2ba5628 validation: use parallel input prevout fetching in TestBlockValidity:

Before #35295, coins were fetched as validation reached each transaction, so any failure avoided fetching later transactions, but StartFetching() can now retain those coins before validation rejects the template.

In normal block connection this is gated behind PoW, so paying for that work to allocate an extra ~250 MiB on a node (~25k max inputs × 10 kB max script sizes) seems like a poor trade-off for an attacker. Not sure if this can be amplified in any way by the threads or if it's a total (probably the latter).

But I wonder if this changes the threat model here, given that these template checks aren't behind PoW.

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.

In normal block connection this is gated behind PoW, so paying for that work to allocate an extra ~250 MiB on a node (~25k max inputs × 10 kB max script sizes) seems like a poor trade-off for an attacker. Not sure if this can be amplified in any way by the threads or if it's a total (probably the latter).

I'm not sure I follow why an attacker would bother creating an invalid block here? If the goal is to have the node allocate ~250MB, they could create a block that spends ~25k distinct utxos with 10kb scripts. Why would they bother creating an invalid block to do this, instead of creating a valid one and keeping the block reward? I also don't see how #35295 changes anything here; this would allocate the same amount of memory before or after that PR.

But I wonder if this changes the threat model here, given that these template checks aren't behind PoW.

I don't think TestBlockValidity can be called via any untrusted paths, so any threat-model is substantially reduced.

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.

These fetches happen before input validation, so the submitter doesn’t need PoW or valid signatures to trigger them. They can reference other people’s UTXOs, even repeating the same large-script UTXO across distinct transactions, and prefetching can allocate copies before validation rejects the attempted spends.

@Yudis-bit

Copy link
Copy Markdown

overlay_view.GetCacheSize() == 0 won't catch reentrancy while prefetching is in flight because worker threads write coins into m_inputs, not cacheCoins. The cache size stays at zero until ConnectBlock consumes the first coin, so an in-between call would pass that assert and hit Assert(m_futures.empty()) inside StartFetching.

Checking !m_futures.empty() or falling back to a local CCoinsViewCache when the shared overlay is busy would handle that cleanly without aborting.

Sjors added a commit to Sjors/bitcoin that referenced this pull request Oct 26, 2026
Give TxCollection a background thread that loads the input coins of
collected transactions into the active chainstate's coins cache, so
that by the time the client calls makeTemplate() the TestBlockValidity()
check does not need to read them from disk.

Work is queued by the constructor and by addMissingTxs(), both of which
return without waiting for it: the coins load while the (Stratum v2 Job
Declarator) client learns which transactions are missing and transfers
them, taking the coin database reads off the template critical path.

The thread warms the cache through CCoinsViewCache::HaveCoin() in
batches of 128 outpoints per cs_main acquisition, so it never holds up
validation for a full block's worth of disk reads. Coins fetched this
way are clean cache entries: they do not grow the next flush and can be
evicted at any time, and they remain useful when the actual block is
connected. Inputs spending other transactions in the collection are
skipped, since they have no coin in the UTXO set.

Suggested by Sjors Provoost in
bitcoin#35751 (comment)

Co-Authored-By: Claude Fable 5 <[email protected]>
Sjors added a commit to Sjors/bitcoin that referenced this pull request Oct 26, 2026
Give TxCollection a background thread that loads the input coins of
collected transactions into the active chainstate's coins cache, so
that by the time the client calls makeTemplate() the TestBlockValidity()
check does not need to read them from disk.

Work is queued by the constructor and by addMissingTxs(), both of which
return without waiting for it: the coins load while the (Stratum v2 Job
Declarator) client learns which transactions are missing and transfers
them, taking the coin database reads off the template critical path.

The thread warms the cache through CCoinsViewCache::HaveCoin() in
batches of 128 outpoints per cs_main acquisition, so it never holds up
validation for a full block's worth of disk reads. Coins fetched this
way are clean cache entries: they do not grow the next flush and can be
evicted at any time, and they remain useful when the actual block is
connected. Inputs spending other transactions in the collection are
skipped, since they have no coin in the UTXO set.

Suggested by Sjors Provoost in
bitcoin#35751 (comment)

Co-Authored-By: Claude Fable 5 <[email protected]>

@Sjors Sjors 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.

It would be good to add some relevant benchmarks in the PR description.

This also has the benefit of not inserting entries fetched from db into the main cache.

This might be useful regardless of the other change. Although checkBlock() is called by a (for now) trusted IPC client, that client in turn takes mostly untrusted data for miners. They could stuff our hot cache and trigger a flush.

At least one pool (DMND), which supports stratum v2 miner-provided templates, rate limits the number of blocks each client can check. But the more DoS-resistant we can make this, the better.

On the other hand, when validating many similar templates, it might be nice to actually insert fetched entries. But maybe, in a future optimization, the block template manager (#35675) could create a shared cache and opt-in to inserting fetched coins, up to a certain limit.

I changed the approach in Sjors#122 a bit and updated the benchmarks.

It optimistically pre-fetch coins as the template is being assembled (see #35671). This gives it a head start in cases where at least one transaction is missing, when we have to wait a network roundtrip for the miner to provide it. I then added the approach from this PR on top; the optimistic sync is stopped and the coins it fetched are passed on to TestBlockValidity.

That approach does ~12ms of prep work during the network round-trip, but (so far) that implementation doesn't actually add any performance compared to this PR.

Update: with a 10 GB chainstate and a mostly cold cache, fetching from disk while waiting for the missing transactions can make a whole second difference in the final block check.

Comment thread src/validation.cpp
Ticks<MillisecondsDouble>(time_2 - time_1));
{
CoinsViewOverlay& view{*m_coins_views->m_connect_block_view};
CoinsViewOverlay& view{ConnectBlockView()};

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 2ba5628 validation: use parallel input prevout fetching in TestBlockValidity: maybe introduce ConnectBlockView in a pure refactor commit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants