v1.27.0-a #10

Closed
jonathanface wants to merge 473 commits from v1.27.0-a into master
13 changed files with 780 additions and 660 deletions
Showing only changes of commit 649a1b5153 - Show all commits

View File

@ -25,6 +25,9 @@ type Curio interface {
StorageInfo(context.Context, storiface.ID) (storiface.StorageInfo, error) //perm:admin StorageInfo(context.Context, storiface.ID) (storiface.StorageInfo, error) //perm:admin
StorageFindSector(ctx context.Context, sector abi.SectorID, ft storiface.SectorFileType, ssize abi.SectorSize, allowFetch bool) ([]storiface.SectorStorageInfo, error) //perm:admin StorageFindSector(ctx context.Context, sector abi.SectorID, ft storiface.SectorFileType, ssize abi.SectorSize, allowFetch bool) ([]storiface.SectorStorageInfo, error) //perm:admin
LogList(ctx context.Context) ([]string, error) //perm:read
LogSetLevel(ctx context.Context, subsystem, level string) error //perm:admin
// Trigger shutdown // Trigger shutdown
Shutdown(context.Context) error //perm:admin Shutdown(context.Context) error //perm:admin
} }

View File

@ -122,6 +122,10 @@ type CurioStruct struct {
type CurioMethods struct { type CurioMethods struct {
AllocatePieceToSector func(p0 context.Context, p1 address.Address, p2 PieceDealInfo, p3 int64, p4 url.URL, p5 http.Header) (SectorOffset, error) `perm:"write"` AllocatePieceToSector func(p0 context.Context, p1 address.Address, p2 PieceDealInfo, p3 int64, p4 url.URL, p5 http.Header) (SectorOffset, error) `perm:"write"`
LogList func(p0 context.Context) ([]string, error) `perm:"read"`
LogSetLevel func(p0 context.Context, p1 string, p2 string) error `perm:"admin"`
Shutdown func(p0 context.Context) error `perm:"admin"` Shutdown func(p0 context.Context) error `perm:"admin"`
StorageAddLocal func(p0 context.Context, p1 string) error `perm:"admin"` StorageAddLocal func(p0 context.Context, p1 string) error `perm:"admin"`
@ -1499,6 +1503,28 @@ func (s *CurioStub) AllocatePieceToSector(p0 context.Context, p1 address.Address
return *new(SectorOffset), ErrNotSupported return *new(SectorOffset), ErrNotSupported
} }
func (s *CurioStruct) LogList(p0 context.Context) ([]string, error) {
if s.Internal.LogList == nil {
return *new([]string), ErrNotSupported
}
return s.Internal.LogList(p0)
}
func (s *CurioStub) LogList(p0 context.Context) ([]string, error) {
return *new([]string), ErrNotSupported
}
func (s *CurioStruct) LogSetLevel(p0 context.Context, p1 string, p2 string) error {
if s.Internal.LogSetLevel == nil {
return ErrNotSupported
}
return s.Internal.LogSetLevel(p0, p1, p2)
}
func (s *CurioStub) LogSetLevel(p0 context.Context, p1 string, p2 string) error {
return ErrNotSupported
}
func (s *CurioStruct) Shutdown(p0 context.Context) error { func (s *CurioStruct) Shutdown(p0 context.Context) error {
if s.Internal.Shutdown == nil { if s.Internal.Shutdown == nil {
return ErrNotSupported return ErrNotSupported

File diff suppressed because it is too large Load Diff

View File

@ -242,7 +242,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4373" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4399"
} }
}, },
{ {
@ -473,7 +473,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4384" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4410"
} }
}, },
{ {
@ -572,7 +572,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4395" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4421"
} }
}, },
{ {
@ -604,7 +604,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4406" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4432"
} }
}, },
{ {
@ -710,7 +710,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4417" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4443"
} }
}, },
{ {
@ -803,7 +803,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4428" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4454"
} }
}, },
{ {
@ -887,7 +887,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4439" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4465"
} }
}, },
{ {
@ -987,7 +987,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4450" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4476"
} }
}, },
{ {
@ -1043,7 +1043,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4461" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4487"
} }
}, },
{ {
@ -1116,7 +1116,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4472" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4498"
} }
}, },
{ {
@ -1189,7 +1189,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4483" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4509"
} }
}, },
{ {
@ -1236,7 +1236,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4494" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4520"
} }
}, },
{ {
@ -1268,7 +1268,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4505" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4531"
} }
}, },
{ {
@ -1305,7 +1305,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4527" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4553"
} }
}, },
{ {
@ -1352,7 +1352,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4538" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4564"
} }
}, },
{ {
@ -1392,7 +1392,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4549" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4575"
} }
}, },
{ {
@ -1439,7 +1439,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4560" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4586"
} }
}, },
{ {
@ -1468,7 +1468,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4571" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4597"
} }
}, },
{ {
@ -1605,7 +1605,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4582" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4608"
} }
}, },
{ {
@ -1634,7 +1634,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4593" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4619"
} }
}, },
{ {
@ -1688,7 +1688,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4604" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4630"
} }
}, },
{ {
@ -1779,7 +1779,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4615" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4641"
} }
}, },
{ {
@ -1807,7 +1807,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4626" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4652"
} }
}, },
{ {
@ -1897,7 +1897,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4637" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4663"
} }
}, },
{ {
@ -2153,7 +2153,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4648" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4674"
} }
}, },
{ {
@ -2398,7 +2398,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4659" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4685"
} }
}, },
{ {
@ -2454,7 +2454,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4670" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4696"
} }
}, },
{ {
@ -2501,7 +2501,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4681" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4707"
} }
}, },
{ {
@ -2599,7 +2599,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4692" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4718"
} }
}, },
{ {
@ -2665,7 +2665,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4703" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4729"
} }
}, },
{ {
@ -2731,7 +2731,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4714" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4740"
} }
}, },
{ {
@ -2840,7 +2840,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4725" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4751"
} }
}, },
{ {
@ -2898,7 +2898,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4736" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4762"
} }
}, },
{ {
@ -3020,7 +3020,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4747" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4773"
} }
}, },
{ {
@ -3207,7 +3207,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4758" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4784"
} }
}, },
{ {
@ -3411,7 +3411,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4769" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4795"
} }
}, },
{ {
@ -3502,7 +3502,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4780" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4806"
} }
}, },
{ {
@ -3560,7 +3560,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4791" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4817"
} }
}, },
{ {
@ -3818,7 +3818,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4802" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4828"
} }
}, },
{ {
@ -4093,7 +4093,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4813" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4839"
} }
}, },
{ {
@ -4121,7 +4121,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4824" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4850"
} }
}, },
{ {
@ -4159,7 +4159,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4835" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4861"
} }
}, },
{ {
@ -4267,7 +4267,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4846" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4872"
} }
}, },
{ {
@ -4305,7 +4305,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4857" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4883"
} }
}, },
{ {
@ -4334,7 +4334,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4868" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4894"
} }
}, },
{ {
@ -4397,7 +4397,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4879" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4905"
} }
}, },
{ {
@ -4460,7 +4460,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4890" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4916"
} }
}, },
{ {
@ -4505,7 +4505,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4901" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4927"
} }
}, },
{ {
@ -4627,7 +4627,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4912" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4938"
} }
}, },
{ {
@ -4782,7 +4782,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4923" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4949"
} }
}, },
{ {
@ -4836,7 +4836,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4934" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4960"
} }
}, },
{ {
@ -4890,7 +4890,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4945" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4971"
} }
}, },
{ {
@ -4992,7 +4992,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4956" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4982"
} }
}, },
{ {
@ -5215,7 +5215,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4967" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4993"
} }
}, },
{ {
@ -5398,7 +5398,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4978" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5004"
} }
}, },
{ {
@ -5592,7 +5592,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4989" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5015"
} }
}, },
{ {
@ -5638,7 +5638,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5000" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5026"
} }
}, },
{ {
@ -5788,7 +5788,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5011" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5037"
} }
}, },
{ {
@ -5925,7 +5925,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5022" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5048"
} }
}, },
{ {
@ -5993,7 +5993,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5033" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5059"
} }
}, },
{ {
@ -6110,7 +6110,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5044" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5070"
} }
}, },
{ {
@ -6201,7 +6201,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5055" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5081"
} }
}, },
{ {
@ -6287,7 +6287,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5066" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5092"
} }
}, },
{ {
@ -6314,7 +6314,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5077" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5103"
} }
}, },
{ {
@ -6341,7 +6341,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5088" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5114"
} }
}, },
{ {
@ -6409,7 +6409,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5099" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5125"
} }
}, },
{ {
@ -6915,7 +6915,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5110" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5136"
} }
}, },
{ {
@ -7012,7 +7012,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5121" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5147"
} }
}, },
{ {
@ -7112,7 +7112,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5132" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5158"
} }
}, },
{ {
@ -7212,7 +7212,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5143" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5169"
} }
}, },
{ {
@ -7337,7 +7337,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5154" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5180"
} }
}, },
{ {
@ -7446,7 +7446,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5165" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5191"
} }
}, },
{ {
@ -7549,7 +7549,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5176" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5202"
} }
}, },
{ {
@ -7679,7 +7679,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5187" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5213"
} }
}, },
{ {
@ -7786,7 +7786,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5198" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5224"
} }
}, },
{ {
@ -7847,7 +7847,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5209" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5235"
} }
}, },
{ {
@ -7915,7 +7915,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5220" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5246"
} }
}, },
{ {
@ -7996,7 +7996,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5231" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5257"
} }
}, },
{ {
@ -8155,7 +8155,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5242" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5268"
} }
}, },
{ {
@ -8248,7 +8248,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5253" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5279"
} }
}, },
{ {
@ -8449,7 +8449,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5264" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5290"
} }
}, },
{ {
@ -8560,7 +8560,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5275" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5301"
} }
}, },
{ {
@ -8691,7 +8691,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5286" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5312"
} }
}, },
{ {
@ -8777,7 +8777,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5297" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5323"
} }
}, },
{ {
@ -8804,7 +8804,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5308" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5334"
} }
}, },
{ {
@ -8857,7 +8857,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5319" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5345"
} }
}, },
{ {
@ -8945,7 +8945,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5330" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5356"
} }
}, },
{ {
@ -9396,7 +9396,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5341" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5367"
} }
}, },
{ {
@ -9563,7 +9563,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5352" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5378"
} }
}, },
{ {
@ -9736,7 +9736,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5363" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5389"
} }
}, },
{ {
@ -9804,7 +9804,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5374" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5400"
} }
}, },
{ {
@ -9872,7 +9872,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5385" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5411"
} }
}, },
{ {
@ -10033,7 +10033,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5396" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5422"
} }
}, },
{ {
@ -10078,7 +10078,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5418" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5444"
} }
}, },
{ {
@ -10123,7 +10123,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5429" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5455"
} }
}, },
{ {
@ -10150,7 +10150,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5440" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5466"
} }
} }
] ]

