Skip to content

Commit

Permalink
feat: add ReportStatusContract
Browse files Browse the repository at this point in the history
  • Loading branch information
turingczz committed Jul 20, 2022
1 parent 8bb6bf6 commit f889ead
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion experiments.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ type Experiments struct {
HostRepairEnabled bool
HostChallengeEnabled bool
ReportOnline bool
ReportStatus bool
ReportStatusContract bool
}
4 changes: 2 additions & 2 deletions profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ fetching may be degraded.
c.Experimental.StorageHostEnabled = true
c.Experimental.Analytics = true
c.Experimental.ReportOnline = true
c.Experimental.ReportStatus = true
c.Experimental.ReportStatusContract = true
if len(c.Addresses.RemoteAPI) == 0 {
c.Addresses.RemoteAPI = Strings{"/ip4/0.0.0.0/tcp/5101"}
}
Expand Down Expand Up @@ -402,7 +402,7 @@ func transformDevStorageHost(c *Config) error {
c.Experimental.StorageHostEnabled = true
c.Experimental.Analytics = true
c.Experimental.ReportOnline = true
c.Experimental.ReportStatus = true
c.Experimental.ReportStatusContract = true
if len(c.Addresses.RemoteAPI) == 0 {
c.Addresses.RemoteAPI = Strings{"/ip4/0.0.0.0/tcp/5101"}
}
Expand Down

0 comments on commit f889ead

Please sign in to comment.