Skip to content

Commit

Permalink
Update mainnet config for root chain posw (#653)
Browse files Browse the repository at this point in the history
* update mainnet config for root chain posw

* update enable BOOST_TIMESTAMP

* update mainnet BOOST_TIMESTAMP
  • Loading branch information
ping-ke authored Mar 29, 2022
1 parent 402f03a commit 0d90301
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 13 deletions.
15 changes: 13 additions & 2 deletions mainnet/singularity/cluster_config_bootnodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"GENESIS_DIR": null,
"QUARKCHAIN": {
"CHAIN_SIZE": 8,
"BASE_ETH_CHAIN_ID":100000,
"MAX_NEIGHBORS": 32,
"NETWORK_ID": 1,
"TRANSACTION_QUEUE_SIZE_LIMIT_PER_SHARD": 10000,
Expand All @@ -28,7 +29,6 @@
"ENABLE_TX_TIMESTAMP": 1561791600,
"ENABLE_EVM_TIMESTAMP": 1569567600,
"ENABLE_EIP155_SIGNER_TIMESTAMP": 1631577600,
"BASE_ETH_CHAIN_ID":100000,
"ENABLE_QKCHASHX_HEIGHT": 1480000,
"ENABLE_NON_RESERVED_NATIVE_TOKEN_TIMESTAMP": 1588291200,
"ENABLE_GENERAL_NATIVE_TOKEN_TIMESTAMP": 1588291200,
Expand Down Expand Up @@ -85,7 +85,18 @@
"COINBASE_AMOUNT": 156000000000000000000,
"DIFFICULTY_ADJUSTMENT_CUTOFF_TIME": 40,
"DIFFICULTY_ADJUSTMENT_FACTOR": 1024,
"EPOCH_INTERVAL": 525600
"EPOCH_INTERVAL": 525600,
"POSW_CONFIG": {
"ENABLED": true,
"ENABLE_TIMESTAMP": 1569567600,
"DIFF_DIVIDER": 10000,
"WINDOW_SIZE": 512,
"TOTAL_STAKE_PER_BLOCK": 1000000000000000000000000,
"BOOST_TIMESTAMP": 1649736000,
"BOOST_MULTIPLIER_PER_STEP": 2,
"BOOST_STEPS": 13,
"BOOST_STEP_INTERVAL": 86400
}
},
"CHAINS": [
{
Expand Down
8 changes: 4 additions & 4 deletions mainnet/singularity/cluster_config_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"GENESIS_DIR": null,
"QUARKCHAIN": {
"CHAIN_SIZE": 8,
"BASE_ETH_CHAIN_ID":100000,
"MAX_NEIGHBORS": 32,
"NETWORK_ID": 1,
"TRANSACTION_QUEUE_SIZE_LIMIT_PER_SHARD": 10000,
Expand All @@ -27,7 +28,6 @@
"ENABLE_EVM_TIMESTAMP": 1569567600,
"ENABLE_QKCHASHX_HEIGHT": 1480000,
"ENABLE_EIP155_SIGNER_TIMESTAMP": 1631577600,
"BASE_ETH_CHAIN_ID":100000,
"ENABLE_NON_RESERVED_NATIVE_TOKEN_TIMESTAMP": 1588291200,
"ENABLE_GENERAL_NATIVE_TOKEN_TIMESTAMP": 1588291200,
"ENABLE_POSW_STAKING_DECAY_TIMESTAMP": 1588291200,
Expand Down Expand Up @@ -90,10 +90,10 @@
"DIFF_DIVIDER": 10000,
"WINDOW_SIZE": 512,
"TOTAL_STAKE_PER_BLOCK": 1000000000000000000000000,
"BOOST_TIMESTAMP": 1646064000,
"BOOST_TIMESTAMP": 1649736000,
"BOOST_MULTIPLIER_PER_STEP": 2,
"BOOST_STEPS": 10,
"BOOST_STEP_INTERVAL": 172800
"BOOST_STEPS": 13,
"BOOST_STEP_INTERVAL": 86400
}
},
"CHAINS": [
Expand Down
24 changes: 17 additions & 7 deletions mainnet/singularity/cluster_config_template_8nodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"GENESIS_DIR": null,
"QUARKCHAIN": {
"CHAIN_SIZE": 8,
"BASE_ETH_CHAIN_ID":100000,
"MAX_NEIGHBORS": 32,
"NETWORK_ID": 1,
"TRANSACTION_QUEUE_SIZE_LIMIT_PER_SHARD": 10000,
Expand All @@ -27,7 +28,6 @@
"ENABLE_EVM_TIMESTAMP": 1569567600,
"ENABLE_QKCHASHX_HEIGHT": 1480000,
"ENABLE_EIP155_SIGNER_TIMESTAMP": 1631577600,
"BASE_ETH_CHAIN_ID":100000,
"ENABLE_NON_RESERVED_NATIVE_TOKEN_TIMESTAMP": 1588291200,
"ENABLE_GENERAL_NATIVE_TOKEN_TIMESTAMP": 1588291200,
"TX_WHITELIST_SENDERS": [
Expand Down Expand Up @@ -82,7 +82,18 @@
"COINBASE_AMOUNT": 156000000000000000000,
"DIFFICULTY_ADJUSTMENT_CUTOFF_TIME": 40,
"DIFFICULTY_ADJUSTMENT_FACTOR": 1024,
"EPOCH_INTERVAL": 525600
"EPOCH_INTERVAL": 525600,
"POSW_CONFIG": {
"ENABLED": true,
"ENABLE_TIMESTAMP": 1569567600,
"DIFF_DIVIDER": 10000,
"WINDOW_SIZE": 512,
"TOTAL_STAKE_PER_BLOCK": 1000000000000000000000000,
"BOOST_TIMESTAMP": 1649736000,
"BOOST_MULTIPLIER_PER_STEP": 2,
"BOOST_STEPS": 13,
"BOOST_STEP_INTERVAL": 86400
}
},
"CHAINS": [
{
Expand Down Expand Up @@ -123,11 +134,10 @@
"DIFFICULTY_ADJUSTMENT_FACTOR": 512,
"EXTRA_SHARD_BLOCKS_IN_ROOT_BLOCK": 12,
"POSW_CONFIG": {
"ENABLED": true,
"ENABLE_TIMESTAMP": 1569567600,
"DIFF_DIVIDER": 10000,
"WINDOW_SIZE": 512,
"TOTAL_STAKE_PER_BLOCK": 1000000000000000000000000
"ENABLED": false,
"DIFF_DIVIDER": 20,
"WINDOW_SIZE": 256,
"TOTAL_STAKE_PER_BLOCK": 0
},
"EPOCH_INTERVAL": 3153600
},
Expand Down

0 comments on commit 0d90301

Please sign in to comment.