ax(mining): replace prose comment on NewTTMiner with usage example
Some checks failed
Test / test (push) Waiting to run
Security Scan / security (push) Has been cancelled

AX Principle 2: comments must show concrete usage, not restate the signature.

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 11:14:13 +01:00
parent fd1aed63fe
commit ceab3960bc
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -54,7 +54,8 @@ type TTMinerSummary struct {
// MinerTypeTTMiner is the type identifier for TT-Miner miners.
const MinerTypeTTMiner = "tt-miner"
// NewTTMiner creates a new TT-Miner instance with default settings.
// miner := mining.NewTTMiner()
// miner.Start(ctx)
func NewTTMiner() *TTMiner {
return &TTMiner{
BaseMiner: BaseMiner{