File diff suppressed because it is too large Load Diff

View File

@ -161,7 +161,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7266" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7292"
} }
}, },
{ {
@ -252,7 +252,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7277" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7303"
} }
}, },
{ {
@ -420,7 +420,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7288" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7314"
} }
}, },
{ {
@ -447,7 +447,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7299" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7325"
} }
}, },
{ {
@ -597,7 +597,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7310" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7336"
} }
}, },
{ {
@ -700,7 +700,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7321" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7347"
} }
}, },
{ {
@ -803,7 +803,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7332" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7358"
} }
}, },
{ {
@ -925,7 +925,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7343" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7369"
} }
}, },
{ {
@ -1135,7 +1135,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7354" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7380"
} }
}, },
{ {
@ -1306,7 +1306,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7365" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7391"
} }
}, },
{ {
@ -3350,7 +3350,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7376" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7402"
} }
}, },
{ {
@ -3470,7 +3470,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7387" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7413"
} }
}, },
{ {
@ -3531,7 +3531,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7398" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7424"
} }
}, },
{ {
@ -3569,7 +3569,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7409" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7435"
} }
}, },
{ {
@ -3729,7 +3729,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7420" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7446"
} }
}, },
{ {
@ -3913,7 +3913,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7431" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7457"
} }
}, },
{ {
@ -4054,7 +4054,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7442" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7468"
} }
}, },
{ {
@ -4107,7 +4107,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7453" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7479"
} }
}, },
{ {
@ -4250,7 +4250,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7464" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7490"
} }
}, },
{ {
@ -4474,7 +4474,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7475" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7501"
} }
}, },
{ {
@ -4601,7 +4601,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7486" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7512"
} }
}, },
{ {
@ -4768,7 +4768,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7497" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7523"
} }
}, },
{ {
@ -4895,7 +4895,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7508" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7534"
} }
}, },
{ {
@ -4933,7 +4933,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7519" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7545"
} }
}, },
{ {
@ -4972,7 +4972,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7530" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7556"
} }
}, },
{ {
@ -4995,7 +4995,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7541" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7567"
} }
}, },
{ {
@ -5034,7 +5034,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7552" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7578"
} }
}, },
{ {
@ -5057,7 +5057,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7563" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7589"
} }
}, },
{ {
@ -5096,7 +5096,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7574" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7600"
} }
}, },
{ {
@ -5130,7 +5130,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7585" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7611"
} }
}, },
{ {
@ -5184,7 +5184,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7596" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7622"
} }
}, },
{ {
@ -5223,7 +5223,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7607" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7633"
} }
}, },
{ {
@ -5262,7 +5262,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7618" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7644"
} }
}, },
{ {
@ -5297,7 +5297,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7629" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7655"
} }
}, },
{ {
@ -5477,7 +5477,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7640" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7666"
} }
}, },
{ {
@ -5506,7 +5506,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7651" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7677"
} }
}, },
{ {
@ -5529,7 +5529,7 @@
"deprecated": false, "deprecated": false,
"externalDocs": { "externalDocs": {
"description": "Github remote link", "description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7662" "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7688"
} }
} }
] ]

