Repository navigation
c2pool v0.2.12.12.2
c2pool v0.2.12.12.2
This is v0.2.12.12.1 plus one fix for the LTC/DOGE node and one dashboard fix. Recommended for every LTC/DOGE node. Dash nodes: no change in behaviour from v0.2.12.12.1.
LTC / DOGE (new in v0.2.12.12.2)
- LTC / DOGE embedded header chains: the genesis header is accepted only into a header store that has no tip yet (#2297).
Dashboard (LTC, and BTC with --merged)
- Dashboard, Discovered Merged Blocks: the parent hash links to the parent-chain explorer only when its parent height is known; otherwise it is shown as text (#2298).
After upgrading: check the LTC and DOGE header stores once
This applies to mainnet nodes on the built-in checkpoints: LTC 3,088,000 and DOGE 6,160,000. If you set your own --header-checkpoint / --doge-header-checkpoint, use your heights instead. It does not apply to testnet or to the --ltc-utxo-full header store.
A node is past its start when its log shows [EMB-LTC] Synced: headers=… — starting Stratum (LTC) and [EMB-DOGE] Sync state changed: synced=true (DOGE).
Rebuild a header store if one of these is true:
- The header height stays at EXACTLY the checkpoint, and the line above never appears. A new store also starts at exactly the checkpoint, but there the start line shows 1 header and the height then rises.
- While the node runs, a header height is BELOW the checkpoint. Check one of:
- LTC:
spv.ltc_heightin/web/sync_status, the LTCheightin/api/node_topology, orheader_height/current_heightin/broadcaster_status; - DOGE:
doge_utxo.chain_heightin/local_stats; - a log line
Sync state changed: synced=false … height=N, orChain tip changed: … (h=…) → … (h=N)where N is the second (new) height, with N below the checkpoint.
- LTC:
- At start, on a store that is not new:
- LTC:
[EMB-LTC] load_from_db: loaded … tip_height=Nwith N below 3,088,000; - DOGE:
DOGE HeaderChain: M headers (height=6160000)with M greater than 1, together with the DOGE header height staying at exactly 6,160,000 and nosynced=trueline appearing.
- LTC:
Do not use these for this check; they are not header heights, or they cannot show this state:
ltc_utxo.best_height;doge_utxo.utxo_best_height;- the HEIGHT on the dashboard's "🐕 DOGE" card under Merged Chain Broadcasters.
Rebuilding a header store:
-
Stop the node and wait until the process has exited.
-
Move away only the affected directory, not its parent. Here
<data>is your--data-dir, otherwise~/.c2pool(Linux, macOS) or%APPDATA%\c2pool(Windows).- LTC:
<data>/litecoin/embedded_headers - DOGE:
<data>/dogecoin/embedded_headers
Leave everything else in place: share chain, UTXO sets, peers, found blocks and settings.
- LTC:
-
Start the node. It starts the header store again at the checkpoint and fetches and checks the headers above it.
- LTC: the node serves mining work only after the rebuild, from
[EMB-LTC] Synced: headers=… — starting Stratum. The rebuild can take a long time. - DOGE: LTC mining continues. Merged DOGE mining returns only after the DOGE rebuild, once
[EMB-DOGE] Sync state changed: synced=trueappears and the DOGE UTXO set is ready. The DOGE directory also holds data the node downloads again in the background. This can take a long time.
- LTC: the node serves mining work only after the rebuild, from
-
Once the node runs normally, you can delete the moved directory.
Earlier changes
See the release notes of v0.2.12.12.1 and v0.2.12.12.