hi, it has some problem for me when i get the source code, I am new to go and gominer, does someone can hellp me. Thanks. Following is my errror log in my some test ubuntu os and env.
1.ubuntu 16.06 with golang-go 1.11
2.ubuntu 16.06 with golang-go 1.6
3.ubuntu 18.04 with golang-go 1.11
4.ubuntu 18.04 with golang-go 1.13.x
go get github.com/decred/gominer
github.com/decred/gominer/stratum
src/github.com/decred/gominer/stratum/stratum.go:36:19: cannot take the address of chaincfg.MainNetParams
src/github.com/decred/gominer/stratum/stratum.go:222:67: chainParams.PowLimit undefined (type func() chaincfg.Params has no field or method PowLimit)
src/github.com/decred/gominer/stratum/stratum.go:745:60: chainParams.PowLimit undefined (type func() chaincfg.Params has no field or method PowLimit)
hi, it has some problem for me when i get the source code, I am new to go and gominer, does someone can hellp me. Thanks. Following is my errror log in my some test ubuntu os and env. 1.ubuntu 16.06 with golang-go 1.11 2.ubuntu 16.06 with golang-go 1.6 3.ubuntu 18.04 with golang-go 1.11 4.ubuntu 18.04 with golang-go 1.13.x
go get github.com/decred/gominer
github.com/decred/gominer/stratum
src/github.com/decred/gominer/stratum/stratum.go:36:19: cannot take the address of chaincfg.MainNetParams src/github.com/decred/gominer/stratum/stratum.go:222:67: chainParams.PowLimit undefined (type func() chaincfg.Params has no field or method PowLimit) src/github.com/decred/gominer/stratum/stratum.go:745:60: chainParams.PowLimit undefined (type func() chaincfg.Params has no field or method PowLimit)
very thanks!