View File

@ -2,7 +2,9 @@ package main
import ( import (
"bufio" "bufio"
"context"
"encoding/base64" "encoding/base64"
"errors"
"fmt" "fmt"
"net" "net"
"os" "os"
@ -195,5 +197,50 @@ var cliCmd = &cli.Command{
}, },
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{
storageCmd, storageCmd,
logCmd,
waitApiCmd,
},
}
var waitApiCmd = &cli.Command{
Name: "wait-api",
Usage: "Wait for Curio api to come online",
Flags: []cli.Flag{
&cli.DurationFlag{
Name: "timeout",
Usage: "duration to wait till fail",
Value: time.Second * 30,
},
},
Action: func(cctx *cli.Context) error {
ctx := lcli.ReqContext(cctx)
ctx, cancel := context.WithTimeout(ctx, cctx.Duration("timeout"))
defer cancel()
for {
if ctx.Err() != nil {
break
}
api, closer, err := rpc.GetCurioAPI(cctx)
if err != nil {
fmt.Printf("Not online yet... (%s)\n", err)
time.Sleep(time.Second)
continue
}
defer closer()
_, err = api.Version(ctx)
if err != nil {
return err
}
return nil
}
if errors.Is(ctx.Err(), context.DeadlineExceeded) {
return fmt.Errorf("timed out waiting for api to come online")
}
return ctx.Err()
}, },
} }

