Skip to content

c2pool v0.2.12.8

Choose a tag to compare

@github-actions github-actions released this 15 Nov 21:51
· 110 commits to master since this release
v0.2.12.8
810c398

c2pool v0.2.12.8

This release fixes a crash when a fresh node starts. It also adds version reporting and an interactive PPLNS view on the dashboard. It builds on v0.2.12.7. Recommended for every node, and especially for new nodes and nodes built from a source archive.

A fresh node no longer aborts while it looks up DNS seeds

A node with no saved peers looks up the coin's DNS seeds to find peers. It did this on the thread that runs the whole node, one seed after another and without a time limit. Some of the Litecoin and Dogecoin seeds no longer exist, and on some hosts each failed lookup took about 5 seconds. Together that blocked the node for more than 40 seconds, and the node's freeze watchdog aborted it (EVENT LOOP FREEZE DETECTED … ABORTING FOR CORE DUMP). A restart usually worked, because by then the node had saved some peers.

  • DNS seeds are now looked up in the background, all at once, with a 10-second limit per round. This applies to all coins: LTC, DOGE, BTC, BCH, DGB, DASH and BIP-110.
  • Seeds that no longer resolve were removed: three Litecoin mainnet seeds, one Litecoin testnet seed and five Dogecoin seeds.

Version reporting

  • c2pool-ltc --version and c2pool-btc --version print one line and exit, as the other coins already did.
  • A node built from a GitHub source archive (zip or tar.gz) now shows its real version. Before, every build without git history showed 0.1.0-alpha. The same applies to a git checkout built by a different user than the one who cloned it. If the version cannot be found at all, the node shows unknown.

Dashboard

  • New: an interactive PPLNS view (?pplns-view=1). Tiles are sized by payout weight. Node-owner fee and donation tiles are marked, and an LTC node can switch the view to its merged DOGE payouts.
  • /web/currency_info now lists the node-owner fee address and the donation addresses, for the coin and its merged chains.
  • The Recent Blocks difficulty columns use the coin's own block time.

DASH

  • New read-only /mempool_entry probe: shows whether one mempool transaction is a template candidate, and why.
  • The DNS fix above also applies to DASH.

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.7.

Known issue

  • --solo and --custodial remain disabled.

Verify the download

SHA256SUMS is signed with key 99556F8DE6AD66057A1A10EC50AB1379285EFE76:

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