Commit 6de5e9c7 authored by acud's avatar acud Committed by GitHub

feat: lower reserve capacity (#1775)

parent 5fb06739
48c48 48c48
< var Capacity = exp2(23) < var Capacity = exp2(22)
--- ---
> var Capacity = exp2(10) > var Capacity = exp2(10)
...@@ -42,10 +42,9 @@ var ErrBatchNotFound = errors.New("postage batch not found or expired") ...@@ -42,10 +42,9 @@ var ErrBatchNotFound = errors.New("postage batch not found or expired")
// DefaultDepth is the initial depth for the reserve // DefaultDepth is the initial depth for the reserve
var DefaultDepth = uint8(12) // 12 is the testnet depth at the time of merging to master var DefaultDepth = uint8(12) // 12 is the testnet depth at the time of merging to master
// Capacity is the number of chunks in reserve. `2^23` (8388608) was chosen to remain // Capacity is the number of chunks in reserve. `2^22` (4194304) was chosen to remain
// relatively near the current 5M chunks ~25GB. // relatively near the current 5M chunks ~25GB.
// Utilization is estimated at 50%-60%, which should result in about 4~5mil chunks in reserve. var Capacity = exp2(22)
var Capacity = exp2(23)
var big1 = big.NewInt(1) var big1 = big.NewInt(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment