Repository navigation
c2pool v0.2.12.11
·
74 commits
to master
since this release
c2pool v0.2.12.11
This release removes an io-loop stall on Dash nodes that serve masternode special transactions, and fixes a Dash dashboard row that could stay "pending" forever. It builds on v0.2.12.10. Recommended for every Dash node. LTC, DOGE and the other coins have no functional change from v0.2.12.10.
Dash
- Lower CPU and no io-loop stalls when serving masternode special transactions.
- In the daemonless default posture (
c2pool-dash --runwith no--coin-rpc), the node includes masternode special transactions in its templates;--embedded-include-mn-special-txsis ON by default there. - Until now, the last-moment template check rebuilt the folded masternode-list root on every evaluation, about three times per stratum session per work notify. With a mainnet-sized list and 30 sessions, that cost about 0.3 s of io-loop time per notify.
- The root is now memoized, which costs about 5 ms per notify, the same as with the flag off. It is recomputed whenever the list, the tip, the PoSe bans or the template body change.
- A template whose special transaction needs a collateral proof is always re-checked.
- What is served is unchanged.
- No action needed. If you set
--embedded-include-mn-special-txs=falseto avoid the stalls, you can remove that override after upgrading.
- In the daemonless default posture (
Dash dashboard
- A found block recorded without a height no longer stays "pending" forever.
- A row recorded at height 0, whose block the node's header chain does not hold, is now shown as orphaned once the chain covers its time by at least 2 hours on each side. Otherwise it stays pending.
- Existing stuck rows are re-checked at the next start.
- This is display only: shares, payouts and blocks are not affected.
- chainz (CryptoID) links. Each Recent Blocks row also links the block on chainz, and a "P2Pool-DASH on chainz" badge links the pool's block history there.
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.10. You can go back to v0.2.12.10 on the same data directory.
Known issues
--soloand--custodialremain 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