From 098f9d7acf71ff0fcdaa7dc6f7730b26721eb2c5 Mon Sep 17 00:00:00 2001 From: Jonathan Downing Date: Thu, 19 Sep 2024 16:09:11 -0500 Subject: [PATCH] Reducing trim depths for test --- core/types/utxo.go | 14 +++++++------- params/protocol_params.go | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/types/utxo.go b/core/types/utxo.go index 7273e7fde..8949c8db6 100644 --- a/core/types/utxo.go +++ b/core/types/utxo.go @@ -47,13 +47,13 @@ func init() { Denominations[16] = 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[6] = 8640 // 24 hours + TrimDepths[0] = 120 // 2 hours + TrimDepths[1] = 120 // 2 hours + TrimDepths[2] = 180 // 3 hours + TrimDepths[3] = 180 // 3 hours + TrimDepths[4] = 160 // 6 hours + TrimDepths[5] = 320 // 12 hours + TrimDepths[6] = 640 // 24 hours } type TxIns []TxIn diff --git a/params/protocol_params.go b/params/protocol_params.go index 05071360f..04e288847 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -153,7 +153,7 @@ const ( ConversionLockPeriod int64 = 10 // The number of zone blocks that a conversion output is locked for MinQiConversionDenomination = 1 ConversionConfirmationContext = common.PRIME_CTX // A conversion requires a single coincident Dom confirmation - SoftMaxUTXOSetSize = 10000000 // The soft maximum number of UTXOs that can be stored in the UTXO set + SoftMaxUTXOSetSize = 100000 // The soft maximum number of UTXOs that can be stored in the UTXO set ) var (