mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 14:46:44 +00:00
Lower minimum difficulty for mainnet and testnet (#1220)
This commit is contained in:
parent
2c1688909d
commit
a9e0c33e5c
@ -32,8 +32,8 @@ var (
|
||||
mainPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 255), bigOne)
|
||||
|
||||
// testnetPowMax is the highest proof of work value a Kaspa block
|
||||
// can have for the test network. It is the value 2^239 - 1.
|
||||
testnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 239), bigOne)
|
||||
// can have for the test network. It is the value 2^255 - 1.
|
||||
testnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 255), bigOne)
|
||||
|
||||
// simnetPowMax is the highest proof of work value a Kaspa block
|
||||
// can have for the simulation test network. It is the value 2^255 - 1.
|
||||
@ -41,8 +41,8 @@ var (
|
||||
|
||||
// devnetPowMax is the highest proof of work value a Kaspa block
|
||||
// can have for the development network. It is the value
|
||||
// 2^239 - 1.
|
||||
devnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 239), bigOne)
|
||||
// 2^255 - 1.
|
||||
devnetPowMax = new(big.Int).Sub(new(big.Int).Lsh(bigOne, 255), bigOne)
|
||||
)
|
||||
|
||||
// KType defines the size of GHOSTDAG consensus algorithm K parameter.
|
||||
|
Loading…
x
Reference in New Issue
Block a user