From ceab3960bc3c563702da088676faf330ed810798 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 11:14:13 +0100 Subject: [PATCH] ax(mining): replace prose comment on NewTTMiner with usage example AX Principle 2: comments must show concrete usage, not restate the signature. Co-Authored-By: Charon --- pkg/mining/ttminer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/mining/ttminer.go b/pkg/mining/ttminer.go index 142cae1..84bcfd9 100644 --- a/pkg/mining/ttminer.go +++ b/pkg/mining/ttminer.go @@ -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{