Skip to content

dash(S7): block-subsidy + UTXO adapter foundation leaf - #169

Merged
frstrtr merged 1 commit into
masterfrom
dash/s7-subsidy-foundation
Jun 18, 2026
Merged

dash(S7): block-subsidy + UTXO adapter foundation leaf#169
frstrtr merged 1 commit into
masterfrom
dash/s7-subsidy-foundation

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 18, 2026

Copy link
Copy Markdown
Owner

S7 foundation slice off new master 7364408 (#165 landed).

What: adds src/impl/dash/coin/subsidy.hpp (GetBlockSubsidy + masternode/platform reward split) and the header-only utxo_adapter.hpp view shim, plus test_dash_subsidy.cpp (8 oracle-conformance KATs vs mainnet heights 2459985 / 2470904).

Why first: embedded_gbt.hpp (S7 main, the getblocktemplate-equivalent builder) transitively needs 6 absent dash headers; subsidy is the dependency-free base of that chain. Slicing it first keeps each PR self-contained and verifiable.

Safety: header-only over block/transaction + core/coin (utxo_view_cache/db); no ltc/pool SCC dependency; no API removal. dashd-RPC fallback path untouched. Registered in both build.yml --target lists (CI builds it; unconditional-in-CMake != built).

Verify (Linux x86_64, .198): configure green; cmake --build --target test_dash_subsidy green; ctest -R DashSubsidy = 8/8 passed (real count, run from build/).

Adds src/impl/dash/coin/subsidy.hpp (GetBlockSubsidy + masternode/platform
reward split) and the header-only utxo_adapter.hpp view shim, with
test_dash_subsidy.cpp (8 oracle-conformance KATs against mainnet heights
2459985/2470904). Header-only over block/transaction + core/coin
(utxo_view_cache/db); no ltc/pool SCC dependency. Registered in the CI
--target lists so it builds under dash-linux-only. Foundation prerequisite
for the embedded_gbt template builder (S7 main).
@frstrtr frstrtr added the dash-linux-only DASH slice PR: Linux-only CI (skip macOS/Windows) label Jun 18, 2026
@frstrtr
frstrtr merged commit d0a23d5 into master Jun 18, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dash-linux-only DASH slice PR: Linux-only CI (skip macOS/Windows)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant