12744 lines
601 KiB
JSON
12744 lines
601 KiB
JSON
{
|
|
"openrpc": "1.2.6",
|
|
"info": {
|
|
"title": "Lotus RPC API",
|
|
"version": "1.27.1-dev"
|
|
},
|
|
"methods": [
|
|
{
|
|
"name": "Filecoin.ActorAddress",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ActorAddress(p0 context.Context) (address.Address, error) {\n\tif s.Internal.ActorAddress == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.ActorAddress(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "address.Address",
|
|
"description": "address.Address",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"f01234"
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5791"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ActorAddressConfig",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ActorAddressConfig(p0 context.Context) (AddressConfig, error) {\n\tif s.Internal.ActorAddressConfig == nil {\n\t\treturn *new(AddressConfig), ErrNotSupported\n\t}\n\treturn s.Internal.ActorAddressConfig(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "AddressConfig",
|
|
"description": "AddressConfig",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"PreCommitControl": [
|
|
"f01234"
|
|
],
|
|
"CommitControl": [
|
|
"f01234"
|
|
],
|
|
"TerminateControl": [
|
|
"f01234"
|
|
],
|
|
"DealPublishControl": [
|
|
"f01234"
|
|
],
|
|
"DisableOwnerFallback": true,
|
|
"DisableWorkerFallback": true
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CommitControl": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DealPublishControl": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DisableOwnerFallback": {
|
|
"type": "boolean"
|
|
},
|
|
"DisableWorkerFallback": {
|
|
"type": "boolean"
|
|
},
|
|
"PreCommitControl": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"TerminateControl": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5802"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ActorSectorSize",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ActorSectorSize(p0 context.Context, p1 address.Address) (abi.SectorSize, error) {\n\tif s.Internal.ActorSectorSize == nil {\n\t\treturn *new(abi.SectorSize), ErrNotSupported\n\t}\n\treturn s.Internal.ActorSectorSize(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "address.Address",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"f01234"
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "abi.SectorSize",
|
|
"description": "abi.SectorSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
34359738368
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5813"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ActorWithdrawBalance",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ActorWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error) {\n\tif s.Internal.ActorWithdrawBalance == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.ActorWithdrawBalance(p0, p1)\n}\n```",
|
|
"summary": "WithdrawBalance allows to withdraw balance from miner actor to owner address\nSpecify amount as \"0\" to withdraw full balance. This method returns a message CID\nand does not wait for message execution\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.TokenAmount",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"0"
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "cid.Cid",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5824"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.BeneficiaryWithdrawBalance",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) BeneficiaryWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error) {\n\tif s.Internal.BeneficiaryWithdrawBalance == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.BeneficiaryWithdrawBalance(p0, p1)\n}\n```",
|
|
"summary": "BeneficiaryWithdrawBalance allows the beneficiary of a miner to withdraw balance from miner actor\nSpecify amount as \"0\" to withdraw full balance. This method returns a message CID\nand does not wait for message execution\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.TokenAmount",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"0"
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "cid.Cid",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5835"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.CheckProvable",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) CheckProvable(p0 context.Context, p1 abi.RegisteredPoStProof, p2 []storiface.SectorRef) (map[abi.SectorNumber]string, error) {\n\tif s.Internal.CheckProvable == nil {\n\t\treturn *new(map[abi.SectorNumber]string), ErrNotSupported\n\t}\n\treturn s.Internal.CheckProvable(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.RegisteredPoStProof",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
8
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "[]storiface.SectorRef",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"ID": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ProofType": 8
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProofType": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "map[abi.SectorNumber]string",
|
|
"description": "map[abi.SectorNumber]string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"123": "can't acquire read lock"
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5846"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ComputeDataCid",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ComputeDataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (abi.PieceInfo, error) {\n\tif s.Internal.ComputeDataCid == nil {\n\t\treturn *new(abi.PieceInfo), ErrNotSupported\n\t}\n\treturn s.Internal.ComputeDataCid(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.UnpaddedPieceSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1024
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.Data",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{}
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "abi.PieceInfo",
|
|
"description": "abi.PieceInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Size": 1032,
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5857"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ComputeProof",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ComputeProof(p0 context.Context, p1 []builtinactors.ExtendedSectorInfo, p2 abi.PoStRandomness, p3 abi.ChainEpoch, p4 abinetwork.Version) ([]builtinactors.PoStProof, error) {\n\tif s.Internal.ComputeProof == nil {\n\t\treturn *new([]builtinactors.PoStProof), ErrNotSupported\n\t}\n\treturn s.Internal.ComputeProof(p0, p1, p2, p3, p4)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "[]builtinactors.ExtendedSectorInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"SealProof": 8,
|
|
"SectorNumber": 9,
|
|
"SectorKey": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"SealedCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"SealProof": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SealedCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"SectorKey": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"SectorNumber": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "abi.PoStRandomness",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Bw=="
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "abi.ChainEpoch",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
10101
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p4",
|
|
"description": "abinetwork.Version",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
23
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]builtinactors.PoStProof",
|
|
"description": "[]builtinactors.PoStProof",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"PoStProof": 8,
|
|
"ProofBytes": "Ynl0ZSBhcnJheQ=="
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PoStProof": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"ProofBytes": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5868"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ComputeWindowPoSt",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ComputeWindowPoSt(p0 context.Context, p1 uint64, p2 types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error) {\n\tif s.Internal.ComputeWindowPoSt == nil {\n\t\treturn *new([]miner.SubmitWindowedPoStParams), ErrNotSupported\n\t}\n\treturn s.Internal.ComputeWindowPoSt(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "uint64",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
42
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "types.TipSetKey",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
{
|
|
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
|
|
}
|
|
]
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]miner.SubmitWindowedPoStParams",
|
|
"description": "[]miner.SubmitWindowedPoStParams",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Deadline": 42,
|
|
"Partitions": [
|
|
{
|
|
"Index": 42,
|
|
"Skipped": [
|
|
5,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"Proofs": [
|
|
{
|
|
"PoStProof": 8,
|
|
"ProofBytes": "Ynl0ZSBhcnJheQ=="
|
|
}
|
|
],
|
|
"ChainCommitEpoch": 10101,
|
|
"ChainCommitRand": "Bw=="
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ChainCommitEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"ChainCommitRand": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Deadline": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Partitions": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Index": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Skipped": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Proofs": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PoStProof": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"ProofBytes": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5879"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.CreateBackup",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) CreateBackup(p0 context.Context, p1 string) error {\n\tif s.Internal.CreateBackup == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.CreateBackup(p0, p1)\n}\n```",
|
|
"summary": "CreateBackup creates node backup onder the specified file name. The\nmethod requires that the lotus-miner is running with the\nLOTUS_BACKUP_BASE_PATH environment variable set to some path, and that\nthe path specified when calling CreateBackup is within the base path\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5890"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DagstoreGC",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DagstoreGC(p0 context.Context) ([]DagstoreShardResult, error) {\n\tif s.Internal.DagstoreGC == nil {\n\t\treturn *new([]DagstoreShardResult), ErrNotSupported\n\t}\n\treturn s.Internal.DagstoreGC(p0)\n}\n```",
|
|
"summary": "DagstoreGC runs garbage collection on the DAG store.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]DagstoreShardResult",
|
|
"description": "[]DagstoreShardResult",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Key": "baga6ea4seaqecmtz7iak33dsfshi627abz4i4665dfuzr3qfs4bmad6dx3iigdq",
|
|
"Success": false,
|
|
"Error": "\u003cerror\u003e"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Error": {
|
|
"type": "string"
|
|
},
|
|
"Key": {
|
|
"type": "string"
|
|
},
|
|
"Success": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5901"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DagstoreInitializeShard",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DagstoreInitializeShard(p0 context.Context, p1 string) error {\n\tif s.Internal.DagstoreInitializeShard == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DagstoreInitializeShard(p0, p1)\n}\n```",
|
|
"summary": "DagstoreInitializeShard initializes an uninitialized shard.\n\nInitialization consists of fetching the shard's data (deal payload) from\nthe storage subsystem, generating an index, and persisting the index\nto facilitate later retrievals, and/or to publish to external sources.\n\nThis operation is intended to complement the initial migration. The\nmigration registers a shard for every unique piece CID, with lazy\ninitialization. Thus, shards are not initialized immediately to avoid\nIO activity competing with proving. Instead, shard are initialized\nwhen first accessed. This method forces the initialization of a shard by\naccessing it and immediately releasing it. This is useful to warm up the\ncache to facilitate subsequent retrievals, and to generate the indexes\nto publish them externally.\n\nThis operation fails if the shard is not in ShardStateNew state.\nIt blocks until initialization finishes.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5923"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DagstoreListShards",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DagstoreListShards(p0 context.Context) ([]DagstoreShardInfo, error) {\n\tif s.Internal.DagstoreListShards == nil {\n\t\treturn *new([]DagstoreShardInfo), ErrNotSupported\n\t}\n\treturn s.Internal.DagstoreListShards(p0)\n}\n```",
|
|
"summary": "DagstoreListShards returns information about all shards known to the\nDAG store. Only available on nodes running the markets subsystem.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]DagstoreShardInfo",
|
|
"description": "[]DagstoreShardInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Key": "baga6ea4seaqecmtz7iak33dsfshi627abz4i4665dfuzr3qfs4bmad6dx3iigdq",
|
|
"State": "ShardStateAvailable",
|
|
"Error": "\u003cerror\u003e"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Error": {
|
|
"type": "string"
|
|
},
|
|
"Key": {
|
|
"type": "string"
|
|
},
|
|
"State": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5934"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DagstoreLookupPieces",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DagstoreLookupPieces(p0 context.Context, p1 cid.Cid) ([]DagstoreShardInfo, error) {\n\tif s.Internal.DagstoreLookupPieces == nil {\n\t\treturn *new([]DagstoreShardInfo), ErrNotSupported\n\t}\n\treturn s.Internal.DagstoreLookupPieces(p0, p1)\n}\n```",
|
|
"summary": "DagstoreLookupPieces returns information about shards that contain the given CID.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]DagstoreShardInfo",
|
|
"description": "[]DagstoreShardInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Key": "baga6ea4seaqecmtz7iak33dsfshi627abz4i4665dfuzr3qfs4bmad6dx3iigdq",
|
|
"State": "ShardStateAvailable",
|
|
"Error": "\u003cerror\u003e"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Error": {
|
|
"type": "string"
|
|
},
|
|
"Key": {
|
|
"type": "string"
|
|
},
|
|
"State": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5945"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DagstoreRecoverShard",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DagstoreRecoverShard(p0 context.Context, p1 string) error {\n\tif s.Internal.DagstoreRecoverShard == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DagstoreRecoverShard(p0, p1)\n}\n```",
|
|
"summary": "DagstoreRecoverShard attempts to recover a failed shard.\n\nThis operation fails if the shard is not in ShardStateErrored state.\nIt blocks until recovery finishes. If recovery failed, it returns the\nerror.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5956"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DagstoreRegisterShard",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DagstoreRegisterShard(p0 context.Context, p1 string) error {\n\tif s.Internal.DagstoreRegisterShard == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DagstoreRegisterShard(p0, p1)\n}\n```",
|
|
"summary": "DagstoreRegisterShard registers a shard manually with dagstore with given pieceCID\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5967"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsConsiderOfflineRetrievalDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsConsiderOfflineRetrievalDeals(p0 context.Context) (bool, error) {\n\tif s.Internal.DealsConsiderOfflineRetrievalDeals == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.DealsConsiderOfflineRetrievalDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5978"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsConsiderOfflineStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsConsiderOfflineStorageDeals(p0 context.Context) (bool, error) {\n\tif s.Internal.DealsConsiderOfflineStorageDeals == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.DealsConsiderOfflineStorageDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5989"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsConsiderOnlineRetrievalDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsConsiderOnlineRetrievalDeals(p0 context.Context) (bool, error) {\n\tif s.Internal.DealsConsiderOnlineRetrievalDeals == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.DealsConsiderOnlineRetrievalDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6000"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsConsiderOnlineStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsConsiderOnlineStorageDeals(p0 context.Context) (bool, error) {\n\tif s.Internal.DealsConsiderOnlineStorageDeals == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.DealsConsiderOnlineStorageDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6011"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsConsiderUnverifiedStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsConsiderUnverifiedStorageDeals(p0 context.Context) (bool, error) {\n\tif s.Internal.DealsConsiderUnverifiedStorageDeals == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.DealsConsiderUnverifiedStorageDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6022"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsConsiderVerifiedStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsConsiderVerifiedStorageDeals(p0 context.Context) (bool, error) {\n\tif s.Internal.DealsConsiderVerifiedStorageDeals == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.DealsConsiderVerifiedStorageDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6033"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsImportData",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsImportData(p0 context.Context, p1 cid.Cid, p2 string) error {\n\tif s.Internal.DealsImportData == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsImportData(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6044"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsList",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsList(p0 context.Context) ([]*MarketDeal, error) {\n\tif s.Internal.DealsList == nil {\n\t\treturn *new([]*MarketDeal), ErrNotSupported\n\t}\n\treturn s.Internal.DealsList(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]*MarketDeal",
|
|
"description": "[]*MarketDeal",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Proposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"State": {
|
|
"SectorStartEpoch": 10101,
|
|
"LastUpdatedEpoch": 10101,
|
|
"SlashEpoch": 10101
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Proposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"State": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"LastUpdatedEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SectorStartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SlashEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6055"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsPieceCidBlocklist",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsPieceCidBlocklist(p0 context.Context) ([]cid.Cid, error) {\n\tif s.Internal.DealsPieceCidBlocklist == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.DealsPieceCidBlocklist(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]cid.Cid",
|
|
"description": "[]cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6066"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetConsiderOfflineRetrievalDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetConsiderOfflineRetrievalDeals(p0 context.Context, p1 bool) error {\n\tif s.Internal.DealsSetConsiderOfflineRetrievalDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetConsiderOfflineRetrievalDeals(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6077"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetConsiderOfflineStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetConsiderOfflineStorageDeals(p0 context.Context, p1 bool) error {\n\tif s.Internal.DealsSetConsiderOfflineStorageDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetConsiderOfflineStorageDeals(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6088"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetConsiderOnlineRetrievalDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetConsiderOnlineRetrievalDeals(p0 context.Context, p1 bool) error {\n\tif s.Internal.DealsSetConsiderOnlineRetrievalDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetConsiderOnlineRetrievalDeals(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6099"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetConsiderOnlineStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetConsiderOnlineStorageDeals(p0 context.Context, p1 bool) error {\n\tif s.Internal.DealsSetConsiderOnlineStorageDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetConsiderOnlineStorageDeals(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6110"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetConsiderUnverifiedStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetConsiderUnverifiedStorageDeals(p0 context.Context, p1 bool) error {\n\tif s.Internal.DealsSetConsiderUnverifiedStorageDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetConsiderUnverifiedStorageDeals(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6121"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetConsiderVerifiedStorageDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetConsiderVerifiedStorageDeals(p0 context.Context, p1 bool) error {\n\tif s.Internal.DealsSetConsiderVerifiedStorageDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetConsiderVerifiedStorageDeals(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6132"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.DealsSetPieceCidBlocklist",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) DealsSetPieceCidBlocklist(p0 context.Context, p1 []cid.Cid) error {\n\tif s.Internal.DealsSetPieceCidBlocklist == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.DealsSetPieceCidBlocklist(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "[]cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6143"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.IndexerAnnounceAllDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) IndexerAnnounceAllDeals(p0 context.Context) error {\n\tif s.Internal.IndexerAnnounceAllDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.IndexerAnnounceAllDeals(p0)\n}\n```",
|
|
"summary": "IndexerAnnounceAllDeals informs the indexer nodes aboutall active deals.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6154"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.IndexerAnnounceDeal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) IndexerAnnounceDeal(p0 context.Context, p1 cid.Cid) error {\n\tif s.Internal.IndexerAnnounceDeal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.IndexerAnnounceDeal(p0, p1)\n}\n```",
|
|
"summary": "IndexerAnnounceDeal informs indexer nodes that a new deal was received,\nso they can download its index\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6165"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketCancelDataTransfer",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error {\n\tif s.Internal.MarketCancelDataTransfer == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketCancelDataTransfer(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "MarketCancelDataTransfer cancels a data transfer with the given transfer ID and other peer\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "datatransfer.TransferID",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
3
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "peer.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6176"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketDataTransferDiagnostics",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketDataTransferDiagnostics(p0 context.Context, p1 peer.ID) (*TransferDiagnostics, error) {\n\tif s.Internal.MarketDataTransferDiagnostics == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MarketDataTransferDiagnostics(p0, p1)\n}\n```",
|
|
"summary": "MarketDataTransferDiagnostics generates debugging information about current data transfers over graphsync\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "peer.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "*TransferDiagnostics",
|
|
"description": "*TransferDiagnostics",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"ReceivingTransfers": [
|
|
{
|
|
"RequestID": {},
|
|
"RequestState": "string value",
|
|
"IsCurrentChannelRequest": true,
|
|
"ChannelID": {
|
|
"Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"ID": 3
|
|
},
|
|
"ChannelState": {
|
|
"TransferID": 3,
|
|
"Status": 1,
|
|
"BaseCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"IsInitiator": true,
|
|
"IsSender": true,
|
|
"Voucher": "string value",
|
|
"Message": "string value",
|
|
"OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Transferred": 42,
|
|
"Stages": {
|
|
"Stages": [
|
|
{
|
|
"Name": "string value",
|
|
"Description": "string value",
|
|
"CreatedTime": "0001-01-01T00:00:00Z",
|
|
"UpdatedTime": "0001-01-01T00:00:00Z",
|
|
"Logs": [
|
|
{
|
|
"Log": "string value",
|
|
"UpdatedTime": "0001-01-01T00:00:00Z"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Diagnostics": [
|
|
"string value"
|
|
]
|
|
}
|
|
],
|
|
"SendingTransfers": [
|
|
{
|
|
"RequestID": {},
|
|
"RequestState": "string value",
|
|
"IsCurrentChannelRequest": true,
|
|
"ChannelID": {
|
|
"Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"ID": 3
|
|
},
|
|
"ChannelState": {
|
|
"TransferID": 3,
|
|
"Status": 1,
|
|
"BaseCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"IsInitiator": true,
|
|
"IsSender": true,
|
|
"Voucher": "string value",
|
|
"Message": "string value",
|
|
"OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Transferred": 42,
|
|
"Stages": {
|
|
"Stages": [
|
|
{
|
|
"Name": "string value",
|
|
"Description": "string value",
|
|
"CreatedTime": "0001-01-01T00:00:00Z",
|
|
"UpdatedTime": "0001-01-01T00:00:00Z",
|
|
"Logs": [
|
|
{
|
|
"Log": "string value",
|
|
"UpdatedTime": "0001-01-01T00:00:00Z"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Diagnostics": [
|
|
"string value"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ReceivingTransfers": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ChannelID": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Initiator": {
|
|
"type": "string"
|
|
},
|
|
"Responder": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ChannelState": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"BaseCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"IsInitiator": {
|
|
"type": "boolean"
|
|
},
|
|
"IsSender": {
|
|
"type": "boolean"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
},
|
|
"OtherPeer": {
|
|
"type": "string"
|
|
},
|
|
"Stages": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Stages": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CreatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Logs": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Log": {
|
|
"type": "string"
|
|
},
|
|
"UpdatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"UpdatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Status": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"TransferID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Transferred": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Voucher": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Diagnostics": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"IsCurrentChannelRequest": {
|
|
"type": "boolean"
|
|
},
|
|
"RequestID": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"RequestState": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"SendingTransfers": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ChannelID": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Initiator": {
|
|
"type": "string"
|
|
},
|
|
"Responder": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ChannelState": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"BaseCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"IsInitiator": {
|
|
"type": "boolean"
|
|
},
|
|
"IsSender": {
|
|
"type": "boolean"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
},
|
|
"OtherPeer": {
|
|
"type": "string"
|
|
},
|
|
"Stages": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Stages": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CreatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Logs": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Log": {
|
|
"type": "string"
|
|
},
|
|
"UpdatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"UpdatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Status": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"TransferID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Transferred": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Voucher": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Diagnostics": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"IsCurrentChannelRequest": {
|
|
"type": "boolean"
|
|
},
|
|
"RequestID": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"RequestState": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6187"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketGetAsk",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketGetAsk(p0 context.Context) (*storagemarket.SignedStorageAsk, error) {\n\tif s.Internal.MarketGetAsk == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MarketGetAsk(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "*storagemarket.SignedStorageAsk",
|
|
"description": "*storagemarket.SignedStorageAsk",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Ask": {
|
|
"Price": "0",
|
|
"VerifiedPrice": "0",
|
|
"MinPieceSize": 1032,
|
|
"MaxPieceSize": 1032,
|
|
"Miner": "f01234",
|
|
"Timestamp": 10101,
|
|
"Expiry": 10101,
|
|
"SeqNo": 42
|
|
},
|
|
"Signature": {
|
|
"Type": 2,
|
|
"Data": "Ynl0ZSBhcnJheQ=="
|
|
}
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Ask": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Expiry": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MaxPieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MinPieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Miner": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Price": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"SeqNo": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Timestamp": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"VerifiedPrice": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Signature": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Data": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6209"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketGetRetrievalAsk",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketGetRetrievalAsk(p0 context.Context) (*retrievalmarket.Ask, error) {\n\tif s.Internal.MarketGetRetrievalAsk == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MarketGetRetrievalAsk(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "*retrievalmarket.Ask",
|
|
"description": "*retrievalmarket.Ask",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"PricePerByte": "0",
|
|
"UnsealPrice": "0",
|
|
"PaymentInterval": 42,
|
|
"PaymentIntervalIncrease": 42
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PaymentInterval": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"PaymentIntervalIncrease": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"PricePerByte": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"UnsealPrice": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6231"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketImportDealData",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketImportDealData(p0 context.Context, p1 cid.Cid, p2 string) error {\n\tif s.Internal.MarketImportDealData == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketImportDealData(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6242"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketListDataTransfers",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketListDataTransfers(p0 context.Context) ([]DataTransferChannel, error) {\n\tif s.Internal.MarketListDataTransfers == nil {\n\t\treturn *new([]DataTransferChannel), ErrNotSupported\n\t}\n\treturn s.Internal.MarketListDataTransfers(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]DataTransferChannel",
|
|
"description": "[]DataTransferChannel",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"TransferID": 3,
|
|
"Status": 1,
|
|
"BaseCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"IsInitiator": true,
|
|
"IsSender": true,
|
|
"Voucher": "string value",
|
|
"Message": "string value",
|
|
"OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Transferred": 42,
|
|
"Stages": {
|
|
"Stages": [
|
|
{
|
|
"Name": "string value",
|
|
"Description": "string value",
|
|
"CreatedTime": "0001-01-01T00:00:00Z",
|
|
"UpdatedTime": "0001-01-01T00:00:00Z",
|
|
"Logs": [
|
|
{
|
|
"Log": "string value",
|
|
"UpdatedTime": "0001-01-01T00:00:00Z"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"BaseCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"IsInitiator": {
|
|
"type": "boolean"
|
|
},
|
|
"IsSender": {
|
|
"type": "boolean"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
},
|
|
"OtherPeer": {
|
|
"type": "string"
|
|
},
|
|
"Stages": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Stages": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CreatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Logs": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Log": {
|
|
"type": "string"
|
|
},
|
|
"UpdatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"UpdatedTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Status": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"TransferID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Transferred": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Voucher": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6253"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketListDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketListDeals(p0 context.Context) ([]*MarketDeal, error) {\n\tif s.Internal.MarketListDeals == nil {\n\t\treturn *new([]*MarketDeal), ErrNotSupported\n\t}\n\treturn s.Internal.MarketListDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]*MarketDeal",
|
|
"description": "[]*MarketDeal",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Proposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"State": {
|
|
"SectorStartEpoch": 10101,
|
|
"LastUpdatedEpoch": 10101,
|
|
"SlashEpoch": 10101
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Proposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"State": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"LastUpdatedEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SectorStartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SlashEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6264"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketListIncompleteDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketListIncompleteDeals(p0 context.Context) ([]storagemarket.MinerDeal, error) {\n\tif s.Internal.MarketListIncompleteDeals == nil {\n\t\treturn *new([]storagemarket.MinerDeal), ErrNotSupported\n\t}\n\treturn s.Internal.MarketListIncompleteDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]storagemarket.MinerDeal",
|
|
"description": "[]storagemarket.MinerDeal",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Proposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"ClientSignature": {
|
|
"Type": 2,
|
|
"Data": "Ynl0ZSBhcnJheQ=="
|
|
},
|
|
"ProposalCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"AddFundsCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PublishCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Miner": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Client": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"State": 42,
|
|
"PiecePath": ".lotusminer/fstmp123",
|
|
"MetadataPath": ".lotusminer/fstmp123",
|
|
"SlashEpoch": 10101,
|
|
"FastRetrieval": true,
|
|
"Message": "string value",
|
|
"FundsReserved": "0",
|
|
"Ref": {
|
|
"TransferType": "string value",
|
|
"Root": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1024,
|
|
"RawBlockSize": 42
|
|
},
|
|
"AvailableForRetrieval": true,
|
|
"DealID": 5432,
|
|
"CreationTime": "0001-01-01T00:00:00Z",
|
|
"TransferChannelId": {
|
|
"Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
|
"ID": 3
|
|
},
|
|
"SectorNumber": 9,
|
|
"InboundCAR": "string value"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"AddFundsCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"AvailableForRetrieval": {
|
|
"type": "boolean"
|
|
},
|
|
"Client": {
|
|
"type": "string"
|
|
},
|
|
"ClientSignature": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Data": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CreationTime": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"DealID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"FastRetrieval": {
|
|
"type": "boolean"
|
|
},
|
|
"FundsReserved": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"InboundCAR": {
|
|
"type": "string"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
},
|
|
"MetadataPath": {
|
|
"type": "string"
|
|
},
|
|
"Miner": {
|
|
"type": "string"
|
|
},
|
|
"PiecePath": {
|
|
"type": "string"
|
|
},
|
|
"Proposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProposalCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PublishCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Ref": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PieceCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"RawBlockSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Root": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"TransferType": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SectorNumber": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SlashEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"State": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"TransferChannelId": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Initiator": {
|
|
"type": "string"
|
|
},
|
|
"Responder": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6275"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketListRetrievalDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketListRetrievalDeals(p0 context.Context) ([]struct{}, error) {\n\tif s.Internal.MarketListRetrievalDeals == nil {\n\t\treturn *new([]struct{}), ErrNotSupported\n\t}\n\treturn s.Internal.MarketListRetrievalDeals(p0)\n}\n```",
|
|
"summary": "MarketListRetrievalDeals is deprecated, returns empty list\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]struct{}",
|
|
"description": "[]struct{}",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6286"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketPendingDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketPendingDeals(p0 context.Context) (PendingDealInfo, error) {\n\tif s.Internal.MarketPendingDeals == nil {\n\t\treturn *new(PendingDealInfo), ErrNotSupported\n\t}\n\treturn s.Internal.MarketPendingDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "PendingDealInfo",
|
|
"description": "PendingDealInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Deals": [
|
|
{
|
|
"Proposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"ClientSignature": {
|
|
"Type": 2,
|
|
"Data": "Ynl0ZSBhcnJheQ=="
|
|
}
|
|
}
|
|
],
|
|
"PublishPeriodStart": "0001-01-01T00:00:00Z",
|
|
"PublishPeriod": 60000000000
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Deals": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ClientSignature": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Data": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Proposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PublishPeriod": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"PublishPeriodStart": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6297"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketPublishPendingDeals",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketPublishPendingDeals(p0 context.Context) error {\n\tif s.Internal.MarketPublishPendingDeals == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketPublishPendingDeals(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6308"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketRestartDataTransfer",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error {\n\tif s.Internal.MarketRestartDataTransfer == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketRestartDataTransfer(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "MarketRestartDataTransfer attempts to restart a data transfer with the given transfer ID and other peer\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "datatransfer.TransferID",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
3
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "peer.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6319"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketRetryPublishDeal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketRetryPublishDeal(p0 context.Context, p1 cid.Cid) error {\n\tif s.Internal.MarketRetryPublishDeal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketRetryPublishDeal(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6330"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketSetAsk",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketSetAsk(p0 context.Context, p1 types.BigInt, p2 types.BigInt, p3 abi.ChainEpoch, p4 abi.PaddedPieceSize, p5 abi.PaddedPieceSize) error {\n\tif s.Internal.MarketSetAsk == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketSetAsk(p0, p1, p2, p3, p4, p5)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "types.BigInt",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"0"
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "types.BigInt",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"0"
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "abi.ChainEpoch",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
10101
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p4",
|
|
"description": "abi.PaddedPieceSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1032
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p5",
|
|
"description": "abi.PaddedPieceSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1032
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6341"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MarketSetRetrievalAsk",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MarketSetRetrievalAsk(p0 context.Context, p1 *retrievalmarket.Ask) error {\n\tif s.Internal.MarketSetRetrievalAsk == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketSetRetrievalAsk(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "*retrievalmarket.Ask",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"PricePerByte": "0",
|
|
"UnsealPrice": "0",
|
|
"PaymentInterval": 42,
|
|
"PaymentIntervalIncrease": 42
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PaymentInterval": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"PaymentIntervalIncrease": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"PricePerByte": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"UnsealPrice": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6352"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.MiningBase",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) MiningBase(p0 context.Context) (*types.TipSet, error) {\n\tif s.Internal.MiningBase == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MiningBase(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "*types.TipSet",
|
|
"description": "*types.TipSet",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Cids": null,
|
|
"Blocks": null,
|
|
"Height": 0
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6363"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.PiecesGetCIDInfo",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) PiecesGetCIDInfo(p0 context.Context, p1 cid.Cid) (*piecestore.CIDInfo, error) {\n\tif s.Internal.PiecesGetCIDInfo == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PiecesGetCIDInfo(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "*piecestore.CIDInfo",
|
|
"description": "*piecestore.CIDInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"CID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceBlockLocations": [
|
|
{
|
|
"RelOffset": 42,
|
|
"BlockSize": 42,
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceBlockLocations": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"BlockSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"RelOffset": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6374"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.PiecesGetPieceInfo",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) PiecesGetPieceInfo(p0 context.Context, p1 cid.Cid) (*piecestore.PieceInfo, error) {\n\tif s.Internal.PiecesGetPieceInfo == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PiecesGetPieceInfo(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "*piecestore.PieceInfo",
|
|
"description": "*piecestore.PieceInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Deals": [
|
|
{
|
|
"DealID": 5432,
|
|
"SectorID": 9,
|
|
"Offset": 1032,
|
|
"Length": 1032
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Deals": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Length": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Offset": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SectorID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6385"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.PiecesListCidInfos",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) PiecesListCidInfos(p0 context.Context) ([]cid.Cid, error) {\n\tif s.Internal.PiecesListCidInfos == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.PiecesListCidInfos(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]cid.Cid",
|
|
"description": "[]cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6396"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.PiecesListPieces",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) PiecesListPieces(p0 context.Context) ([]cid.Cid, error) {\n\tif s.Internal.PiecesListPieces == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.PiecesListPieces(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]cid.Cid",
|
|
"description": "[]cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6407"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.PledgeSector",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) PledgeSector(p0 context.Context) (abi.SectorID, error) {\n\tif s.Internal.PledgeSector == nil {\n\t\treturn *new(abi.SectorID), ErrNotSupported\n\t}\n\treturn s.Internal.PledgeSector(p0)\n}\n```",
|
|
"summary": "Temp api for testing\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "abi.SectorID",
|
|
"description": "abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6418"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.RecoverFault",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) RecoverFault(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error) {\n\tif s.Internal.RecoverFault == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.RecoverFault(p0, p1)\n}\n```",
|
|
"summary": "RecoverFault can be used to declare recoveries manually. It sends messages\nto the miner actor with details of recovered sectors and returns the CID of messages. It honors the\nmaxPartitionsPerRecoveryMessage from the config\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "[]abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
123,
|
|
124
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]cid.Cid",
|
|
"description": "[]cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6429"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnAddPiece",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnAddPiece(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnAddPiece == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnAddPiece(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "abi.PieceInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Size": 1032,
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6440"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnDataCid",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnDataCid(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnDataCid == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnDataCid(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "storiface.WorkerReturn\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "abi.PieceInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Size": 1032,
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6451"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnDownloadSector",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnDownloadSector(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnDownloadSector == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnDownloadSector(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6462"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnFetch",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnFetch(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnFetch == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnFetch(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6473"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnFinalizeReplicaUpdate",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnFinalizeReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnFinalizeReplicaUpdate == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnFinalizeReplicaUpdate(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6484"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnFinalizeSector",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnFinalizeSector(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnFinalizeSector == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnFinalizeSector(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6495"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnGenerateSectorKeyFromData",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnGenerateSectorKeyFromData(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnGenerateSectorKeyFromData == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnGenerateSectorKeyFromData(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6506"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnMoveStorage",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnMoveStorage(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnMoveStorage == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnMoveStorage(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6517"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnProveReplicaUpdate1",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnProveReplicaUpdate1(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaVanillaProofs, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnProveReplicaUpdate1 == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnProveReplicaUpdate1(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.ReplicaVanillaProofs",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
"Ynl0ZSBhcnJheQ=="
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6528"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnProveReplicaUpdate2",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnProveReplicaUpdate2(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateProof, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnProveReplicaUpdate2 == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnProveReplicaUpdate2(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.ReplicaUpdateProof",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Bw=="
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6539"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnReadPiece",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnReadPiece(p0 context.Context, p1 storiface.CallID, p2 bool, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnReadPiece == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnReadPiece(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6550"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnReleaseUnsealed",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnReleaseUnsealed(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnReleaseUnsealed == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnReleaseUnsealed(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6561"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnReplicaUpdate",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateOut, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnReplicaUpdate == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnReplicaUpdate(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.ReplicaUpdateOut",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"NewSealed": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"NewUnsealed": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"NewSealed": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"NewUnsealed": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6572"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnSealCommit1",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnSealCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.Commit1Out, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnSealCommit1 == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnSealCommit1(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.Commit1Out",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Bw=="
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6583"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnSealCommit2",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnSealCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnSealCommit2 == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnSealCommit2(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.Proof",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Bw=="
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6594"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnSealPreCommit1",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnSealPreCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnSealPreCommit1 == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnSealPreCommit1(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.PreCommit1Out",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Bw=="
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6605"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnSealPreCommit2",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnSealPreCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, p3 *storiface.CallError) error {\n\tif s.Internal.ReturnSealPreCommit2 == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnSealPreCommit2(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.SectorCids",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Unsealed": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Sealed": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Sealed": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Unsealed": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6616"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.ReturnUnsealPiece",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) ReturnUnsealPiece(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error {\n\tif s.Internal.ReturnUnsealPiece == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ReturnUnsealPiece(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "*storiface.CallError",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Code": 0,
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Code": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6627"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.RuntimeSubsystems",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) RuntimeSubsystems(p0 context.Context) (MinerSubsystems, error) {\n\tif s.Internal.RuntimeSubsystems == nil {\n\t\treturn *new(MinerSubsystems), ErrNotSupported\n\t}\n\treturn s.Internal.RuntimeSubsystems(p0)\n}\n```",
|
|
"summary": "RuntimeSubsystems returns the subsystems that are enabled\nin this instance.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "MinerSubsystems",
|
|
"description": "MinerSubsystems",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
"Mining",
|
|
"Sealing",
|
|
"SectorStorage",
|
|
"Markets"
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6638"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SealingAbort",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SealingAbort(p0 context.Context, p1 storiface.CallID) error {\n\tif s.Internal.SealingAbort == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SealingAbort(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.CallID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ID": "07070707-0707-0707-0707-070707070707"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6649"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SealingRemoveRequest",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SealingRemoveRequest(p0 context.Context, p1 uuid.UUID) error {\n\tif s.Internal.SealingRemoveRequest == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SealingRemoveRequest(p0, p1)\n}\n```",
|
|
"summary": "SealingSchedRemove removes a request from sealing pipeline\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "uuid.UUID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"07070707-0707-0707-0707-070707070707"
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6660"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SealingSchedDiag",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SealingSchedDiag(p0 context.Context, p1 bool) (interface{}, error) {\n\tif s.Internal.SealingSchedDiag == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.SealingSchedDiag(p0, p1)\n}\n```",
|
|
"summary": "SealingSchedDiag dumps internal sealing scheduler state\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "interface{}",
|
|
"description": "interface{}",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{}
|
|
],
|
|
"additionalProperties": true,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6671"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorAbortUpgrade",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorAbortUpgrade(p0 context.Context, p1 abi.SectorNumber) error {\n\tif s.Internal.SectorAbortUpgrade == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorAbortUpgrade(p0, p1)\n}\n```",
|
|
"summary": "SectorAbortUpgrade can be called on sectors that are in the process of being upgraded to abort it\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6682"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorAddPieceToAny",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorAddPieceToAny(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data, p3 piece.PieceDealInfo) (SectorOffset, error) {\n\tif s.Internal.SectorAddPieceToAny == nil {\n\t\treturn *new(SectorOffset), ErrNotSupported\n\t}\n\treturn s.Internal.SectorAddPieceToAny(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "Add piece to an open sector. If no sectors with enough space are open,\neither a new sector will be created, or this call will block until more\nsectors can be created.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.UnpaddedPieceSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1024
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.Data",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{}
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "piece.PieceDealInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"PublishCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"DealID": 5432,
|
|
"DealProposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"DealSchedule": {
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101
|
|
},
|
|
"PieceActivationManifest": {
|
|
"CID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Size": 2032,
|
|
"VerifiedAllocationKey": null,
|
|
"Notify": null
|
|
},
|
|
"KeepUnsealed": true
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"DealProposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DealSchedule": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"KeepUnsealed": {
|
|
"type": "boolean"
|
|
},
|
|
"PieceActivationManifest": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Notify": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Address": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Payload": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"VerifiedAllocationKey": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"ID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PublishCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "SectorOffset",
|
|
"description": "SectorOffset",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Sector": 9,
|
|
"Offset": 1032
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Offset": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Sector": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6693"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorCommitFlush",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorCommitFlush(p0 context.Context) ([]sealiface.CommitBatchRes, error) {\n\tif s.Internal.SectorCommitFlush == nil {\n\t\treturn *new([]sealiface.CommitBatchRes), ErrNotSupported\n\t}\n\treturn s.Internal.SectorCommitFlush(p0)\n}\n```",
|
|
"summary": "SectorCommitFlush immediately sends a Commit message with sectors aggregated for Commit.\nReturns null if message wasn't sent\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]sealiface.CommitBatchRes",
|
|
"description": "[]sealiface.CommitBatchRes",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Sectors": [
|
|
123,
|
|
124
|
|
],
|
|
"FailedSectors": {
|
|
"123": "can't acquire read lock"
|
|
},
|
|
"Msg": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Error": "string value"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Error": {
|
|
"type": "string"
|
|
},
|
|
"FailedSectors": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Msg": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Sectors": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6704"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorCommitPending",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorCommitPending(p0 context.Context) ([]abi.SectorID, error) {\n\tif s.Internal.SectorCommitPending == nil {\n\t\treturn *new([]abi.SectorID), ErrNotSupported\n\t}\n\treturn s.Internal.SectorCommitPending(p0)\n}\n```",
|
|
"summary": "SectorCommitPending returns a list of pending Commit sectors to be sent in the next aggregate message\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]abi.SectorID",
|
|
"description": "[]abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6715"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorGetExpectedSealDuration",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorGetExpectedSealDuration(p0 context.Context) (time.Duration, error) {\n\tif s.Internal.SectorGetExpectedSealDuration == nil {\n\t\treturn *new(time.Duration), ErrNotSupported\n\t}\n\treturn s.Internal.SectorGetExpectedSealDuration(p0)\n}\n```",
|
|
"summary": "SectorGetExpectedSealDuration gets the expected time for a sector to seal\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "time.Duration",
|
|
"description": "time.Duration",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
60000000000
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6726"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorGetSealDelay",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorGetSealDelay(p0 context.Context) (time.Duration, error) {\n\tif s.Internal.SectorGetSealDelay == nil {\n\t\treturn *new(time.Duration), ErrNotSupported\n\t}\n\treturn s.Internal.SectorGetSealDelay(p0)\n}\n```",
|
|
"summary": "SectorGetSealDelay gets the time that a newly-created sector\nwaits for more deals before it starts sealing\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "time.Duration",
|
|
"description": "time.Duration",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
60000000000
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6737"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorMarkForUpgrade",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorMarkForUpgrade(p0 context.Context, p1 abi.SectorNumber, p2 bool) error {\n\tif s.Internal.SectorMarkForUpgrade == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorMarkForUpgrade(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6748"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorMatchPendingPiecesToOpenSectors",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorMatchPendingPiecesToOpenSectors(p0 context.Context) error {\n\tif s.Internal.SectorMatchPendingPiecesToOpenSectors == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorMatchPendingPiecesToOpenSectors(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6759"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorNumAssignerMeta",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorNumAssignerMeta(p0 context.Context) (NumAssignerMeta, error) {\n\tif s.Internal.SectorNumAssignerMeta == nil {\n\t\treturn *new(NumAssignerMeta), ErrNotSupported\n\t}\n\treturn s.Internal.SectorNumAssignerMeta(p0)\n}\n```",
|
|
"summary": "SectorNumAssignerMeta returns sector number assigner metadata - reserved/allocated\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "NumAssignerMeta",
|
|
"description": "NumAssignerMeta",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Reserved": [
|
|
5,
|
|
1
|
|
],
|
|
"Allocated": [
|
|
5,
|
|
1
|
|
],
|
|
"InUse": [
|
|
5,
|
|
1
|
|
],
|
|
"Next": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Allocated": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"InUse": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Next": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Reserved": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6770"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorNumFree",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorNumFree(p0 context.Context, p1 string) error {\n\tif s.Internal.SectorNumFree == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorNumFree(p0, p1)\n}\n```",
|
|
"summary": "SectorNumFree drops a sector reservation\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6781"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorNumReservations",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorNumReservations(p0 context.Context) (map[string]bitfield.BitField, error) {\n\tif s.Internal.SectorNumReservations == nil {\n\t\treturn *new(map[string]bitfield.BitField), ErrNotSupported\n\t}\n\treturn s.Internal.SectorNumReservations(p0)\n}\n```",
|
|
"summary": "SectorNumReservations returns a list of sector number reservations\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[string]bitfield.BitField",
|
|
"description": "map[string]bitfield.BitField",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"": [
|
|
5,
|
|
3,
|
|
2,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6792"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorNumReserve",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorNumReserve(p0 context.Context, p1 string, p2 bitfield.BitField, p3 bool) error {\n\tif s.Internal.SectorNumReserve == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorNumReserve(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "SectorNumReserve creates a new sector number reservation. Will fail if any other reservation has colliding\nnumbers or name. Set force to true to override safety checks.\nValid characters for name: a-z, A-Z, 0-9, _, -\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "bitfield.BitField",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
5,
|
|
1
|
|
]
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6803"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorNumReserveCount",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorNumReserveCount(p0 context.Context, p1 string, p2 uint64) (bitfield.BitField, error) {\n\tif s.Internal.SectorNumReserveCount == nil {\n\t\treturn *new(bitfield.BitField), ErrNotSupported\n\t}\n\treturn s.Internal.SectorNumReserveCount(p0, p1, p2)\n}\n```",
|
|
"summary": "SectorNumReserveCount creates a new sector number reservation for `count` sector numbers.\nby default lotus will allocate lowest-available sector numbers to the reservation.\nFor restrictions on `name` see SectorNumReserve\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "uint64",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
42
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "bitfield.BitField",
|
|
"description": "bitfield.BitField",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
5,
|
|
1
|
|
]
|
|
],
|
|
"additionalProperties": false,
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6814"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorPreCommitFlush",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorPreCommitFlush(p0 context.Context) ([]sealiface.PreCommitBatchRes, error) {\n\tif s.Internal.SectorPreCommitFlush == nil {\n\t\treturn *new([]sealiface.PreCommitBatchRes), ErrNotSupported\n\t}\n\treturn s.Internal.SectorPreCommitFlush(p0)\n}\n```",
|
|
"summary": "SectorPreCommitFlush immediately sends a PreCommit message with sectors batched for PreCommit.\nReturns null if message wasn't sent\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]sealiface.PreCommitBatchRes",
|
|
"description": "[]sealiface.PreCommitBatchRes",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Sectors": [
|
|
123,
|
|
124
|
|
],
|
|
"Msg": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Error": "string value"
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Error": {
|
|
"type": "string"
|
|
},
|
|
"Msg": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Sectors": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6825"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorPreCommitPending",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorPreCommitPending(p0 context.Context) ([]abi.SectorID, error) {\n\tif s.Internal.SectorPreCommitPending == nil {\n\t\treturn *new([]abi.SectorID), ErrNotSupported\n\t}\n\treturn s.Internal.SectorPreCommitPending(p0)\n}\n```",
|
|
"summary": "SectorPreCommitPending returns a list of pending PreCommit sectors to be sent in the next batch message\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]abi.SectorID",
|
|
"description": "[]abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6836"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorReceive",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorReceive(p0 context.Context, p1 RemoteSectorMeta) error {\n\tif s.Internal.SectorReceive == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorReceive(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "RemoteSectorMeta",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"State": "Proving",
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"Type": 8,
|
|
"Pieces": [
|
|
{
|
|
"Piece": {
|
|
"Size": 1032,
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
},
|
|
"DealInfo": {
|
|
"PublishCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"DealID": 5432,
|
|
"DealProposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"DealSchedule": {
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101
|
|
},
|
|
"PieceActivationManifest": {
|
|
"CID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Size": 2032,
|
|
"VerifiedAllocationKey": null,
|
|
"Notify": null
|
|
},
|
|
"KeepUnsealed": true
|
|
}
|
|
}
|
|
],
|
|
"TicketValue": "Bw==",
|
|
"TicketEpoch": 10101,
|
|
"PreCommit1Out": "Bw==",
|
|
"CommD": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"CommR": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PreCommitInfo": {
|
|
"SealProof": 8,
|
|
"SectorNumber": 9,
|
|
"SealedCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"SealRandEpoch": 10101,
|
|
"DealIDs": [
|
|
5432
|
|
],
|
|
"Expiration": 10101,
|
|
"UnsealedCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
},
|
|
"PreCommitDeposit": "0",
|
|
"PreCommitMessage": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PreCommitTipSet": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
{
|
|
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
|
|
}
|
|
],
|
|
"SeedValue": "Bw==",
|
|
"SeedEpoch": 10101,
|
|
"CommitProof": "Ynl0ZSBhcnJheQ==",
|
|
"CommitMessage": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Log": [
|
|
{
|
|
"Kind": "string value",
|
|
"Timestamp": 42,
|
|
"Trace": "string value",
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"DataUnsealed": {
|
|
"Local": true,
|
|
"URL": "string value",
|
|
"Headers": [
|
|
{
|
|
"Key": "string value",
|
|
"Value": "string value"
|
|
}
|
|
]
|
|
},
|
|
"DataSealed": {
|
|
"Local": true,
|
|
"URL": "string value",
|
|
"Headers": [
|
|
{
|
|
"Key": "string value",
|
|
"Value": "string value"
|
|
}
|
|
]
|
|
},
|
|
"DataCache": {
|
|
"Local": true,
|
|
"URL": "string value",
|
|
"Headers": [
|
|
{
|
|
"Key": "string value",
|
|
"Value": "string value"
|
|
}
|
|
]
|
|
},
|
|
"RemoteCommit1Endpoint": "string value",
|
|
"RemoteCommit2Endpoint": "string value",
|
|
"RemoteSealingDoneEndpoint": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CommD": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"CommR": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"CommitMessage": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"CommitProof": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
},
|
|
"DataCache": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Headers": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Key": {
|
|
"type": "string"
|
|
},
|
|
"Value": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Local": {
|
|
"type": "boolean"
|
|
},
|
|
"URL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DataSealed": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Headers": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Key": {
|
|
"type": "string"
|
|
},
|
|
"Value": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Local": {
|
|
"type": "boolean"
|
|
},
|
|
"URL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DataUnsealed": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Headers": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Key": {
|
|
"type": "string"
|
|
},
|
|
"Value": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Local": {
|
|
"type": "boolean"
|
|
},
|
|
"URL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Log": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Kind": {
|
|
"type": "string"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
},
|
|
"Timestamp": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Trace": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Pieces": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealInfo": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"DealProposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DealSchedule": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"KeepUnsealed": {
|
|
"type": "boolean"
|
|
},
|
|
"PieceActivationManifest": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Notify": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Address": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Payload": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"VerifiedAllocationKey": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"ID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PublishCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Piece": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PreCommit1Out": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PreCommitDeposit": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PreCommitInfo": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealIDs": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Expiration": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SealProof": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SealRandEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SealedCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"SectorNumber": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"UnsealedCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PreCommitMessage": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PreCommitTipSet": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"RemoteCommit1Endpoint": {
|
|
"type": "string"
|
|
},
|
|
"RemoteCommit2Endpoint": {
|
|
"type": "string"
|
|
},
|
|
"RemoteSealingDoneEndpoint": {
|
|
"type": "string"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SeedEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SeedValue": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"State": {
|
|
"type": "string"
|
|
},
|
|
"TicketEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"TicketValue": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Type": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6847"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorRemove",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorRemove(p0 context.Context, p1 abi.SectorNumber) error {\n\tif s.Internal.SectorRemove == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorRemove(p0, p1)\n}\n```",
|
|
"summary": "SectorRemove removes the sector from storage. It doesn't terminate it on-chain, which can\nbe done with SectorTerminate. Removing and not terminating live sectors will cause additional penalties.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6858"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorSetExpectedSealDuration",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorSetExpectedSealDuration(p0 context.Context, p1 time.Duration) error {\n\tif s.Internal.SectorSetExpectedSealDuration == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorSetExpectedSealDuration(p0, p1)\n}\n```",
|
|
"summary": "SectorSetExpectedSealDuration sets the expected time for a sector to seal\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "time.Duration",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
60000000000
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6869"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorSetSealDelay",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorSetSealDelay(p0 context.Context, p1 time.Duration) error {\n\tif s.Internal.SectorSetSealDelay == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorSetSealDelay(p0, p1)\n}\n```",
|
|
"summary": "SectorSetSealDelay sets the time that a newly-created sector\nwaits for more deals before it starts sealing\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "time.Duration",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
60000000000
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6880"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorStartSealing",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorStartSealing(p0 context.Context, p1 abi.SectorNumber) error {\n\tif s.Internal.SectorStartSealing == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorStartSealing(p0, p1)\n}\n```",
|
|
"summary": "SectorStartSealing can be called on sectors in Empty or WaitDeals states\nto trigger sealing early\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6891"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorTerminate",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorTerminate(p0 context.Context, p1 abi.SectorNumber) error {\n\tif s.Internal.SectorTerminate == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorTerminate(p0, p1)\n}\n```",
|
|
"summary": "SectorTerminate terminates the sector on-chain (adding it to a termination batch first), then\nautomatically removes it from storage\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6902"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorTerminateFlush",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorTerminateFlush(p0 context.Context) (*cid.Cid, error) {\n\tif s.Internal.SectorTerminateFlush == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.SectorTerminateFlush(p0)\n}\n```",
|
|
"summary": "SectorTerminateFlush immediately sends a terminate message with sectors batched for termination.\nReturns null if message wasn't sent\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "*cid.Cid",
|
|
"description": "*cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6913"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorTerminatePending",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorTerminatePending(p0 context.Context) ([]abi.SectorID, error) {\n\tif s.Internal.SectorTerminatePending == nil {\n\t\treturn *new([]abi.SectorID), ErrNotSupported\n\t}\n\treturn s.Internal.SectorTerminatePending(p0)\n}\n```",
|
|
"summary": "SectorTerminatePending returns a list of pending sector terminations to be sent in the next batch message\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]abi.SectorID",
|
|
"description": "[]abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6924"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorUnseal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorUnseal(p0 context.Context, p1 abi.SectorNumber) error {\n\tif s.Internal.SectorUnseal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorUnseal(p0, p1)\n}\n```",
|
|
"summary": "SectorUnseal unseals the provided sector\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6935"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsList",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsList(p0 context.Context) ([]abi.SectorNumber, error) {\n\tif s.Internal.SectorsList == nil {\n\t\treturn *new([]abi.SectorNumber), ErrNotSupported\n\t}\n\treturn s.Internal.SectorsList(p0)\n}\n```",
|
|
"summary": "List all staged sectors\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "[]abi.SectorNumber",
|
|
"description": "[]abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
123,
|
|
124
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6946"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsListInStates",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsListInStates(p0 context.Context, p1 []SectorState) ([]abi.SectorNumber, error) {\n\tif s.Internal.SectorsListInStates == nil {\n\t\treturn *new([]abi.SectorNumber), ErrNotSupported\n\t}\n\treturn s.Internal.SectorsListInStates(p0, p1)\n}\n```",
|
|
"summary": "List sectors in particular states\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "[]SectorState",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
"Proving"
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]abi.SectorNumber",
|
|
"description": "[]abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
123,
|
|
124
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6957"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsRefs",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsRefs(p0 context.Context) (map[string][]SealedRef, error) {\n\tif s.Internal.SectorsRefs == nil {\n\t\treturn *new(map[string][]SealedRef), ErrNotSupported\n\t}\n\treturn s.Internal.SectorsRefs(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[string][]SealedRef",
|
|
"description": "map[string][]SealedRef",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"98000": [
|
|
{
|
|
"SectorID": 100,
|
|
"Offset": 10485760,
|
|
"Size": 1048576
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Offset": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SectorID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6968"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsStatus",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsStatus(p0 context.Context, p1 abi.SectorNumber, p2 bool) (SectorInfo, error) {\n\tif s.Internal.SectorsStatus == nil {\n\t\treturn *new(SectorInfo), ErrNotSupported\n\t}\n\treturn s.Internal.SectorsStatus(p0, p1, p2)\n}\n```",
|
|
"summary": "Get the status of a given sector by ID\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "SectorInfo",
|
|
"description": "SectorInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"SectorID": 9,
|
|
"State": "Proving",
|
|
"CommD": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"CommR": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Proof": "Ynl0ZSBhcnJheQ==",
|
|
"Deals": [
|
|
5432
|
|
],
|
|
"Pieces": [
|
|
{
|
|
"Piece": {
|
|
"Size": 1032,
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
},
|
|
"DealInfo": {
|
|
"PublishCid": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"DealID": 5432,
|
|
"DealProposal": {
|
|
"PieceCID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"PieceSize": 1032,
|
|
"VerifiedDeal": true,
|
|
"Client": "f01234",
|
|
"Provider": "f01234",
|
|
"Label": "",
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101,
|
|
"StoragePricePerEpoch": "0",
|
|
"ProviderCollateral": "0",
|
|
"ClientCollateral": "0"
|
|
},
|
|
"DealSchedule": {
|
|
"StartEpoch": 10101,
|
|
"EndEpoch": 10101
|
|
},
|
|
"PieceActivationManifest": {
|
|
"CID": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Size": 2032,
|
|
"VerifiedAllocationKey": null,
|
|
"Notify": null
|
|
},
|
|
"KeepUnsealed": true
|
|
}
|
|
}
|
|
],
|
|
"Ticket": {
|
|
"Value": "Bw==",
|
|
"Epoch": 10101
|
|
},
|
|
"Seed": {
|
|
"Value": "Bw==",
|
|
"Epoch": 10101
|
|
},
|
|
"PreCommitMsg": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"CommitMsg": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"Retries": 42,
|
|
"ToUpgrade": true,
|
|
"ReplicaUpdateMessage": {
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
},
|
|
"LastErr": "string value",
|
|
"Log": [
|
|
{
|
|
"Kind": "string value",
|
|
"Timestamp": 42,
|
|
"Trace": "string value",
|
|
"Message": "string value"
|
|
}
|
|
],
|
|
"SealProof": 8,
|
|
"Activation": 10101,
|
|
"Expiration": 10101,
|
|
"DealWeight": "0",
|
|
"VerifiedDealWeight": "0",
|
|
"InitialPledge": "0",
|
|
"OnTime": 10101,
|
|
"Early": 10101
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Activation": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"CommD": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"CommR": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"CommitMsg": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"DealWeight": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Deals": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Early": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Expiration": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"InitialPledge": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"LastErr": {
|
|
"type": "string"
|
|
},
|
|
"Log": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Kind": {
|
|
"type": "string"
|
|
},
|
|
"Message": {
|
|
"type": "string"
|
|
},
|
|
"Timestamp": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Trace": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"OnTime": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Pieces": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealInfo": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"DealID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"DealProposal": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ClientCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Label": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"PieceSize": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Provider": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"ProviderCollateral": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StoragePricePerEpoch": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"VerifiedDeal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DealSchedule": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"EndEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"StartEpoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"KeepUnsealed": {
|
|
"type": "boolean"
|
|
},
|
|
"PieceActivationManifest": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Notify": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Address": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
},
|
|
"Payload": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"VerifiedAllocationKey": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Client": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"ID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PublishCid": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Piece": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"PieceCID": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Size": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PreCommitMsg": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Proof": {
|
|
"media": {
|
|
"binaryEncoding": "base64"
|
|
},
|
|
"type": "string"
|
|
},
|
|
"ReplicaUpdateMessage": {
|
|
"title": "Content Identifier",
|
|
"type": "string"
|
|
},
|
|
"Retries": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SealProof": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"SectorID": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Seed": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Epoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Value": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"State": {
|
|
"type": "string"
|
|
},
|
|
"Ticket": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Epoch": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Value": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ToUpgrade": {
|
|
"type": "boolean"
|
|
},
|
|
"VerifiedDealWeight": {
|
|
"additionalProperties": false,
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6979"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsSummary",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsSummary(p0 context.Context) (map[SectorState]int, error) {\n\tif s.Internal.SectorsSummary == nil {\n\t\treturn *new(map[SectorState]int), ErrNotSupported\n\t}\n\treturn s.Internal.SectorsSummary(p0)\n}\n```",
|
|
"summary": "Get summary info of sectors\n",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[SectorState]int",
|
|
"description": "map[SectorState]int",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Proving": 120
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6990"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsUnsealPiece",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsUnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 *cid.Cid) error {\n\tif s.Internal.SectorsUnsealPiece == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorsUnsealPiece(p0, p1, p2, p3, p4, p5)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.SectorRef",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"ID": {
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
},
|
|
"ProofType": 8
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProofType": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.UnpaddedByteIndex",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1040384
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "abi.UnpaddedPieceSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1024
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p4",
|
|
"description": "abi.SealRandomness",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Bw=="
|
|
],
|
|
"items": [
|
|
{
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"type": [
|
|
"number"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p5",
|
|
"description": "*cid.Cid",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "Content Identifier",
|
|
"description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.",
|
|
"examples": [
|
|
{
|
|
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
|
}
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7001"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.SectorsUpdate",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) SectorsUpdate(p0 context.Context, p1 abi.SectorNumber, p2 SectorState) error {\n\tif s.Internal.SectorsUpdate == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SectorsUpdate(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorNumber",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
9
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "SectorState",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"Proving"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7012"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageAddLocal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageAddLocal(p0 context.Context, p1 string) error {\n\tif s.Internal.StorageAddLocal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageAddLocal(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7023"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageAttach",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageAttach(p0 context.Context, p1 storiface.StorageInfo, p2 fsutil.FsStat) error {\n\tif s.Internal.StorageAttach == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageAttach(p0, p1, p2)\n}\n```",
|
|
"summary": "paths.SectorIndex\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.StorageInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8",
|
|
"URLs": [
|
|
"string value"
|
|
],
|
|
"Weight": 42,
|
|
"MaxStorage": 42,
|
|
"CanSeal": true,
|
|
"CanStore": true,
|
|
"Groups": [
|
|
"string value"
|
|
],
|
|
"AllowTo": [
|
|
"string value"
|
|
],
|
|
"AllowTypes": [
|
|
"string value"
|
|
],
|
|
"DenyTypes": [
|
|
"string value"
|
|
],
|
|
"AllowMiners": [
|
|
"string value"
|
|
],
|
|
"DenyMiners": [
|
|
"string value"
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"AllowMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTo": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CanSeal": {
|
|
"type": "boolean"
|
|
},
|
|
"CanStore": {
|
|
"type": "boolean"
|
|
},
|
|
"DenyMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DenyTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Groups": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"MaxStorage": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"URLs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Weight": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "fsutil.FsStat",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Capacity": 9,
|
|
"Available": 9,
|
|
"FSAvailable": 9,
|
|
"Reserved": 9,
|
|
"Max": 9,
|
|
"Used": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Available": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Capacity": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"FSAvailable": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Max": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Reserved": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Used": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7034"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageAuthVerify",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageAuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error) {\n\tif s.Internal.StorageAuthVerify == nil {\n\t\treturn *new([]auth.Permission), ErrNotSupported\n\t}\n\treturn s.Internal.StorageAuthVerify(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]auth.Permission",
|
|
"description": "[]auth.Permission",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
"write"
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"type": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7045"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageBestAlloc",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageBestAlloc(p0 context.Context, p1 storiface.SectorFileType, p2 abi.SectorSize, p3 storiface.PathType, p4 abi.ActorID) ([]storiface.StorageInfo, error) {\n\tif s.Internal.StorageBestAlloc == nil {\n\t\treturn *new([]storiface.StorageInfo), ErrNotSupported\n\t}\n\treturn s.Internal.StorageBestAlloc(p0, p1, p2, p3, p4)\n}\n```",
|
|
"summary": "StorageBestAlloc returns list of paths where sector files of the specified type can be allocated, ordered by preference.\nPaths with more weight and more % of free space are preferred.\nNote: This method doesn't filter paths based on AllowTypes/DenyTypes.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "abi.SectorSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
34359738368
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "storiface.PathType",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"sealing"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p4",
|
|
"description": "abi.ActorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1000
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]storiface.StorageInfo",
|
|
"description": "[]storiface.StorageInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8",
|
|
"URLs": [
|
|
"string value"
|
|
],
|
|
"Weight": 42,
|
|
"MaxStorage": 42,
|
|
"CanSeal": true,
|
|
"CanStore": true,
|
|
"Groups": [
|
|
"string value"
|
|
],
|
|
"AllowTo": [
|
|
"string value"
|
|
],
|
|
"AllowTypes": [
|
|
"string value"
|
|
],
|
|
"DenyTypes": [
|
|
"string value"
|
|
],
|
|
"AllowMiners": [
|
|
"string value"
|
|
],
|
|
"DenyMiners": [
|
|
"string value"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"AllowMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTo": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CanSeal": {
|
|
"type": "boolean"
|
|
},
|
|
"CanStore": {
|
|
"type": "boolean"
|
|
},
|
|
"DenyMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DenyTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Groups": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"MaxStorage": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"URLs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Weight": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7056"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageDeclareSector",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageDeclareSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, p3 storiface.SectorFileType, p4 bool) error {\n\tif s.Internal.StorageDeclareSector == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageDeclareSector(p0, p1, p2, p3, p4)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p4",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7067"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageDetach",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageDetach(p0 context.Context, p1 storiface.ID, p2 string) error {\n\tif s.Internal.StorageDetach == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageDetach(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7078"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageDetachLocal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageDetachLocal(p0 context.Context, p1 string) error {\n\tif s.Internal.StorageDetachLocal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageDetachLocal(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7089"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageDropSector",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageDropSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, p3 storiface.SectorFileType) error {\n\tif s.Internal.StorageDropSector == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageDropSector(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7100"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageFindSector",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error) {\n\tif s.Internal.StorageFindSector == nil {\n\t\treturn *new([]storiface.SectorStorageInfo), ErrNotSupported\n\t}\n\treturn s.Internal.StorageFindSector(p0, p1, p2, p3, p4)\n}\n```",
|
|
"summary": "StorageFindSector returns list of paths where the specified sector files exist.\n\nIf allowFetch is set, list of paths to which the sector can be fetched will also be returned.\n- Paths which have sector files locally (don't require fetching) will be listed first.\n- Paths which have sector files locally will not be filtered based on based on AllowTypes/DenyTypes.\n- Paths which require fetching will be filtered based on AllowTypes/DenyTypes. If multiple\n file types are specified, each type will be considered individually, and a union of all paths\n which can accommodate each file type will be returned.\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "abi.SectorSize",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
34359738368
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p4",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "[]storiface.SectorStorageInfo",
|
|
"description": "[]storiface.SectorStorageInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
[
|
|
{
|
|
"ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8",
|
|
"URLs": [
|
|
"string value"
|
|
],
|
|
"BaseURLs": [
|
|
"string value"
|
|
],
|
|
"Weight": 42,
|
|
"CanSeal": true,
|
|
"CanStore": true,
|
|
"Primary": true,
|
|
"AllowTypes": [
|
|
"string value"
|
|
],
|
|
"DenyTypes": [
|
|
"string value"
|
|
],
|
|
"AllowMiners": [
|
|
"string value"
|
|
],
|
|
"DenyMiners": [
|
|
"string value"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"items": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"AllowMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"BaseURLs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CanSeal": {
|
|
"type": "boolean"
|
|
},
|
|
"CanStore": {
|
|
"type": "boolean"
|
|
},
|
|
"DenyMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DenyTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Primary": {
|
|
"type": "boolean"
|
|
},
|
|
"URLs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Weight": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
}
|
|
],
|
|
"type": [
|
|
"array"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7111"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageGetLocks",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageGetLocks(p0 context.Context) (storiface.SectorLocks, error) {\n\tif s.Internal.StorageGetLocks == nil {\n\t\treturn *new(storiface.SectorLocks), ErrNotSupported\n\t}\n\treturn s.Internal.StorageGetLocks(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "storiface.SectorLocks",
|
|
"description": "storiface.SectorLocks",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Locks": [
|
|
{
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 123
|
|
},
|
|
"Write": [
|
|
0,
|
|
0,
|
|
1,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"Read": [
|
|
2,
|
|
3,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Locks": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Read": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 6,
|
|
"minItems": 6,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Write": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 6,
|
|
"minItems": 6,
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7122"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageInfo",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error) {\n\tif s.Internal.StorageInfo == nil {\n\t\treturn *new(storiface.StorageInfo), ErrNotSupported\n\t}\n\treturn s.Internal.StorageInfo(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "storiface.StorageInfo",
|
|
"description": "storiface.StorageInfo",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8",
|
|
"URLs": [
|
|
"string value"
|
|
],
|
|
"Weight": 42,
|
|
"MaxStorage": 42,
|
|
"CanSeal": true,
|
|
"CanStore": true,
|
|
"Groups": [
|
|
"string value"
|
|
],
|
|
"AllowTo": [
|
|
"string value"
|
|
],
|
|
"AllowTypes": [
|
|
"string value"
|
|
],
|
|
"DenyTypes": [
|
|
"string value"
|
|
],
|
|
"AllowMiners": [
|
|
"string value"
|
|
],
|
|
"DenyMiners": [
|
|
"string value"
|
|
]
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"AllowMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTo": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AllowTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CanSeal": {
|
|
"type": "boolean"
|
|
},
|
|
"CanStore": {
|
|
"type": "boolean"
|
|
},
|
|
"DenyMiners": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DenyTypes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Groups": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"MaxStorage": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"URLs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Weight": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7133"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageList",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageList(p0 context.Context) (map[storiface.ID][]storiface.Decl, error) {\n\tif s.Internal.StorageList == nil {\n\t\treturn *new(map[storiface.ID][]storiface.Decl), ErrNotSupported\n\t}\n\treturn s.Internal.StorageList(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[storiface.ID][]storiface.Decl",
|
|
"description": "map[storiface.ID][]storiface.Decl",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 100,
|
|
"SectorFileType": 2
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7144"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageLocal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageLocal(p0 context.Context) (map[storiface.ID]string, error) {\n\tif s.Internal.StorageLocal == nil {\n\t\treturn *new(map[storiface.ID]string), ErrNotSupported\n\t}\n\treturn s.Internal.StorageLocal(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[storiface.ID]string",
|
|
"description": "map[storiface.ID]string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8": "/data/path"
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7155"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageLock",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) error {\n\tif s.Internal.StorageLock == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageLock(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7166"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageRedeclareLocal",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageRedeclareLocal(p0 context.Context, p1 *storiface.ID, p2 bool) error {\n\tif s.Internal.StorageRedeclareLocal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageRedeclareLocal(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "*storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"1399aa04-2625-44b1-bad4-bd07b59b22c4"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7177"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageReportHealth",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageReportHealth(p0 context.Context, p1 storiface.ID, p2 storiface.HealthReport) error {\n\tif s.Internal.StorageReportHealth == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.StorageReportHealth(p0, p1, p2)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.HealthReport",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Stat": {
|
|
"Capacity": 9,
|
|
"Available": 9,
|
|
"FSAvailable": 9,
|
|
"Reserved": 9,
|
|
"Max": 9,
|
|
"Used": 9
|
|
},
|
|
"Err": "string value"
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Err": {
|
|
"type": "string"
|
|
},
|
|
"Stat": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Available": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Capacity": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"FSAvailable": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Max": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Reserved": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Used": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7188"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageStat",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageStat(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error) {\n\tif s.Internal.StorageStat == nil {\n\t\treturn *new(fsutil.FsStat), ErrNotSupported\n\t}\n\treturn s.Internal.StorageStat(p0, p1)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "storiface.ID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "fsutil.FsStat",
|
|
"description": "fsutil.FsStat",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Capacity": 9,
|
|
"Available": 9,
|
|
"FSAvailable": 9,
|
|
"Reserved": 9,
|
|
"Max": 9,
|
|
"Used": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Available": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Capacity": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"FSAvailable": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Max": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Reserved": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Used": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7199"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.StorageTryLock",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) StorageTryLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) (bool, error) {\n\tif s.Internal.StorageTryLock == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.StorageTryLock(p0, p1, p2, p3)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "abi.SectorID",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"Miner": 1000,
|
|
"Number": 9
|
|
}
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p2",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"name": "p3",
|
|
"description": "storiface.SectorFileType",
|
|
"summary": "",
|
|
"schema": {
|
|
"title": "number",
|
|
"description": "Number is a number",
|
|
"examples": [
|
|
1
|
|
],
|
|
"type": [
|
|
"number"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "bool",
|
|
"description": "bool",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
true
|
|
],
|
|
"type": [
|
|
"boolean"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7210"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.WorkerConnect",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) WorkerConnect(p0 context.Context, p1 string) error {\n\tif s.Internal.WorkerConnect == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.WorkerConnect(p0, p1)\n}\n```",
|
|
"summary": "WorkerConnect tells the node to connect to workers RPC\n",
|
|
"paramStructure": "by-position",
|
|
"params": [
|
|
{
|
|
"name": "p1",
|
|
"description": "string",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
"string value"
|
|
],
|
|
"type": [
|
|
"string"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"result": {
|
|
"name": "Null",
|
|
"description": "Null",
|
|
"schema": {
|
|
"type": [
|
|
"null"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7221"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.WorkerJobs",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) WorkerJobs(p0 context.Context) (map[uuid.UUID][]storiface.WorkerJob, error) {\n\tif s.Internal.WorkerJobs == nil {\n\t\treturn *new(map[uuid.UUID][]storiface.WorkerJob), ErrNotSupported\n\t}\n\treturn s.Internal.WorkerJobs(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[uuid.UUID][]storiface.WorkerJob",
|
|
"description": "map[uuid.UUID][]storiface.WorkerJob",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"ef8d99a2-6865-4189-8ffa-9fef0f806eee": [
|
|
{
|
|
"ID": {
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 100
|
|
},
|
|
"ID": "76081ba0-61bd-45a5-bc08-af05f1c26e5d"
|
|
},
|
|
"Sector": {
|
|
"Miner": 1000,
|
|
"Number": 100
|
|
},
|
|
"Task": "seal/v0/precommit/2",
|
|
"RunWait": 0,
|
|
"Start": "2020-11-12T09:22:07Z",
|
|
"Hostname": "host"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Hostname": {
|
|
"type": "string"
|
|
},
|
|
"ID": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ID": {
|
|
"items": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"maxItems": 16,
|
|
"minItems": 16,
|
|
"type": "array"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RunWait": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Sector": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Miner": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Number": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Start": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"Task": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7232"
|
|
}
|
|
},
|
|
{
|
|
"name": "Filecoin.WorkerStats",
|
|
"description": "```go\nfunc (s *StorageMinerStruct) WorkerStats(p0 context.Context) (map[uuid.UUID]storiface.WorkerStats, error) {\n\tif s.Internal.WorkerStats == nil {\n\t\treturn *new(map[uuid.UUID]storiface.WorkerStats), ErrNotSupported\n\t}\n\treturn s.Internal.WorkerStats(p0)\n}\n```",
|
|
"summary": "",
|
|
"paramStructure": "by-position",
|
|
"params": [],
|
|
"result": {
|
|
"name": "map[uuid.UUID]storiface.WorkerStats",
|
|
"description": "map[uuid.UUID]storiface.WorkerStats",
|
|
"summary": "",
|
|
"schema": {
|
|
"examples": [
|
|
{
|
|
"ef8d99a2-6865-4189-8ffa-9fef0f806eee": {
|
|
"Info": {
|
|
"Hostname": "host",
|
|
"IgnoreResources": false,
|
|
"Resources": {
|
|
"MemPhysical": 274877906944,
|
|
"MemUsed": 2147483648,
|
|
"MemSwap": 128849018880,
|
|
"MemSwapUsed": 2147483648,
|
|
"CPUs": 64,
|
|
"GPUs": [
|
|
"aGPU 1337"
|
|
],
|
|
"Resources": {
|
|
"post/v0/windowproof": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 103079215104,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 128849018880,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 103079215104,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 128849018880,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 103079215104,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 128849018880,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"post/v0/winningproof": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/addpiece": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/commit/1": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/commit/2": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 161061273600,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 204010946560,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 161061273600,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 204010946560,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 161061273600,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 204010946560,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/datacid": {
|
|
"0": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/fetch": {
|
|
"0": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 1048576,
|
|
"MaxMemory": 1048576,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 0,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/precommit/1": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 805306368,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1048576,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 60129542144,
|
|
"MaxMemory": 68719476736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 120259084288,
|
|
"MaxMemory": 137438953472,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 805306368,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1048576,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 60129542144,
|
|
"MaxMemory": 68719476736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 120259084288,
|
|
"MaxMemory": 137438953472,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 805306368,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1048576,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 60129542144,
|
|
"MaxMemory": 68719476736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 120259084288,
|
|
"MaxMemory": 137438953472,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/precommit/2": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 16106127360,
|
|
"MaxMemory": 16106127360,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 32212254720,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 16106127360,
|
|
"MaxMemory": 16106127360,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 32212254720,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 16106127360,
|
|
"MaxMemory": 16106127360,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 32212254720,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/provereplicaupdate/1": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 0,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/provereplicaupdate/2": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 161061273600,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 204010946560,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 161061273600,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 204010946560,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1610612736,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10737418240,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 32212254720,
|
|
"MaxMemory": 161061273600,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 34359738368,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 64424509440,
|
|
"MaxMemory": 204010946560,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": -1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 68719476736,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/regensectorkey": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/replicaupdate": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 1073741824,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 4294967296,
|
|
"MaxMemory": 4294967296,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 8589934592,
|
|
"MaxMemory": 8589934592,
|
|
"GPUUtilization": 1,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 6,
|
|
"BaseMinMemory": 1073741824,
|
|
"MaxConcurrent": 0
|
|
}
|
|
},
|
|
"seal/v0/unseal": {
|
|
"0": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"1": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"10": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"11": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"12": {
|
|
"MinMemory": 805306368,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1048576,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"13": {
|
|
"MinMemory": 60129542144,
|
|
"MaxMemory": 68719476736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"14": {
|
|
"MinMemory": 120259084288,
|
|
"MaxMemory": 137438953472,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"2": {
|
|
"MinMemory": 805306368,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1048576,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"3": {
|
|
"MinMemory": 60129542144,
|
|
"MaxMemory": 68719476736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"4": {
|
|
"MinMemory": 120259084288,
|
|
"MaxMemory": 137438953472,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"5": {
|
|
"MinMemory": 2048,
|
|
"MaxMemory": 2048,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 2048,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"6": {
|
|
"MinMemory": 8388608,
|
|
"MaxMemory": 8388608,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 8388608,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"7": {
|
|
"MinMemory": 805306368,
|
|
"MaxMemory": 1073741824,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 1048576,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"8": {
|
|
"MinMemory": 60129542144,
|
|
"MaxMemory": 68719476736,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
},
|
|
"9": {
|
|
"MinMemory": 120259084288,
|
|
"MaxMemory": 137438953472,
|
|
"GPUUtilization": 0,
|
|
"MaxParallelism": 1,
|
|
"MaxParallelismGPU": 0,
|
|
"BaseMinMemory": 10485760,
|
|
"MaxConcurrent": 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Tasks": null,
|
|
"Enabled": true,
|
|
"MemUsedMin": 0,
|
|
"MemUsedMax": 0,
|
|
"GpuUsed": 0,
|
|
"CpuUse": 0,
|
|
"TaskCounts": null
|
|
}
|
|
}
|
|
],
|
|
"patternProperties": {
|
|
".*": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CpuUse": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"GpuUsed": {
|
|
"type": "number"
|
|
},
|
|
"Info": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"Hostname": {
|
|
"type": "string"
|
|
},
|
|
"IgnoreResources": {
|
|
"type": "boolean"
|
|
},
|
|
"Resources": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"CPUs": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"GPUs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"MemPhysical": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MemSwap": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MemSwapUsed": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MemUsed": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"Resources": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"BaseMinMemory": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"GPUUtilization": {
|
|
"type": "number"
|
|
},
|
|
"MaxConcurrent": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MaxMemory": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MaxParallelism": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MaxParallelismGPU": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MinMemory": {
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MemUsedMax": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"MemUsedMin": {
|
|
"title": "number",
|
|
"type": "number"
|
|
},
|
|
"TaskCounts": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"description": "Number is a number",
|
|
"title": "number",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Tasks": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": [
|
|
"object"
|
|
]
|
|
},
|
|
"required": true,
|
|
"deprecated": false
|
|
},
|
|
"deprecated": false,
|
|
"externalDocs": {
|
|
"description": "Github remote link",
|
|
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L7243"
|
|
}
|
|
}
|
|
]
|
|
} |