go-proxy/splitter/nicehash/register.go
Virgil 20f0626a19 feat(proxy): wire miner runtime flow
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 10:47:58 +00:00

12 lines
286 B
Go

package nicehash
import (
"dappco.re/go/core/proxy"
"dappco.re/go/core/proxy/pool"
)
func init() {
proxy.RegisterSplitterFactory("nicehash", func(cfg *proxy.Config, events *proxy.EventBus) proxy.Splitter {
return NewNonceSplitter(cfg, events, pool.NewStrategyFactory(cfg))
})
}