From 0cbbd797b40a38a4aeb2c995b2ca4b604c2a5956 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sat, 27 Feb 2021 21:38:02 +0100 Subject: [PATCH] Neue Update-Netzwerkeinstellung (klassisch | mordor) --- api/server.go | 6 +++--- main.go | 8 ++++---- payouts/payer.go | 8 ++++---- payouts/unlocker.go | 8 ++++---- payouts/unlocker_test.go | 4 ++-- policy/policy.go | 4 ++-- proxy/blocks.go | 6 +++--- proxy/config.go | 8 ++++---- proxy/handlers.go | 6 +++--- proxy/miner.go | 4 ++-- proxy/proxy.go | 8 ++++---- proxy/stratum.go | 2 +- rpc/rpc.go | 4 ++-- storage/redis.go | 2 +- util/util.go | 6 +++--- 15 files changed, 42 insertions(+), 42 deletions(-) diff --git a/api/server.go b/api/server.go index 6f4cf00..48121d7 100644 --- a/api/server.go +++ b/api/server.go @@ -12,10 +12,10 @@ import ( "time" "github.com/gorilla/mux" - "github.com/robfig/cron" + "github.com/robfig/cron" - "github.com/etclabscore/open-etc-pool/storage" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/storage" + "github.com/yuriy0803/open-etc-pool-friends/util" ) type ApiConfig struct { diff --git a/main.go b/main.go index 8371566..f60ab57 100644 --- a/main.go +++ b/main.go @@ -13,10 +13,10 @@ import ( "github.com/yvasiyarov/gorelic" - "github.com/etclabscore/open-etc-pool/api" - "github.com/etclabscore/open-etc-pool/payouts" - "github.com/etclabscore/open-etc-pool/proxy" - "github.com/etclabscore/open-etc-pool/storage" + "github.com/yuriy0803/open-etc-pool-friends/api" + "github.com/yuriy0803/open-etc-pool-friends/payouts" + "github.com/yuriy0803/open-etc-pool-friends/proxy" + "github.com/yuriy0803/open-etc-pool-friends/storage" ) var cfg proxy.Config diff --git a/payouts/payer.go b/payouts/payer.go index 0c1cfd8..628e59e 100644 --- a/payouts/payer.go +++ b/payouts/payer.go @@ -10,11 +10,11 @@ import ( "time" "sync" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/yuriy0803/go-ethereum/common/hexutil" - "github.com/etclabscore/open-etc-pool/rpc" - "github.com/etclabscore/open-etc-pool/storage" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/rpc" + "github.com/yuriy0803/open-etc-pool-friends/storage" + "github.com/yuriy0803/open-etc-pool-friends/util" ) const txCheckInterval = 5 * time.Second diff --git a/payouts/unlocker.go b/payouts/unlocker.go index 15cd5f0..c17adc0 100644 --- a/payouts/unlocker.go +++ b/payouts/unlocker.go @@ -9,11 +9,11 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common/math" + "github.com/yuriy0803/go-ethereum/common/math" - "github.com/etclabscore/open-etc-pool/rpc" - "github.com/etclabscore/open-etc-pool/storage" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/rpc" + "github.com/yuriy0803/open-etc-pool-friends/storage" + "github.com/yuriy0803/open-etc-pool-friends/util" ) type UnlockerConfig struct { diff --git a/payouts/unlocker_test.go b/payouts/unlocker_test.go index 284b508..c18fd05 100644 --- a/payouts/unlocker_test.go +++ b/payouts/unlocker_test.go @@ -1,8 +1,8 @@ package payouts import ( - "github.com/etclabscore/open-etc-pool/rpc" - "github.com/etclabscore/open-etc-pool/storage" + "github.com/yuriy0803/open-etc-pool-friends/rpc" + "github.com/yuriy0803/open-etc-pool-friends/storage" "math/big" "os" "testing" diff --git a/policy/policy.go b/policy/policy.go index b2b94ad..0f5e199 100644 --- a/policy/policy.go +++ b/policy/policy.go @@ -9,8 +9,8 @@ import ( "sync/atomic" "time" - "github.com/etclabscore/open-etc-pool/storage" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/storage" + "github.com/yuriy0803/open-etc-pool-friends/util" ) type Config struct { diff --git a/proxy/blocks.go b/proxy/blocks.go index 9bcfc13..20a90d2 100644 --- a/proxy/blocks.go +++ b/proxy/blocks.go @@ -7,10 +7,10 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common" + "github.com/yuriy0803/go-ethereum/common" - "github.com/etclabscore/open-etc-pool/rpc" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/rpc" + "github.com/yuriy0803/open-etc-pool-friends/util" ) const maxBacklog = 3 diff --git a/proxy/config.go b/proxy/config.go index ad474fc..0a31064 100644 --- a/proxy/config.go +++ b/proxy/config.go @@ -1,10 +1,10 @@ package proxy import ( - "github.com/etclabscore/open-etc-pool/api" - "github.com/etclabscore/open-etc-pool/payouts" - "github.com/etclabscore/open-etc-pool/policy" - "github.com/etclabscore/open-etc-pool/storage" + "github.com/yuriy0803/open-etc-pool-friends/api" + "github.com/yuriy0803/open-etc-pool-friends/payouts" + "github.com/yuriy0803/open-etc-pool-friends/policy" + "github.com/yuriy0803/open-etc-pool-friends/storage" ) type Config struct { diff --git a/proxy/handlers.go b/proxy/handlers.go index 225a2a6..7cbcc0c 100644 --- a/proxy/handlers.go +++ b/proxy/handlers.go @@ -4,10 +4,10 @@ import ( "log" "regexp" "strings" - "errors" + "errors" - "github.com/etclabscore/open-etc-pool/rpc" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/rpc" + "github.com/yuriy0803/open-etc-pool-friends/util" ) // Allow only lowercase hexadecimal with 0x prefix diff --git a/proxy/miner.go b/proxy/miner.go index fd920ad..704d2f5 100644 --- a/proxy/miner.go +++ b/proxy/miner.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "github.com/etclabscore/go-etchash" - "github.com/ethereum/go-ethereum/common" + "github.com/yuriy0803/go-etchash" + "github.com/yuriy0803/go-ethereum/common" ) var ecip1099FBlockClassic uint64 = 11700000 // classic mainnet diff --git a/proxy/proxy.go b/proxy/proxy.go index 2310403..276c8ae 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -13,10 +13,10 @@ import ( "github.com/gorilla/mux" - "github.com/etclabscore/open-etc-pool/policy" - "github.com/etclabscore/open-etc-pool/rpc" - "github.com/etclabscore/open-etc-pool/storage" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/policy" + "github.com/yuriy0803/open-etc-pool-friends/rpc" + "github.com/yuriy0803/open-etc-pool-friends/storage" + "github.com/yuriy0803/open-etc-pool-friends/util" ) type ProxyServer struct { diff --git a/proxy/stratum.go b/proxy/stratum.go index a19c988..08be9a6 100644 --- a/proxy/stratum.go +++ b/proxy/stratum.go @@ -9,7 +9,7 @@ import ( "net" "time" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/util" ) const ( diff --git a/rpc/rpc.go b/rpc/rpc.go index ce53eac..8fc0012 100644 --- a/rpc/rpc.go +++ b/rpc/rpc.go @@ -12,9 +12,9 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/yuriy0803/go-ethereum/common/hexutil" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/util" ) type RPCClient struct { diff --git a/storage/redis.go b/storage/redis.go index 51b9288..ddeb255 100644 --- a/storage/redis.go +++ b/storage/redis.go @@ -10,7 +10,7 @@ import ( "gopkg.in/redis.v3" - "github.com/etclabscore/open-etc-pool/util" + "github.com/yuriy0803/open-etc-pool-friends/util" ) type Config struct { diff --git a/util/util.go b/util/util.go index f971bac..a7e057c 100644 --- a/util/util.go +++ b/util/util.go @@ -6,9 +6,9 @@ import ( "strconv" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/yuriy0803/go-ethereum/common" + "github.com/yuriy0803/go-ethereum/common/hexutil" + "github.com/yuriy0803/go-ethereum/common/math" ) var Ether = math.BigPow(10, 18)