Skip to content

ltc: add c2pool-ltc release entrypoint (main_ltc.cpp) — close the hollow-green skip - #669

Merged
frstrtr merged 1 commit into
masterfrom
ltc-doge/c2pool-ltc-entrypoint
Jul 11, 2026
Merged

ltc: add c2pool-ltc release entrypoint (main_ltc.cpp) — close the hollow-green skip#669
frstrtr merged 1 commit into
masterfrom
ltc-doge/c2pool-ltc-entrypoint

Conversation

@frstrtr

@frstrtr frstrtr commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Why

The release / coin-matrix presence gate is [ -f src/c2pool/main_ltc.cpp ] && [ -d src/impl/ltc ] (release.yml:69; the real entrypoint, not src/impl/ltc/main — see #66). LTC had no src/c2pool/main_ltc.cpp, so the ltc cell failed the gate, hollow-green-skipped to fake success, and uploaded no pkg-*-ltc artifact. Tagging now would publish an "LTC release" with no LTC binary. This closes that gap.

What

Mirrors the sibling coins (btc/dgb/bch/dash):

  • git mv src/c2pool/c2pool_refactored.cpp -> src/c2pool/main_ltc.cpp (100%% rename — c2pool_refactored.cpp was the LTC-native main). Existing c2pool and c2pool_enhanced targets repointed to main_ltc.cpp.
  • add_executable(c2pool-ltc main_ltc.cpp) with the c2pool_enhanced link set verbatim (LTC is the reference coin — same proven graph). DOGE aux rides via c2pool_merged_mining, always compiled in, NO -DAUX_DOGE.
  • WIN32/MSVC parity (ws2_32 / bigobj / 8 MB stack) so the Windows release cell links.
  • verify_archival.sh active-implementation checks repointed to main_ltc.cpp (standalone helper, not CI-wired — was emitting a false MISSING (CRITICAL ERROR)).

Gate status

  • presence: src/c2pool/main_ltc.cpp ✅ (this PR) + src/impl/ltc/ ✅ (already present) → gate now returns exists=1, ltc cell builds a real artifact instead of skipping.
  • build target c2pool-ltc and binary path src/c2pool/c2pool-ltc match release.yml:131/136.

Left intentionally untouched

  • Historical comment refs to c2pool_refactored.cpp (node.hpp, main_btc.cpp, etc.) — non-build, line numbers would drift; not in scope.
  • CMakeLists_enhanced.txt — dormant, not add_subdirectory-included anywhere (references archived c2pool.cpp).

Base master @ b21596f. Commit GPG-signed. Requesting review + merge from integrator; do not tag until the release run shows a non-empty pkg-*-ltc.

…-> main_ltc.cpp)

The coin-matrix / release presence gate keys on src/c2pool/main_ltc.cpp
(the real entrypoint, not src/impl/ltc/main -- see PR #66). LTC had no
such file, so the ltc cell hit the presence gate, hollow-green-skipped,
and produced NO pkg-*-ltc artifact -- a tagged release would ship an
LTC package with no LTC binary.

Fix, mirroring the sibling coins (btc/dgb/bch/dash):
- git mv src/c2pool/c2pool_refactored.cpp -> src/c2pool/main_ltc.cpp
  (100%% rename; c2pool_refactored.cpp WAS the LTC-native main). Repoint
  the existing c2pool and c2pool_enhanced targets to main_ltc.cpp.
- add_executable(c2pool-ltc main_ltc.cpp) with the c2pool_enhanced link
  set verbatim (LTC is the reference coin). DOGE aux rides via
  c2pool_merged_mining -- always compiled in, NO -DAUX_DOGE flag.
- WIN32/MSVC parity (ws2_32/bigobj/8MB stack) so the Windows release
  cell links.
- verify_archival.sh: repoint the active-implementation checks to
  main_ltc.cpp (standalone helper, not CI-wired) so it stops flagging a
  false MISSING (CRITICAL ERROR).

Presence gate other half (src/impl/ltc/) already present. Build target
name c2pool-ltc and binary path src/c2pool/c2pool-ltc match release.yml.
@frstrtr
frstrtr merged commit 1aa0bf2 into master Jul 11, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant