Commit e321717
committed
Add periodic PPLNS weight dump for cross-implementation comparison
Identified: c2pool's generate_share_transaction includes 3 addresses
(including c2pool miner) while p2pool has only 2. C2pool's chain tip
alternates between own shares and p2pool shares. When verifying a share
whose prev_hash is a c2pool share, the PPLNS walk includes c2pool's
miner address — but p2pool never has these shares in its chain.
Fix: generate_share_transaction should exclude c2pool's own unverified
shares from the PPLNS walk, OR c2pool should not add own shares to the
tracker until they're accepted by peers.
Also reverted p2pool bootstrap 'hardest bits' which broke share rate.1 parent daf58a1 commit e321717
1 file changed
Lines changed: 20 additions & 0 deletions
File tree
- src/impl/ltc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
878 | 898 | | |
879 | 899 | | |
880 | 900 | | |
| |||
0 commit comments