diff --git a/core/types/utxo.go b/core/types/utxo.go index 0379053143..4e227c1e91 100644 --- a/core/types/utxo.go +++ b/core/types/utxo.go @@ -47,12 +47,12 @@ func init() { Denominations[14] = big.NewInt(1000000000) // 1000000 Qi TrimDepths = make(map[uint8]uint64) - TrimDepths[0] = 720 // 2 hours - TrimDepths[1] = 720 // 2 hours - TrimDepths[2] = 1080 // 3 hours - TrimDepths[3] = 1080 // 3 hours - TrimDepths[4] = 2160 // 6 hours - TrimDepths[5] = 4320 // 12 hours + TrimDepths[0] = 20 // 2 hours + TrimDepths[1] = 50 // 2 hours + TrimDepths[2] = 70 // 3 hours + TrimDepths[3] = 90 // 3 hours + TrimDepths[4] = 110 // 6 hours + TrimDepths[5] = 130 // 12 hours } type TxIns []TxIn diff --git a/params/protocol_params.go b/params/protocol_params.go index 78c0e7e444..ce0d985d77 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -152,8 +152,7 @@ const ( NewConversionLockPeriod uint64 = 7200 MinQiConversionDenomination = 10 ConversionConfirmationContext = common.PRIME_CTX // A conversion requires a single coincident Dom confirmation - SoftMaxUTXOSetSize = math.MaxInt // The soft maximum number of UTXOs that can be stored in the UTXO set - MinimumTrimDepth = math.MaxInt // The minimum block depth of the chain to begin trimming + MinimumTrimDepth = 0 // The minimum block depth of the chain to begin trimming QiToQuaiConversionGas = 100000 // The gas used to convert Qi to Quai DefaultCoinbaseLockup = 0 // The default lockup byte for coinbase rewards )