diff --git a/.circleci/config.yml b/.circleci/config.yml index 5dd617e6a..292f778fc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,16 +12,6 @@ executors: ubuntu: docker: - image: ubuntu:20.04 - packer: - description: | - The HashiCorp provided Packer container - parameters: - packer-version: - type: string - default: "1.8" - docker: - - image: hashicorp/packer:<< parameters.packer-version >> - commands: prepare: @@ -109,25 +99,6 @@ commands: name: fetch all tags command: | git fetch --all - packer_build: - description: "Run a packer build" - parameters: - template: - description: | - The name of the packer template file - type: string - default: packer.json - args: - description: | - Arguments to pass to the packer build command - type: string - default: "" - - steps: - - run: - name: "Run a packer build" - command: packer build << parameters.args >> << parameters.template >> - no_output_timeout: 1h jobs: mod-tidy-check: @@ -596,8 +567,8 @@ jobs: command: | docker push filecoin/<>:<> if [[ ! -z $CIRCLE_SHA ]]; then - docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_SHA}" - docker push filecoin/<>:"${CIRCLE_SHA}" + docker image tag filecoin/<>:<>> filecoin/<>:"${CIRCLE_SHA:0:7}" + docker push filecoin/<>:"${CIRCLE_SHA:0:7}" fi if [[ ! -z $CIRCLE_TAG ]]; then docker image tag filecoin/<>:<> filecoin/<>:"${CIRCLE_TAG}" @@ -626,8 +597,8 @@ jobs: command: | docker push filecoin/<>:<>-<> if [[ ! -z $CIRCLE_SHA ]]; then - docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_SHA}"-<> - docker push filecoin/<>:"${CIRCLE_SHA}"-<> + docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_SHA:0:7}"-<> + docker push filecoin/<>:"${CIRCLE_SHA:0:7}"-<> fi if [[ ! -z $CIRCLE_TAG ]]; then docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_TAG}"-<> @@ -640,15 +611,6 @@ jobs: image: filecoin/<> extra_build_args: --target <> --build-arg GOFLAGS=-tags=<> - publish-packer-snap: - description: build packer image with snap. mainnet only. - executor: - name: packer - steps: - - checkout - - packer_build: - template: tools/packer/lotus-snap.pkr.hcl - workflows: version: 2.1 ci: @@ -1389,13 +1351,3 @@ workflows: channel: nightly network: debug push: true - biweekly: - triggers: - - schedule: - cron: "0 0 1,15 * *" - filters: - branches: - only: - - master - jobs: - - publish-packer-snap diff --git a/.circleci/template.yml b/.circleci/template.yml index 4240d7ae2..58a91114b 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -12,16 +12,6 @@ executors: ubuntu: docker: - image: ubuntu:20.04 - packer: - description: | - The HashiCorp provided Packer container - parameters: - packer-version: - type: string - default: "1.8" - docker: - - image: hashicorp/packer:<< parameters.packer-version >> - commands: prepare: @@ -109,25 +99,6 @@ commands: name: fetch all tags command: | git fetch --all - packer_build: - description: "Run a packer build" - parameters: - template: - description: | - The name of the packer template file - type: string - default: packer.json - args: - description: | - Arguments to pass to the packer build command - type: string - default: "" - - steps: - - run: - name: "Run a packer build" - command: packer build << parameters.args >> << parameters.template >> - no_output_timeout: 1h jobs: mod-tidy-check: @@ -596,8 +567,8 @@ jobs: command: | docker push filecoin/<>:<> if [["[[ ! -z $CIRCLE_SHA ]]"]]; then - docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_SHA}" - docker push filecoin/<>:"${CIRCLE_SHA}" + docker image tag filecoin/<>:<>> filecoin/<>:"${CIRCLE_SHA:0:7}" + docker push filecoin/<>:"${CIRCLE_SHA:0:7}" fi if [["[[ ! -z $CIRCLE_TAG ]]"]]; then docker image tag filecoin/<>:<> filecoin/<>:"${CIRCLE_TAG}" @@ -626,8 +597,8 @@ jobs: command: | docker push filecoin/<>:<>-<> if [["[[ ! -z $CIRCLE_SHA ]]"]]; then - docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_SHA}"-<> - docker push filecoin/<>:"${CIRCLE_SHA}"-<> + docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_SHA:0:7}"-<> + docker push filecoin/<>:"${CIRCLE_SHA:0:7}"-<> fi if [["[[ ! -z $CIRCLE_TAG ]]"]]; then docker image tag filecoin/<>:<>-<> filecoin/<>:"${CIRCLE_TAG}"-<> @@ -640,15 +611,6 @@ jobs: image: filecoin/<> extra_build_args: --target <> --build-arg GOFLAGS=-tags=<> - publish-packer-snap: - description: build packer image with snap. mainnet only. - executor: - name: packer - steps: - - checkout - - packer_build: - template: tools/packer/lotus-snap.pkr.hcl - workflows: version: 2.1 ci: @@ -903,13 +865,3 @@ workflows: network: [[.]] push: true [[- end]] - biweekly: - triggers: - - schedule: - cron: "0 0 1,15 * *" - filters: - branches: - only: - - master - jobs: - - publish-packer-snap diff --git a/api/docgen/docgen.go b/api/docgen/docgen.go index efb90c533..e8c667770 100644 --- a/api/docgen/docgen.go +++ b/api/docgen/docgen.go @@ -24,8 +24,6 @@ import ( "github.com/libp2p/go-libp2p/core/peer" "github.com/libp2p/go-libp2p/core/protocol" "github.com/multiformats/go-multiaddr" - "golang.org/x/text/cases" - "golang.org/x/text/language" "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-bitfield" @@ -458,8 +456,8 @@ func exampleStruct(method string, t, parent reflect.Type) interface{} { if f.Type == parent { continue } - caser := cases.Title(language.English) - if caser.String(f.Name) == f.Name { + + if f.IsExported() { ns.Elem().Field(i).Set(reflect.ValueOf(ExampleValue(method, f.Type, t))) } } diff --git a/build/openrpc/full.json.gz b/build/openrpc/full.json.gz index b03f845f9..114fb584a 100644 Binary files a/build/openrpc/full.json.gz and b/build/openrpc/full.json.gz differ diff --git a/build/openrpc/gateway.json.gz b/build/openrpc/gateway.json.gz index e1b3bd2db..8b3fc78f2 100644 Binary files a/build/openrpc/gateway.json.gz and b/build/openrpc/gateway.json.gz differ diff --git a/build/openrpc/miner.json.gz b/build/openrpc/miner.json.gz index d69d9d519..0424b7cad 100644 Binary files a/build/openrpc/miner.json.gz and b/build/openrpc/miner.json.gz differ diff --git a/build/openrpc/worker.json.gz b/build/openrpc/worker.json.gz index 271a18a0f..72a40797a 100644 Binary files a/build/openrpc/worker.json.gz and b/build/openrpc/worker.json.gz differ diff --git a/chain/messagepool/messagepool.go b/chain/messagepool/messagepool.go index 0724f145f..94ae62673 100644 --- a/chain/messagepool/messagepool.go +++ b/chain/messagepool/messagepool.go @@ -443,8 +443,12 @@ func New(ctx context.Context, api Provider, ds dtypes.MetadataDS, us stmgr.Upgra return mp, nil } -func (mp *MessagePool) ForEachPendingMessage(f func(cid.Cid) error) error { - mp.lk.Lock() +func (mp *MessagePool) TryForEachPendingMessage(f func(cid.Cid) error) error { + // avoid deadlocks in splitstore compaction when something else needs to access the blockstore + // while holding the mpool lock + if !mp.lk.TryLock() { + return xerrors.Errorf("mpool TryForEachPendingMessage: could not acquire lock") + } defer mp.lk.Unlock() for _, mset := range mp.pending { diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index 789f26a85..cb94cf3f7 100644 --- a/documentation/en/api-v0-methods-miner.md +++ b/documentation/en/api-v0-methods-miner.md @@ -252,8 +252,8 @@ Response: ```json { "Version": "string value", - "APIVersion": 0, - "BlockDelay": 0 + "APIVersion": 131840, + "BlockDelay": 42 } ``` @@ -279,12 +279,20 @@ Inputs: `null` Response: ```json { - "PreCommitControl": null, - "CommitControl": null, - "TerminateControl": null, - "DealPublishControl": null, - "DisableOwnerFallback": false, - "DisableWorkerFallback": false + "PreCommitControl": [ + "f01234" + ], + "CommitControl": [ + "f01234" + ], + "TerminateControl": [ + "f01234" + ], + "DealPublishControl": [ + "f01234" + ], + "DisableOwnerFallback": true, + "DisableWorkerFallback": true } ``` @@ -402,10 +410,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 } ] ] @@ -438,7 +446,9 @@ Response: ```json { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ``` @@ -452,10 +462,12 @@ Inputs: [ [ { - "SealProof": 0, - "SectorNumber": 0, + "SealProof": 8, + "SectorNumber": 9, "SectorKey": null, - "SealedCID": null + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ], "Bw==", @@ -468,8 +480,8 @@ Response: ```json [ { - "PoStProof": 0, - "ProofBytes": null + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" } ] ``` @@ -510,12 +522,12 @@ Response: ], "Proofs": [ { - "PoStProof": 0, - "ProofBytes": null + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" } ], - "ChainCommitEpoch": 0, - "ChainCommitRand": null + "ChainCommitEpoch": 10101, + "ChainCommitRand": "Bw==" } ] ``` @@ -579,8 +591,8 @@ Inputs: ```json [ { - "MaxConcurrency": 0, - "IncludeSealed": false + "MaxConcurrency": 123, + "IncludeSealed": true } ] ``` @@ -794,22 +806,24 @@ Response: [ { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 0, - "LastUpdatedEpoch": 0, - "SlashEpoch": 0, + "SectorStartEpoch": 10101, + "LastUpdatedEpoch": 10101, + "SlashEpoch": 10101, "VerifiedClaim": 0 } } @@ -996,8 +1010,16 @@ Response: "Subsystem": "string value" }, "Active": true, - "LastActive": null, - "LastResolved": null + "LastActive": { + "Type": "string value", + "Message": "json raw message", + "Time": "0001-01-01T00:00:00Z" + }, + "LastResolved": { + "Type": "string value", + "Message": "json raw message", + "Time": "0001-01-01T00:00:00Z" + } } ] ``` @@ -1067,8 +1089,94 @@ Inputs: Response: ```json { - "ReceivingTransfers": null, - "SendingTransfers": null + "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" + ] + } + ] } ``` @@ -1082,14 +1190,16 @@ Inputs: `null` Response: ```json { - "TransferID": 0, + "TransferID": 3, "Status": 1, - "BaseCID": null, - "IsInitiator": false, - "IsSender": false, + "BaseCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "IsInitiator": true, + "IsSender": true, "Voucher": "string value", "Message": "string value", - "OtherPeer": "", + "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Transferred": 42, "Stages": { "Stages": [ @@ -1123,12 +1233,12 @@ Response: "Ask": { "Price": "0", "VerifiedPrice": "0", - "MinPieceSize": 0, - "MaxPieceSize": 0, + "MinPieceSize": 1032, + "MaxPieceSize": 1032, "Miner": "f01234", "Timestamp": 10101, "Expiry": 10101, - "SeqNo": 0 + "SeqNo": 42 }, "Signature": { "Type": 2, @@ -1148,49 +1258,57 @@ Response: ```json { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, - "Client": "\u003cempty\u003e", - "Provider": "\u003cempty\u003e", + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, + "Client": "f01234", + "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, - "StoragePricePerEpoch": "\u003cnil\u003e", - "ProviderCollateral": "\u003cnil\u003e", - "ClientCollateral": "\u003cnil\u003e" + "StartEpoch": 10101, + "EndEpoch": 10101, + "StoragePricePerEpoch": "0", + "ProviderCollateral": "0", + "ClientCollateral": "0" }, "ClientSignature": { - "Type": 0, - "Data": null + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "ProposalCid": null, "AddFundsCid": null, "PublishCid": null, "Miner": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Client": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "State": 42, - "PiecePath": "", - "MetadataPath": "", - "SlashEpoch": 0, - "FastRetrieval": false, + "PiecePath": ".lotusminer/fstmp123", + "MetadataPath": ".lotusminer/fstmp123", + "SlashEpoch": 10101, + "FastRetrieval": true, "Message": "string value", - "FundsReserved": "\u003cnil\u003e", + "FundsReserved": "0", "Ref": { - "TransferType": "", + "TransferType": "string value", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 0, - "RawBlockSize": 0 + "PieceSize": 1024, + "RawBlockSize": 42 }, - "AvailableForRetrieval": false, - "DealID": 0, + "AvailableForRetrieval": true, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", - "TransferChannelId": null, - "SectorNumber": 0, - "InboundCAR": "" + "TransferChannelId": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "SectorNumber": 9, + "InboundCAR": "string value" } ``` @@ -1206,8 +1324,8 @@ Response: { "PricePerByte": "0", "UnsealPrice": "0", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0 + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42 } ``` @@ -1239,14 +1357,16 @@ Response: ```json [ { - "TransferID": 0, + "TransferID": 3, "Status": 1, - "BaseCID": null, - "IsInitiator": false, - "IsSender": false, + "BaseCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "IsInitiator": true, + "IsSender": true, "Voucher": "string value", "Message": "string value", - "OtherPeer": "", + "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Transferred": 42, "Stages": { "Stages": [ @@ -1280,22 +1400,24 @@ Response: [ { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 0, - "LastUpdatedEpoch": 0, - "SlashEpoch": 0, + "SectorStartEpoch": 10101, + "LastUpdatedEpoch": 10101, + "SlashEpoch": 10101, "VerifiedClaim": 0 } } @@ -1314,49 +1436,57 @@ Response: [ { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, - "Client": "\u003cempty\u003e", - "Provider": "\u003cempty\u003e", + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, + "Client": "f01234", + "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "ClientSignature": { - "Type": 0, - "Data": null + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "ProposalCid": null, "AddFundsCid": null, "PublishCid": null, "Miner": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Client": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "State": 42, - "PiecePath": "", - "MetadataPath": "", - "SlashEpoch": 0, - "FastRetrieval": false, + "PiecePath": ".lotusminer/fstmp123", + "MetadataPath": ".lotusminer/fstmp123", + "SlashEpoch": 10101, + "FastRetrieval": true, "Message": "string value", "FundsReserved": "0", "Ref": { - "TransferType": "", + "TransferType": "string value", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 0, - "RawBlockSize": 0 + "PieceSize": 1024, + "RawBlockSize": 42 }, - "AvailableForRetrieval": false, - "DealID": 0, + "AvailableForRetrieval": true, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", - "TransferChannelId": null, - "SectorNumber": 0, - "InboundCAR": "" + "TransferChannelId": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "SectorNumber": 9, + "InboundCAR": "string value" } ] ``` @@ -1372,24 +1502,44 @@ Response: ```json [ { - "PayloadCID": null, - "ID": 0, - "Selector": null, + "PayloadCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ID": 5, + "Selector": { + "Raw": "Ynl0ZSBhcnJheQ==" + }, "PieceCID": null, "PricePerByte": "0", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "UnsealPrice": "0", - "StoreID": 0, - "ChannelID": null, - "PieceInfo": null, + "StoreID": 42, + "ChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "PieceInfo": { + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "Deals": [ + { + "DealID": 5432, + "SectorID": 9, + "Offset": 1032, + "Length": 1032 + } + ] + }, "Status": 0, "Receiver": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "TotalSent": 0, + "TotalSent": 42, "FundsReceived": "0", "Message": "string value", - "CurrentInterval": 0, - "LegacyProtocol": false + "CurrentInterval": 42, + "LegacyProtocol": true } ] ``` @@ -1407,26 +1557,28 @@ Response: "Deals": [ { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "ClientSignature": { - "Type": 0, - "Data": null + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" } } ], "PublishPeriodStart": "0001-01-01T00:00:00Z", - "PublishPeriod": 0 + "PublishPeriod": 60000000000 } ``` @@ -1501,8 +1653,8 @@ Inputs: { "PricePerByte": "0", "UnsealPrice": "0", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0 + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42 } ] ``` @@ -1541,7 +1693,7 @@ Inputs: `null` Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1573,7 +1725,7 @@ Response: ```json { "Reachability": 1, - "PublicAddr": "" + "PublicAddr": "string value" } ``` @@ -1587,10 +1739,10 @@ Inputs: `null` Response: ```json { - "TotalIn": 0, - "TotalOut": 0, - "RateIn": 0, - "RateOut": 0 + "TotalIn": 9, + "TotalOut": 9, + "RateIn": 12.3, + "RateOut": 12.3 } ``` @@ -1644,8 +1796,12 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ] ``` @@ -1665,8 +1821,12 @@ Response: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ``` @@ -1682,8 +1842,12 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ] ``` @@ -1699,7 +1863,7 @@ Inputs: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1752,7 +1916,7 @@ Inputs: Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1800,7 +1964,7 @@ Inputs: Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Agent": "string value", "Addrs": [ "string value" @@ -1808,7 +1972,16 @@ Response: "Protocols": [ "string value" ], - "ConnMgrMeta": null + "ConnMgrMeta": { + "FirstSeen": "0001-01-01T00:00:00Z", + "Value": 123, + "Tags": { + "name": 42 + }, + "Conns": { + "name": "2021-03-08T22:52:18Z" + } + } } ``` @@ -1823,7 +1996,7 @@ Response: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1902,7 +2075,7 @@ Response: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Score": { "Score": 12.3, "Topics": { @@ -1913,9 +2086,9 @@ Response: "InvalidMessageDeliveries": 3 } }, - "AppSpecificScore": 0, - "IPColocationFactor": 0, - "BehaviourPenalty": 0 + "AppSpecificScore": 12.3, + "IPColocationFactor": 12.3, + "BehaviourPenalty": 12.3 } } ] @@ -1961,19 +2134,19 @@ Response: ```json { "System": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, + "NumStreamsInbound": 123, + "NumStreamsOutbound": 123, + "NumConnsInbound": 123, + "NumConnsOutbound": 123, + "NumFD": 123, "Memory": 9 }, "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, + "NumStreamsInbound": 123, + "NumStreamsOutbound": 123, + "NumConnsInbound": 123, + "NumConnsOutbound": 123, + "NumFD": 123, "Memory": 9 }, "Services": { @@ -2029,8 +2202,18 @@ Inputs: Response: ```json { - "CID": null, - "PieceBlockLocations": null + "CID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceBlockLocations": [ + { + "RelOffset": 42, + "BlockSize": 42, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + } + ] } ``` @@ -2051,11 +2234,13 @@ Inputs: Response: ```json { - "PieceCID": null, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Deals": [ { - "DealID": 0, - "SectorID": 0, + "DealID": 5432, + "SectorID": 9, "Offset": 1032, "Length": 1032 } @@ -2160,11 +2345,13 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } }, { "Code": 0, @@ -2189,11 +2376,13 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } }, { "Code": 0, @@ -2217,7 +2406,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2241,7 +2430,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2265,7 +2454,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2289,7 +2478,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2313,7 +2502,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2337,7 +2526,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2361,7 +2550,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, [ "Ynl0ZSBhcnJheQ==" @@ -2388,7 +2577,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, "Bw==", { @@ -2413,7 +2602,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, true, { @@ -2438,7 +2627,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2462,11 +2651,15 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { - "NewSealed": null, - "NewUnsealed": null + "NewSealed": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "NewUnsealed": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } }, { "Code": 0, @@ -2490,7 +2683,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, "Bw==", { @@ -2515,7 +2708,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, "Bw==", { @@ -2540,7 +2733,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, "Bw==", { @@ -2565,7 +2758,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Unsealed": { @@ -2597,7 +2790,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" }, { "Code": 0, @@ -2646,7 +2839,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ] ``` @@ -2716,13 +2909,27 @@ Inputs: {}, { "PublishCid": null, - "DealID": 0, - "DealProposal": null, - "DealSchedule": { - "StartEpoch": 0, - "EndEpoch": 0 + "DealID": 5432, + "DealProposal": { + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, + "Client": "f01234", + "Provider": "f01234", + "Label": "", + "StartEpoch": 10101, + "EndEpoch": 10101, + "StoragePricePerEpoch": "0", + "ProviderCollateral": "0", + "ClientCollateral": "0" }, - "KeepUnsealed": false + "DealSchedule": { + "StartEpoch": 10101, + "EndEpoch": 10101 + }, + "KeepUnsealed": true } ] ``` @@ -2752,7 +2959,9 @@ Response: 123, 124 ], - "FailedSectors": null, + "FailedSectors": { + "123": "can't acquire read lock" + }, "Msg": null, "Error": "string value" } @@ -2842,7 +3051,8 @@ Response: 1 ], "InUse": [ - 0 + 5, + 1 ], "Next": 9 } @@ -2989,23 +3199,67 @@ Inputs: { "Piece": { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } }, - "DealInfo": null + "DealInfo": { + "PublishCid": null, + "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 + }, + "KeepUnsealed": true + } } ], - "TicketValue": null, - "TicketEpoch": 0, - "PreCommit1Out": null, + "TicketValue": "Bw==", + "TicketEpoch": 10101, + "PreCommit1Out": "Bw==", "CommD": null, "CommR": null, - "PreCommitInfo": null, - "PreCommitDeposit": null, + "PreCommitInfo": { + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], + "Expiration": 10101, + "UnsealedCid": null + }, + "PreCommitDeposit": "0", "PreCommitMessage": null, - "PreCommitTipSet": [], - "SeedValue": null, - "SeedEpoch": 0, - "CommitProof": null, + "PreCommitTipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], + "SeedValue": "Bw==", + "SeedEpoch": 10101, + "CommitProof": "Ynl0ZSBhcnJheQ==", "CommitMessage": null, "Log": [ { @@ -3015,12 +3269,39 @@ Inputs: "Message": "string value" } ], - "DataUnsealed": null, - "DataSealed": null, - "DataCache": null, - "RemoteCommit1Endpoint": "", - "RemoteCommit2Endpoint": "", - "RemoteSealingDoneEndpoint": "" + "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" } ] ``` @@ -3214,7 +3495,7 @@ Inputs: Response: ```json { - "SectorID": 0, + "SectorID": 9, "State": "Proving", "CommD": null, "CommR": null, @@ -3226,9 +3507,34 @@ Response: { "Piece": { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } }, - "DealInfo": null + "DealInfo": { + "PublishCid": null, + "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 + }, + "KeepUnsealed": true + } } ], "Ticket": { @@ -3242,9 +3548,9 @@ Response: "PreCommitMsg": null, "CommitMsg": null, "Retries": 42, - "ToUpgrade": false, + "ToUpgrade": true, "ReplicaUpdateMessage": null, - "LastErr": "", + "LastErr": "string value", "Log": [ { "Kind": "string value", @@ -3253,13 +3559,13 @@ Response: "Message": "string value" } ], - "SealProof": 0, + "SealProof": 8, "Activation": 10101, "Expiration": 10101, - "DealWeight": "\u003cnil\u003e", - "VerifiedDealWeight": "\u003cnil\u003e", - "InitialPledge": "\u003cnil\u003e", - "OnTime": 0, + "DealWeight": "0", + "VerifiedDealWeight": "0", + "InitialPledge": "0", + "OnTime": 10101, "Early": 10101 } ``` @@ -3289,10 +3595,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, 1040384, 1024, @@ -3357,23 +3663,31 @@ Inputs: ```json [ { - "ID": "", - "URLs": null, + "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", + "URLs": [ + "string value" + ], "Weight": 42, - "MaxStorage": 0, - "CanSeal": false, - "CanStore": false, + "MaxStorage": 42, + "CanSeal": true, + "CanStore": true, "Groups": [ "string value" ], - "AllowTo": null, - "AllowTypes": null, - "DenyTypes": null + "AllowTo": [ + "string value" + ], + "AllowTypes": [ + "string value" + ], + "DenyTypes": [ + "string value" + ] }, { "Capacity": 9, "Available": 9, - "FSAvailable": 0, + "FSAvailable": 9, "Reserved": 9, "Max": 9, "Used": 9 @@ -3423,18 +3737,26 @@ Response: ```json [ { - "ID": "", - "URLs": null, + "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", + "URLs": [ + "string value" + ], "Weight": 42, - "MaxStorage": 0, - "CanSeal": false, - "CanStore": false, + "MaxStorage": 42, + "CanSeal": true, + "CanStore": true, "Groups": [ "string value" ], - "AllowTo": null, - "AllowTypes": null, - "DenyTypes": null + "AllowTo": [ + "string value" + ], + "AllowTypes": [ + "string value" + ], + "DenyTypes": [ + "string value" + ] } ] ``` @@ -3537,15 +3859,23 @@ Response: ```json [ { - "ID": "", - "URLs": null, - "BaseURLs": null, + "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", + "URLs": [ + "string value" + ], + "BaseURLs": [ + "string value" + ], "Weight": 42, - "CanSeal": false, - "CanStore": false, + "CanSeal": true, + "CanStore": true, "Primary": true, - "AllowTypes": null, - "DenyTypes": null + "AllowTypes": [ + "string value" + ], + "DenyTypes": [ + "string value" + ] } ] ``` @@ -3600,18 +3930,26 @@ Inputs: Response: ```json { - "ID": "", - "URLs": null, + "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", + "URLs": [ + "string value" + ], "Weight": 42, - "MaxStorage": 0, - "CanSeal": false, - "CanStore": false, + "MaxStorage": 42, + "CanSeal": true, + "CanStore": true, "Groups": [ "string value" ], - "AllowTo": null, - "AllowTypes": null, - "DenyTypes": null + "AllowTo": [ + "string value" + ], + "AllowTypes": [ + "string value" + ], + "DenyTypes": [ + "string value" + ] } ``` @@ -3696,7 +4034,7 @@ Inputs: "Stat": { "Capacity": 9, "Available": 9, - "FSAvailable": 0, + "FSAvailable": 9, "Reserved": 9, "Max": 9, "Used": 9 @@ -3725,7 +4063,7 @@ Response: { "Capacity": 9, "Available": 9, - "FSAvailable": 0, + "FSAvailable": 9, "Reserved": 9, "Max": 9, "Used": 9 diff --git a/documentation/en/api-v0-methods-worker.md b/documentation/en/api-v0-methods-worker.md index 3b80f9ad7..dab251a7c 100644 --- a/documentation/en/api-v0-methods-worker.md +++ b/documentation/en/api-v0-methods-worker.md @@ -75,10 +75,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, 1, "sealing", @@ -93,7 +93,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -108,14 +108,16 @@ Response: ```json { "Hostname": "string value", - "IgnoreResources": false, + "IgnoreResources": true, "Resources": { - "MemPhysical": 0, - "MemUsed": 0, - "MemSwap": 0, - "MemSwapUsed": 0, - "CPUs": 0, - "GPUs": null, + "MemPhysical": 42, + "MemUsed": 42, + "MemSwap": 42, + "MemSwapUsed": 42, + "CPUs": 42, + "GPUs": [ + "string value" + ], "Resources": { "post/v0/windowproof": { "0": { @@ -1421,11 +1423,11 @@ Response: ```json [ { - "ID": "", + "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", "Weight": 42, - "LocalPath": "", - "CanSeal": false, - "CanStore": false + "LocalPath": "string value", + "CanSeal": true, + "CanStore": true } ] ``` @@ -1490,10 +1492,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, [ 1024 @@ -1510,7 +1512,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1538,7 +1540,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1555,10 +1557,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, true, { @@ -1578,7 +1580,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1595,10 +1597,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 } ] ``` @@ -1610,7 +1612,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1624,10 +1626,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 } ] ``` @@ -1639,7 +1641,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1656,10 +1658,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -1674,7 +1676,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1690,9 +1692,11 @@ Inputs: 1000, [ { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Challenge": [ 42 ], @@ -1708,8 +1712,8 @@ Response: ```json { "PoStProofs": { - "PoStProof": 0, - "ProofBytes": null + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" }, "Skipped": [ { @@ -1732,9 +1736,11 @@ Inputs: 1000, [ { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Challenge": [ 42 ], @@ -1749,8 +1755,8 @@ Response: ```json [ { - "PoStProof": 0, - "ProofBytes": null + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" } ] ``` @@ -1768,10 +1774,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, 1 ] @@ -1784,7 +1790,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1815,10 +1821,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -1839,7 +1845,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1853,10 +1859,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -1880,7 +1886,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1897,10 +1903,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, [ { @@ -1918,7 +1924,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1935,15 +1941,17 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, [ { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ] ] @@ -1956,7 +1964,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -1973,17 +1981,19 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, "Bw==", "Bw==", [ { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ], { @@ -2004,7 +2014,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -2018,10 +2028,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, "Bw==" ] @@ -2034,7 +2044,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -2048,16 +2058,18 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, "Bw==", [ { "Size": 1032, - "PieceCID": null + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ] ] @@ -2070,7 +2082,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -2084,10 +2096,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, "Bw==" ] @@ -2100,7 +2112,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` @@ -2251,10 +2263,10 @@ Inputs: [ { "ID": { - "Miner": 0, - "Number": 0 + "Miner": 1000, + "Number": 9 }, - "ProofType": 0 + "ProofType": 8 }, 1040384, 1024, @@ -2272,7 +2284,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "00000000-0000-0000-0000-000000000000" + "ID": "07070707-0707-0707-0707-070707070707" } ``` diff --git a/documentation/en/api-v0-methods.md b/documentation/en/api-v0-methods.md index bc8b2661c..89b42b53e 100644 --- a/documentation/en/api-v0-methods.md +++ b/documentation/en/api-v0-methods.md @@ -301,8 +301,8 @@ Response: ```json { "Version": "string value", - "APIVersion": 0, - "BlockDelay": 0 + "APIVersion": 131840, + "BlockDelay": 42 } ``` @@ -441,11 +441,24 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -453,15 +466,25 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" } ``` @@ -495,8 +518,49 @@ Inputs: Response: ```json { - "BlsMessages": null, - "SecpkMessages": null, + "BlsMessages": [ + { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + } + ], + "SecpkMessages": [ + { + "Message": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "Signature": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + } + ], "Cids": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -546,13 +610,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` @@ -590,13 +654,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } @@ -654,13 +718,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } @@ -690,7 +754,7 @@ Response: { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 } ] ``` @@ -1092,14 +1156,16 @@ Inputs: `null` Response: ```json { - "TransferID": 0, + "TransferID": 3, "Status": 1, - "BaseCID": null, - "IsInitiator": false, - "IsSender": false, + "BaseCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "IsInitiator": true, + "IsSender": true, "Voucher": "string value", "Message": "string value", - "OtherPeer": "", + "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Transferred": 42, "Stages": { "Stages": [ @@ -1138,9 +1204,11 @@ Inputs: Response: ```json { - "PayloadSize": 0, - "PieceSize": 0, - "PieceCID": null + "PayloadSize": 9, + "PieceSize": 1032, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ``` @@ -1162,8 +1230,8 @@ Inputs: Response: ```json { - "PayloadSize": 0, - "PieceSize": 0 + "PayloadSize": 9, + "PieceSize": 1032 } ``` @@ -1196,12 +1264,12 @@ Response: "MinPrice": "0", "UnsealPrice": "0", "PricePerByte": "0", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Miner": "f01234", "MinerPeer": { - "Address": "\u003cempty\u003e", - "ID": "", + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "PieceCID": null } } @@ -1219,7 +1287,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": false + "IsCAR": true }, "string value" ] @@ -1245,21 +1313,81 @@ Inputs: Response: ```json { - "ProposalCid": null, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "State": 42, "Message": "string value", - "DealStages": null, + "DealStages": { + "Stages": [ + { + "Name": "string value", + "Description": "string value", + "ExpectedDuration": "string value", + "CreatedTime": "0001-01-01T00:00:00Z", + "UpdatedTime": "0001-01-01T00:00:00Z", + "Logs": [ + { + "Log": "string value", + "UpdatedTime": "0001-01-01T00:00:00Z" + } + ] + } + ] + }, "Provider": "f01234", - "DataRef": null, - "PieceCID": null, + "DataRef": { + "TransferType": "string value", + "Root": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceCid": null, + "PieceSize": 1024, + "RawBlockSize": 42 + }, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 0, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "TransferChannelID": null, - "DataTransfer": null + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + } } ``` @@ -1289,21 +1417,81 @@ Inputs: `null` Response: ```json { - "ProposalCid": null, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "State": 42, "Message": "string value", - "DealStages": null, + "DealStages": { + "Stages": [ + { + "Name": "string value", + "Description": "string value", + "ExpectedDuration": "string value", + "CreatedTime": "0001-01-01T00:00:00Z", + "UpdatedTime": "0001-01-01T00:00:00Z", + "Logs": [ + { + "Log": "string value", + "UpdatedTime": "0001-01-01T00:00:00Z" + } + ] + } + ] + }, "Provider": "f01234", - "DataRef": null, - "PieceCID": null, + "DataRef": { + "TransferType": "string value", + "Root": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceCid": null, + "PieceSize": 1024, + "RawBlockSize": 42 + }, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Size": 42, - "PricePerEpoch": "\u003cnil\u003e", + "PricePerEpoch": "0", "Duration": 42, - "DealID": 0, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "TransferChannelID": null, - "DataTransfer": null + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + } } ``` @@ -1318,19 +1506,53 @@ Inputs: `null` Response: ```json { - "PayloadCID": null, - "ID": 0, + "PayloadCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ID": 5, "PieceCID": null, - "PricePerByte": "\u003cnil\u003e", - "UnsealPrice": "\u003cnil\u003e", + "PricePerByte": "0", + "UnsealPrice": "0", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "BytesReceived": 0, - "BytesPaidFor": 0, - "TotalPaid": "\u003cnil\u003e", - "TransferChannelID": null, - "DataTransfer": null, + "BytesReceived": 42, + "BytesPaidFor": 42, + "TotalPaid": "0", + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + }, "Event": 5 } ``` @@ -1363,7 +1585,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": false + "IsCAR": true } ] ``` @@ -1374,7 +1596,7 @@ Response: "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "ImportID": 0 + "ImportID": 50 } ``` @@ -1390,14 +1612,16 @@ Response: ```json [ { - "TransferID": 0, + "TransferID": 3, "Status": 1, - "BaseCID": null, - "IsInitiator": false, - "IsSender": false, + "BaseCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "IsInitiator": true, + "IsSender": true, "Voucher": "string value", "Message": "string value", - "OtherPeer": "", + "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Transferred": 42, "Stages": { "Stages": [ @@ -1431,21 +1655,81 @@ Response: ```json [ { - "ProposalCid": null, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "State": 42, "Message": "string value", - "DealStages": null, + "DealStages": { + "Stages": [ + { + "Name": "string value", + "Description": "string value", + "ExpectedDuration": "string value", + "CreatedTime": "0001-01-01T00:00:00Z", + "UpdatedTime": "0001-01-01T00:00:00Z", + "Logs": [ + { + "Log": "string value", + "UpdatedTime": "0001-01-01T00:00:00Z" + } + ] + } + ] + }, "Provider": "f01234", - "DataRef": null, - "PieceCID": null, + "DataRef": { + "TransferType": "string value", + "Root": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceCid": null, + "PieceSize": 1024, + "RawBlockSize": 42 + }, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 0, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "TransferChannelID": null, - "DataTransfer": null + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + } } ] ``` @@ -1466,8 +1750,8 @@ Response: "Err": "string value", "Root": null, "Source": "string value", - "FilePath": "", - "CARPath": "" + "FilePath": "string value", + "CARPath": "string value" } ] ``` @@ -1485,19 +1769,53 @@ Response: ```json [ { - "PayloadCID": null, - "ID": 0, + "PayloadCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ID": 5, "PieceCID": null, "PricePerByte": "0", "UnsealPrice": "0", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "BytesReceived": 0, - "BytesPaidFor": 0, + "BytesReceived": 42, + "BytesPaidFor": 42, "TotalPaid": "0", - "TransferChannelID": null, - "DataTransfer": null, + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + }, "Event": 5 } ] @@ -1529,15 +1847,15 @@ Response: }, "Piece": null, "Size": 42, - "MinPrice": "\u003cnil\u003e", - "UnsealPrice": "\u003cnil\u003e", - "PricePerByte": "\u003cnil\u003e", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "MinPrice": "0", + "UnsealPrice": "0", + "PricePerByte": "0", + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Miner": "f01234", "MinerPeer": { - "Address": "\u003cempty\u003e", - "ID": "", + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "PieceCID": null } } @@ -1561,12 +1879,12 @@ Response: { "Price": "0", "VerifiedPrice": "0", - "MinPieceSize": 0, - "MaxPieceSize": 0, + "MinPieceSize": 1032, + "MaxPieceSize": 1032, "Miner": "f01234", "Timestamp": 10101, "Expiry": 10101, - "SeqNo": 0 + "SeqNo": 42 } ``` @@ -1616,20 +1934,24 @@ Inputs: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Piece": null, - "DatamodelPathSelector": null, + "DatamodelPathSelector": "Links/21/Hash/Links/42/Hash", "Size": 42, - "FromLocalCAR": "", + "FromLocalCAR": "string value", "Total": "0", - "UnsealPrice": "\u003cnil\u003e", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "UnsealPrice": "0", + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Client": "f01234", "Miner": "f01234", - "MinerPeer": null + "MinerPeer": { + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "PieceCID": null + } }, { "Path": "string value", - "IsCAR": false + "IsCAR": true } ] ``` @@ -1667,20 +1989,24 @@ Inputs: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Piece": null, - "DatamodelPathSelector": null, + "DatamodelPathSelector": "Links/21/Hash/Links/42/Hash", "Size": 42, - "FromLocalCAR": "", + "FromLocalCAR": "string value", "Total": "0", - "UnsealPrice": "\u003cnil\u003e", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "UnsealPrice": "0", + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Client": "f01234", "Miner": "f01234", - "MinerPeer": null + "MinerPeer": { + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "PieceCID": null + } }, { "Path": "string value", - "IsCAR": false + "IsCAR": true } ] ``` @@ -1690,8 +2016,8 @@ Response: { "Event": 5, "Status": 0, - "BytesReceived": 0, - "FundsSpent": "\u003cnil\u003e", + "BytesReceived": 42, + "FundsSpent": "0", "Err": "string value" } ``` @@ -1707,22 +2033,22 @@ Inputs: [ { "Data": { - "TransferType": "", + "TransferType": "string value", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 0, - "RawBlockSize": 0 + "PieceSize": 1024, + "RawBlockSize": 42 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 0, + "MinBlocksDuration": 42, "ProviderCollateral": "0", - "DealStartEpoch": 0, - "FastRetrieval": false, - "VerifiedDeal": false + "DealStartEpoch": 10101, + "FastRetrieval": true, + "VerifiedDeal": true } ] ``` @@ -1740,22 +2066,22 @@ Inputs: [ { "Data": { - "TransferType": "", + "TransferType": "string value", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 0, - "RawBlockSize": 0 + "PieceSize": 1024, + "RawBlockSize": 42 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 0, + "MinBlocksDuration": 42, "ProviderCollateral": "0", - "DealStartEpoch": 0, - "FastRetrieval": false, - "VerifiedDeal": false + "DealStartEpoch": 10101, + "FastRetrieval": true, + "VerifiedDeal": true } ] ``` @@ -1801,13 +2127,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, 9, @@ -1840,13 +2166,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, [ @@ -1903,18 +2229,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, { "MaxFee": "0", - "MsgUuid": "00000000-0000-0000-0000-000000000000" + "MsgUuid": "07070707-0707-0707-0707-070707070707" }, [ { @@ -1935,13 +2261,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` @@ -1977,8 +2303,16 @@ Response: "Subsystem": "string value" }, "Active": true, - "LastActive": null, - "LastResolved": null + "LastActive": { + "Type": "string value", + "Message": "json raw message", + "Time": "0001-01-01T00:00:00Z" + }, + "LastResolved": { + "Type": "string value", + "Message": "json raw message", + "Time": "0001-01-01T00:00:00Z" + } } ] ``` @@ -2134,13 +2468,18 @@ Inputs: } ], "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, "Eproof": { - "WinCount": 0, - "VRFProof": null + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "BeaconValues": null, + "BeaconValues": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], "Messages": [ { "Message": { @@ -2149,13 +2488,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2163,13 +2502,18 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "Epoch": 10101, "Timestamp": 42, - "WinningPoStProof": null + "WinningPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ] } ] ``` @@ -2180,11 +2524,24 @@ Response: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -2192,19 +2549,37 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" }, - "BlsMessages": null, - "SecpkMessages": null + "BlsMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ], + "SecpkMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ] } ``` @@ -2236,20 +2611,27 @@ Response: "NetworkPower": "0", "Sectors": [ { - "SealProof": 0, - "SectorNumber": 0, + "SealProof": 8, + "SectorNumber": 9, "SectorKey": null, - "SealedCID": null + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ], - "WorkerKey": "\u003cempty\u003e", - "SectorSize": 0, + "WorkerKey": "f01234", + "SectorSize": 34359738368, "PrevBeaconEntry": { - "Round": 0, - "Data": null + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" }, - "BeaconEntries": null, - "EligibleForMining": false + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "EligibleForMining": true } ``` @@ -2275,13 +2657,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2289,7 +2671,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2321,19 +2703,19 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], { "MaxFee": "0", - "MsgUuid": "00000000-0000-0000-0000-000000000000" + "MsgUuid": "07070707-0707-0707-0707-070707070707" } ] ``` @@ -2348,13 +2730,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2362,7 +2744,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2385,13 +2767,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2399,7 +2781,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2441,12 +2823,14 @@ Inputs: `null` Response: ```json { - "PriorityAddrs": null, - "SizeLimitHigh": 0, - "SizeLimitLow": 0, - "ReplaceByFeeRatio": 0, - "PruneCooldown": 0, - "GasLimitOverestimation": 0 + "PriorityAddrs": [ + "f01234" + ], + "SizeLimitHigh": 123, + "SizeLimitLow": 123, + "ReplaceByFeeRatio": 12.3, + "PruneCooldown": 60000000000, + "GasLimitOverestimation": 12.3 } ``` @@ -2496,13 +2880,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2510,7 +2894,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2532,13 +2916,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2546,7 +2930,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2579,18 +2963,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, { "MaxFee": "0", - "MsgUuid": "00000000-0000-0000-0000-000000000000" + "MsgUuid": "07070707-0707-0707-0707-070707070707" } ] ``` @@ -2604,13 +2988,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2618,7 +3002,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` @@ -2639,13 +3023,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2653,7 +3037,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2697,13 +3081,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2711,7 +3095,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2727,12 +3111,14 @@ Inputs: ```json [ { - "PriorityAddrs": null, - "SizeLimitHigh": 0, - "SizeLimitLow": 0, - "ReplaceByFeeRatio": 0, - "PruneCooldown": 0, - "GasLimitOverestimation": 0 + "PriorityAddrs": [ + "f01234" + ], + "SizeLimitHigh": 123, + "SizeLimitLow": 123, + "ReplaceByFeeRatio": 12.3, + "PruneCooldown": 60000000000, + "GasLimitOverestimation": 12.3 } ] ``` @@ -2757,13 +3143,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2771,7 +3157,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } @@ -3022,7 +3408,7 @@ Response: ```json [ { - "ID": 0, + "ID": 9, "To": "f01234", "Value": "0", "Method": 1, @@ -3090,9 +3476,9 @@ Inputs: Response: ```json { - "InitialBalance": "\u003cnil\u003e", - "StartEpoch": 0, - "UnlockDuration": 0 + "InitialBalance": "0", + "StartEpoch": 10101, + "UnlockDuration": 10101 } ``` @@ -3241,7 +3627,7 @@ Inputs: `null` Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3273,7 +3659,7 @@ Response: ```json { "Reachability": 1, - "PublicAddr": "" + "PublicAddr": "string value" } ``` @@ -3287,10 +3673,10 @@ Inputs: `null` Response: ```json { - "TotalIn": 0, - "TotalOut": 0, - "RateIn": 0, - "RateOut": 0 + "TotalIn": 9, + "TotalOut": 9, + "RateIn": 12.3, + "RateOut": 12.3 } ``` @@ -3344,8 +3730,12 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ] ``` @@ -3365,8 +3755,12 @@ Response: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ``` @@ -3382,8 +3776,12 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ] ``` @@ -3399,7 +3797,7 @@ Inputs: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3452,7 +3850,7 @@ Inputs: Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3500,7 +3898,7 @@ Inputs: Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Agent": "string value", "Addrs": [ "string value" @@ -3508,7 +3906,16 @@ Response: "Protocols": [ "string value" ], - "ConnMgrMeta": null + "ConnMgrMeta": { + "FirstSeen": "0001-01-01T00:00:00Z", + "Value": 123, + "Tags": { + "name": 42 + }, + "Conns": { + "name": "2021-03-08T22:52:18Z" + } + } } ``` @@ -3523,7 +3930,7 @@ Response: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3602,7 +4009,7 @@ Response: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Score": { "Score": 12.3, "Topics": { @@ -3613,9 +4020,9 @@ Response: "InvalidMessageDeliveries": 3 } }, - "AppSpecificScore": 0, - "IPColocationFactor": 0, - "BehaviourPenalty": 0 + "AppSpecificScore": 12.3, + "IPColocationFactor": 12.3, + "BehaviourPenalty": 12.3 } } ] @@ -3661,19 +4068,19 @@ Response: ```json { "System": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, + "NumStreamsInbound": 123, + "NumStreamsOutbound": 123, + "NumConnsInbound": 123, + "NumConnsOutbound": 123, + "NumFD": 123, "Memory": 9 }, "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, + "NumStreamsInbound": 123, + "NumStreamsOutbound": 123, + "NumConnsInbound": 123, + "NumConnsOutbound": 123, + "NumFD": 123, "Memory": 9 }, "Services": { @@ -3821,7 +4228,9 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": null + "WaitSentinel": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ``` @@ -3868,9 +4277,9 @@ Inputs: [ { "Amount": "0", - "TimeLockMin": 0, - "TimeLockMax": 0, - "MinSettle": 0, + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "MinSettle": 10101, "Extra": { "Actor": "f01234", "Method": 1, @@ -3885,13 +4294,15 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": null, + "WaitSentinel": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Vouchers": [ { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -3900,7 +4311,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -3950,7 +4361,7 @@ Inputs: Response: ```json { - "ControlAddr": "\u003cempty\u003e", + "ControlAddr": "f01234", "Direction": 1 } ``` @@ -3965,10 +4376,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -3977,7 +4388,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4006,10 +4417,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4018,7 +4429,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4047,10 +4458,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4059,7 +4470,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4094,10 +4505,10 @@ Response: ```json { "Voucher": { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4106,7 +4517,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4138,10 +4549,10 @@ Response: ```json [ { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4150,7 +4561,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4175,10 +4586,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4187,7 +4598,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4337,13 +4748,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, [ @@ -4360,25 +4771,33 @@ Inputs: Response: ```json { - "MsgCid": null, + "MsgCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "MsgRct": null, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, "GasCost": { - "Message": null, + "Message": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -4388,12 +4807,95 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "Msg": null, - "MsgRct": null, - "Error": "", - "Duration": 0, - "GasCharges": null, - "Subcalls": null + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": [ + { + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": null + } + ] }, "Error": "string value", "Duration": 60000000000 @@ -4507,13 +5009,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], @@ -4536,25 +5038,33 @@ Response: }, "Trace": [ { - "MsgCid": null, + "MsgCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "MsgRct": null, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, "GasCost": { - "Message": null, + "Message": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -4564,12 +5074,95 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "Msg": null, - "MsgRct": null, - "Error": "", - "Duration": 0, - "GasCharges": null, - "Subcalls": null + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": [ + { + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": null + } + ] }, "Error": "string value", "Duration": 60000000000 @@ -4701,8 +5294,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 0, - "TermMax": 0, + "TermMin": 10101, + "TermMax": 10101, "Expiration": 10101 } ``` @@ -4737,8 +5330,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 0, - "TermMax": 0, + "TermMin": 10101, + "TermMax": 10101, "Expiration": 10101 } ``` @@ -4797,9 +5390,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 0, - "TermMax": 0, - "TermStart": 0, + "TermMin": 10101, + "TermMax": 10101, + "TermStart": 10101, "Sector": 9 } ``` @@ -4838,34 +5431,36 @@ Inputs: `null` Response: ```json { - "NetworkName": "", - "BlockDelaySecs": 0, + "NetworkName": "lotus", + "BlockDelaySecs": 42, "ConsensusMinerMinPower": "0", - "SupportedProofTypes": null, - "PreCommitChallengeDelay": 0, + "SupportedProofTypes": [ + 8 + ], + "PreCommitChallengeDelay": 10101, "ForkUpgradeParams": { - "UpgradeSmokeHeight": 0, - "UpgradeBreezeHeight": 0, - "UpgradeIgnitionHeight": 0, - "UpgradeLiftoffHeight": 0, - "UpgradeAssemblyHeight": 0, - "UpgradeRefuelHeight": 0, - "UpgradeTapeHeight": 0, - "UpgradeKumquatHeight": 0, - "UpgradePriceListOopsHeight": 0, - "BreezeGasTampingDuration": 0, - "UpgradeCalicoHeight": 0, - "UpgradePersianHeight": 0, - "UpgradeOrangeHeight": 0, - "UpgradeClausHeight": 0, - "UpgradeTrustHeight": 0, - "UpgradeNorwegianHeight": 0, - "UpgradeTurboHeight": 0, - "UpgradeHyperdriveHeight": 0, - "UpgradeChocolateHeight": 0, - "UpgradeOhSnapHeight": 0, - "UpgradeSkyrHeight": 0, - "UpgradeSharkHeight": 0 + "UpgradeSmokeHeight": 10101, + "UpgradeBreezeHeight": 10101, + "UpgradeIgnitionHeight": 10101, + "UpgradeLiftoffHeight": 10101, + "UpgradeAssemblyHeight": 10101, + "UpgradeRefuelHeight": 10101, + "UpgradeTapeHeight": 10101, + "UpgradeKumquatHeight": 10101, + "UpgradePriceListOopsHeight": 10101, + "BreezeGasTampingDuration": 10101, + "UpgradeCalicoHeight": 10101, + "UpgradePersianHeight": 10101, + "UpgradeOrangeHeight": 10101, + "UpgradeClausHeight": 10101, + "UpgradeTrustHeight": 10101, + "UpgradeNorwegianHeight": 10101, + "UpgradeTurboHeight": 10101, + "UpgradeHyperdriveHeight": 10101, + "UpgradeChocolateHeight": 10101, + "UpgradeOhSnapHeight": 10101, + "UpgradeSkyrHeight": 10101, + "UpgradeSharkHeight": 10101 } } ``` @@ -4956,7 +5551,7 @@ Response: { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 } ``` @@ -5125,22 +5720,24 @@ Response: { "t026363": { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 0, - "LastUpdatedEpoch": 0, - "SlashEpoch": 0, + "SectorStartEpoch": 10101, + "LastUpdatedEpoch": 10101, + "SlashEpoch": 10101, "VerifiedClaim": 0 } } @@ -5202,22 +5799,24 @@ Response: ```json { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 0, - "LastUpdatedEpoch": 0, - "SlashEpoch": 0, + "SectorStartEpoch": 10101, + "LastUpdatedEpoch": 10101, + "SlashEpoch": 10101, "VerifiedClaim": 0 } } @@ -5248,10 +5847,14 @@ Response: ```json [ { - "SectorNumber": 0, - "SealProof": 0, - "SealedCID": null, - "DealIDs": null, + "SectorNumber": 9, + "SealProof": 8, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "DealIDs": [ + 5432 + ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -5259,10 +5862,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 0, + "ReplacedSectorAge": 10101, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": false + "SimpleQAPower": true } ] ``` @@ -5316,9 +5919,10 @@ Response: [ { "PostSubmissions": [ - 0 + 5, + 1 ], - "DisputableProofCount": 0 + "DisputableProofCount": 42 } ] ``` @@ -5378,20 +5982,32 @@ Response: { "Owner": "f01234", "Worker": "f01234", - "NewWorker": "\u003cempty\u003e", - "ControlAddresses": null, - "WorkerChangeEpoch": 0, - "PeerId": null, + "NewWorker": "f01234", + "ControlAddresses": [ + "f01234" + ], + "WorkerChangeEpoch": 10101, + "PeerId": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Multiaddrs": [ "Ynl0ZSBhcnJheQ==" ], - "WindowPoStProofType": 0, - "SectorSize": 0, - "WindowPoStPartitionSectors": 0, - "ConsensusFaultElapsed": 0, + "WindowPoStProofType": 8, + "SectorSize": 34359738368, + "WindowPoStPartitionSectors": 42, + "ConsensusFaultElapsed": 10101, "Beneficiary": "f01234", - "BeneficiaryTerm": null, - "PendingBeneficiaryTerm": null + "BeneficiaryTerm": { + "Quota": "0", + "UsedQuota": "0", + "Expiration": 10101 + }, + "PendingBeneficiaryTerm": { + "NewBeneficiary": "f01234", + "NewQuota": "0", + "NewExpiration": 10101, + "ApprovedByBeneficiary": true, + "ApprovedByNominee": true + } } ``` @@ -5406,11 +6022,15 @@ Inputs: [ "f01234", { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, - "SealRandEpoch": 0, - "DealIDs": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], "Expiration": 10101, "UnsealedCid": null }, @@ -5454,19 +6074,24 @@ Response: [ { "AllSectors": [ - 0 + 5, + 1 ], "FaultySectors": [ - 0 + 5, + 1 ], "RecoveringSectors": [ - 0 + 5, + 1 ], "LiveSectors": [ - 0 + 5, + 1 ], "ActiveSectors": [ - 0 + 5, + 1 ] } ] @@ -5504,7 +6129,7 @@ Response: "RawBytePower": "0", "QualityAdjPower": "0" }, - "HasMinPower": false + "HasMinPower": true } ``` @@ -5519,11 +6144,15 @@ Inputs: [ "f01234", { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, - "SealRandEpoch": 0, - "DealIDs": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], "Expiration": 10101, "UnsealedCid": null }, @@ -5565,18 +6194,18 @@ Inputs: Response: ```json { - "CurrentEpoch": 0, - "PeriodStart": 0, + "CurrentEpoch": 10101, + "PeriodStart": 10101, "Index": 42, "Open": 10101, "Close": 10101, "Challenge": 10101, - "FaultCutoff": 0, - "WPoStPeriodDeadlines": 0, - "WPoStProvingPeriod": 0, - "WPoStChallengeWindow": 0, - "WPoStChallengeLookback": 0, - "FaultDeclarationCutoff": 0 + "FaultCutoff": 10101, + "WPoStPeriodDeadlines": 42, + "WPoStProvingPeriod": 10101, + "WPoStChallengeWindow": 10101, + "WPoStChallengeLookback": 10101, + "FaultDeclarationCutoff": 10101 } ``` @@ -5691,10 +6320,14 @@ Response: ```json [ { - "SectorNumber": 0, - "SealProof": 0, - "SealedCID": null, - "DealIDs": null, + "SectorNumber": 9, + "SealProof": 8, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "DealIDs": [ + 5432 + ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -5702,10 +6335,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 0, + "ReplacedSectorAge": 10101, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": false + "SimpleQAPower": true } ] ``` @@ -5816,25 +6449,33 @@ Inputs: Response: ```json { - "MsgCid": null, + "MsgCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "MsgRct": null, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, "GasCost": { - "Message": null, + "Message": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -5844,12 +6485,95 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "Msg": null, - "MsgRct": null, - "Error": "", - "Duration": 0, - "GasCharges": null, - "Subcalls": null + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": [ + { + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": null + } + ] }, "Error": "string value", "Duration": 60000000000 @@ -5894,10 +6618,17 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 }, - "ReturnDec": null, - "TipSet": [], + "ReturnDec": {}, + "TipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], "Height": 10101 } ``` @@ -5941,10 +6672,17 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 }, - "ReturnDec": null, - "TipSet": [], + "ReturnDec": {}, + "TipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], "Height": 10101 } ``` @@ -5974,7 +6712,7 @@ Inputs: Response: ```json { - "OnTime": 0, + "OnTime": 10101, "Early": 10101 } ``` @@ -6006,10 +6744,14 @@ Inputs: Response: ```json { - "SectorNumber": 0, - "SealProof": 0, - "SealedCID": null, - "DealIDs": null, + "SectorNumber": 9, + "SealProof": 8, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "DealIDs": [ + 5432 + ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6017,10 +6759,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 0, + "ReplacedSectorAge": 10101, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": false + "SimpleQAPower": true } ``` @@ -6080,16 +6822,20 @@ Response: ```json { "Info": { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, - "SealRandEpoch": 0, - "DealIDs": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], "Expiration": 10101, "UnsealedCid": null }, - "PreCommitDeposit": "\u003cnil\u003e", - "PreCommitEpoch": 0 + "PreCommitDeposit": "0", + "PreCommitEpoch": 10101 } ``` @@ -6117,12 +6863,12 @@ Inputs: Response: ```json { - "FilVested": "\u003cnil\u003e", - "FilMined": "\u003cnil\u003e", - "FilBurnt": "\u003cnil\u003e", - "FilLocked": "\u003cnil\u003e", - "FilCirculating": "\u003cnil\u003e", - "FilReserveDisbursed": "\u003cnil\u003e" + "FilVested": "0", + "FilMined": "0", + "FilBurnt": "0", + "FilLocked": "0", + "FilCirculating": "0", + "FilReserveDisbursed": "0" } ``` @@ -6238,10 +6984,17 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 }, - "ReturnDec": null, - "TipSet": [], + "ReturnDec": {}, + "TipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], "Height": 10101 } ``` @@ -6288,10 +7041,17 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 }, - "ReturnDec": null, - "TipSet": [], + "ReturnDec": {}, + "TipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], "Height": 10101 } ``` @@ -6355,11 +7115,24 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -6367,15 +7140,25 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" } ``` @@ -6409,8 +7192,27 @@ Inputs: `null` Response: ```json { - "ActiveSyncs": null, - "VMApplied": 0 + "ActiveSyncs": [ + { + "WorkerID": 42, + "Base": { + "Cids": null, + "Blocks": null, + "Height": 0 + }, + "Target": { + "Cids": null, + "Blocks": null, + "Height": 0 + }, + "Stage": 1, + "Height": 10101, + "Start": "0001-01-01T00:00:00Z", + "End": "0001-01-01T00:00:00Z", + "Message": "string value" + } + ], + "VMApplied": 42 } ``` @@ -6428,11 +7230,24 @@ Inputs: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -6440,19 +7255,37 @@ Inputs: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" }, - "BlsMessages": null, - "SecpkMessages": null + "BlsMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ], + "SecpkMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ] } ] ``` @@ -6568,7 +7401,7 @@ Response: ```json { "Type": "bls", - "PrivateKey": null + "PrivateKey": "Ynl0ZSBhcnJheQ==" } ``` @@ -6598,7 +7431,7 @@ Inputs: [ { "Type": "bls", - "PrivateKey": null + "PrivateKey": "Ynl0ZSBhcnJheQ==" } ] ``` @@ -6690,13 +7523,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -6711,13 +7544,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -6725,7 +7558,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` diff --git a/documentation/en/api-v1-unstable-methods.md b/documentation/en/api-v1-unstable-methods.md index 35e63999d..24fd88c95 100644 --- a/documentation/en/api-v1-unstable-methods.md +++ b/documentation/en/api-v1-unstable-methods.md @@ -314,8 +314,8 @@ Response: ```json { "Version": "string value", - "APIVersion": 0, - "BlockDelay": 0 + "APIVersion": 131840, + "BlockDelay": 42 } ``` @@ -453,11 +453,24 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -465,15 +478,25 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" } ``` @@ -507,8 +530,49 @@ Inputs: Response: ```json { - "BlsMessages": null, - "SecpkMessages": null, + "BlsMessages": [ + { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + } + ], + "SecpkMessages": [ + { + "Message": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "Signature": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + } + ], "Cids": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -558,13 +622,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` @@ -602,13 +666,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } @@ -666,13 +730,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } @@ -702,7 +766,7 @@ Response: { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 } ] ``` @@ -922,8 +986,8 @@ Inputs: ```json [ { - "MovingGC": false, - "RetainState": 0 + "MovingGC": true, + "RetainState": 9 } ] ``` @@ -1105,14 +1169,16 @@ Inputs: `null` Response: ```json { - "TransferID": 0, + "TransferID": 3, "Status": 1, - "BaseCID": null, - "IsInitiator": false, - "IsSender": false, + "BaseCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "IsInitiator": true, + "IsSender": true, "Voucher": "string value", "Message": "string value", - "OtherPeer": "", + "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Transferred": 42, "Stages": { "Stages": [ @@ -1151,9 +1217,11 @@ Inputs: Response: ```json { - "PayloadSize": 0, - "PieceSize": 0, - "PieceCID": null + "PayloadSize": 9, + "PieceSize": 1032, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ``` @@ -1175,8 +1243,8 @@ Inputs: Response: ```json { - "PayloadSize": 0, - "PieceSize": 0 + "PayloadSize": 9, + "PieceSize": 1032 } ``` @@ -1193,13 +1261,18 @@ Inputs: "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "DAGs": null, - "FromLocalCAR": "", - "DealID": 0 + "DAGs": [ + { + "DataSelector": "Links/21/Hash/Links/42/Hash", + "ExportMerkleProof": true + } + ], + "FromLocalCAR": "string value", + "DealID": 5 }, { "Path": "string value", - "IsCAR": false + "IsCAR": true } ] ``` @@ -1235,12 +1308,12 @@ Response: "MinPrice": "0", "UnsealPrice": "0", "PricePerByte": "0", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Miner": "f01234", "MinerPeer": { - "Address": "\u003cempty\u003e", - "ID": "", + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "PieceCID": null } } @@ -1258,7 +1331,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": false + "IsCAR": true }, "string value" ] @@ -1284,21 +1357,81 @@ Inputs: Response: ```json { - "ProposalCid": null, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "State": 42, "Message": "string value", - "DealStages": null, + "DealStages": { + "Stages": [ + { + "Name": "string value", + "Description": "string value", + "ExpectedDuration": "string value", + "CreatedTime": "0001-01-01T00:00:00Z", + "UpdatedTime": "0001-01-01T00:00:00Z", + "Logs": [ + { + "Log": "string value", + "UpdatedTime": "0001-01-01T00:00:00Z" + } + ] + } + ] + }, "Provider": "f01234", - "DataRef": null, - "PieceCID": null, + "DataRef": { + "TransferType": "string value", + "Root": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceCid": null, + "PieceSize": 1024, + "RawBlockSize": 42 + }, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 0, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "TransferChannelID": null, - "DataTransfer": null + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + } } ``` @@ -1328,21 +1461,81 @@ Inputs: `null` Response: ```json { - "ProposalCid": null, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "State": 42, "Message": "string value", - "DealStages": null, + "DealStages": { + "Stages": [ + { + "Name": "string value", + "Description": "string value", + "ExpectedDuration": "string value", + "CreatedTime": "0001-01-01T00:00:00Z", + "UpdatedTime": "0001-01-01T00:00:00Z", + "Logs": [ + { + "Log": "string value", + "UpdatedTime": "0001-01-01T00:00:00Z" + } + ] + } + ] + }, "Provider": "f01234", - "DataRef": null, - "PieceCID": null, + "DataRef": { + "TransferType": "string value", + "Root": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceCid": null, + "PieceSize": 1024, + "RawBlockSize": 42 + }, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Size": 42, - "PricePerEpoch": "\u003cnil\u003e", + "PricePerEpoch": "0", "Duration": 42, - "DealID": 0, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "TransferChannelID": null, - "DataTransfer": null + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + } } ``` @@ -1357,19 +1550,53 @@ Inputs: `null` Response: ```json { - "PayloadCID": null, - "ID": 0, + "PayloadCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ID": 5, "PieceCID": null, - "PricePerByte": "\u003cnil\u003e", - "UnsealPrice": "\u003cnil\u003e", + "PricePerByte": "0", + "UnsealPrice": "0", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "BytesReceived": 0, - "BytesPaidFor": 0, - "TotalPaid": "\u003cnil\u003e", - "TransferChannelID": null, - "DataTransfer": null, + "BytesReceived": 42, + "BytesPaidFor": 42, + "TotalPaid": "0", + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + }, "Event": 5 } ``` @@ -1402,7 +1629,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": false + "IsCAR": true } ] ``` @@ -1413,7 +1640,7 @@ Response: "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "ImportID": 0 + "ImportID": 50 } ``` @@ -1429,14 +1656,16 @@ Response: ```json [ { - "TransferID": 0, + "TransferID": 3, "Status": 1, - "BaseCID": null, - "IsInitiator": false, - "IsSender": false, + "BaseCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "IsInitiator": true, + "IsSender": true, "Voucher": "string value", "Message": "string value", - "OtherPeer": "", + "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Transferred": 42, "Stages": { "Stages": [ @@ -1470,21 +1699,81 @@ Response: ```json [ { - "ProposalCid": null, + "ProposalCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "State": 42, "Message": "string value", - "DealStages": null, + "DealStages": { + "Stages": [ + { + "Name": "string value", + "Description": "string value", + "ExpectedDuration": "string value", + "CreatedTime": "0001-01-01T00:00:00Z", + "UpdatedTime": "0001-01-01T00:00:00Z", + "Logs": [ + { + "Log": "string value", + "UpdatedTime": "0001-01-01T00:00:00Z" + } + ] + } + ] + }, "Provider": "f01234", - "DataRef": null, - "PieceCID": null, + "DataRef": { + "TransferType": "string value", + "Root": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceCid": null, + "PieceSize": 1024, + "RawBlockSize": 42 + }, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 0, + "DealID": 5432, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "TransferChannelID": null, - "DataTransfer": null + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + } } ] ``` @@ -1505,8 +1794,8 @@ Response: "Err": "string value", "Root": null, "Source": "string value", - "FilePath": "", - "CARPath": "" + "FilePath": "string value", + "CARPath": "string value" } ] ``` @@ -1523,19 +1812,53 @@ Response: ```json [ { - "PayloadCID": null, - "ID": 0, + "PayloadCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ID": 5, "PieceCID": null, "PricePerByte": "0", "UnsealPrice": "0", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "BytesReceived": 0, - "BytesPaidFor": 0, + "BytesReceived": 42, + "BytesPaidFor": 42, "TotalPaid": "0", - "TransferChannelID": null, - "DataTransfer": null, + "TransferChannelID": { + "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": 3 + }, + "DataTransfer": { + "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" + } + ] + } + ] + } + }, "Event": 5 } ] @@ -1567,15 +1890,15 @@ Response: }, "Piece": null, "Size": 42, - "MinPrice": "\u003cnil\u003e", - "UnsealPrice": "\u003cnil\u003e", - "PricePerByte": "\u003cnil\u003e", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "MinPrice": "0", + "UnsealPrice": "0", + "PricePerByte": "0", + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Miner": "f01234", "MinerPeer": { - "Address": "\u003cempty\u003e", - "ID": "", + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "PieceCID": null } } @@ -1601,14 +1924,16 @@ Response: "Response": { "Price": "0", "VerifiedPrice": "0", - "MinPieceSize": 0, - "MaxPieceSize": 0, + "MinPieceSize": 1032, + "MaxPieceSize": 1032, "Miner": "f01234", "Timestamp": 10101, "Expiry": 10101, - "SeqNo": 0 + "SeqNo": 42 }, - "DealProtocols": null + "DealProtocols": [ + "string value" + ] } ``` @@ -1658,15 +1983,20 @@ Inputs: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Piece": null, - "DataSelector": null, + "DataSelector": "Links/21/Hash/Links/42/Hash", "Size": 42, "Total": "0", - "UnsealPrice": "\u003cnil\u003e", - "PaymentInterval": 0, - "PaymentIntervalIncrease": 0, + "UnsealPrice": "0", + "PaymentInterval": 42, + "PaymentIntervalIncrease": 42, "Client": "f01234", "Miner": "f01234", - "MinerPeer": null + "MinerPeer": { + "Address": "f01234", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "PieceCID": null + }, + "RemoteStore": "00000000-0000-0000-0000-000000000000" } ] ``` @@ -1674,7 +2004,7 @@ Inputs: Response: ```json { - "DealID": 0 + "DealID": 5 } ``` @@ -1720,22 +2050,22 @@ Inputs: [ { "Data": { - "TransferType": "", + "TransferType": "string value", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 0, - "RawBlockSize": 0 + "PieceSize": 1024, + "RawBlockSize": 42 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 0, + "MinBlocksDuration": 42, "ProviderCollateral": "0", - "DealStartEpoch": 0, - "FastRetrieval": false, - "VerifiedDeal": false + "DealStartEpoch": 10101, + "FastRetrieval": true, + "VerifiedDeal": true } ] ``` @@ -1753,22 +2083,22 @@ Inputs: [ { "Data": { - "TransferType": "", + "TransferType": "string value", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 0, - "RawBlockSize": 0 + "PieceSize": 1024, + "RawBlockSize": 42 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 0, + "MinBlocksDuration": 42, "ProviderCollateral": "0", - "DealStartEpoch": 0, - "FastRetrieval": false, - "VerifiedDeal": false + "DealStartEpoch": 10101, + "FastRetrieval": true, + "VerifiedDeal": true } ] ``` @@ -1814,13 +2144,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, 9, @@ -1853,13 +2183,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, [ @@ -1916,18 +2246,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, { "MaxFee": "0", - "MsgUuid": "00000000-0000-0000-0000-000000000000" + "MsgUuid": "07070707-0707-0707-0707-070707070707" }, [ { @@ -1948,13 +2278,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` @@ -1990,8 +2320,16 @@ Response: "Subsystem": "string value" }, "Active": true, - "LastActive": null, - "LastResolved": null + "LastActive": { + "Type": "string value", + "Message": "json raw message", + "Time": "0001-01-01T00:00:00Z" + }, + "LastResolved": { + "Type": "string value", + "Message": "json raw message", + "Time": "0001-01-01T00:00:00Z" + } } ] ``` @@ -2147,13 +2485,18 @@ Inputs: } ], "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, "Eproof": { - "WinCount": 0, - "VRFProof": null + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "BeaconValues": null, + "BeaconValues": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], "Messages": [ { "Message": { @@ -2162,13 +2505,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2176,13 +2519,18 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "Epoch": 10101, "Timestamp": 42, - "WinningPoStProof": null + "WinningPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ] } ] ``` @@ -2193,11 +2541,24 @@ Response: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -2205,19 +2566,37 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" }, - "BlsMessages": null, - "SecpkMessages": null + "BlsMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ], + "SecpkMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ] } ``` @@ -2249,20 +2628,27 @@ Response: "NetworkPower": "0", "Sectors": [ { - "SealProof": 0, - "SectorNumber": 0, + "SealProof": 8, + "SectorNumber": 9, "SectorKey": null, - "SealedCID": null + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ], - "WorkerKey": "\u003cempty\u003e", - "SectorSize": 0, + "WorkerKey": "f01234", + "SectorSize": 34359738368, "PrevBeaconEntry": { - "Round": 0, - "Data": null + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" }, - "BeaconEntries": null, - "EligibleForMining": false + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "EligibleForMining": true } ``` @@ -2288,13 +2674,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2302,7 +2688,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2334,19 +2720,19 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], { "MaxFee": "0", - "MsgUuid": "00000000-0000-0000-0000-000000000000" + "MsgUuid": "07070707-0707-0707-0707-070707070707" } ] ``` @@ -2361,13 +2747,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2375,7 +2761,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2398,13 +2784,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2412,7 +2798,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2445,16 +2831,16 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ] ] @@ -2469,9 +2855,11 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, - "OK": false, - "Err": "", - "Hint": null + "OK": true, + "Err": "string value", + "Hint": { + "abc": 123 + } } ] ] @@ -2499,9 +2887,11 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, - "OK": false, - "Err": "", - "Hint": null + "OK": true, + "Err": "string value", + "Hint": { + "abc": 123 + } } ] ] @@ -2523,13 +2913,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2545,9 +2935,11 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, - "OK": false, - "Err": "", - "Hint": null + "OK": true, + "Err": "string value", + "Hint": { + "abc": 123 + } } ] ] @@ -2579,12 +2971,14 @@ Inputs: `null` Response: ```json { - "PriorityAddrs": null, - "SizeLimitHigh": 0, - "SizeLimitLow": 0, - "ReplaceByFeeRatio": 0, - "PruneCooldown": 0, - "GasLimitOverestimation": 0 + "PriorityAddrs": [ + "f01234" + ], + "SizeLimitHigh": 123, + "SizeLimitLow": 123, + "ReplaceByFeeRatio": 12.3, + "PruneCooldown": 60000000000, + "GasLimitOverestimation": 12.3 } ``` @@ -2634,13 +3028,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2648,7 +3042,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2670,13 +3064,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2684,7 +3078,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2717,18 +3111,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, { "MaxFee": "0", - "MsgUuid": "00000000-0000-0000-0000-000000000000" + "MsgUuid": "07070707-0707-0707-0707-070707070707" } ] ``` @@ -2742,13 +3136,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2756,7 +3150,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` @@ -2777,13 +3171,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2791,7 +3185,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2835,13 +3229,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2849,7 +3243,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -2865,12 +3259,14 @@ Inputs: ```json [ { - "PriorityAddrs": null, - "SizeLimitHigh": 0, - "SizeLimitLow": 0, - "ReplaceByFeeRatio": 0, - "PruneCooldown": 0, - "GasLimitOverestimation": 0 + "PriorityAddrs": [ + "f01234" + ], + "SizeLimitHigh": 123, + "SizeLimitLow": 123, + "ReplaceByFeeRatio": 12.3, + "PruneCooldown": 60000000000, + "GasLimitOverestimation": 12.3 } ] ``` @@ -2895,13 +3291,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -2909,7 +3305,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } @@ -2949,16 +3345,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -2990,16 +3386,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3030,16 +3426,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3068,16 +3464,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3115,16 +3511,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3153,16 +3549,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3196,16 +3592,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3240,16 +3636,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3303,7 +3699,7 @@ Response: ```json [ { - "ID": 0, + "ID": 9, "To": "f01234", "Value": "0", "Method": 1, @@ -3371,9 +3767,9 @@ Inputs: Response: ```json { - "InitialBalance": "\u003cnil\u003e", - "StartEpoch": 0, - "UnlockDuration": 0 + "InitialBalance": "0", + "StartEpoch": 10101, + "UnlockDuration": 10101 } ``` @@ -3406,16 +3802,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3448,16 +3844,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3490,16 +3886,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3531,16 +3927,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3571,16 +3967,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "ValidNonce": false + "ValidNonce": true } ``` @@ -3597,7 +3993,7 @@ Inputs: `null` Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3629,7 +4025,7 @@ Response: ```json { "Reachability": 1, - "PublicAddr": "" + "PublicAddr": "string value" } ``` @@ -3643,10 +4039,10 @@ Inputs: `null` Response: ```json { - "TotalIn": 0, - "TotalOut": 0, - "RateIn": 0, - "RateOut": 0 + "TotalIn": 9, + "TotalOut": 9, + "RateIn": 12.3, + "RateOut": 12.3 } ``` @@ -3700,8 +4096,12 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ] ``` @@ -3721,8 +4121,12 @@ Response: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ``` @@ -3738,8 +4142,12 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": null, - "IPSubnets": null + "IPAddrs": [ + "string value" + ], + "IPSubnets": [ + "string value" + ] } ] ``` @@ -3755,7 +4163,7 @@ Inputs: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3808,7 +4216,7 @@ Inputs: Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3856,7 +4264,7 @@ Inputs: Response: ```json { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Agent": "string value", "Addrs": [ "string value" @@ -3864,7 +4272,16 @@ Response: "Protocols": [ "string value" ], - "ConnMgrMeta": null + "ConnMgrMeta": { + "FirstSeen": "0001-01-01T00:00:00Z", + "Value": 123, + "Tags": { + "name": 42 + }, + "Conns": { + "name": "2021-03-08T22:52:18Z" + } + } } ``` @@ -3879,7 +4296,7 @@ Response: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3958,7 +4375,7 @@ Response: ```json [ { - "ID": "", + "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Score": { "Score": 12.3, "Topics": { @@ -3969,9 +4386,9 @@ Response: "InvalidMessageDeliveries": 3 } }, - "AppSpecificScore": 0, - "IPColocationFactor": 0, - "BehaviourPenalty": 0 + "AppSpecificScore": 12.3, + "IPColocationFactor": 12.3, + "BehaviourPenalty": 12.3 } } ] @@ -4017,19 +4434,19 @@ Response: ```json { "System": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, + "NumStreamsInbound": 123, + "NumStreamsOutbound": 123, + "NumConnsInbound": 123, + "NumConnsOutbound": 123, + "NumFD": 123, "Memory": 9 }, "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, + "NumStreamsInbound": 123, + "NumStreamsOutbound": 123, + "NumConnsInbound": 123, + "NumConnsOutbound": 123, + "NumFD": 123, "Memory": 9 }, "Services": { @@ -4085,16 +4502,16 @@ Response: ```json { "SyncStatus": { - "Epoch": 0, - "Behind": 0 + "Epoch": 42, + "Behind": 42 }, "PeerStatus": { - "PeersToPublishMsgs": 0, - "PeersToPublishBlocks": 0 + "PeersToPublishMsgs": 123, + "PeersToPublishBlocks": 123 }, "ChainStatus": { - "BlocksPerTipsetLast100": 0, - "BlocksPerTipsetLastFinality": 0 + "BlocksPerTipsetLast100": 12.3, + "BlocksPerTipsetLastFinality": 12.3 } } ``` @@ -4213,7 +4630,9 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": null + "WaitSentinel": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ``` @@ -4236,7 +4655,7 @@ Inputs: "f01234", "0", { - "OffChain": false + "OffChain": true } ] ``` @@ -4245,7 +4664,9 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": null + "WaitSentinel": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } } ``` @@ -4292,9 +4713,9 @@ Inputs: [ { "Amount": "0", - "TimeLockMin": 0, - "TimeLockMax": 0, - "MinSettle": 0, + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "MinSettle": 10101, "Extra": { "Actor": "f01234", "Method": 1, @@ -4309,13 +4730,15 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": null, + "WaitSentinel": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Vouchers": [ { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4324,7 +4747,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4374,7 +4797,7 @@ Inputs: Response: ```json { - "ControlAddr": "\u003cempty\u003e", + "ControlAddr": "f01234", "Direction": 1 } ``` @@ -4389,10 +4812,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4401,7 +4824,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4430,10 +4853,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4442,7 +4865,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4471,10 +4894,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4483,7 +4906,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4518,10 +4941,10 @@ Response: ```json { "Voucher": { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4530,7 +4953,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4562,10 +4985,10 @@ Response: ```json [ { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4574,7 +4997,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4599,10 +5022,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "\u003cempty\u003e", - "TimeLockMin": 0, - "TimeLockMax": 0, - "SecretHash": null, + "ChannelAddr": "f01234", + "TimeLockMin": 10101, + "TimeLockMax": 10101, + "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, @@ -4611,7 +5034,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 0, + "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, @@ -4788,13 +5211,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, [ @@ -4811,25 +5234,33 @@ Inputs: Response: ```json { - "MsgCid": null, + "MsgCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "MsgRct": null, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, "GasCost": { - "Message": null, + "Message": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -4839,12 +5270,95 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "Msg": null, - "MsgRct": null, - "Error": "", - "Duration": 0, - "GasCharges": null, - "Subcalls": null + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": [ + { + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": null + } + ] }, "Error": "string value", "Duration": 60000000000 @@ -4958,13 +5472,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], @@ -4987,25 +5501,33 @@ Response: }, "Trace": [ { - "MsgCid": null, + "MsgCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "MsgRct": null, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, "GasCost": { - "Message": null, + "Message": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -5015,12 +5537,95 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "Msg": null, - "MsgRct": null, - "Error": "", - "Duration": 0, - "GasCharges": null, - "Subcalls": null + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": [ + { + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": null + } + ] }, "Error": "string value", "Duration": 60000000000 @@ -5203,8 +5808,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 0, - "TermMax": 0, + "TermMin": 10101, + "TermMax": 10101, "Expiration": 10101 } ``` @@ -5240,8 +5845,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 0, - "TermMax": 0, + "TermMin": 10101, + "TermMax": 10101, "Expiration": 10101 } ``` @@ -5323,9 +5928,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 0, - "TermMax": 0, - "TermStart": 0, + "TermMin": 10101, + "TermMax": 10101, + "TermStart": 10101, "Sector": 9 } ``` @@ -5364,34 +5969,36 @@ Inputs: `null` Response: ```json { - "NetworkName": "", - "BlockDelaySecs": 0, + "NetworkName": "lotus", + "BlockDelaySecs": 42, "ConsensusMinerMinPower": "0", - "SupportedProofTypes": null, - "PreCommitChallengeDelay": 0, + "SupportedProofTypes": [ + 8 + ], + "PreCommitChallengeDelay": 10101, "ForkUpgradeParams": { - "UpgradeSmokeHeight": 0, - "UpgradeBreezeHeight": 0, - "UpgradeIgnitionHeight": 0, - "UpgradeLiftoffHeight": 0, - "UpgradeAssemblyHeight": 0, - "UpgradeRefuelHeight": 0, - "UpgradeTapeHeight": 0, - "UpgradeKumquatHeight": 0, - "UpgradePriceListOopsHeight": 0, - "BreezeGasTampingDuration": 0, - "UpgradeCalicoHeight": 0, - "UpgradePersianHeight": 0, - "UpgradeOrangeHeight": 0, - "UpgradeClausHeight": 0, - "UpgradeTrustHeight": 0, - "UpgradeNorwegianHeight": 0, - "UpgradeTurboHeight": 0, - "UpgradeHyperdriveHeight": 0, - "UpgradeChocolateHeight": 0, - "UpgradeOhSnapHeight": 0, - "UpgradeSkyrHeight": 0, - "UpgradeSharkHeight": 0 + "UpgradeSmokeHeight": 10101, + "UpgradeBreezeHeight": 10101, + "UpgradeIgnitionHeight": 10101, + "UpgradeLiftoffHeight": 10101, + "UpgradeAssemblyHeight": 10101, + "UpgradeRefuelHeight": 10101, + "UpgradeTapeHeight": 10101, + "UpgradeKumquatHeight": 10101, + "UpgradePriceListOopsHeight": 10101, + "BreezeGasTampingDuration": 10101, + "UpgradeCalicoHeight": 10101, + "UpgradePersianHeight": 10101, + "UpgradeOrangeHeight": 10101, + "UpgradeClausHeight": 10101, + "UpgradeTrustHeight": 10101, + "UpgradeNorwegianHeight": 10101, + "UpgradeTurboHeight": 10101, + "UpgradeHyperdriveHeight": 10101, + "UpgradeChocolateHeight": 10101, + "UpgradeOhSnapHeight": 10101, + "UpgradeSkyrHeight": 10101, + "UpgradeSharkHeight": 10101 } } ``` @@ -5634,22 +6241,24 @@ Response: { "t026363": { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 0, - "LastUpdatedEpoch": 0, - "SlashEpoch": 0, + "SectorStartEpoch": 10101, + "LastUpdatedEpoch": 10101, + "SlashEpoch": 10101, "VerifiedClaim": 0 } } @@ -5711,22 +6320,24 @@ Response: ```json { "Proposal": { - "PieceCID": null, - "PieceSize": 0, - "VerifiedDeal": false, + "PieceCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "PieceSize": 1032, + "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 0, - "EndEpoch": 0, + "StartEpoch": 10101, + "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 0, - "LastUpdatedEpoch": 0, - "SlashEpoch": 0, + "SectorStartEpoch": 10101, + "LastUpdatedEpoch": 10101, + "SlashEpoch": 10101, "VerifiedClaim": 0 } } @@ -5757,10 +6368,14 @@ Response: ```json [ { - "SectorNumber": 0, - "SealProof": 0, - "SealedCID": null, - "DealIDs": null, + "SectorNumber": 9, + "SealProof": 8, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "DealIDs": [ + 5432 + ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -5768,10 +6383,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 0, + "ReplacedSectorAge": 10101, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": false + "SimpleQAPower": true } ] ``` @@ -5853,9 +6468,10 @@ Response: [ { "PostSubmissions": [ - 0 + 5, + 1 ], - "DisputableProofCount": 0 + "DisputableProofCount": 42 } ] ``` @@ -5915,20 +6531,32 @@ Response: { "Owner": "f01234", "Worker": "f01234", - "NewWorker": "\u003cempty\u003e", - "ControlAddresses": null, - "WorkerChangeEpoch": 0, - "PeerId": null, + "NewWorker": "f01234", + "ControlAddresses": [ + "f01234" + ], + "WorkerChangeEpoch": 10101, + "PeerId": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Multiaddrs": [ "Ynl0ZSBhcnJheQ==" ], - "WindowPoStProofType": 0, - "SectorSize": 0, - "WindowPoStPartitionSectors": 0, - "ConsensusFaultElapsed": 0, + "WindowPoStProofType": 8, + "SectorSize": 34359738368, + "WindowPoStPartitionSectors": 42, + "ConsensusFaultElapsed": 10101, "Beneficiary": "f01234", - "BeneficiaryTerm": null, - "PendingBeneficiaryTerm": null + "BeneficiaryTerm": { + "Quota": "0", + "UsedQuota": "0", + "Expiration": 10101 + }, + "PendingBeneficiaryTerm": { + "NewBeneficiary": "f01234", + "NewQuota": "0", + "NewExpiration": 10101, + "ApprovedByBeneficiary": true, + "ApprovedByNominee": true + } } ``` @@ -5943,11 +6571,15 @@ Inputs: [ "f01234", { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, - "SealRandEpoch": 0, - "DealIDs": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], "Expiration": 10101, "UnsealedCid": null }, @@ -5991,19 +6623,24 @@ Response: [ { "AllSectors": [ - 0 + 5, + 1 ], "FaultySectors": [ - 0 + 5, + 1 ], "RecoveringSectors": [ - 0 + 5, + 1 ], "LiveSectors": [ - 0 + 5, + 1 ], "ActiveSectors": [ - 0 + 5, + 1 ] } ] @@ -6041,7 +6678,7 @@ Response: "RawBytePower": "0", "QualityAdjPower": "0" }, - "HasMinPower": false + "HasMinPower": true } ``` @@ -6056,11 +6693,15 @@ Inputs: [ "f01234", { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, - "SealRandEpoch": 0, - "DealIDs": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], "Expiration": 10101, "UnsealedCid": null }, @@ -6102,18 +6743,18 @@ Inputs: Response: ```json { - "CurrentEpoch": 0, - "PeriodStart": 0, + "CurrentEpoch": 10101, + "PeriodStart": 10101, "Index": 42, "Open": 10101, "Close": 10101, "Challenge": 10101, - "FaultCutoff": 0, - "WPoStPeriodDeadlines": 0, - "WPoStProvingPeriod": 0, - "WPoStChallengeWindow": 0, - "WPoStChallengeLookback": 0, - "FaultDeclarationCutoff": 0 + "FaultCutoff": 10101, + "WPoStPeriodDeadlines": 42, + "WPoStProvingPeriod": 10101, + "WPoStChallengeWindow": 10101, + "WPoStChallengeLookback": 10101, + "FaultDeclarationCutoff": 10101 } ``` @@ -6228,10 +6869,14 @@ Response: ```json [ { - "SectorNumber": 0, - "SealProof": 0, - "SealedCID": null, - "DealIDs": null, + "SectorNumber": 9, + "SealProof": 8, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "DealIDs": [ + 5432 + ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6239,10 +6884,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 0, + "ReplacedSectorAge": 10101, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": false + "SimpleQAPower": true } ] ``` @@ -6353,25 +6998,33 @@ Inputs: Response: ```json { - "MsgCid": null, + "MsgCid": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, - "MsgRct": null, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, "GasCost": { - "Message": null, + "Message": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -6381,12 +7034,95 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "Msg": null, - "MsgRct": null, - "Error": "", - "Duration": 0, - "GasCharges": null, - "Subcalls": null + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": [ + { + "Msg": { + "Version": 42, + "To": "f01234", + "From": "f01234", + "Nonce": 42, + "Value": "0", + "GasLimit": 9, + "GasFeeCap": "0", + "GasPremium": "0", + "Method": 1, + "Params": "Ynl0ZSBhcnJheQ==", + "CID": { + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + } + }, + "MsgRct": { + "ExitCode": 0, + "Return": "Ynl0ZSBhcnJheQ==", + "GasUsed": 9 + }, + "Error": "string value", + "Duration": 60000000000, + "GasCharges": [ + { + "Name": "string value", + "loc": [ + { + "File": "string value", + "Line": 123, + "Function": "string value" + } + ], + "tg": 9, + "cg": 9, + "sg": 9, + "vtg": 9, + "vcg": 9, + "vsg": 9, + "tt": 60000000000, + "ex": {} + } + ], + "Subcalls": null + } + ] }, "Error": "string value", "Duration": 60000000000 @@ -6442,10 +7178,17 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 }, - "ReturnDec": null, - "TipSet": [], + "ReturnDec": {}, + "TipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], "Height": 10101 } ``` @@ -6475,7 +7218,7 @@ Inputs: Response: ```json { - "OnTime": 0, + "OnTime": 10101, "Early": 10101 } ``` @@ -6507,10 +7250,14 @@ Inputs: Response: ```json { - "SectorNumber": 0, - "SealProof": 0, - "SealedCID": null, - "DealIDs": null, + "SectorNumber": 9, + "SealProof": 8, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "DealIDs": [ + 5432 + ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6518,10 +7265,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 0, + "ReplacedSectorAge": 10101, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": false + "SimpleQAPower": true } ``` @@ -6586,16 +7333,20 @@ Response: ```json { "Info": { - "SealProof": 0, - "SectorNumber": 0, - "SealedCID": null, - "SealRandEpoch": 0, - "DealIDs": null, + "SealProof": 8, + "SectorNumber": 9, + "SealedCID": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "SealRandEpoch": 10101, + "DealIDs": [ + 5432 + ], "Expiration": 10101, "UnsealedCid": null }, "PreCommitDeposit": "0", - "PreCommitEpoch": 0 + "PreCommitEpoch": 10101 } ``` @@ -6623,12 +7374,12 @@ Inputs: Response: ```json { - "FilVested": "\u003cnil\u003e", - "FilMined": "\u003cnil\u003e", - "FilBurnt": "\u003cnil\u003e", - "FilLocked": "\u003cnil\u003e", - "FilCirculating": "\u003cnil\u003e", - "FilReserveDisbursed": "\u003cnil\u003e" + "FilVested": "0", + "FilMined": "0", + "FilBurnt": "0", + "FilLocked": "0", + "FilCirculating": "0", + "FilReserveDisbursed": "0" } ``` @@ -6748,10 +7499,17 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 0 + "GasUsed": 9 }, - "ReturnDec": null, - "TipSet": [], + "ReturnDec": {}, + "TipSet": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + { + "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" + } + ], "Height": 10101 } ``` @@ -6815,11 +7573,24 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -6827,15 +7598,25 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" } ``` @@ -6869,8 +7650,27 @@ Inputs: `null` Response: ```json { - "ActiveSyncs": null, - "VMApplied": 0 + "ActiveSyncs": [ + { + "WorkerID": 42, + "Base": { + "Cids": null, + "Blocks": null, + "Height": 0 + }, + "Target": { + "Cids": null, + "Blocks": null, + "Height": 0 + }, + "Stage": 1, + "Height": 10101, + "Start": "0001-01-01T00:00:00Z", + "End": "0001-01-01T00:00:00Z", + "Message": "string value" + } + ], + "VMApplied": 42 } ``` @@ -6888,11 +7688,24 @@ Inputs: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": null + "VRFProof": "Ynl0ZSBhcnJheQ==" }, - "ElectionProof": null, - "BeaconEntries": null, - "WinPoStProof": null, + "ElectionProof": { + "WinCount": 9, + "VRFProof": "Ynl0ZSBhcnJheQ==" + }, + "BeaconEntries": [ + { + "Round": 42, + "Data": "Ynl0ZSBhcnJheQ==" + } + ], + "WinPoStProof": [ + { + "PoStProof": 8, + "ProofBytes": "Ynl0ZSBhcnJheQ==" + } + ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -6900,19 +7713,37 @@ Inputs: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": null, - "ParentMessageReceipts": null, + "ParentStateRoot": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, + "ParentMessageReceipts": { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": null, + "BLSAggregate": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, "Timestamp": 42, - "BlockSig": null, - "ForkSignaling": 0, + "BlockSig": { + "Type": 2, + "Data": "Ynl0ZSBhcnJheQ==" + }, + "ForkSignaling": 42, "ParentBaseFee": "0" }, - "BlsMessages": null, - "SecpkMessages": null + "BlsMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ], + "SecpkMessages": [ + { + "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + } + ] } ] ``` @@ -7028,7 +7859,7 @@ Response: ```json { "Type": "bls", - "PrivateKey": null + "PrivateKey": "Ynl0ZSBhcnJheQ==" } ``` @@ -7058,7 +7889,7 @@ Inputs: [ { "Type": "bls", - "PrivateKey": null + "PrivateKey": "Ynl0ZSBhcnJheQ==" } ] ``` @@ -7150,13 +7981,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] @@ -7171,13 +8002,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 0, + "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { @@ -7185,7 +8016,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" + "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` diff --git a/go.mod b/go.mod index b4d40952d..7ac894349 100644 --- a/go.mod +++ b/go.mod @@ -156,7 +156,6 @@ require ( golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5 golang.org/x/sync v0.0.0-20220907140024-f12130a52804 golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 - golang.org/x/text v0.3.7 golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 golang.org/x/tools v0.1.12 golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 @@ -335,6 +334,7 @@ require ( golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 // indirect golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect + golang.org/x/text v0.3.7 // indirect google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4 // indirect google.golang.org/grpc v1.45.0 // indirect google.golang.org/protobuf v1.28.1 // indirect diff --git a/itests/wdpost_no_miner_storage_test.go b/itests/wdpost_no_miner_storage_test.go index ac0eb8505..8c0e112f5 100644 --- a/itests/wdpost_no_miner_storage_test.go +++ b/itests/wdpost_no_miner_storage_test.go @@ -37,7 +37,7 @@ func TestWindowPostNoMinerStorage(t *testing.T) { Worker(&miner, &sealw, kit.ThroughRPC(), kit.WithSealWorkerTasks). Start() - ens.InterconnectAll().BeginMiningMustPost(2 * time.Millisecond) + ens.InterconnectAll().BeginMiningMustPost(10 * time.Millisecond) miner.PledgeSectors(ctx, sealSectors, 0, nil) diff --git a/node/modules/chain.go b/node/modules/chain.go index 22a1d618a..49418d883 100644 --- a/node/modules/chain.go +++ b/node/modules/chain.go @@ -69,7 +69,7 @@ func MessagePool(lc fx.Lifecycle, mctx helpers.MetricsCtx, us stmgr.UpgradeSched return mp.Close() }, }) - protector.AddProtector(mp.ForEachPendingMessage) + protector.AddProtector(mp.TryForEachPendingMessage) return mp, nil } diff --git a/tools/packer/etc/motd b/tools/packer/etc/motd deleted file mode 100644 index 892b156e1..000000000 --- a/tools/packer/etc/motd +++ /dev/null @@ -1,64 +0,0 @@ -Your lotus node is up and running! - -This image contains the two most important pieces of the lotus filecoin suite, the -daemon and the miner. The daemon is is configured to download a snapshot and start -running. In fact, by the time you read this, the daemon may already be in sync. -Go ahead and make sure everything is working correctly with the following commands. - - - -To check if the daemon is running: - - systemctl status lotus-daemon - - - -To check if the daemon is in sync: - - lotus sync status - - **note: When starting lotus for the first time, it will download a chain snapshot. - This is a large download and will take several minutes to complete. During - this time, the lotus API will not be up yet. Give it time! You can see - progress by looking at the systemd journal. - - -To check if the daemon is connecting to other lotus nodes: - - lotus net peers - - - -No wallets are crated by default. You can view, create, and delete wallets with -the lotus command. On this image, lotus is running as the user `fc`. -Be careful, now. Don't delete a wallet with funds! - - sudo -E -u fc lotus wallet list - sudo -E -u fc lotus wallet new bls - - - -The lotus miner is also installed, but it's not running by default. If you have no -special disk or worker requirements, you can initialize the lotus-miner repo like this: - - sudo -E -u fc lotus-miner init -o - - - -You only need to do this once, after which, you can enable and start the miner. - - sudo systemctl enable lotus-miner - sudo systemctl start lotus-miner - - - -Do you want to access your lotus daemon remotely? Learn how to setup token authentication -and use client libraries from lotus docs. - -https://lotus.filecoin.io/reference/basics/api-access/ - - - -For more information, see https://lotus.filecoin.io/ -Found a bug? let us know! https://github.com/filecoin-project/lotus -Chat with us on slack! https://filecoinproject.slack.com/archives/CEGN061C5 diff --git a/tools/packer/homedir/bashrc b/tools/packer/homedir/bashrc deleted file mode 100644 index db4dbd0b6..000000000 --- a/tools/packer/homedir/bashrc +++ /dev/null @@ -1,12 +0,0 @@ -PS1="[\h \w] ⨎ " - -export PROMT_DIRTRIM=1 - -# Where to find the lotus repo -export LOTUS_PATH=/var/lib/lotus - -# The miner is not running in this image by default. -# export LOTUS_MINER_PATH=/var/lib/lotus-miner - -# To access the lotus node remotely, the following environment variable may be used. -# export FULLNODE_API_INFO=:/ip4//tcp/1234/http diff --git a/tools/packer/lotus-snap.pkr.hcl b/tools/packer/lotus-snap.pkr.hcl deleted file mode 100644 index b42272c20..000000000 --- a/tools/packer/lotus-snap.pkr.hcl +++ /dev/null @@ -1,90 +0,0 @@ -variable "ci_workspace_bins" { - type = string - default = "./linux" -} - -variable "lotus_network" { - type = string - default = "mainnet" -} - -locals { - timestamp = regex_replace(timestamp(), "[- TZ:]", "") -} - -source "amazon-ebs" "lotus" { - ami_name = "lotus-${var.lotus_network}-snap-${local.timestamp}" - ami_regions = [ - "ap-east-1", - "ap-northeast-1", - "ap-northeast-2", - "ap-northeast-3", - "ap-south-1", - "ap-southeast-1", - "ap-southeast-2", - "ca-central-1", - "eu-central-1", - "eu-north-1", - "eu-west-1", - "eu-west-2", - "eu-west-3", - "sa-east-1", - "us-east-1", - "us-east-2", - "us-west-1", - "us-west-2", - ] - ami_groups = [ - # This causes the ami to be publicly-accessable. - "all", - ] - ami_description = "Lotus Filecoin AMI" - launch_block_device_mappings { - device_name = "/dev/sda1" - volume_size = 100 - delete_on_termination = true - } - - instance_type = "t2.micro" - source_ami_filter { - filters = { - name = "ubuntu/images/*ubuntu-focal-20.04-amd64-server-*" - root-device-type = "ebs" - virtualization-type = "hvm" - } - most_recent = true - owners = ["099720109477"] - } - ssh_username = "ubuntu" - - aws_polling { - delay_seconds = 60 - max_attempts = 60 - } -} - -source "digitalocean" "lotus" { - droplet_name = "lotus-snap" - size = "s-1vcpu-1gb" - region = "nyc3" - image = "ubuntu-20-04-x64" - snapshot_name = "lotus-${var.lotus_network}-snap-${local.timestamp}" - ssh_username = "root" -} - -build { - sources = [ - "source.amazon-ebs.lotus", - "source.digitalocean.lotus", - ] - - provisioner "file" { - source = "./tools/packer/etc/motd" - destination = "motd" - } - # build it. - provisioner "shell" { - script = "./tools/packer/setup-snap.sh" - } -} - diff --git a/tools/packer/lotus.pkr.hcl b/tools/packer/lotus.pkr.hcl deleted file mode 100644 index cfaca8398..000000000 --- a/tools/packer/lotus.pkr.hcl +++ /dev/null @@ -1,110 +0,0 @@ -variable "ci_workspace_bins" { - type = string - default = "./linux" -} - -variable "lotus_network" { - type = string - default = "mainnet" -} - -variable "git_tag" { - type = string - default = "" -} - -locals { - timestamp = regex_replace(timestamp(), "[- TZ:]", "") -} - -source "amazon-ebs" "lotus" { - ami_name = "lotus-${var.lotus_network}-${var.git_tag}-${local.timestamp}" - ami_regions = [ - "ap-east-1", - "ap-northeast-1", - "ap-northeast-2", - "ap-northeast-3", - "ap-south-1", - "ap-southeast-1", - "ap-southeast-2", - "ca-central-1", - "eu-central-1", - "eu-north-1", - "eu-west-1", - "eu-west-2", - "eu-west-3", - "sa-east-1", - "us-east-1", - "us-east-2", - "us-west-1", - "us-west-2", - ] - ami_groups = [ - # This causes the ami to be publicly-accessable. - "all", - ] - ami_description = "Lotus Filecoin AMI" - launch_block_device_mappings { - device_name = "/dev/sda1" - volume_size = 100 - delete_on_termination = true - } - - instance_type = "t2.micro" - source_ami_filter { - filters = { - name = "ubuntu/images/*ubuntu-focal-20.04-amd64-server-*" - root-device-type = "ebs" - virtualization-type = "hvm" - } - most_recent = true - owners = ["099720109477"] - } - ssh_username = "ubuntu" -} - -build { - sources = [ - "source.amazon-ebs.lotus", - ] - - # Lotus software (from CI workspace) - provisioner "file" { - source = "${var.ci_workspace_bins}/lotus" - destination = "lotus" - } - provisioner "file" { - source = "${var.ci_workspace_bins}/lotus-miner" - destination = "lotus-miner" - } - # First run script - provisioner "file" { - source = "./tools/packer/scripts/${var.lotus_network}/lotus-init.sh" - destination = "lotus-init.sh" - } - # Systemd service units. - provisioner "file" { - source = "./tools/packer/systemd/lotus-daemon.service" - destination = "lotus-daemon.service" - } - provisioner "file" { - source = "./tools/packer/systemd/lotus-miner.service" - destination = "lotus-miner.service" - } - provisioner "file" { - source = "./tools/packer/repo/config.toml" - destination = "config.toml" - } - provisioner "file" { - source = "./tools/packer/etc/motd" - destination = "motd" - } - provisioner "file" { - source = "./tools/packer/homedir/bashrc" - destination = ".bashrc" - } - # build it. - provisioner "shell" { - script = "./tools/packer/setup.sh" - } -} diff --git a/tools/packer/repo/config.toml b/tools/packer/repo/config.toml deleted file mode 100644 index 380d5a28f..000000000 --- a/tools/packer/repo/config.toml +++ /dev/null @@ -1,38 +0,0 @@ -[API] -ListenAddress = "/ip4/0.0.0.0/tcp/1234/http" -# RemoteListenAddress = "" -# Timeout = "30s" -# -[Libp2p] -ListenAddresses = ["/ip4/0.0.0.0/tcp/5678", "/ip6/::/tcp/5678"] -# AnnounceAddresses = [] -# NoAnnounceAddresses = [] -# ConnMgrLow = 150 -# ConnMgrHigh = 180 -# ConnMgrGrace = "20s" -# -[Pubsub] -# Bootstrapper = false -# RemoteTracer = "" -# -[Client] -# UseIpfs = false -# IpfsOnlineMode = false -# IpfsMAddr = "" -# IpfsUseForRetrieval = false -# SimultaneousTransfersForStorage = 20 -# SimultaneousTransfersForStoragePerClient = 0 -# SimultaneousTransfersForRetrieval = 20 -# -[Metrics] -# Nickname = "" -# HeadNotifs = false -# -[Wallet] -# RemoteBackend = "" -# EnableLedger = false -# DisableLocal = false -# -[Fees] -# DefaultMaxFee = "0.007 FIL" -# diff --git a/tools/packer/scripts/butterflynet/lotus-init.sh b/tools/packer/scripts/butterflynet/lotus-init.sh deleted file mode 100755 index cfbf93f78..000000000 --- a/tools/packer/scripts/butterflynet/lotus-init.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# This script sets up an initial configuraiton for the lotus daemon and miner -# It will only run once. - -GATE="$LOTUS_PATH"/date_initialized - -# Don't init if already initialized. -if [ -f "$GATE" ]; then - echo lotus already initialized. - exit 0 -fi - -# Not importing snapshot on butterflynet -# -# echo importing minimal snapshot -# lotus daemon --import-snapshot https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car --halt-after-import - -# Block future inits -date > "$GATE" diff --git a/tools/packer/scripts/calibrationnet/lotus-init.sh b/tools/packer/scripts/calibrationnet/lotus-init.sh deleted file mode 100755 index 77260fa29..000000000 --- a/tools/packer/scripts/calibrationnet/lotus-init.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# This script sets up an initial configuraiton for the lotus daemon and miner -# It will only run once. - -GATE="$LOTUS_PATH"/date_initialized - -# Don't init if already initialized. -if [ -f "$GATE" ]; then - echo lotus already initialized. - exit 0 -fi - -# Not importing snapshot on calibrationnet. -# -# echo importing minimal snapshot -# lotus daemon --import-snapshot https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car --halt-after-import - -# Block future inits -date > "$GATE" diff --git a/tools/packer/scripts/mainnet/lotus-init.sh b/tools/packer/scripts/mainnet/lotus-init.sh deleted file mode 100755 index b22853365..000000000 --- a/tools/packer/scripts/mainnet/lotus-init.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -# This script sets up an initial configuraiton for the lotus daemon and miner -# It will only run once. - -GATE="$LOTUS_PATH"/date_initialized - -# Don't init if already initialized. -if [ -f "$GATE" ]; then - echo lotus already initialized. - exit 0 -fi - -echo importing minimal snapshot -lotus daemon --import-snapshot https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car --halt-after-import - -# Block future inits -date > "$GATE" diff --git a/tools/packer/setup-snap.sh b/tools/packer/setup-snap.sh deleted file mode 100644 index 615877f83..000000000 --- a/tools/packer/setup-snap.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env bash - -# This script is executed by packer to setup the image. -# When this script is run, packer will have already copied binaries into the home directory of -# whichever user it has access too. This script is executed from within the home directory of that -# user. Bear in mind that different cloud providers, and different images on the same cloud -# provider will have a different initial user account. - -set -x - -# Become root, if we aren't already. -# Docker images will already be root. AMIs will have an SSH user account. -if [ x$UID != x0 ] -then - printf -v cmd_str '%q ' "$0" "$@" - exec sudo su -c "$cmd_str" -fi - -set -e - -MANAGED_FILES=( - /etc/motd -) - -# this is required on digitalocean, which does not have snap seeded correctly at this phase. -apt-get -y -o DPkg::Lock::Timeout=3 update \ - && apt-get -y -o DPkg::Lock::Timeout=3 reinstall snapd - -snap install lotus - -snap alias lotus.lotus-miner lotus-miner -snap alias lotus.lotus-worker lotus-worker - -# Setup firewall -yes | ufw enable -ufw default deny incoming -ufw default allow outgoing -ufw allow ssh - -set +e - -curl -L https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/90-cleanup.sh | bash diff --git a/tools/packer/setup.sh b/tools/packer/setup.sh deleted file mode 100644 index 2b190045e..000000000 --- a/tools/packer/setup.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env bash - -# This script is executed by packer to setup the image. -# When this script is run, packer will have already copied binaries into the home directory of -# whichever user it has access too. This script is executed from within the home directory of that -# user. Bear in mind that different cloud providers, and different images on the same cloud -# provider will have a different initial user account. - -set -x - -# Become root, if we aren't already. -# Docker images will already be root. AMIs will have an SSH user account. -UID=$(id -u) -if [ x$UID != x0 ] -then - printf -v cmd_str '%q ' "$0" "$@" - exec sudo su -c "$cmd_str" -fi - -MANAGED_BINS=( lotus lotus-miner lotus-init.sh ) -MANAGED_FILES=( - /lib/systemd/system/lotus-daemon.service - /lib/systemd/system/lotus-miner.service - /etc/motd - /var/lib/lotus/config.toml -) - -# install libs. -export DEBIAN_FRONTEND=noninteractive -apt-get update -apt-get -y install libhwloc15 ocl-icd-libopencl1 ufw -apt-get -y upgrade -q -y -u -o Dpkg::Options::="--force-confold" -ln -s /usr/lib/x86_64-linux-gnu/libhwloc.so.15 /usr/lib/x86_64-linux-gnu/libhwloc.so.5 - -# Create lotus user -useradd -c "lotus system account" -r fc -install -o fc -g fc -d /var/lib/lotus -install -o fc -g fc -d /var/lib/lotus-miner - -# Install software -for i in "${MANAGED_BINS[@]}" -do - install -o root -g root -m 755 -t /usr/local/bin $i - rm $i -done - -# Install systemd and other files. -# Because packer doesn't copy files with root permisison, -# files are in the home directory of the ssh user. Copy -# these files into the right position. -for i in "${MANAGED_FILES[@]}" -do - fn=$(basename $i) - install -o root -g root -m 644 $fn $i - rm $fn -done - -# Enable services -systemctl daemon-reload -systemctl enable lotus-daemon - -# Setup firewall -yes | ufw enable -ufw default deny incoming -ufw default allow outgoing -ufw allow ssh -ufw allow 5678 #libp2p - -curl -L https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/90-cleanup.sh | bash diff --git a/tools/packer/systemd/lotus-daemon.service b/tools/packer/systemd/lotus-daemon.service deleted file mode 100644 index edbc91151..000000000 --- a/tools/packer/systemd/lotus-daemon.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Lotus Daemon -After=network.target - -[Service] -User=fc -Group=fc -ExecStartPre=/usr/local/bin/lotus-init.sh -ExecStart=/usr/local/bin/lotus daemon -ExecStop=/usr/local/bin/lotus daemon stop -Environment=LOTUS_PATH=/var/lib/lotus -Restart=always -RestartSec=30 -TimeoutSec=infinity - -[Install] -WantedBy=multi-user.target diff --git a/tools/packer/systemd/lotus-miner.service b/tools/packer/systemd/lotus-miner.service deleted file mode 100644 index d7289c888..000000000 --- a/tools/packer/systemd/lotus-miner.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Lotus Miner -After=network.target - -[Service] -User=fc -Group=fc -ExecStart=/usr/local/bin/lotus-miner run -Environment=LOTUS_PATH=/var/lib/lotus -Environment=LOTUS_MINER_PATH=/var/lib/lotus-miner -Restart=always -RestartSec=30 - -[Install] -WantedBy=multi-user.target