delete enx`s code
This commit is contained in:
parent
eb446c13f6
commit
f484251f10
|
@ -34,7 +34,8 @@ import (
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"pool/internal/cache"
|
"pool/internal/cache"
|
||||||
"pool/internal/server/alph"
|
"pool/internal/server/alph"
|
||||||
"pool/internal/server/enx"
|
|
||||||
|
// "pool/internal/server/enx"
|
||||||
"pool/internal/server/nexa"
|
"pool/internal/server/nexa"
|
||||||
"pool/internal/stratum"
|
"pool/internal/stratum"
|
||||||
"pool/internal/utility"
|
"pool/internal/utility"
|
||||||
|
@ -155,21 +156,6 @@ var coinobjs = []coin.CoinObj{
|
||||||
IsMhsLow: alph.IsMhsLow,
|
IsMhsLow: alph.IsMhsLow,
|
||||||
GetBlockInterval: alph.GetBlockInterval,
|
GetBlockInterval: alph.GetBlockInterval,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Coin: "enx",
|
|
||||||
Init: enx.Init,
|
|
||||||
Start: enx.Start,
|
|
||||||
Stop: enx.Stop,
|
|
||||||
InitMiner: enx.InitMiner,
|
|
||||||
HandleMinerSubscribe: enx.HandleMinerSubscribe,
|
|
||||||
HandleMinerAuth: enx.HandleMinerAuth,
|
|
||||||
HandleMinerSubmit: enx.HandleMinerSubmit,
|
|
||||||
SetDifficulty: enx.SetDifficulty,
|
|
||||||
Notify: enx.Notify,
|
|
||||||
HandleJobMsg: enx.HandleJobMsg,
|
|
||||||
IsMhsLow: enx.IsMhsLow,
|
|
||||||
GetBlockInterval: enx.GetBlockInterval,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func register_signal(dbctx *db.DbContext) {
|
func register_signal(dbctx *db.DbContext) {
|
||||||
|
|
Loading…
Reference in New Issue