Skip to content

Releases: QuarkChain/pyquarkchain

Mainnet v1.0.3

25 Jun 21:18
Compare
Choose a tag to compare

Updates

  • Improve cluster memory footprint (also, recommend to run the cluster using python3)
  • Update transaction queue to support sending future tx (i.e. tx with nonces greater than current one)
  • Update JSONRPC sendTransaction API field name

Notes

miner_address.py respects QKC_CONFIG environment variable:

QKC_CONFIG=`pwd`/mainnet/singularity/cluster_config_template.json python3 quarkchain/tools/miner_address.py 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>

Network ID

1

Shard Information

Same as testnet 26.

Instructions for running cluster and mining

For specifying shards in external_miner.py (-s or --shards)

Chain Shard Hash Algo Parameter for external_miner.py
0 0 Ethash 1
1 0 Ethash 65537
2 0 Ethash 131073
3 0 Ethash 196609
4 0 Ethash 262145
5 0 Ethash 327681
6 0 Qkchash 393217
7 0 Qkchash 458753

GPU mining shard ID

Instructions for Ethash GPU mining

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

Download Docker Image

docker pull quarkchaindocker/pyquarkchain:mainnet1.0.3

Mainnet v1.0.2

03 Jun 21:35
Compare
Choose a tag to compare

Important fixes

  • Update 5th and 6th bootnode IP
  • Fix a potential DDoS vulnerability
  • Improve several JSONRPC queries

Notes

miner_address.py respects QKC_CONFIG environment variable:

QKC_CONFIG=`pwd`/mainnet/singularity/cluster_config_template.json python3 quarkchain/tools/miner_address.py 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

Network ID

1

Shard Information

Same as testnet 26.

Instructions for running cluster and mining

For specifying shards in external_miner.py (-s or --shards)

Chain Shard Hash Algo Parameter for external_miner.py
0 0 Ethash 1
1 0 Ethash 65537
2 0 Ethash 131073
3 0 Ethash 196609
4 0 Ethash 262145
5 0 Ethash 327681
6 0 Qkchash 393217
7 0 Qkchash 458753

GPU mining shard ID

Instructions for Ethash GPU mining

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

Download Docker Image

docker pull quarkchaindocker/pyquarkchain:mainnet1.0.2

Mainnet v1.0.1

30 Apr 17:21
b2c7c02
Compare
Choose a tag to compare

Important fixes

  • Add mainnet config
  • PoSW fixes

Notes

miner_address.py respects QKC_CONFIG environment variable:

QKC_CONFIG=`pwd`/mainnet/singularity/cluster_config_template.json python3 quarkchain/tools/miner_address.py 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

Network ID

1

Shard Information

Same as testnet 26.

Instructions for running cluster and mining

For specifying shards in external_miner.py (-s or --shards)

Chain Shard Hash Algo Parameter for external_miner.py
0 0 Ethash 1
1 0 Ethash 65537
2 0 Ethash 131073
3 0 Ethash 196609
4 0 Ethash 262145
5 0 Ethash 327681
6 0 Qkchash 393217
7 0 Qkchash 458753

GPU mining shard ID

Instructions for Ethash GPU mining

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

Download Docker Image

docker pull quarkchaindocker/pyquarkchain:mainnet1.0.1

Testnet v2.6.0

24 Apr 02:47
Compare
Choose a tag to compare

Important fixes

  • Fix incorrect transaction fee if transaction fails
  • Optimize root block synchronizer
  • PoSW allows transferring tokens under locked limit
  • P2P includes network id in discovery
  • Several security and ledger fixes

Change

  • JSONRPC ports now are closed by default. Please update cluster_config_template.json and set it to be "0.0.0.0" if you want to enable remote mining
  • miner_address.py for updating coinbase addresses respects QKC_CONFIG environment variable:
