Commit eda5112
committed
Fix bootstrap share target: use min_work (matching p2pool), add diagnostics
Root cause found: get_pool_attempts_per_second correctly uses min_work=true
(same as p2pool) to compute conservative hashrate from max_bits. The
resulting share_bits matches p2pool's max_bits within ±10% clamp.
Remaining blocker: generate_share_transaction produces different coinbase
bytes than p2pool's generate_transaction — GENTX hash_link mismatch.
This is a coinbase encoding issue, not PPLNS weights.1 parent 6a2a475 commit eda5112
2 files changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
309 | 320 | | |
310 | 321 | | |
311 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
528 | 538 | | |
529 | 539 | | |
530 | 540 | | |
| |||
0 commit comments