Releases: QuarkChain/pyquarkchain
Release mainnet1.6.2
Performance improvement: Reduce the height_to_minor_block_hashes cache to reduce memory usage.
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet1.6.2
Release mainnet-index1.6.2
Performance improvement: Reduce the height_to_minor_block_hashes cache to reduce memory usage. And update ENABLE_TRANSACTION_HISTORY in cluster_config_template.json to true
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet-index1.6.2
Release mainnet-index1.6.1
Performance improvement: Skip handling a new minor block if its root block confirmation is too old. And update ENABLE_TRANSACTION_HISTORY to true
Release mainnet1.6.1
Performance improvement: Skip handling a new minor block if its root block confirmation is too old.
Release mainnet1.6.0
Disclaimer
This release involves consensus changes (explained below). To avoid wasting mining power, please upgrade the cluster to this release before Tuesday, Apr 12, 2022, 00:04:00 AM GMT.
Updates
- * Add a self-adjusting mechanism to increase the network's hash power by lowering the effective difficulty for root chain PoSW stakers. (QCEP-7)
(Those items listed with asterisk * mean they are consensus changes and would lead to forks if clients are not updated accordingly.)
Notes
To change miner coinbase address:
./change_coinbase.sh 1000000000000000000000000000000000000000
For downloading snapshots:
curl https://s3-us-west-2.amazonaws.com/qkcmainnet/data/`curl https://s3-us-west-2.amazonaws.com/qkcmainnet/data/LATEST`.tar.gz --output data.tar.gz
Snapshots in China:
curl https://s3.cn-north-1.amazonaws.com.cn/qkcmainnet-cn/data/`curl https://s3.cn-north-1.amazonaws.com.cn/qkcmainnet-cn/data/LATEST`.tar.gz --output data.tar.gz
Running cluster after modifying config:
# inside the container
python3 quarkchain/cluster/cluster.py --cluster_config <config>
or
./run_cluster.py
Network ID
1
GPU mining shard ID
Instructions for Ethash GPU mining
ethminer -U http://$CLUSTER_IP:38391 --shard-id $SHARD_ID --cuda-devices $GPU_ID --farm-recheck $TIME --coinbase $COINBASE_ADDRESSCLUSTER_IPdefines the IP for the Quarkchain cluster. If you want to try the one button quick mining, you can use fullnode.quarkchain.io or fullnode2.quarkchain.io.--shard-iddefines one specify shard to mine. shard id 1, 10001, 20001, 30001, 40001, 50001 are Ethash.--cuda-devicesdefines specify GPUs to mine.--farm-recheckdefines check interval in milliseconds for changed work. For example 1000.--coinbasedefines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.-Uis for the CUDA GPU and-Gis for the AMD GPU.
| Chain | Shard | Hash Algo | Parameter for Ethminer shard ID |
|---|---|---|---|
| 0 | 0 | Ethash | 1 |
| 1 | 0 | Ethash | 10001 |
| 2 | 0 | Ethash | 20001 |
| 3 | 0 | Ethash | 30001 |
| 4 | 0 | Ethash | 40001 |
| 5 | 0 | Ethash | 50001 |
CPU mining shard ID
Instructions for Qkchash CPU mining
./ethminer --farm http://$CLUSTER_IP:38391 --coinbase $COINBASE_ADDRESS -t <n> --shard-id $SHARD_IDCLUSTER_IPdefines the IP for the Quarkchain cluster. If you want to try the one button quick mining, you can use fullnode.quarkchain.io or fullnode2.quarkchain.io.--shard-iddefines one specify shard to mine. shard id 60001 and 70001 are Qkchash.--coinbasedefines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.-tlimits number of CPU miners to n
| Chain | Shard | Hash Algo | Parameter for Ethminer shard ID |
|---|---|---|---|
| 6 | 0 | Qkchash | 60001 |
| 7 | 0 | Qkchash | 70001 |
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet1.6.0
To run in Docker
# recommend using some window management tool to start
# different programs, for example `screen` or `tmux`.
$ docker run -it -p 38291:38291 -p 38391:38391 -p 38491:38491 -p 38291:38291/udp quarkchaindocker/pyquarkchain:<version tag>
# if you already have synced data available, can mount it during running docker (note the -v flag)
$ docker run -v /path/to/data:/code/pyquarkchain/quarkchain/cluster/qkc-data/mainnet -it -p 38291:38291 -p 38391:38391 -p 38491:38491 -p 38291:38291/udp quarkchaindocker/pyquarkchain:<version tag>
Release mainnet-index1.6.0
Disclaimer
Same as mainnet1.6.0 release but with transaction history switched on.
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet-index1.6.0
Mainnet1.5.0
Disclaimer
This release involves consensus changes (explained below). To avoid wasting mining power, please upgrade the cluster to this release before Tuesday, Sep 14, 2021 00:00:00 AM GMT.
Updates
- * Added support for EIP155, support using metamask to directly interact with quarkchain.
- Various small fixes and improvements
(Those items listed with asterisk * mean they are consensus changes and would lead to forks if clients are not updated accordingly.)
Notes
To change miner coinbase address:
./change_coinbase.sh 1000000000000000000000000000000000000000
For downloading snapshots:
curl https://s3-us-west-2.amazonaws.com/qkcmainnet/data/`curl https://s3-us-west-2.amazonaws.com/qkcmainnet/data/LATEST`.tar.gz --output data.tar.gz
Snapshots in China:
curl https://s3.cn-north-1.amazonaws.com.cn/qkcmainnet-cn/data/`curl https://s3.cn-north-1.amazonaws.com.cn/qkcmainnet-cn/data/LATEST`.tar.gz --output data.tar.gz
Running cluster after modifying config:
# inside the container
python3 quarkchain/cluster/cluster.py --cluster_config <config>
or
./run_cluster.py
Network ID
1
GPU mining shard ID
Instructions for Ethash GPU mining
ethminer -U http://$CLUSTER_IP:38391 --shard-id $SHARD_ID --cuda-devices $GPU_ID --farm-recheck $TIME --coinbase $COINBASE_ADDRESSCLUSTER_IPdefines the IP for the Quarkchain cluster. If you want to try the one button quick mining, you can use fullnode.quarkchain.io or fullnode2.quarkchain.io.--shard-iddefines one specify shard to mine. shard id 1, 10001, 20001, 30001, 40001, 50001 are Ethash.--cuda-devicesdefines specify GPUs to mine.--farm-recheckdefines check interval in milliseconds for changed work. For example 1000.--coinbasedefines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.-Uis for the CUDA GPU and-Gis for the AMD GPU.
| Chain | Shard | Hash Algo | Parameter for Ethminer shard ID |
|---|---|---|---|
| 0 | 0 | Ethash | 1 |
| 1 | 0 | Ethash | 10001 |
| 2 | 0 | Ethash | 20001 |
| 3 | 0 | Ethash | 30001 |
| 4 | 0 | Ethash | 40001 |
| 5 | 0 | Ethash | 50001 |
CPU mining shard ID
Instructions for Qkchash CPU mining
./ethminer --farm http://$CLUSTER_IP:38391 --coinbase $COINBASE_ADDRESS -t <n> --shard-id $SHARD_IDCLUSTER_IPdefines the IP for the Quarkchain cluster. If you want to try the one button quick mining, you can use fullnode.quarkchain.io or fullnode2.quarkchain.io.--shard-iddefines one specify shard to mine. shard id 60001 and 70001 are Qkchash.--coinbasedefines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.-tlimits number of CPU miners to n
| Chain | Shard | Hash Algo | Parameter for Ethminer shard ID |
|---|---|---|---|
| 6 | 0 | Qkchash | 60001 |
| 7 | 0 | Qkchash | 70001 |
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet1.5.0
To run in Docker
# recommend using some window management tool to start
# different programs, for example `screen` or `tmux`.
$ docker run -it -p 38291:38291 -p 38391:38391 -p 38491:38491 -p 38291:38291/udp quarkchaindocker/pyquarkchain:<version tag>
# if you already have synced data available, can mount it during running docker (note the -v flag)
$ docker run -v /path/to/data:/code/pyquarkchain/quarkchain/cluster/qkc-data/mainnet -it -p 38291:38291 -p 38391:38391 -p 38491:38491 -p 38291:38291/udp quarkchaindocker/pyquarkchain:<version tag>
mainnet-index1.5.0
Disclaimer
Same as mainnet1.5.0 release but with transaction history switched on.
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet-index1.5.0
mainnet1.4.3
Disclaimer
This release potentially involves consensus changes. To avoid wasting mining power, please upgrade the cluster to this release as soon as possible.
Updates
- * Fixes transaction receipt bundling for failed contract creation transaction
- * Fixes a VM opcode implementation
- Implements total token balance accounting method in JSONRPC
- Various small fixes and improvements
(Those items listed with asterisk * mean they could lead to consensus disagreements if clients are not updated accordingly.)
Notes
To change miner coinbase address:
./change_coinbase.sh 1000000000000000000000000000000000000000
For downloading snapshots:
curl https://s3-us-west-2.amazonaws.com/qkcmainnet/data/`curl https://s3-us-west-2.amazonaws.com/qkcmainnet/data/LATEST`.tar.gz --output data.tar.gz
Snapshots in China:
curl https://s3.cn-north-1.amazonaws.com.cn/qkcmainnet-cn/data/`curl https://s3.cn-north-1.amazonaws.com.cn/qkcmainnet-cn/data/LATEST`.tar.gz --output data.tar.gz
Running cluster after modifying config:
# inside the container
python3 quarkchain/cluster/cluster.py --cluster_config <config>
or
./run_cluster.py
Network ID
1
GPU mining shard ID
Instructions for Ethash GPU mining
ethminer -U http://$CLUSTER_IP:38391 --shard-id $SHARD_ID --cuda-devices $GPU_ID --farm-recheck $TIME --coinbase $COINBASE_ADDRESSCLUSTER_IPdefines the IP for the Quarkchain cluster. If you want to try the one button quick mining, you can use fullnode.quarkchain.io or fullnode2.quarkchain.io.--shard-iddefines one specify shard to mine. shard id 1, 10001, 20001, 30001, 40001, 50001 are Ethash.--cuda-devicesdefines specify GPUs to mine.--farm-recheckdefines check interval in milliseconds for changed work. For example 1000.--coinbasedefines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.-Uis for the CUDA GPU and-Gis for the AMD GPU.
| Chain | Shard | Hash Algo | Parameter for Ethminer shard ID |
|---|---|---|---|
| 0 | 0 | Ethash | 1 |
| 1 | 0 | Ethash | 10001 |
| 2 | 0 | Ethash | 20001 |
| 3 | 0 | Ethash | 30001 |
| 4 | 0 | Ethash | 40001 |
| 5 | 0 | Ethash | 50001 |
CPU mining shard ID
Instructions for Qkchash CPU mining
./ethminer --farm http://$CLUSTER_IP:38391 --coinbase $COINBASE_ADDRESS -t <n> --shard-id $SHARD_IDCLUSTER_IPdefines the IP for the Quarkchain cluster. If you want to try the one button quick mining, you can use fullnode.quarkchain.io or fullnode2.quarkchain.io.--shard-iddefines one specify shard to mine. shard id 60001 and 70001 are Qkchash.--coinbasedefines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.-tlimits number of CPU miners to n
| Chain | Shard | Hash Algo | Parameter for Ethminer shard ID |
|---|---|---|---|
| 6 | 0 | Qkchash | 60001 |
| 7 | 0 | Qkchash | 70001 |
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet1.4.3
mainnet-index1.4.3
Disclaimer
Same as mainnet1.4.3 release but with transaction history switched on.
Download Docker Image
docker pull quarkchaindocker/pyquarkchain:mainnet-index1.4.3