Skip to content

c2pool v0.2.12.9

Choose a tag to compare

@github-actions github-actions released this 17 Nov 07:27
· 90 commits to master since this release
v0.2.12.9
fcaff3c

c2pool v0.2.12.9

This release replaces the dashboard's luck figures with a correct statistic, fixes the LTC Best Share card, and keeps new DASH nodes working through the Dash Core v24 activation. It builds on v0.2.12.8. Recommended for every node.

Luck you can trust (all coins)

Until now every multi-block luck figure on the dashboard (7d, 30d, Avg Luck) was an average of per-block luck. Per-block luck is expected time divided by actual time. A single quick block dominates that average, so the figures came out far too high: a DASH pool finding blocks exactly as expected showed about 1281%.

  • Effort. Luck is now based on effort: the time a round took, divided by the time it was expected to take. Both come from the pool's hashrate and the network difficulty integrated over the whole round, not from a single sample taken at the find.
  • Pool luck over a period is blocks found ÷ blocks expected, with an exact 95% interval and the number of blocks behind it, for example 7d: 118% [94–148] k=78. This is the "Pool Luck (7 days, 30 days, 90 days)" of the 2012 p2pool.info page.
  • Round shows the open round's effort, for example Round 0.6×. Above 2× it shows "Dry spell", above 3× "Long dry spell". It shows no dry spell when the hashrate history covers less than half of the round.
  • Recent Blocks shows Effort % per block, with ⚡ for a round under ⅓ of the expected time and 🐢 for one over 2×. A fast block and the block before it are marked as a duplet. Every tooltip gives the plain odds; a 50,707-block study found no more duplets than chance predicts.
  • Every pool block gets a luck value. This includes blocks learned from peers. The node's first block counts as 100%. Rounds are timed from the previous block on the main chain, never from an orphan.
  • Bad stored values heal on load. Rows recorded with a wrong hashrate are recomputed when the node starts. On LTC nodes this affects rows recorded by older builds at the node's own rate, which showed luck in the millions.
  • Merged DOGE blocks get their own effort and luck, measured against DOGE's difficulty.
  • Network hashrate uses each coin's block interval; it used 150 s on every coin. DGB uses its algorithm's 75 s.
  • Optional extras. A cha-ching on a new block and the classic vertical block lines can be switched on; both are off by default.

Dashboard

  • LTC Best Share now shows the best hash your own miners found, not the share target of another miner's share. An old record that came from a share target is discarded once. DASH still has this issue.
  • Current Payouts marks the donation output as a donation (◇) and the node-owner fee address as "⚑ node fee". The stale "V35 signaling V36" mark is gone.
  • New: an experimental "Fluid" share-chain grid.

DASH

  • A new node keeps working through the Dash Core v24 activation. The masternode-set bridge now replays up to 40,000 blocks (~69 days) from the release anchor, so a node started from an empty data directory works until about January 10. Running nodes are unaffected.
  • Check the anchor yourself. tools/dash/gen_mn_checkpoint.py compare checks the compiled masternode-set anchor against your own dashd and prints its content digest. See "Verifying the anchor yourself" in the checkpoints README.
  • --connect is connect-only. The node no longer dials addresses learned through gossip.
  • Network hashrate on the dashboard comes from chain work over the last 576 headers, as dashd's getnetworkhashps does. It used the tip difficulty, which swings about 2× within hours under DGW and overstated the network.
  • Opt-in, experimental --deferred-mint (off by default): a share solved while the tracker is busy is minted at the next free moment instead of being declined.
  • Shorter tracker lock holds. The restart-reorg check that runs before every share-chain election no longer walks the whole chain for each head.

Build

  • c2pool-dash now requires dashbls. See README "Dash: build with BLS". A stub build that can only run attached to dashd needs -DC2POOL_DASH_ALLOW_NO_BLS=ON. Other coins are unaffected; build them with --target c2pool-ltc and so on.

Upgrade order

Restart one node at a time. Before you restart the next node, wait until the restarted node is back on the live share chain, with the same best share as its peers. Share validation, payouts and the network protocol are unchanged from v0.2.12.8. You can go back to v0.2.12.8 on the same data directory.

Known issues

  • --solo and --custodial remain disabled.
  • DASH: --listen HOST:PORT ignores HOST. The share-chain listener binds every interface, although the startup line names the host. To keep it private, firewall the port, or run with --connect, which opens no listener.
  • On LTC the pool hashrate is the share chain's non-stale rate. It reads about 10% below what miners measure, so effort reads about 10% low and luck about 10% high, until shares report stale work (#2250).

Verify the download

SHA256SUMS is signed with key 99556F8DE6AD66057A1A10EC50AB1379285EFE76:

gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS