Add Pool Status action, rename from Stratum Smoke Test

Adds a comprehensive status action showing pool health, connected
miners, block history with chain tags, and debug memory-vs-DB
comparison. Removes the clear-network-orphans action (now handled
automatically by the reconcile loop). Updates manifest description
to accurately reflect capabilities.
This commit is contained in:
satoshi
2026-05-10 17:24:39 +03:00
parent 683a9a0b6b
commit c71309844b
3 changed files with 310 additions and 0 deletions
+19
View File
@@ -148,6 +148,25 @@ backup:
BACKUP: /mnt/backup
main: /root/.kamado
actions:
stratum-smoke-test:
name: "Pool Status"
description: "Displays a full status snapshot: Bitcoin Core sync state, ckpool health, connected miners, hashrate, found blocks, and submit-gap diagnostics."
warning: ~
allowed-statuses:
- running
implementation:
type: script
regen-tls-cert:
name: "Regenerate TLS Certificate"
description: "Clears the current stratum TLS certificate so a fresh one is generated on the next service start. Use this to rotate an expired or untrusted certificate."
warning: "Miners connected via TLS will be disconnected on restart and will need to accept or re-pin the new certificate fingerprint."
allowed-statuses:
- running
- stopped
implementation:
type: script
migrations:
from:
"*":