Comments (7)
How to configure ckb mining pool, please see this issue: #378
have you started ckb-nodebridge to get work from ckb-node?
from btcpool-abandoned.
Nodebridge is up and creating RawJobs for kafka:
/usr/bin/nodebridge ckb --db_url mysql://root:root@mysql:3306/BTCPOOL_CKB --job_topic CkbRawGw --kafka_brokers "kafka:19092" --rpc_addr http://ckb-node:8114 --rpc_interval "2000" --solved_share_topic CkbSolvedShare
However, I am still getting the same error. When connecting a miner.
It seems these are the two places in the code where it is throwing errors:
src/ckb/StratumSessionCkb.cc:62
from btcpool-abandoned.
it means that the sserver didn't get job from Kafka, you should check whether your jobmaker have received job and sent job to kafka or not.
from btcpool-abandoned.
Nodebridge is sending messages to Kafka, here is the kafka dashboard output:
Is this the right topic?
No other topics are being populated by nodebridge, only CKBRawGw. When switching the nodebridge's --job_topic
from CKBRawGw to CKBJob, I get a parsing error from BTCPool.
Here is my job_workers config:
from btcpool-abandoned.
We've updated our repo so we can recreate this error more reliably with docker-compose:
https://github.com/insight-nervos/btcpool-docker-compose#local-miner
To get the docker-compose up and running with the test miner use this command:
docker-compose -f docker-compose.yml -f docker-compose.override.ckb-miner.yml up -d
Wait at least 30 seconds for all of the applications to come up and running
To make sure the miner is running, use this command:
docker-compose -f docker-compose.yml -f docker-compose.override.ckb-miner.yml logs ckb-miner
The expected output is:
To find the error in the btcpool logs, use this command:
docker-compose -f docker-compose.yml -f docker-compose.override.ckb-miner.yml logs btcpool
The expected output is:
The main docker compose file is here: ./docker-compose.yml
The btcpool config is located here: ./btcpool/config/sserver.cfg
.
Again thank you so much for your time, any help on this issue would be greatly appreciated.
from btcpool-abandoned.
btcpool-ckb must Contain the following components:
1), nodebridge get rawjob from ckb-node and send rawjob to CkbRawGw
,you can start it with the following command:
./nodebridge ckb --db_url mysql://useername:[email protected]:3306/bpool_local_db --job_topic CkbRawGw --kafka_brokers "127.0.0.1:9092" --rpc_addr http://127.0.0.1:8114 --rpc_interval "2000" --solved_share_topic CkbSolvedShare
2),,jobmaker get raw job from CkbRawGw
and check the data and remove the duplicate, and then send job to CkbJob
topic .
3),,sserver get job from CkbJob
, and then send job to ckbminer, and when ckbminer submited a solved share ,sserver will send this share to solved_share_topic
.
the cfg of jobmaker and sserver, you can find it in ckb-cfg
from btcpool-abandoned.
Looks like I was missing the jobmaker program in the docker-compose. Thank you!
from btcpool-abandoned.
Related Issues (20)
- 矿池最大负载是多少? HOT 1
- "lightgtb" edition for the newest bitcon-abc HOT 1
- CKB Simulator Segmentation Fault HOT 1
- Does btc.com support payout to bech32 addresses? HOT 1
- 比特币0.19 没有相关文件了 HOT 1
- 怎么让矿池支持 asicboost协议 HOT 1
- 矿池疑问 HOT 1
- May it return if key already exist in workMap ?
- Setting link between user and wallet inside backend
- Build Deploy Images failed HOT 4
- Is this project not going to be maintained any more? HOT 1
- bh_shared.a for arm64+linux HOT 3
- Miner HOT 1
- Need to reconnect wallets
- Btc
- mining.submit
- error to build docker btc
- 请教一下btc有多少算力才能爆块
- Bidexz
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 btcpool-abandoned.