美文网首页
wificoin WFCPOOL 编译及部署教程

wificoin WFCPOOL 编译及部署教程

作者: hades2013 | 来源:发表于2018-04-25 18:42 被阅读0次

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

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

相关文章

网友评论

      本文标题:wificoin WFCPOOL 编译及部署教程

      本文链接:https://www.haomeiwen.com/subject/uqgylftx.html