Skip to content

Releases: btccom/btcagent

Code for current master branch (174e743)

15 Sep 07:42
174e743
Compare
Choose a tag to compare

BTCAgent for ETC support

  • Added ETC mining support: "agent_type": "etc"
  • These ETC mining servers are compatible with BTCAgent::
etc.ss.btc.com:1800
etc.ss.btc.com:443
etc.ss.btc.com:25

[2022.02.22-16] Support ETH; fix gminer compatibility

22 Feb 08:45
a37f3a4
Compare
Choose a tag to compare

Update

  • Added Ethereum mining support: "agent_type": "eth"

    These Ethereum mining servers are compatible with BTCAgent::

    sg-eth.ss.btc.com:1800
    us-eth.ss.btc.com:1800
    eu-eth.ss.btc.com:1800
    
  • Fix gminer compatibility with --algo ethash --proto stratum

[Testing version | 测试版本] BTCAgent for Ethereum (pool server not ready | 矿池服务器未就绪)

04 Jan 08:47
Compare
Choose a tag to compare

Update 2022.01.05

  • Fix inaccurate default difficulty for Ethereum.

Update 2022.01.04

  • for BTC/LTC:
    Disconnect the miner immediately when the connection to the mining pool is not ready.
    This helps to solve the problem that the miner still thinks the connection is active when the BTCAgent's connection to the mining pool fails.
  • for ETH:
    Added Ethereum mining support ("agent_type": "eth",).
    However, the mining pool server has not yet supported it, so it cannot be used currently.
    The server will support it in the next upgrade.

2022.01.05 更新内容

  • 修复以太坊挖矿时默认难度不精确的问题。

2022.01.04 更新内容

  • 对于 BTC/LTC:
    在BTCAgent还没有连上矿池时如果有矿机连进来,就立即断开矿机连接。
    这可以防止在还没连上矿池时矿机却认为矿池连接活跃,导致无法切换到备用池。
  • 对于 ETH:
    添加了以太坊挖矿支持("agent_type": "eth",)。
    但是以太坊挖矿服务器目前还不支持BTCAgent,所以暂时无法使用。
    等服务器完成升级后就可以使用BTCAgent挖以太坊了。

Test Ethereum support | 测试以太坊支持

vim agent_conf.json
{
    "multi_user_mode": true,
    "agent_type": "eth",
    "submit_response_from_server": true,
    "agent_listen_ip": "0.0.0.0",
    "agent_listen_port": 3333,
    "proxy": [],
    "pool_use_tls": false,
    "pools": [
        ["127.0.0.1", 53333, "hu60"]
    ]
}
./btcagent-linux-x64 -c agent_conf.json

Enable all debug output | 显示所有调试输出:

./btcagent-linux-x64 -c agent_conf.json -v 999

Code for current master branch (f8958fb)

21 Dec 05:19
Compare
Choose a tag to compare
  • add a new option "use_proxy" as a proxy switch.

Code for current master branch (ce75cb2)

02 Dec 20:18
Compare
Choose a tag to compare
  • Use golang instead of C++ implementation.
  • Support multi-user mode.
  • Support the use of network proxy.

Code of current master branch (353a003)

15 Nov 03:49
Compare
Choose a tag to compare
master-353a003

add `Config file Details` links for README-Windows.md

Code of current master branch (f7a5684)

13 Oct 09:58
Compare
Choose a tag to compare

New

  • add a new option "ip_worker_name_format" to format the worker name of "use_ip_as_worker_name" (default format will like "192x168x1x23")

Code of current master branch (0222174)

20 Sep 08:19
Compare
Choose a tag to compare

The code of the current master branch.

Please use the master branch code instead of the old release.

BTCAgent (single sub-account edition) v1.1.0 with AsicBoost and AntMiner LPM fix

30 Nov 10:59
Compare
Choose a tag to compare

智能代理单子账户版 v1.1.0 (支持AsicBoost,可解决蚂蚁矿机LPM固件掉算力)

  • 支持AsicBoost
  • 添加了一个AsicBoost自动检测与恢复功能,可以缓解蚂蚁矿机LPM固件运行一段时间后算力下跌或者功耗升高的问题。原理如下:
    • 如果发现矿机之前提交的AsicBoost share超过100个,并且提交了一个非AsicBoost的share,则发送命令让矿机自行重连。重连后,AsicBoost通常可以恢复。

软件包

BTC_Smart_Agent_with_LPM_fix_win32.zip

适用于 Windows XP 及以上的 32 位 Windows 系统。

BTC_Smart_Agent_with_LPM_fix_win64.zip

适用于 Windows 7 及以上的 64 位 Windows 系统。

源代码 v1.1.0-fixlpm.tar.gz

可在Linux系统内编译和运行。

BTCAgent (single sub-account edition) v1.1.0 with AsicBoost and AntMiner LPM fix

  • Support AsicBoost
  • Added an AsicBoost automatic detection and recovery feature, which can alleviate the problem of hashrate lose or power consumption increased after some AntMiner with LPM firmware runs for a period of time. The principle is as follows:
    • If the miner has submitted more than 100 AsicBoost shares and then submit a non-AsicBoost share, a reconnecting request will send to the miner and it will reconnect and the AsicBoost will recovery.

Packages

BTC_Smart_Agent_with_LPM_fix_win32.zip

For 32-bit Windows XP and above.

BTC_Smart_Agent_with_LPM_fix_win64.zip

For 64-bit Windows 7 and above.

Source code v1.1.0-fixlpm.tar.gz

Can be compiled and run in a Linux system.

BTCAgent (multi sub-account edition / 多子账户版) v0.9.1-beta

14 Aug 11:24
Compare
Choose a tag to compare

已知的严重问题:

  • 一段时间后,所有到矿池的连接都会断开并且无法重连,导致无法通过该代理挖矿。在该问题修复前不建议使用多子账户版。

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:

  1. 在此处提交 Issue / Submit issue on github:https://github.com/btccom/btcagent/issues (推荐 / Recommend)
  2. 发生邮件到 / Send email to:[email protected]
  3. 加微信 SwimmingTiger 为好友 / Find SwimmingTiger on Tencent 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