QKC_CONFIG=/code/pyquarkchain/testnet/2.6/cluster_config_template.json miner_address.py <COINBASE>
  • Transactions are disabled (same as the first phase of mainnet)

Network ID

26

Shard Information

Instructions for running cluster and mining

For specifying shards in external_miner.py (-s or --shards)

Chain Shard Hash Algo Parameter for external_miner.py
0 0 Ethash 1
1 0 Ethash 65537
2 0 Ethash 131073
3 0 Ethash 196609
4 0 Ethash 262145
5 0 Ethash 327681
6 0 Qkchash 393217
7 0 Qkchash 458753

Testnet 2.6 GPU mining shard ID

Instructions for Ethash GPU mining

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

Download Docker Image

docker pull ninjaahhh/pyquarkchain:testnet2.6.0

Testnet v2.5.4

29 Mar 21:59
bf19c70
Compare
Choose a tag to compare

Important fixes

  • Fix P2P connection pollution
    • Add dial-in and dial-out blacklists
    • Update discovery protocol to avoid connecting other networks
  • Fix restart errors when syncing older root blocks
  • Fix root block header list missing in p2p downloading

Network ID

25

Download Docker Image

docker pull ninjaahhh/pyquarkchain:testnet2.5.4

Testnet v2.5.2

15 Mar 23:27
Compare
Choose a tag to compare

Improvements

  • Fix coinbase token map check
  • Prevent tx with invalid token

Network ID

25

Download Docker Image

docker pull ninjaahhh/pyquarkchain:testnet2.5.2

Testnet v2.5.1

13 Mar 21:37
13bef26
Compare
Choose a tag to compare

Differences comparing with the previous testnet:

  • Fixed-supply token model with dynamically-added shards/chains
    • Details will be public soon
  • Several data structure updates for forward-compatibility
  • Various fixes and improvements

Instructions for running cluster and mining

For specifying shards in external_miner.py (-s or --shards)

Chain Shard Hash Algo Parameter for external_miner.py
0 0 Ethash 1
1 0 Ethash 65537
2 0 Ethash 131073
3 0 Ethash 196609
4 0 Double Sha256 262146
4 1 Double Sha256 262147
5 0 Qkchash 327682
5 1 Qkchash 327683

Testnet 2.5 GPU mining shard ID

Instructions for Ethash GPU mining

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
docker push ninjaahhh/pyquarkchain:2.5.1

Testnet v2.4.0

01 Feb 23:20
Compare
Choose a tag to compare

Testnet 2.4 Overview

Three major differences comparing with the previous testnet:

  • Shard ID encoding in our address definition
  • Initial support for multi-native-tokens
  • Enabling and testing Proof of Staked Work hybrid consensus

Instructions for running cluster and mining

For specifying shards in external_miner.py (-s or --shards)

Chain Shard Hash Algo Parameter for external_miner.py
0 0 Ethash 1
1 0 Ethash 65537
2 0 Ethash 131073
3 0 Ethash 196609
4 0 Double Sha256 262146
4 1 Double Sha256 262147
5 0 Qkchash 327682
5 1 Qkchash 327683

Testnet 2.4 GPU mining shard ID

Instructions for Ethash GPU mining

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
docker pull qcgg/pyquarkchain:testnet2.4.0

Testnet v2.3.3

20 Dec 23:17
ed818eb
Compare
Choose a tag to compare

Improvements

  • Fix race conditions during frequent PoW submissions
  • Default to python3 for external miner

Network ID

23

Download Docker Image

docker pull ninjaahhh/pyquarkchain:testnet2.3.3

Testnet v2.3.1

18 Dec 20:35
389527f
Compare
Choose a tag to compare

Improvements

  • Improve timeout logic to avoid cluster trapped in bad states
  • Gracefully shutdown clusters when master & slave servers lost the connection
  • Logging improvement & removing unused code

Network ID

23

Download Docker Image

docker pull ninjaahhh/pyquarkchain:testnet2.3.1