105
cmd/curio/log.go Normal file
View File

@ -0,0 +1,105 @@
package main
import (
"fmt"
"github.com/urfave/cli/v2"
"golang.org/x/xerrors"
lcli "github.com/filecoin-project/lotus/cli"
"github.com/filecoin-project/lotus/cmd/curio/rpc"
)
var logCmd = &cli.Command{
Name: "log",
Usage: "Manage logging",
Subcommands: []*cli.Command{
LogList,
LogSetLevel,
},
}
var LogList = &cli.Command{
Name: "list",
Usage: "List log systems",
Action: func(cctx *cli.Context) error {
minerApi, closer, err := rpc.GetCurioAPI(cctx)
if err != nil {
return err
}
defer closer()
ctx := lcli.ReqContext(cctx)
systems, err := minerApi.LogList(ctx)
if err != nil {
return err
}
for _, system := range systems {
fmt.Println(system)
}
return nil
},
}
var LogSetLevel = &cli.Command{
Name: "set-level",
Usage: "Set log level",
ArgsUsage: "[level]",
Description: `Set the log level for logging systems:
The system flag can be specified multiple times.
eg) log set-level --system chain --system chainxchg debug
Available Levels:
debug
info
warn
error
Environment Variables:
GOLOG_LOG_LEVEL - Default log level for all log systems
GOLOG_LOG_FMT - Change output log format (json, nocolor)
GOLOG_FILE - Write logs to file
GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr
`,
Flags: []cli.Flag{
&cli.StringSliceFlag{
Name: "system",
Usage: "limit to log system",
Value: &cli.StringSlice{},
},
},
Action: func(cctx *cli.Context) error {
minerApi, closer, err := rpc.GetCurioAPI(cctx)
if err != nil {
return err
}
defer closer()
ctx := lcli.ReqContext(cctx)
if !cctx.Args().Present() {
return fmt.Errorf("level is required")
}
systems := cctx.StringSlice("system")
if len(systems) == 0 {
var err error
systems, err = minerApi.LogList(ctx)
if err != nil {
return err
}
}
for _, system := range systems {
if err := minerApi.LogSetLevel(ctx, system, cctx.Args().First()); err != nil {
return xerrors.Errorf("setting log level on %s: %v", system, err)
}
}
return nil
},
}

