Releases: btccom/btcpool-ABANDONED
Fix #450: jobmaker may not be ready for a long time after restarting.
Add subpool mode
New features:
- subpool
- auto chain switch (see also chainSwitcher)
- single user mode
- kafka based management API (Document)
support-ckb-mining
New
- support ckb mining
BEAM Hard Fork #321321: BeamHash II
New
- sserver: Support for BeamHash II. To support testing purposes, the fork height can be set in sserver.cfg.
- statshttpd/slparser: mysql table structures changed:
https://github.com/btccom/btcpool/blob/9c8bbd84b429b0fa9d59c46489440fb93d60b042/install/db.change.sql#L18-L54
Fix
- poolwatcher: The block hash updating may fail when running with a beam-node that returns the real block hash when submitting solutions.
About the Hard Fork
- Official Announcement of the Hard Fork
- BEAM Hash II Document
- Testing Beam Hard Fork on Local Testnet
BEAM Node for BTCPool mining
It is recommended to use our branch:
https://github.com/btccom/beam/commits/mining-hard-fork
Or use the docker file:
https://github.com/btccom/btcpool/tree/master/docker/beam-node/main-release-mining
Using the official branch will encounter a high stale risk when submitting blocks (because it only temporarily stores 3 mining tasks). You may lose your block and rewards.
In addition, our branch can return real block hashes when submitting solutions (If the official branch is used, only the pow hash will be recorded in the database for poolwatcher
).
BEAM Node for Pool/Miner Testing
We have written some patches that allow you to launch a beam node that has the similar configuration of mainnet and the fork height is 50:
https://github.com/btccom/beam/tree/private-testnet-hard-fork
Stratum Changes of the Hard Fork
A new field forkheight
is added to the response of login
.
the old
{"id":"login","jsonrpc":"2.0","method":"result","nonceprefix":"010200","code":0,"description":"Login successful"}
the new
{"id":"login","jsonrpc":"2.0","method":"result","nonceprefix":"010200","code":0,"description":"Login successful","forkheight":321321}
Miners that Supporting BEAM Hash II
We have tested our sserver
with Official OpenCL Miner
.
Enable BEAM nonce prefix checking
- BEAM sserver: Add the nonce_prefix check (enabled by default).
- BEAM sserver: Make the error code a negative value.
- CI: fix image titles missing git tags.
Support VCash merged mining
Here is a document about VCash/Namecoin/RSK merged mining: MergedMining.md
New
- Support VCash merged mining.
- Support multiple sservers to listen on the same port (
SO_REUSEPORT
).
Fix
- Sserver crashed when an unexpected zookeeper global event is received (#319).
Record the real BEAM block hash instead of pow hash to the database
Beam poolwatcher: If beam-node supports it, write the real block hash instead of pow hash to the database.
Use this beam node to response the real block hash to poolwatcher:
https://github.com/btccom/beam/tree/mining-btccom
Or docker:
https://github.com/btccom/btcpool/tree/master/docker/beam-node/main-release-mining
Tmp fix the block rewards of UB hardfork 813500 with ShareBitcoinBytesV1
如果sserver为legacy分支,则UB分叉后从ShareBitcoinBytesV1转换过来的share的高度依然会被设置为758000,导致块奖励不正确。
该提交临时修复这个问题。如果时间大于UB分叉点(2019-05-24 17:37:20 UTC+8),则转换时将块高设为815000。
此外,为了使以前的sharelog也能得到正确的PPS收益记录,在ShareBitcoin::isValid()调用时会检查块高为758000的share的产生时间是否大于UB分叉点,如果大于,则将块高改为815000,使slparser能正确记录收益。
update UB to 2.5.0.1 for hardfork #813500
UnitedBitcoin hard fork on height 813500:
Change current block reward to 0.5 (reduce to 50% of former reward),then the total supply is about 18,780,000.
https://github.com/UnitedBitcoin/UnitedBitcoin/releases
BTCPool v2.3.3 bugfix
Fix some bugs:
sserver
will exit with SIGPIPE.- BTC's NiceHash Client may encounter with
job not found
. - "rsk getwork fields failure" in jobmaker.
- a potential memory exception in log printing.