@@ -86,7 +86,7 @@ type BlockAssembler struct {
8686 stateChangeCh chan BestBlockInfo
8787
8888 // lastPersistedHeight tracks the last block height processed by block persister
89- // This is updated via BlockPersisted notifications and used to coordinate with cleanup
89+ // This is updated via BlockPersisted notifications
9090 lastPersistedHeight atomic.Uint32
9191
9292 // currentChainMap maps block hashes to their heights
@@ -110,20 +110,9 @@ type BlockAssembler struct {
110110 // currentRunningState tracks the current operational state
111111 currentRunningState atomic.Value
112112
113- // cleanupService manages background cleanup tasks
114- cleanupService cleanup.Service
115-
116- // cleanupServiceLoaded indicates if the cleanup service has been loaded
117- cleanupServiceLoaded atomic.Bool
118-
119- // cleanupQueueCh queues cleanup operations (parent preserve + DAH cleanup) to prevent flooding during catchup
120- cleanupQueueCh chan uint32
121-
122- // cleanupQueueWorkerStarted tracks if the cleanup queue worker is running
123- cleanupQueueWorkerStarted atomic.Bool
124-
125- // unminedCleanupTicker manages periodic cleanup of old unmined transactions
126- unminedCleanupTicker *time.Ticker
113+ // Note: Cleanup-related fields (cleanupService, cleanupQueueCh, unminedCleanupTicker)
114+ // were removed in PR #114 when UTXO pruning was extracted to the standalone Pruner service.
115+ // See: docs/topics/services/pruner.md
127116
128117 // cachedCandidate stores the cached mining candidate
129118 cachedCandidate *CachedMiningCandidate
0 commit comments