wificoin WFCPOOL 编译及部署教程

WFCPOOL 编译及部署教程

在编译之前请先以下教程搭建wificoin节点并使节点正常运行 起来
https://talkblock.org/article/117

1 下载 wfcpool源码并编译

  sudo apt-get install build-essential yasm libpq-dev libgsl-dev
  git clone [https://github.com/wificoin-project/wfcpool.git](https://github.com/wificoin-project/wfcpool.git)
cd wfcpool/
./autogen.sh
./configure
./make

之后将在 src 目录下生成ckpool 的可执行文件

2 创建配置文件
cd src/
gedit ckpool.conf
添加以下内容

{
"btcd" :  [
    {
        "url" : "localhost:9665",
        "auth" : "test",
        "pass" : "admin",
        "notify" : true
    }
],
"serverurl" : "0.0.0.0:3336",
"btcaddress" : "whqBhEx5Y1dwDAPpXSCXU1YY6T9Mmizqad",//换成矿池主钱包地址并删掉注释
"btcsig" : "/mined by wfc team/",
"blockpoll" : 100,
"nonce1length" : 4,
"nonce2length" : 8,
"update_interval" : 30,
"mindiff" : 1,
"startdiff" : 982098,
"maxdiff" : 0,
"logdir" : "logs"
}

3 启动矿池
./ckpool

[2018-04-02 20:48:24.758] ckpool generator starting
[2018-04-02 20:48:24.758] ckpool stratifier starting
[2018-04-02 20:48:24.758] ckpool connector starting
[2018-04-02 20:48:24.769] ckpool connector ready
[2018-04-02 20:48:24.777] ckpool generator ready
[2018-04-02 20:48:24.777] Connected to bitcoind: localhost:9665
[2018-04-02 20:48:24.779] ckpool stratifier ready
[2018-04-02 20:48:39.790] - 0.00H/s  0.0 SPS  0 users  0 workers

看到以上输出且不报错证明矿池正常工作

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容