Skip to content

mainnet1.1.3

Compare
Choose a tag to compare
@jyouyj jyouyj released this 29 Aug 21:44
· 283 commits to master since this release

Disclaimer

Updates

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>
# or
./run_cluster.sh

Network ID

1

Shard Information

Same as testnet 26.

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_ADDRESS
  • CLUSTER_IP defines 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-id defines one specify shard to mine. shard id 1, 10001, 20001, 30001, 40001, 50001 are Ethash.
  • --cuda-devices defines specify GPUs to mine.
  • --farm-recheck defines check interval in milliseconds for changed work. For example 1000.
  • --coinbase defines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.
  • -U is for the CUDA GPU and -G is 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_ID
  • CLUSTER_IP defines 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-id defines one specify shard to mine. shard id 60001 and 70001 are Qkchash.
  • --coinbase defines your mining coinbase address. Please use 20 bytes address generated the same way as an Ethereum address.
  • -t limits 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.1.3