View File

@ -8,10 +8,14 @@ import (
"runtime/pprof" "runtime/pprof"
"syscall" "syscall"
"github.com/docker/go-units"
"github.com/fatih/color" "github.com/fatih/color"
logging "github.com/ipfs/go-log/v2" logging "github.com/ipfs/go-log/v2"
"github.com/mitchellh/go-homedir" "github.com/mitchellh/go-homedir"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"golang.org/x/xerrors"
"github.com/filecoin-project/go-paramfetch"
"github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/build"
lcli "github.com/filecoin-project/lotus/cli" lcli "github.com/filecoin-project/lotus/cli"
@ -45,7 +49,6 @@ func main() {
lotuslog.SetupLogLevels() lotuslog.SetupLogLevels()
local := []*cli.Command{ local := []*cli.Command{
//initCmd,
cliCmd, cliCmd,
runCmd, runCmd,
stopCmd, stopCmd,
@ -55,6 +58,7 @@ func main() {
guidedsetup.GuidedsetupCmd, guidedsetup.GuidedsetupCmd,
sealCmd, sealCmd,
marketCmd, marketCmd,
fetchParamCmd,
} }
jaeger := tracing.SetupJaegerTracing("curio") jaeger := tracing.SetupJaegerTracing("curio")
@ -140,7 +144,7 @@ func main() {
}, },
cliutil.FlagVeryVerbose, cliutil.FlagVeryVerbose,
}, },
Commands: append(local, lcli.CommonCommands...), Commands: local,
After: func(c *cli.Context) error { After: func(c *cli.Context) error {
if r := recover(); r != nil { if r := recover(); r != nil {
p, err := homedir.Expand(c.String(FlagMinerRepo)) p, err := homedir.Expand(c.String(FlagMinerRepo))
@ -160,3 +164,26 @@ func main() {
app.Metadata["repoType"] = repo.Curio app.Metadata["repoType"] = repo.Curio
lcli.RunApp(app) lcli.RunApp(app)
} }
var fetchParamCmd = &cli.Command{
Name: "fetch-params",
Usage: "Fetch proving parameters",
ArgsUsage: "[sectorSize]",
Action: func(cctx *cli.Context) error {
if cctx.NArg() != 1 {
return xerrors.Errorf("incorrect number of arguments")
}
sectorSizeInt, err := units.RAMInBytes(cctx.Args().First())
if err != nil {
return xerrors.Errorf("error parsing sector size (specify as \"32GiB\", for instance): %w", err)
}
sectorSize := uint64(sectorSizeInt)
err = paramfetch.GetParams(lcli.ReqContext(cctx), build.ParametersJSON(), build.SrsJSON(), sectorSize)
if err != nil {
return xerrors.Errorf("fetching proof parameters: %w", err)
}
return nil
},
}

View File

@ -181,6 +181,14 @@ func (p *CurioAPI) StorageAddLocal(ctx context.Context, path string) error {
return nil return nil
} }
func (p *CurioAPI) LogList(ctx context.Context) ([]string, error) {
return logging.GetSubsystems(), nil
}
func (p *CurioAPI) LogSetLevel(ctx context.Context, subsystem, level string) error {
return logging.SetLogLevel(subsystem, level)
}
func ListenAndServe(ctx context.Context, dependencies *deps.Deps, shutdownChan chan struct{}) error { func ListenAndServe(ctx context.Context, dependencies *deps.Deps, shutdownChan chan struct{}) error {
fh := &paths.FetchHandler{Local: dependencies.LocalStore, PfHandler: &paths.DefaultPartialFileHandler{}} fh := &paths.FetchHandler{Local: dependencies.LocalStore, PfHandler: &paths.DefaultPartialFileHandler{}}
remoteHandler := func(w http.ResponseWriter, r *http.Request) { remoteHandler := func(w http.ResponseWriter, r *http.Request) {

View File

@ -8,6 +8,8 @@ import (
"github.com/samber/lo" "github.com/samber/lo"
"golang.org/x/xerrors" "golang.org/x/xerrors"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/lotus/cmd/curio/deps" "github.com/filecoin-project/lotus/cmd/curio/deps"
curio "github.com/filecoin-project/lotus/curiosrc" curio "github.com/filecoin-project/lotus/curiosrc"
"github.com/filecoin-project/lotus/curiosrc/chainsched" "github.com/filecoin-project/lotus/curiosrc/chainsched"
@ -137,8 +139,13 @@ func StartTasks(ctx context.Context, dependencies *deps.Deps) (*harmonytask.Task
} }
} }
log.Infow("This lotus_provider instance handles", minerAddresses := make([]string, 0, len(maddrs))
"miner_addresses", maddrs, for k := range maddrs {
minerAddresses = append(minerAddresses, address.Address(k).String())
}
log.Infow("This Curio instance handles",
"miner_addresses", minerAddresses,
"tasks", lo.Map(activeTasks, func(t harmonytask.TaskInterface, _ int) string { return t.TypeDetails().Name })) "tasks", lo.Map(activeTasks, func(t harmonytask.TaskInterface, _ int) string { return t.TypeDetails().Name }))
// harmony treats the first task as highest priority, so reverse the order // harmony treats the first task as highest priority, so reverse the order

View File

@ -4,6 +4,9 @@
* [Version](#Version) * [Version](#Version)
* [Allocate](#Allocate) * [Allocate](#Allocate)
* [AllocatePieceToSector](#AllocatePieceToSector) * [AllocatePieceToSector](#AllocatePieceToSector)
* [Log](#Log)
* [LogList](#LogList)
* [LogSetLevel](#LogSetLevel)
* [Storage](#Storage) * [Storage](#Storage)
* [StorageAddLocal](#StorageAddLocal) * [StorageAddLocal](#StorageAddLocal)
* [StorageDetachLocal](#StorageDetachLocal) * [StorageDetachLocal](#StorageDetachLocal)
@ -110,6 +113,38 @@ Response:
} }
``` ```
## Log
### LogList
Perms: read
Inputs: `null`
Response:
```json
[
"string value"
]
```
### LogSetLevel
Perms: admin
Inputs:
```json
[
"string value",
"string value"
]
```
Response: `{}`
## Storage ## Storage

View File

@ -19,11 +19,7 @@ COMMANDS:
guided-setup Run the guided setup for migrating from lotus-miner to Curio or Creating a new Curio miner guided-setup Run the guided setup for migrating from lotus-miner to Curio or Creating a new Curio miner
seal Manage the sealing pipeline seal Manage the sealing pipeline
market market
auth Manage RPC permissions
log Manage logging
wait-api Wait for lotus api to come online
fetch-params Fetch proving parameters fetch-params Fetch proving parameters
version Print version
help, h Shows a list of commands or help for one command help, h Shows a list of commands or help for one command
GLOBAL OPTIONS: GLOBAL OPTIONS:
@ -49,6 +45,8 @@ USAGE:
COMMANDS: COMMANDS:
storage manage sector storage storage manage sector storage
log Manage logging
wait-api Wait for Curio api to come online
help, h Shows a list of commands or help for one command help, h Shows a list of commands or help for one command
OPTIONS: OPTIONS:
@ -60,6 +58,14 @@ OPTIONS:
``` ```
``` ```
### curio cli log
```
```
### curio cli wait-api
```
```
## curio run ## curio run
``` ```
NAME: NAME:
@ -378,138 +384,6 @@ OPTIONS:
--help, -h show help --help, -h show help
``` ```
## curio auth
```
NAME:
curio auth - Manage RPC permissions
USAGE:
curio auth command [command options] [arguments...]
COMMANDS:
create-token Create token
api-info Get token with API info required to connect to this node
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
```
### curio auth create-token
```
NAME:
curio auth create-token - Create token
USAGE:
curio auth create-token [command options] [arguments...]
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
--help, -h show help
```
### curio auth api-info
```
NAME:
curio auth api-info - Get token with API info required to connect to this node
USAGE:
curio auth api-info [command options] [arguments...]
OPTIONS:
--perm value permission to assign to the token, one of: read, write, sign, admin
--help, -h show help
```
## curio log
```
NAME:
curio log - Manage logging
USAGE:
curio log command [command options] [arguments...]
COMMANDS:
list List log systems
set-level Set log level
alerts Get alert states
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
```
### curio log list
```
NAME:
curio log list - List log systems
USAGE:
curio log list [command options] [arguments...]
OPTIONS:
--help, -h show help
```
### curio log set-level
```
NAME:
curio log set-level - Set log level
USAGE:
curio log set-level [command options] [level]
DESCRIPTION:
Set the log level for logging systems:
The system flag can be specified multiple times.
eg) log set-level --system chain --system chainxchg debug
Available Levels:
debug
info
warn
error
Environment Variables:
GOLOG_LOG_LEVEL - Default log level for all log systems
GOLOG_LOG_FMT - Change output log format (json, nocolor)
GOLOG_FILE - Write logs to file
GOLOG_OUTPUT - Specify whether to output to file, stderr, stdout or a combination, i.e. file+stderr
OPTIONS:
--system value [ --system value ] limit to log system
--help, -h show help
```
### curio log alerts
```
NAME:
curio log alerts - Get alert states
USAGE:
curio log alerts [command options] [arguments...]
OPTIONS:
--all get all (active and inactive) alerts (default: false)
--help, -h show help
```
## curio wait-api
```
NAME:
curio wait-api - Wait for lotus api to come online
USAGE:
curio wait-api [command options] [arguments...]
OPTIONS:
--timeout value duration to wait till fail (default: 30s)
--help, -h show help
```
## curio fetch-params ## curio fetch-params
``` ```
NAME: NAME:
@ -521,15 +395,3 @@ USAGE:
OPTIONS: OPTIONS:
--help, -h show help --help, -h show help
``` ```
## curio version
```
NAME:
curio version - Print version
USAGE:
curio version [command options] [arguments...]
OPTIONS:
--help, -h show help
```