Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
adjust MaxDealDuration
Browse files Browse the repository at this point in the history
It applies the same change as textileio/broker-core#150

Signed-off-by: Merlin Ran <[email protected]>
  • Loading branch information
merlinran committed Jul 5, 2021
1 parent 4c7dc16 commit 55f5701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auction/auction.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
// MinDealDuration is the minimum allowed deal duration in epochs requested of miners.
MinDealDuration = epochsPerDay * 365 / 2 // ~6 months
// MaxDealDuration is the maximum allowed deal duration in epochs requested of miners.
MaxDealDuration = epochsPerDay * 365 // ~1 year
MaxDealDuration = epochsPerDay * 510 // As far as we know, is the safest max duration that all miners accept.
)

// BidID is a unique identifier for a Bid.
Expand Down

0 comments on commit 55f5701

Please sign in to comment.