Skip to content

Normalize headerRewardMode to sum-pool-vout for several coin configs - #148

Merged
MoneroOcean merged 1 commit into
masterfrom
codex/investigate-reward-calculation-issue
May 21, 2026
Merged

MoneroOcean merged 1 commit into
masterfrom
codex/investigate-reward-calculation-issue

Conversation

@MoneroOcean

Copy link
Copy Markdown
Owner

Motivation

  • Standardize RPC headerRewardMode across BTC-style coin configurations to ensure consistent reward VOUT handling for pooled payouts.
  • Replace inconsistent modes (pool-address-vout and sum-vout) with the unified sum-pool-vout value.

Description

  • Changed rpc.headerRewardMode to "sum-pool-vout" in lib/coins/btrm.js and lib/coins/rtm.js, preserving rewardMultiplier and other settings.
  • Changed rpc.headerRewardMode to "sum-pool-vout" in lib/coins/rvn.js and lib/coins/xna.js (was "sum-vout").
  • No other behavioral changes to pow, difficultyMultiplier, or rewardMultiplier values.

Testing

  • Ran the project's automated test suite with npm test and the linter with npm run lint, and all tests passed.

Codex Task

@MoneroOcean
MoneroOcean merged commit a96a3c6 into master May 21, 2026
2 checks passed
@MoneroOcean
MoneroOcean deleted the codex/investigate-reward-calculation-issue branch May 21, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant