doc: clarify UpdateUncommittedBlockStructures

This commit is contained in:
Sjors Provoost committed 2025-10-31 11:47:28 +01:00
1 parent 72511fd02e
commit 00d1b6ef4b
1 file changed
+5 -1
+5 -1
View File
@@ -1276,7 +1276,11 @@ public:
//! ResizeCoinsCaches() as needed.
void MaybeRebalanceCaches() EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
/** Update uncommitted block structures (currently: only the witness reserved value). This is safe for submitted blocks. */
/**
* Update uncommitted block structures (currently: only the witness reserved
* value). This is safe for submitted blocks as long as they honor
* default_witness_commitment from the template.
*/
void UpdateUncommittedBlockStructures(CBlock& block, const CBlockIndex* pindexPrev) const;
/** Produce the necessary coinbase commitment for a block (modifies the hash, don't call for mined blocks). */