Comments (7)
INFO : 2019/09/18 00:18:24.686420 nodeStratumClient.go:48: Node returns a response: {"id":"0","jsonrpc":"2.0","method":"status","result":{"accepted":0,"difficulty":1,"height":23919,"id":"5412","rejected":0,"stale":0},"error":null}
ERROR: 2019/09/18 00:18:24.686716 db.go:175: redis: nil
panic: runtime error: integer divide by zero
goroutine 54 [running]:
main.(*database).setMinerAgentStatus(0xc420010030, 0xc42014e595, 0x5, 0xc42014e586, 0xa, 0xc3500, 0xc420170480)
/root/epic/db.go:180 +0xaab
main.(*minerSession).handleMethod(0xc420060300, 0xc420138320, 0xc420010030)
/root/epic/stratumServer.go:56 +0xcc
main.(*stratumServer).handleConn.func1(0xc4201e2000, 0x92, 0xa0)
/root/epic/stratumServer.go:125 +0x1c6
created by main.(*nodeClient).registerHandler
/root/epic/nodeStratumClient.go:50 +0x1ca
我能编成功,但是跑起来会出错。
from open-grin-pool.
pool@hostname:~/pool$ sudo /usr/local/go/bin/go build .
go: finding github.com/gorilla/mux v1.7.3
go: finding github.com/go-redis/redis v6.15.5+incompatible
go: finding github.com/onsi/gomega v1.7.0
go: finding github.com/onsi/ginkgo v1.10.1
go: finding github.com/google/logger v1.0.1
go: finding golang.org/x/sys v0.0.0-20190904154756-749cb33beabd
go: finding golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/hpcloud/tail v1.0.0
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading github.com/go-redis/redis v6.15.5+incompatible
go: downloading github.com/gorilla/mux v1.7.3
go: downloading github.com/google/logger v1.0.1
go: extracting github.com/google/logger v1.0.1
go: extracting github.com/gorilla/mux v1.7.3
go: extracting github.com/go-redis/redis v6.15.5+incompatible
from open-grin-pool.
success
from open-grin-pool.
@stepanovandrey89 编成功了?跑起来会出错吗。
from open-grin-pool.
https://tecadmin.net/install-go-on-ubuntu/
from open-grin-pool.
@stepanovandrey89 update your golang to the later version of 1.11. Go intraduced the go mod
after 1.11 and that's what I'm using for package management.
from open-grin-pool.
I have add the deploy function from travis-ci, which means that you can get the latest binary from the release page without building by yourselves.
from open-grin-pool.
Related Issues (20)
- revenue这个页面多久有显示 HOT 12
- hashrate调用错误 HOT 3
- 还是不显示矿机算力 HOT 1
- Add support for RandomSFX HOT 1
- cannot build HOT 1
- What waning ist this? HOT 8
- need help with miner.js HOT 1
- index.js HOT 1
- index.js HOT 1
- redis: can't parse reply="[\x00\x00\x00" reading string HOT 2
- UI not updating GRIN NODE data HOT 2
- The Same Origin Policy disallows reading the remote resource HOT 2
- [DepShield] (CVSS 5.9) Vulnerability due to usage of golang.org/x:crypto:0.0.0-20190308221718-c2843e01d9a2 HOT 1
- didn't have any blocks in api /blocks HOT 2
- go build . on Ubuntu 18.04 HOT 7
- EPIC miner compatibility HOT 1
- Testing GRIN Pool
- : xinbi has not logged in HOT 3
- 能出钱帮我设计个简单的UI吗 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-grin-pool.