BTCAgent (multi sub-account edition / 多子账户版) v0.9.1-beta
Pre-release已知的严重问题:
- 一段时间后,所有到矿池的连接都会断开并且无法重连,导致无法通过该代理挖矿。在该问题修复前不建议使用多子账户版。
Known serious problems:
- After a period of time, all connections to the pool will be disconnected and cannot be reconnected, making it impossible to mine through the agent. It is not recommended to use multiple sub-account versions until the issue is fixed.
修复的问题:
- 矿池侧不显示矿机名。
- 矿机每次接收到重复的任务。
- 子账户名错误时程序可能会崩溃。
Fixed issue:
- Worker name is not displayed on the pool's web page.
- The miner receives repeated tasks each time.
- The program may crash when the sub-account name is wrong.
注意:多子账户版目前处于测试阶段,程序可能不稳定,并有可能导致算力波动或不能挖矿。我们欢迎您使用该版本进行测试,并给我们提供反馈(不仅是反馈问题,如果程序运行良好没有问题,也请告诉我们)。但在使用过程中请保持对机器算力及代理运行状态的关注,如果出现问题,请及时停用代理并向我们反馈问题。
Note: The multi-subaccount edition is currently in beta. The process may be unstable, and it may result in fluctuations in hashrate or inability to mine. We welcome you to use this edition for testing, and provide us with feedback (not only feedback issues. If the program is running well, please tell us too).
However, please pay attention to miners' hashrate and the agent's running status. If there is any problem, please disable the agent and report back to us.
反馈方法 / Feedback:
- 在此处提交 Issue / Submit issue on github:https://github.com/btccom/btcagent/issues (推荐 / Recommend)
- 发生邮件到 / Send email to:
[email protected]
- 加微信
SwimmingTiger
为好友 / FindSwimmingTiger
onTencent WeChat
安装方法 / Install:
# 切换到root用户。后续大部分操作都需要root权限。
# Switch to user root. Most of the following operations require root privileges.
sudo -i
wget https://github.com/btccom/btcagent/releases/download/mu-v0.9.0-beta/btcagent-multi_user-0.9.0-beta-Ubuntu_16.04.deb
dpkg -i btcagent-multi_user-0.9.0-beta-Ubuntu_16.04.deb
apt-get install -f
systemctl enable supervisor
服务会自动启动。
Service will auto starting.
使用前需要修改矿池地址:
You may want to modify the pool address:
vim /etc/btcagent-mu/agent_conf.json
例子 / Example:
["cn.ss.btc.com", 1800]
含义:
["挖矿地址", 端口]
Meaning:
["stratum server address", port]
修改好后,重启服务生效:
Restart the service to make it effective:
supervisorctl restart btcagent-mu
现在,可以让矿机连接到 这台机器的IP:3334
进行挖矿了。
Now, the miner can be connected to this host's IP:3334
for mining.
这个版本不需要在代理内设置子账户名,代理会自动采用矿机设置的子账户名。
This edition does not need to set a sub-account name in the agent_conf.json
. The agent will automatically use the sub-account name set by the miner.
更多操作 / More operation:
- 编辑配置文件 / Edit config file:
vim /etc/btcagent-mu/agent_conf.json
- 启动 supervisor (BTCAgent的守护服务) / Start supervisor (daemon service of btcagent):
service start supervisor
- 重启BTCAgent / Restart btcagent:
supervisorctl restart btcagent-mu
- 停止BTCAgent / Stop btcagent:
supervisorctl stop btcagent-mu
- 显示服务状态 / Show service status:
supervisorctl status
- 显示日志 / Show logs:
tail -F /var/log/btcagent-mu/*INFO
less /var/log/btcagent-mu/*INFO
- 统计矿机连接数(估算值) / Count connections:
netstat -antp | grep btcagent-mu | wc -l