Skip to content

c2pool v0.2.12.15

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:52
· 20 commits to master since this release
v0.2.12.15
b4f8c6c

c2pool v0.2.12.15

This release fixes the found-block panels of the miner page, keeps a BTC node's found blocks across restarts, and keeps previous-cycle InstantSend locks verifying on a Dash node through a reorg. It includes everything in v0.2.12.14. Recommended for every Dash, LTC/DOGE and BTC node. Upgrading from v0.2.12.14 is a normal restart. If you are upgrading from an earlier version, read the v0.2.12.13 notes first: on Dash the first start on v0.2.12.13 or later is a cold start.

Miner page (LTC/DOGE)

  • The merged-mining panel lists the miner's merged blocks (#2322). The panel reads /merged_miner_payouts/<address>, which the node did not serve, so it always showed 0. It now lists the aux-chain (DOGE) blocks the address's shares found, with height, reward, status and explorer link; the totals are in the aux coin.
  • LTC blocks recorded before v0.2.12.7 count for their miner (#2322). Such a row holds the finder's 20-byte pubkey hash instead of an address. The Blocks Found panel now counts it for the address whose P2PKH, P2WPKH or P2SH script pays that hash. Recent Blocks still shows no miner for it.

BTC

  • Found blocks are kept across restarts (#2321). The ledger behind Recent Blocks, luck and effort is stored in <data-dir>/bitcoin/found_blocks_db (bitcoin_testnet, bitcoin_testnet4 or bitcoin_regtest on the test networks).
  • --import-found-blocks FILE (#2321), as on LTC: restores found-block history from another node's /recent_blocks or from a list of block hashes. Each block is checked against the node's BTC header chain. The flag needs --http.

Dash

  • Previous-cycle InstantSend locks keep verifying through a reorg (#2317). After a reorg that follows a quorum rotation, locks signed in the previous cycle are still recognised. Behaviour after a restart is unchanged.

Docs, tests and tools: README governance and credits (#2316, #2319); a test and a comment for #2317 (#2320); the xmr race-rig script records its exit status (#2318). No change in behaviour.

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

  • From v0.2.12.14: a normal restart on every coin. You can go back to v0.2.12.14 on the same data directory. If you added --import-found-blocks on BTC, remove it before you go back: v0.2.12.14 does not have it.
  • From an earlier version: follow the "Upgrade order" in the v0.2.12.13 release notes (Dash: the first start is a cold start of about 21 minutes per node without embedded work), and on LTC/DOGE, when you come from v0.2.12.12.1 or earlier, the one-time header-store check in the v0.2.12.12.2 release notes. HTTP on the stratum port (v0.2.12.14) stays off unless you set --stratum-http=true or auto.

Known issues

  • --solo and --custodial remain disabled.
  • 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).
  • DASH Best Share still shows a share target rather than the node's own best hash.

Verify the download

SHA256SUMS is signed with key 99556F8DE6AD66057A1A10EC50AB1379285EFE76:

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