From bc05618fd1a6ca547b324d30f761c115b6951ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 16 Nov 2020 19:19:03 +0100 Subject: [PATCH] docsgen --- documentation/en/api-methods-miner.md | 2 +- documentation/en/api-methods-worker.md | 77 ++++++++++++++++++-------- documentation/en/api-methods.md | 12 ++-- 3 files changed, 62 insertions(+), 29 deletions(-) diff --git a/documentation/en/api-methods-miner.md b/documentation/en/api-methods-miner.md index e8c4d802c..a805777b5 100644 --- a/documentation/en/api-methods-miner.md +++ b/documentation/en/api-methods-miner.md @@ -1422,7 +1422,7 @@ Response: "ToUpgrade": true, "LastErr": "string value", "Log": null, - "SealProof": 3, + "SealProof": 8, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", diff --git a/documentation/en/api-methods-worker.md b/documentation/en/api-methods-worker.md index 62b6d175c..3f04ae85a 100644 --- a/documentation/en/api-methods-worker.md +++ b/documentation/en/api-methods-worker.md @@ -55,8 +55,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, 1, "sealing", @@ -155,8 +158,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null, 1024, @@ -187,8 +193,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null ] @@ -217,8 +226,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, 1 ] @@ -262,8 +274,11 @@ Inputs: [ {}, { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, 1040384, 1024 @@ -293,8 +308,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null ] @@ -323,8 +341,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null, null, @@ -360,8 +381,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null ] @@ -387,8 +411,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null, null @@ -415,8 +442,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, null ] @@ -499,8 +529,11 @@ Inputs: ```json [ { - "Miner": 1000, - "Number": 9 + "ID": { + "Miner": 1000, + "Number": 9 + }, + "ProofType": 8 }, 1040384, 1024, diff --git a/documentation/en/api-methods.md b/documentation/en/api-methods.md index 8947d8d5f..375f2c690 100644 --- a/documentation/en/api-methods.md +++ b/documentation/en/api-methods.md @@ -3874,7 +3874,7 @@ Response: "WorkerChangeEpoch": 10101, "PeerId": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Multiaddrs": null, - "SealProofType": 3, + "SealProofType": 8, "SectorSize": 34359738368, "WindowPoStPartitionSectors": 42, "ConsensusFaultElapsed": 10101 @@ -3892,7 +3892,7 @@ Inputs: [ "f01234", { - "SealProof": 3, + "SealProof": 8, "SectorNumber": 9, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -3989,7 +3989,7 @@ Inputs: [ "f01234", { - "SealProof": 3, + "SealProof": 8, "SectorNumber": 9, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -4194,7 +4194,7 @@ Inputs: ] ``` -Response: `6` +Response: `8` ### StateReadState StateReadState returns the indicated actor's state. @@ -4415,7 +4415,7 @@ Response: ```json { "SectorNumber": 9, - "SealProof": 3, + "SealProof": 8, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, @@ -4486,7 +4486,7 @@ Response: ```json { "Info": { - "SealProof": 3, + "SealProof": 8, "SectorNumber": 9, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"