Skip to content

Commit

Permalink
Reducing trim depths for test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdowning100 committed Sep 20, 2024
1 parent bfe3267 commit 098f9d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions core/types/utxo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion params/protocol_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 098f9d7

Please sign in to comment.