Skip to content

BTCPool v2.3.1 for Ethereum Constantinople Hardfork

Compare
Choose a tag to compare
@YihaoPeng YihaoPeng released this 15 Jan 10:12
· 7 commits to deveth since this release

BTCPool v2.3.1 is a release that enable the Constantinople hard fork on Ethereum mainnet at block 7080000.

The block reward in Ethereum mainnet reduced from 3 ETH to 2 ETH. In order to apply this change, you need to upgrade your slparser and blkmaker. Then, you have to upgrade all your Ethereum nodes.

IMPORTANT: We changed the format of sharelog file (from plain structure to ProtoBuf). Please follow these suggestions to upgrade your sharelogger and slparser.


Recommended GETH Ethereum node for the hardfork:
https://github.com/btccom/btcpool/tree/deveth/docker/eth-geth/v1.8.20-submit_work_detail

Recommended Parity Ethereum node for the hardfork:
https://github.com/btccom/btcpool/tree/deveth/docker/eth-parity/latest

You can still use the official release of GETH and the stable release of Parity, but because of the limitation in RPC eth_submitWork, blkmaker can't accurately record the hash of the submited block.

IMPORTANT: If you use eth-parity/beta-submit_work_detail or eth-geth/v1.8.15-submit_work_detail before, please DON'T FORGET upgrade and restart your blkmaker before you upgrade them. Otherwise you will not be able to submit your mined blocks and lose your mining rewards.

The old private RPC eth_submitWorkDetail in eth-parity/beta-submit_work_detail and eth-geth/v1.8.15-submit_work_detail has beed removed from eth-parity/latest and eth-geth/v1.8.20-submit_work_detail. Now the blkmaker use parity_submitWorkDetail (openethereum/parity-ethereum#9404).

The new private RPC parity_submitWorkDetail has be contained in the official release Parity 2.2.6-beta (Dockerfile). And we created a compatible implementation of parity_submitWorkDetail in GETH v1.8.20 (Dockerfile).


Tips: The version number of BTCPool is not strict. Don't be surprised if you see other version numbers in its source or project files. 😂😂😂