Skip to content

dgb: far_share_hash check names its local far_hash (Windows build) - #2373

Merged
frstrtr merged 1 commit into
masterfrom
dgb/win-far-macro
Nov 29, 2026
Merged

frstrtr merged 1 commit into
masterfrom
dgb/win-far-macro

Conversation

@frstrtr

@frstrtr frstrtr commented Nov 29, 2026

Copy link
Copy Markdown
Owner

The c2pool-dgb Windows package did not compile: <windef.h> defines far as an empty macro, and the far_share_hash check in src/impl/dgb/share_check.hpp declared a local named far.

  • Rename the local to far_hash. No behaviour change.
  • No other production source (outside vendored code and tests) declares far/near/small/interface as an identifier.
  • PR CI builds only the c2pool target on Windows, and coin-matrix is Linux-only, so this target is checked by the Release matrix (dgb, Windows x86_64).

On Windows, <windef.h> defines `far` as an empty macro, so
`uint256 far;` in the share-info check did not compile in the
c2pool-dgb Windows package. Rename the local; no behaviour change.
@frstrtr
frstrtr merged commit cbc8b96 into master Nov 29, 2026
59 checks passed
frstrtr added a commit that referenced this pull request Nov 29, 2026
…er (#2376)

A nightly scheduled run of the release matrix on master builds the macOS and Windows packages of every coin.

- Trigger: `schedule: cron '0 21 * * *'` (21:00 UTC), default branch only.
- On the schedule: the macOS (per-arch + universal) and Windows cells of all six coins run; the Linux cells, the SHA256SUMS job and the draft release are skipped.
- Tags and workflow_dispatch are unchanged; publishing stays tag-only.
- Why: PR and master CI build the coin binaries on Linux only (coin-matrix.yml) and only the `c2pool` target on Windows, so a macOS- or Windows-only compile error in a coin binary first showed in a tag's Release matrix (v0.2.12.17: c2pool-dgb on Windows, fixed by #2373).
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