From b8cf8713c5e3230625fcb66526a94da03131ba6c Mon Sep 17 00:00:00 2001 From: Snider Date: Sat, 4 Apr 2026 16:10:33 +0100 Subject: [PATCH] fix: correct module path to dappco.re/go/proxy Co-Authored-By: Virgil --- api/router.go | 2 +- go.mod | 2 +- log/impl.go | 2 +- pool/client.go | 2 +- pool/impl.go | 2 +- pool/strategy.go | 2 +- splitter/nicehash/impl.go | 4 ++-- splitter/nicehash/mapper.go | 4 ++-- splitter/nicehash/splitter.go | 4 ++-- splitter/nicehash/storage.go | 2 +- splitter/nicehash/storage_test.go | 2 +- splitter/simple/impl.go | 4 ++-- splitter/simple/mapper.go | 4 ++-- splitter/simple/splitter.go | 4 ++-- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/api/router.go b/api/router.go index dddc15f..41b54b5 100644 --- a/api/router.go +++ b/api/router.go @@ -13,7 +13,7 @@ import ( "encoding/json" "net/http" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) // Router matches the standard http.ServeMux registration shape. diff --git a/go.mod b/go.mod index 7073340..b954a44 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module dappco.re/go/core/proxy +module dappco.re/go/proxy go 1.26.0 diff --git a/log/impl.go b/log/impl.go index 9c4156a..f71854a 100644 --- a/log/impl.go +++ b/log/impl.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) // NewAccessLog creates an append-only access log. diff --git a/pool/client.go b/pool/client.go index 24c4a69..6f7f60f 100644 --- a/pool/client.go +++ b/pool/client.go @@ -9,7 +9,7 @@ import ( "net" "sync" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) // StratumClient is one outbound stratum TCP (optionally TLS) connection to a pool. diff --git a/pool/impl.go b/pool/impl.go index 9251145..9c3f5cd 100644 --- a/pool/impl.go +++ b/pool/impl.go @@ -14,7 +14,7 @@ import ( "sync/atomic" "time" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) // NewStrategyFactory creates a StrategyFactory for the supplied config. diff --git a/pool/strategy.go b/pool/strategy.go index 0830e2e..92b2efb 100644 --- a/pool/strategy.go +++ b/pool/strategy.go @@ -3,7 +3,7 @@ package pool import ( "sync" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) // FailoverStrategy wraps an ordered slice of PoolConfig entries. diff --git a/splitter/nicehash/impl.go b/splitter/nicehash/impl.go index 52f2b82..b1211f6 100644 --- a/splitter/nicehash/impl.go +++ b/splitter/nicehash/impl.go @@ -3,8 +3,8 @@ package nicehash import ( "time" - "dappco.re/go/core/proxy" - "dappco.re/go/core/proxy/pool" + "dappco.re/go/proxy" + "dappco.re/go/proxy/pool" ) func init() { diff --git a/splitter/nicehash/mapper.go b/splitter/nicehash/mapper.go index b7cf918..5636c05 100644 --- a/splitter/nicehash/mapper.go +++ b/splitter/nicehash/mapper.go @@ -4,8 +4,8 @@ import ( "sync" "time" - "dappco.re/go/core/proxy" - "dappco.re/go/core/proxy/pool" + "dappco.re/go/proxy" + "dappco.re/go/proxy/pool" ) // NonceMapper manages one outbound pool connection and the 256-slot NonceStorage. diff --git a/splitter/nicehash/splitter.go b/splitter/nicehash/splitter.go index 21ad011..27cd940 100644 --- a/splitter/nicehash/splitter.go +++ b/splitter/nicehash/splitter.go @@ -12,8 +12,8 @@ package nicehash import ( "sync" - "dappco.re/go/core/proxy" - "dappco.re/go/core/proxy/pool" + "dappco.re/go/proxy" + "dappco.re/go/proxy/pool" ) // NonceSplitter is the Splitter implementation for NiceHash mode. diff --git a/splitter/nicehash/storage.go b/splitter/nicehash/storage.go index defd3a8..da36e3a 100644 --- a/splitter/nicehash/storage.go +++ b/splitter/nicehash/storage.go @@ -3,7 +3,7 @@ package nicehash import ( "sync" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) // NonceStorage is the 256-slot fixed-byte allocation table for one NonceMapper. diff --git a/splitter/nicehash/storage_test.go b/splitter/nicehash/storage_test.go index 3cb56f8..9805a0a 100644 --- a/splitter/nicehash/storage_test.go +++ b/splitter/nicehash/storage_test.go @@ -3,7 +3,7 @@ package nicehash import ( "testing" - "dappco.re/go/core/proxy" + "dappco.re/go/proxy" ) func TestNonceStorage_AddAndRemove(t *testing.T) { diff --git a/splitter/simple/impl.go b/splitter/simple/impl.go index cc63b32..759d993 100644 --- a/splitter/simple/impl.go +++ b/splitter/simple/impl.go @@ -3,8 +3,8 @@ package simple import ( "time" - "dappco.re/go/core/proxy" - "dappco.re/go/core/proxy/pool" + "dappco.re/go/proxy" + "dappco.re/go/proxy/pool" ) func init() { diff --git a/splitter/simple/mapper.go b/splitter/simple/mapper.go index dceb739..b9c16d7 100644 --- a/splitter/simple/mapper.go +++ b/splitter/simple/mapper.go @@ -4,8 +4,8 @@ import ( "sync" "time" - "dappco.re/go/core/proxy" - "dappco.re/go/core/proxy/pool" + "dappco.re/go/proxy" + "dappco.re/go/proxy/pool" ) // SimpleMapper holds one outbound pool connection and serves at most one active miner diff --git a/splitter/simple/splitter.go b/splitter/simple/splitter.go index 7e8c555..a78ccea 100644 --- a/splitter/simple/splitter.go +++ b/splitter/simple/splitter.go @@ -10,8 +10,8 @@ package simple import ( "sync" - "dappco.re/go/core/proxy" - "dappco.re/go/core/proxy/pool" + "dappco.re/go/proxy" + "dappco.re/go/proxy/pool" ) // SimpleSplitter is the Splitter implementation for simple (passthrough) mode.