Skip to content

fix(channels_sv2): migrate ShareAccounting from f64 to u64#2116

Open
Alkamal01 wants to merge 16 commits intostratum-mining:mainfrom
Alkamal01:fix/issue-2092-share-accounting
Open

fix(channels_sv2): migrate ShareAccounting from f64 to u64#2116
Alkamal01 wants to merge 16 commits intostratum-mining:mainfrom
Alkamal01:fix/issue-2092-share-accounting

Conversation

@Alkamal01
Copy link

@Alkamal01 Alkamal01 commented Mar 14, 2026

Refactor share tracking fields to use u64 instead of f64 to avoid precision loss when accumulating shares.

Fixes #2092

companion stratum-mining/sv2-apps#332

@Alkamal01 Alkamal01 changed the title fix(channels_sv2): migrate ShareAccounting from f64 to u64 companion https://github.com/stratum-mining/sv2-apps/pull/#332 Mar 24, 2026
@Alkamal01 Alkamal01 changed the title companion https://github.com/stratum-mining/sv2-apps/pull/#332 fix(channels_sv2): migrate ShareAccounting from f64 to u64 Mar 24, 2026
@Alkamal01 Alkamal01 closed this Mar 24, 2026
@Alkamal01 Alkamal01 reopened this Mar 24, 2026
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.

need to switch ShareAccounting work representation from f64 to u64 on channels_sv2

1 participant