Skip to content

Clarify partial mining reward dashboard message#1705

Open
0xjc65eth wants to merge 1 commit into
bitaxeorg:masterfrom
0xjc65eth:fix-sv2-partial-reward-warning
Open

Clarify partial mining reward dashboard message#1705
0xjc65eth wants to merge 1 commit into
bitaxeorg:masterfrom
0xjc65eth:fix-sv2-partial-reward-warning

Conversation

@0xjc65eth

Copy link
Copy Markdown

Summary

Fixes the most visible part of #1703 by changing the dashboard message for decoded partial mining rewards from an alarming warning to a neutral informational message.

Before:

  • Severity: warn
  • Text: Your share of the mining reward is only X%

After:

  • Severity: info
  • Text: Mining reward is split; your decoded share is X%

The existing zero-share warning is unchanged:

  • You don't have a share in the mining reward

Why

For Sv2 Extended Channel setups such as the SRI pool donation mode described in #1703, a partial decoded payout can be intentional and valid. The previous wording made expected reward splitting sound suspicious even when AxeOS successfully decoded that the user has a non-zero share.

This keeps the useful visibility while avoiding an accusatory warning for legitimate split-reward configurations.

Scope

This is intentionally small and UI-only:

  • No firmware/backend changes.
  • No new settings.
  • No pool-specific allowlist.
  • No change to the zero-share warning.

There is also a broader existing PR (#1678) that adds a toggle and larger coinbase-output handling. This PR is meant as a minimal alternative/foundation that can be reviewed independently.

Testing

  • Ran npm ci in main/http_server/axe-os.
  • Ran npm run build successfully.

Build completed with the existing Angular initial bundle budget warning, but exited successfully.

@0xf0xx0

0xf0xx0 commented May 25, 2026

Copy link
Copy Markdown
Collaborator

untested ack, thisll go nice with 1703

@0xf0xx0

0xf0xx0 commented May 25, 2026

Copy link
Copy Markdown
Collaborator

also cc #1652

@0xjc65eth

Copy link
Copy Markdown
Author

Thanks for the quick ack @0xf0xx0!

This is indeed a minimal change just to fix the misleading warning for legitimate partial reward cases (especially SRI donation mode).

Once this gets merged, we can continue with the more complete solution in #1678 (toggle + better coinbase handling).

Let me know if you want me to test anything specific or if there's any adjustment needed before merging.

@mutatrum

Copy link
Copy Markdown
Collaborator

@0xjc65eth Please do not open this many PRs. We do not have the capacity to review them all and are flooding the system. Pick one to keep open, which you deem highest priority and close the rest, so we can focus.

@0xjc65eth

Copy link
Copy Markdown
Author

@0xjc65eth Please do not open this many PRs. We do not have the capacity to review them all and are flooding the system. Pick one to keep open, which you deem highest priority and close the rest, so we can focus.

Sorry about that. I got a bit carried away trying to help clean up and fix several things at once. I understand the team has limited review capacity and I didn't mean to flood the queue.

I'll close the lower priority ones right now and keep only the one I believe is highest priority open.

Which one would you prefer I keep open? Or should I choose myself based on impact?

Thanks for the feedback and for maintaining the project. Happy to adjust and focus on what brings most value.

Best regards,
0xjc65eth

@mutatrum

Copy link
Copy Markdown
Collaborator

Which one would you prefer I keep open? Or should I choose myself based on impact?

Thanks for the feedback and for maintaining the project. Happy to adjust and focus on what brings most value.

Thanks, it was a bit overwhelming. Pick one you think is most useful.

@0xjc65eth

Copy link
Copy Markdown
Author

Thanks @mutatrum, understood.

I will keep this PR open as the single focused one because it is small, UI-only, already has an ack, and directly addresses the misleading partial mining reward warning in #1703 / #1652.

I am closing the other PRs for now to reduce review load. Happy to revisit them later only if maintainers ask for them.

Thanks again for the feedback and for maintaining the project.

if (info.coinbaseOutputs && info.coinbaseOutputs.length > 0) {
let percentage = this.getPayoutPercentage(info);
updateMessage(percentage > 0 && percentage < 95, 'NOT_SOLO_MINING', 'warn', `Your share of the mining reward is only ${percentage.toFixed(1)}%`);
updateMessage(percentage > 0 && percentage < 95, 'NOT_SOLO_MINING', 'info', `Mining reward is split; your decoded share is ${percentage.toFixed(1)}%`);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what the word decoded does here. If I can suggest:

Mining reward is split. Your share is

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.

AxeOS UI mistakenly warns against partial donation to Sv2 Reference Implementation Rethink warning on coinbase reward

3 participants