Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 4: [PATCH 04/17] feat(mining): preserve Roots priority and template policies

doc/roots-features.md

Before: doc/roots-features.md · After: doc/roots-features.md

File metadata
index 2629a28a1c5f283eea360244f449111ff8d82f44..097da9686f535814c26a80a03a95347bc1101e1a 100644

Download original patch · Release notes

Diff rows 1–20 of 20. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

doc/roots-features.md CHANGED
@@ -234,8 +234,18 @@ mining. Explicitly supplied staged options warn that they are not enforced.
234
234
  fixture. Conflict: inherited help advertised a 300,000-byte size default, while
235
235
  assembler options (`src/node/miner.h`, source reference) leave size at the protocol maximum when
236
236
  unset; `policy-parsing` corrected that help while preserving the interaction.
237
- Gap: every size/weight/reserve/priority combination; mining a small
238
- local template must never limit acceptance of a larger consensus-valid block.
237
+ Candidate L9.1 uses parent-ready coin-age selection from the active UTXO set
238
+ and a temporary native residual TxGraph after any priority prefix. Native
239
+ policy weights/modified fees govern remaining chunks; actual fees fund rewards.
240
+ [`miner_tests.cpp`](../src/test/miner_tests.cpp) covers source priority parents,
241
+ shared descendants, dependency waiting, duplicate exclusion, tie ordering and
242
+ exact remaining size/weight/fee boundaries. The new
243
+ [`mining_roots_template.py`](../test/functional/mining_roots_template.py)
244
+ checks enabled/disabled priority, size-only/weight-only/both limits, reserve
245
+ clamping and acceptance of a larger valid block under a smaller local cap.
246
+ Joint policy combinations and the full gate remain L9.2. Integrated `confrw`
247
+ remains L12.
248
+
239
249
 
240
250
  ### Peer controls and current-connection health
241
251