Btcpool Versions Save

backend of pool.btc.com

2020.06.09-11-fix-jobmaker-kafka

3 years ago

Fixed:

  • #450: jobmaker may not be ready for a long time after restarting.
  • #432: getblocktemplatelight is not called for BCH gbtmaker when receiving ZMQ notification
  • #448: too large share_stale number in the database.
  • #405: uninitialized variable modifyHoursFlag_ in statshttpd.

2020.04.23-subpool

4 years ago

New features:

  • subpool
  • auto chain switch (see also chainSwitcher)
  • single user mode
  • kafka based management API (Document)

2019.09.26-17-support-ckb-mining

4 years ago

New

  • support ckb mining

2019.08.07-19-beam-hard-fork

4 years ago

New

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

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.

2019.06.25-17-beam-nonceprefix-check

4 years ago
  • 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.

2019.06.20-14-vcash-merged-mining

4 years ago

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).

2019.06.04-18-beam-real-hash

4 years ago

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

2019.06.04-10-ub-hf-tmpfix

4 years ago

如果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能正确记录收益。

2019.06.03-ub-hf-813500

4 years ago

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

v2.3.3

5 years ago

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.