diff --git a/.circleci/config.yml b/.circleci/config.yml index 7082b54eb..a3e955e2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ executors: golang: docker: # Must match GO_VERSION_MIN in project root - - image: cimg/go:1.18.1 + - image: cimg/go:1.18.8 resource_class: 2xlarge ubuntu: docker: diff --git a/.circleci/template.yml b/.circleci/template.yml index 0a332964b..76c759e0f 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -6,7 +6,7 @@ executors: golang: docker: # Must match GO_VERSION_MIN in project root - - image: cimg/go:1.18.1 + - image: cimg/go:1.18.8 resource_class: 2xlarge ubuntu: docker: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 70d15c60c..65d5fd93a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-go@v1 with: - go-version: '1.18.1' + go-version: '1.18.8' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/Dockerfile.lotus b/Dockerfile.lotus index 7037a5813..28a47f1cd 100644 --- a/Dockerfile.lotus +++ b/Dockerfile.lotus @@ -1,4 +1,4 @@ -FROM golang:1.18.1-buster AS builder-deps +FROM golang:1.18.8-buster AS builder-deps MAINTAINER Lotus Development Team RUN apt-get update && apt-get install -y ca-certificates build-essential clang ocl-icd-opencl-dev ocl-icd-libopencl1 jq libhwloc-dev diff --git a/GO_VERSION_MIN b/GO_VERSION_MIN index ec6d649be..1a31d398c 100644 --- a/GO_VERSION_MIN +++ b/GO_VERSION_MIN @@ -1 +1 @@ -1.18.1 +1.18.8 diff --git a/README.md b/README.md index 23f3eb2d9..76cac2c7e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ - +

@@ -71,10 +71,10 @@ For other distributions you can find the required dependencies [here.](https://l #### Go -To build Lotus, you need a working installation of [Go 1.18.1 or higher](https://golang.org/dl/): +To build Lotus, you need a working installation of [Go 1.18.8 or higher](https://golang.org/dl/): ```bash -wget -c https://golang.org/dl/go1.18.1.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local +wget -c https://golang.org/dl/go1.18.8.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local ``` **TIP:** diff --git a/api/docgen/docgen.go b/api/docgen/docgen.go index 96fc068cc..efb90c533 100644 --- a/api/docgen/docgen.go +++ b/api/docgen/docgen.go @@ -24,6 +24,8 @@ 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" @@ -456,7 +458,8 @@ func exampleStruct(method string, t, parent reflect.Type) interface{} { if f.Type == parent { continue } - if strings.Title(f.Name) == f.Name { + caser := cases.Title(language.English) + if caser.String(f.Name) == f.Name { 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 596553716..daf5d6c06 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 75486d8cf..11b7391d2 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 c75e86780..cb29e8bdb 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 72a40797a..271a18a0f 100644 Binary files a/build/openrpc/worker.json.gz and b/build/openrpc/worker.json.gz differ diff --git a/chain/consensus/filcns/weight.go b/chain/consensus/filcns/weight.go index f5966aa19..ab90840c5 100644 --- a/chain/consensus/filcns/weight.go +++ b/chain/consensus/filcns/weight.go @@ -29,7 +29,7 @@ func Weight(ctx context.Context, stateBs bstore.Blockstore, ts *types.TipSet) (t // >>> wFunction(totalPowerAtTipset(ts)) * 2^8 <<< + (wFunction(totalPowerAtTipset(ts)) * sum(ts.blocks[].ElectionProof.WinCount) * wRatio_num * 2^8) / (e * wRatio_den) - tpow := big2.Zero() + var tpow big2.Int { cst := cbor.NewCborStore(stateBs) state, err := state.LoadStateTree(cst, ts.ParentState()) diff --git a/chain/market/fundmanager_test.go b/chain/market/fundmanager_test.go index 33d057c22..d79afbc51 100644 --- a/chain/market/fundmanager_test.go +++ b/chain/market/fundmanager_test.go @@ -105,7 +105,7 @@ func TestFundManagerBasic(t *testing.T) { // Note: Expect failure because there is no available balance to withdraw: // balance - reserved = 16 - 16 = 0 amt = abi.NewTokenAmount(1) - sentinel, err = s.fm.Withdraw(s.ctx, s.walletAddr, s.acctAddr, amt) + _, err = s.fm.Withdraw(s.ctx, s.walletAddr, s.acctAddr, amt) require.Error(t, err) } diff --git a/chain/types/fil.go b/chain/types/fil.go index 21125e6d6..60a2940c6 100644 --- a/chain/types/fil.go +++ b/chain/types/fil.go @@ -102,7 +102,7 @@ func ParseFIL(s string) (FIL, error) { return FIL{}, fmt.Errorf("string length too large: %d", len(s)) } - r, ok := new(big.Rat).SetString(s) + r, ok := new(big.Rat).SetString(s) //nolint:gosec if !ok { return FIL{}, fmt.Errorf("failed to parse %q as a decimal number", s) } diff --git a/cli/util/api.go b/cli/util/api.go index 596322ab8..b35974c69 100644 --- a/cli/util/api.go +++ b/cli/util/api.go @@ -274,7 +274,7 @@ func FullNodeProxy[T api.FullNode](ins []T, outstr *api.FullNodeStruct) { } total := len(rins) - result, err := retry.Retry(ctx, 5, initialBackoff, errorsToRetry, func() (results []reflect.Value, err2 error) { + result, _ := retry.Retry(ctx, 5, initialBackoff, errorsToRetry, func() ([]reflect.Value, error) { curr = (curr + 1) % total result := fns[curr].Call(args) diff --git a/cmd/lotus-bench/import.go b/cmd/lotus-bench/import.go index ce0b8d86e..c0a3c4a53 100644 --- a/cmd/lotus-bench/import.go +++ b/cmd/lotus-bench/import.go @@ -149,7 +149,7 @@ var importBenchCmd = &cli.Command{ http.Handle("/debug/metrics", exporter) - http.ListenAndServe("localhost:6060", nil) //nolint:errcheck + _ = http.ListenAndServe("localhost:6060", nil) }() var tdir string @@ -771,7 +771,7 @@ var importAnalyzeCmd = &cli.Command{ } go func() { - http.ListenAndServe("localhost:6060", nil) //nolint:errcheck + _ = http.ListenAndServe("localhost:6060", nil) }() fi, err := os.Open(cctx.Args().First()) diff --git a/cmd/lotus-fountain/main.go b/cmd/lotus-fountain/main.go index 059c248f6..780aef916 100644 --- a/cmd/lotus-fountain/main.go +++ b/cmd/lotus-fountain/main.go @@ -74,6 +74,10 @@ var runCmd = &cli.Command{ Name: "captcha-threshold", Value: 0.5, }, + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, }, Action: func(cctx *cli.Context) error { sendPerRequest, err := types.ParseFIL(cctx.String("amount")) @@ -127,7 +131,17 @@ var runCmd = &cli.Command{ os.Exit(0) }() - return http.ListenAndServe(cctx.String("front"), nil) + timeout, err := time.ParseDuration(cctx.String("http-server-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err) + } + + server := &http.Server{ + Addr: cctx.String("front"), + ReadHeaderTimeout: timeout, + } + + return server.ListenAndServe() }, } diff --git a/cmd/lotus-pcr/main.go b/cmd/lotus-pcr/main.go index f491d9a33..57eaf0ad6 100644 --- a/cmd/lotus-pcr/main.go +++ b/cmd/lotus-pcr/main.go @@ -418,10 +418,24 @@ var runCmd = &cli.Command{ Usage: "messages with a prove cap larger than this will be skipped when processing pre commit messages", Value: "0.000000001", }, + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, }, Action: func(cctx *cli.Context) error { + timeout, err := time.ParseDuration(cctx.String("http-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-timeout"), err) + } + go func() { - http.ListenAndServe(":6060", nil) //nolint:errcheck + server := &http.Server{ + Addr: ":6060", + ReadHeaderTimeout: timeout, + } + + _ = server.ListenAndServe() }() ctx := context.Background() @@ -898,7 +912,7 @@ func (r *refunder) EnsureMinerMinimums(ctx context.Context, tipset *types.TipSet func (r *refunder) processTipsetStorageMarketActor(ctx context.Context, tipset *types.TipSet, msg api.Message, recp *types.MessageReceipt) (bool, string, types.BigInt, error) { m := msg.Message - refundValue := types.NewInt(0) + var refundValue types.BigInt var messageMethod string switch m.Method { @@ -925,7 +939,7 @@ func (r *refunder) processTipsetStorageMarketActor(ctx context.Context, tipset * func (r *refunder) processTipsetStorageMinerActor(ctx context.Context, tipset *types.TipSet, msg api.Message, recp *types.MessageReceipt) (bool, string, types.BigInt, error) { m := msg.Message - refundValue := types.NewInt(0) + var refundValue types.BigInt var messageMethod string if _, found := r.blockmap[m.To]; found { diff --git a/cmd/lotus-shed/fip-0036.go b/cmd/lotus-shed/fip-0036.go index 2725f205f..485302b9b 100644 --- a/cmd/lotus-shed/fip-0036.go +++ b/cmd/lotus-shed/fip-0036.go @@ -36,7 +36,7 @@ type Option uint64 const ( Approve Option = 49 - Reject = 50 + Reject Option = 50 ) type Vote struct { @@ -148,7 +148,7 @@ var finalResultCmd = &cli.Command{ } votes, err := getVotesMap(vj) if err != nil { - return xerrors.Errorf("failed to get voters: ", err) + return xerrors.Errorf("failed to get voters: %w\n", err) } type minerBriefInfo struct { @@ -160,23 +160,23 @@ var finalResultCmd = &cli.Command{ // power actor pa, err := st.GetActor(power.Address) if err != nil { - return xerrors.Errorf("failed to get power actor: \n", err) + return xerrors.Errorf("failed to get power actor: %w\n", err) } powerState, err := power.Load(store, pa) if err != nil { - return xerrors.Errorf("failed to get power state: \n", err) + return xerrors.Errorf("failed to get power state: %w\n", err) } //market actor ma, err := st.GetActor(market.Address) if err != nil { - return xerrors.Errorf("fail to get market actor: ", err) + return xerrors.Errorf("fail to get market actor: %w\n", err) } marketState, err := market.Load(store, ma) if err != nil { - return xerrors.Errorf("fail to load market state: ", err) + return xerrors.Errorf("fail to load market state: %w\n", err) } lookupId := func(addr address.Address) address.Address { @@ -219,7 +219,7 @@ var finalResultCmd = &cli.Command{ // TODO: Confirm that these are always ID addresses signers, err := ms.Signers() if err != nil { - return xerrors.Errorf("fail to get msig signers", err) + return xerrors.Errorf("fail to get msig signers: %w", err) } for _, s := range signers { signerId := lookupId(s) @@ -244,12 +244,12 @@ var finalResultCmd = &cli.Command{ if builtin.IsStorageMinerActor(act.Code) { m, err := miner.Load(store, act) if err != nil { - return xerrors.Errorf("fail to load miner actor: \n", err) + return xerrors.Errorf("fail to load miner actor: %w", err) } info, err := m.Info() if err != nil { - return xerrors.Errorf("fail to get miner info: \n", err) + return xerrors.Errorf("fail to get miner info: %w\n", err) } ownerId := lookupId(info.Owner) @@ -353,7 +353,7 @@ var finalResultCmd = &cli.Command{ //process votes for regular accounts accountActor, err := st.GetActor(signerId) if err != nil { - return xerrors.Errorf("fail to get account account for signer: ", err) + return xerrors.Errorf("fail to get account account for signer: %w\n", err) } clientBytes, ok := clientToDealStorage[signerId] diff --git a/cmd/lotus-shed/gas-estimation.go b/cmd/lotus-shed/gas-estimation.go index b05380535..cf56ea03d 100644 --- a/cmd/lotus-shed/gas-estimation.go +++ b/cmd/lotus-shed/gas-estimation.go @@ -234,6 +234,9 @@ var replayOfflineCmd = &cli.Command{ return xerrors.Errorf("could not find message within the last %d epochs", lookbackLimit) } executionTs, err := cs.GetTipsetByHeight(ctx, ts.Height()-2, ts, true) + if err != nil { + return err + } tw := tabwriter.NewWriter(os.Stdout, 8, 2, 2, ' ', tabwriter.AlignRight) res, err := sm.CallWithGas(ctx, msg, []types.ChainMsg{}, executionTs) diff --git a/cmd/lotus-shed/invariants.go b/cmd/lotus-shed/invariants.go index 9fb67393d..e48f301c4 100644 --- a/cmd/lotus-shed/invariants.go +++ b/cmd/lotus-shed/invariants.go @@ -98,6 +98,9 @@ var invariantsCmd = &cli.Command{ fmt.Println("Network Version ", nv) av, err := actorstypes.VersionForNetwork(nv) + if err != nil { + return err + } fmt.Println("Actors Version ", av) actorCodeCids, err := actors.GetActorCodeIDs(av) @@ -114,6 +117,9 @@ var invariantsCmd = &cli.Command{ } actorTree, err := builtin.LoadTree(actorStore, stateRoot.Actors) + if err != nil { + return err + } startTime := time.Now() diff --git a/cmd/lotus-shed/itestd.go b/cmd/lotus-shed/itestd.go index 3ac542d27..7b9b7460d 100644 --- a/cmd/lotus-shed/itestd.go +++ b/cmd/lotus-shed/itestd.go @@ -9,6 +9,7 @@ import ( "net/http/httptest" "os" "os/exec" + "time" "github.com/chzyer/readline" "github.com/urfave/cli/v2" @@ -25,6 +26,10 @@ var itestdCmd = &cli.Command{ Name: "listen", Value: "127.0.0.1:5674", }, + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, }, Action: func(cctx *cli.Context) error { var nodes []kit.ItestdNotif @@ -44,9 +49,14 @@ var itestdCmd = &cli.Command{ if err != nil { return xerrors.Errorf("net listen: %w", err) } + + timeout, err := time.ParseDuration(cctx.String("http-server-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err) + } s := &httptest.Server{ Listener: l, - Config: &http.Server{Handler: m}, + Config: &http.Server{Handler: m, ReadHeaderTimeout: timeout}, } s.Start() fmt.Printf("ITest env:\n\nLOTUS_ITESTD=%s\n\nSay 'sh' to spawn a shell connected to test nodes\n--- waiting for clients\n", s.URL) diff --git a/cmd/lotus-shed/mempool-stats.go b/cmd/lotus-shed/mempool-stats.go index 9e4a2629c..08aceb020 100644 --- a/cmd/lotus-shed/mempool-stats.go +++ b/cmd/lotus-shed/mempool-stats.go @@ -13,6 +13,7 @@ import ( "go.opencensus.io/stats" "go.opencensus.io/stats/view" "go.opencensus.io/tag" + "golang.org/x/xerrors" "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-state-types/builtin" @@ -76,8 +77,14 @@ type msgInfo struct { var mpoolStatsCmd = &cli.Command{ Name: "mpool-stats", + Flags: []cli.Flag{ + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, + }, Action: func(cctx *cli.Context) error { - logging.SetLogLevel("rpc", "ERROR") + _ = logging.SetLogLevel("rpc", "ERROR") if err := view.Register(AgeView, SizeView, InboundRate, InclusionRate, MsgWait); err != nil { return err @@ -92,8 +99,18 @@ var mpoolStatsCmd = &cli.Command{ http.Handle("/debug/metrics", expo) + timeout, err := time.ParseDuration(cctx.String("http-server-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err) + } + go func() { - if err := http.ListenAndServe(":10555", nil); err != nil { + server := &http.Server{ + Addr: ":10555", + ReadHeaderTimeout: timeout, + } + + if err := server.ListenAndServe(); err != nil { panic(err) } }() diff --git a/cmd/lotus-shed/migrations.go b/cmd/lotus-shed/migrations.go index c4e9af397..f23942326 100644 --- a/cmd/lotus-shed/migrations.go +++ b/cmd/lotus-shed/migrations.go @@ -239,8 +239,10 @@ func checkMigrationInvariants(ctx context.Context, v8StateRootCid cid.Cid, v9Sta if err != nil { return err } - v9actorTree, err := builtin.LoadTree(actorStore, v9stateRoot.Actors) + if err != nil { + return err + } messages, err := v9.CheckStateInvariants(v9actorTree, epoch, actorCodeCids) if err != nil { return xerrors.Errorf("checking state invariants: %w", err) @@ -465,7 +467,7 @@ func compareProposalToAllocation(prop market8.DealProposal, alloc verifreg9.Allo return xerrors.Errorf("couldnt get ID from address") } if proposalClientID != uint64(alloc.Client) { - return xerrors.Errorf("client id mismatch between proposal and allocation: %s, %s", proposalClientID, alloc.Client) + return xerrors.Errorf("client id mismatch between proposal and allocation: %v, %v", proposalClientID, alloc.Client) } proposalProviderID, err := address.IDFromAddress(prop.Provider) @@ -473,11 +475,11 @@ func compareProposalToAllocation(prop market8.DealProposal, alloc verifreg9.Allo return xerrors.Errorf("couldnt get ID from address") } if proposalProviderID != uint64(alloc.Provider) { - return xerrors.Errorf("provider id mismatch between proposal and allocation: %s, %s", proposalProviderID, alloc.Provider) + return xerrors.Errorf("provider id mismatch between proposal and allocation: %v, %v", proposalProviderID, alloc.Provider) } if prop.PieceSize != alloc.Size { - return xerrors.Errorf("piece size mismatch between proposal and allocation: %s, %s", prop.PieceSize, alloc.Size) + return xerrors.Errorf("piece size mismatch between proposal and allocation: %v, %v", prop.PieceSize, alloc.Size) } if alloc.TermMax != 540*builtin.EpochsInDay { diff --git a/cmd/lotus-shed/msig.go b/cmd/lotus-shed/msig.go index 7d37d3d2d..ccc932c93 100644 --- a/cmd/lotus-shed/msig.go +++ b/cmd/lotus-shed/msig.go @@ -121,6 +121,10 @@ var multisigGetAllCmd = &cli.Command{ } return nil }) + if err != nil { + return err + } + out, err := json.MarshalIndent(msigActorsInfo, "", " ") if err != nil { return err diff --git a/cmd/lotus-stats/main.go b/cmd/lotus-stats/main.go index 20b2ee45c..20971c1f3 100644 --- a/cmd/lotus-stats/main.go +++ b/cmd/lotus-stats/main.go @@ -12,6 +12,7 @@ import ( "github.com/urfave/cli/v2" "go.opencensus.io/stats" "go.opencensus.io/stats/view" + "golang.org/x/xerrors" "github.com/filecoin-project/go-state-types/abi" @@ -128,6 +129,10 @@ var runCmd = &cli.Command{ EnvVars: []string{"LOTUS_STATS_IPLD_STORE_CACHE_SIZE"}, Value: 2 << 15, }, + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, }, Action: func(cctx *cli.Context) error { ctx := context.Background() @@ -158,9 +163,18 @@ var runCmd = &cli.Command{ return err } + timeout, err := time.ParseDuration(cctx.String("http-server-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err) + } + go func() { http.Handle("/metrics", exporter) - if err := http.ListenAndServe(":6688", nil); err != nil { + server := &http.Server{ + Addr: ":6688", + ReadHeaderTimeout: timeout, + } + if err := server.ListenAndServe(); err != nil { log.Errorw("failed to start http server", "err", err) } }() diff --git a/cmd/lotus-wallet/main.go b/cmd/lotus-wallet/main.go index 75d31da56..8360dae15 100644 --- a/cmd/lotus-wallet/main.go +++ b/cmd/lotus-wallet/main.go @@ -6,6 +6,7 @@ import ( "net" "net/http" "os" + "time" "github.com/gbrlsnchs/jwt/v3" "github.com/gorilla/mux" @@ -142,6 +143,10 @@ var runCmd = &cli.Command{ Usage: "(insecure) disable api auth", Hidden: true, }, + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, }, Description: "Needs FULLNODE_API_INFO env-var to be set before running (see lotus-wallet --help for setup instructions)", Action: func(cctx *cli.Context) error { @@ -239,8 +244,14 @@ var runCmd = &cli.Command{ } } + timeout, err := time.ParseDuration(cctx.String("http-server-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err) + } + srv := &http.Server{ - Handler: handler, + Handler: handler, + ReadHeaderTimeout: timeout, BaseContext: func(listener net.Listener) context.Context { ctx, _ := tag.New(context.Background(), tag.Upsert(metrics.APIInterface, "lotus-wallet")) return ctx diff --git a/cmd/lotus-worker/main.go b/cmd/lotus-worker/main.go index 04f893cc9..074a6a3e5 100644 --- a/cmd/lotus-worker/main.go +++ b/cmd/lotus-worker/main.go @@ -272,6 +272,10 @@ var runCmd = &cli.Command{ Value: "30m", EnvVars: []string{"LOTUS_WORKER_TIMEOUT"}, }, + &cli.StringFlag{ + Name: "http-server-timeout", + Value: "30s", + }, }, Before: func(cctx *cli.Context) error { if cctx.IsSet("address") { @@ -562,8 +566,14 @@ var runCmd = &cli.Command{ log.Info("Setting up control endpoint at " + address) + timeout, err := time.ParseDuration(cctx.String("http-server-timeout")) + if err != nil { + return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err) + } + srv := &http.Server{ - Handler: sealworker.WorkerHandler(nodeApi.AuthVerify, remoteHandler, workerApi, true), + Handler: sealworker.WorkerHandler(nodeApi.AuthVerify, remoteHandler, workerApi, true), + ReadHeaderTimeout: timeout, BaseContext: func(listener net.Listener) context.Context { ctx, _ := tag.New(context.Background(), tag.Upsert(metrics.APIInterface, "lotus-worker")) return ctx diff --git a/documentation/en/api-v0-methods-miner.md b/documentation/en/api-v0-methods-miner.md index 413499c1a..238bf3bdf 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": 131840, - "BlockDelay": 42 + "APIVersion": 0, + "BlockDelay": 0 } ``` @@ -279,20 +279,12 @@ Inputs: `null` Response: ```json { - "PreCommitControl": [ - "f01234" - ], - "CommitControl": [ - "f01234" - ], - "TerminateControl": [ - "f01234" - ], - "DealPublishControl": [ - "f01234" - ], - "DisableOwnerFallback": true, - "DisableWorkerFallback": true + "PreCommitControl": null, + "CommitControl": null, + "TerminateControl": null, + "DealPublishControl": null, + "DisableOwnerFallback": false, + "DisableWorkerFallback": false } ``` @@ -410,10 +402,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 } ] ] @@ -446,9 +438,7 @@ Response: ```json { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": null } ``` @@ -462,12 +452,10 @@ Inputs: [ [ { - "SealProof": 8, - "SectorNumber": 9, + "SealProof": 0, + "SectorNumber": 0, "SectorKey": null, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "SealedCID": null } ], "Bw==", @@ -480,8 +468,8 @@ Response: ```json [ { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" + "PoStProof": 0, + "ProofBytes": null } ] ``` @@ -522,12 +510,12 @@ Response: ], "Proofs": [ { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" + "PoStProof": 0, + "ProofBytes": null } ], - "ChainCommitEpoch": 10101, - "ChainCommitRand": "Bw==" + "ChainCommitEpoch": 0, + "ChainCommitRand": null } ] ``` @@ -591,8 +579,8 @@ Inputs: ```json [ { - "MaxConcurrency": 123, - "IncludeSealed": true + "MaxConcurrency": 0, + "IncludeSealed": false } ] ``` @@ -806,24 +794,22 @@ Response: [ { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 10101, - "LastUpdatedEpoch": 10101, - "SlashEpoch": 10101, + "SectorStartEpoch": 0, + "LastUpdatedEpoch": 0, + "SlashEpoch": 0, "VerifiedClaim": 0 } } @@ -1010,16 +996,8 @@ Response: "Subsystem": "string value" }, "Active": true, - "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" - } + "LastActive": null, + "LastResolved": null } ] ``` @@ -1089,94 +1067,8 @@ Inputs: Response: ```json { - "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" - ] - } - ] + "ReceivingTransfers": null, + "SendingTransfers": null } ``` @@ -1190,16 +1082,14 @@ Inputs: `null` Response: ```json { - "TransferID": 3, + "TransferID": 0, "Status": 1, - "BaseCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "IsInitiator": true, - "IsSender": true, + "BaseCID": null, + "IsInitiator": false, + "IsSender": false, "Voucher": "string value", "Message": "string value", - "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "OtherPeer": "", "Transferred": 42, "Stages": { "Stages": [ @@ -1233,12 +1123,12 @@ Response: "Ask": { "Price": "0", "VerifiedPrice": "0", - "MinPieceSize": 1032, - "MaxPieceSize": 1032, + "MinPieceSize": 0, + "MaxPieceSize": 0, "Miner": "f01234", "Timestamp": 10101, "Expiry": 10101, - "SeqNo": 42 + "SeqNo": 0 }, "Signature": { "Type": 2, @@ -1258,57 +1148,49 @@ Response: ```json { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, - "Client": "f01234", - "Provider": "f01234", + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, + "Client": "\u003cempty\u003e", + "Provider": "\u003cempty\u003e", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, - "StoragePricePerEpoch": "0", - "ProviderCollateral": "0", - "ClientCollateral": "0" + "StartEpoch": 0, + "EndEpoch": 0, + "StoragePricePerEpoch": "\u003cnil\u003e", + "ProviderCollateral": "\u003cnil\u003e", + "ClientCollateral": "\u003cnil\u003e" }, "ClientSignature": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + "Type": 0, + "Data": null }, + "ProposalCid": null, "AddFundsCid": null, "PublishCid": null, "Miner": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Client": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "State": 42, - "PiecePath": ".lotusminer/fstmp123", - "MetadataPath": ".lotusminer/fstmp123", - "SlashEpoch": 10101, - "FastRetrieval": true, + "PiecePath": "", + "MetadataPath": "", + "SlashEpoch": 0, + "FastRetrieval": false, "Message": "string value", - "FundsReserved": "0", + "FundsReserved": "\u003cnil\u003e", "Ref": { - "TransferType": "string value", + "TransferType": "", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 + "PieceSize": 0, + "RawBlockSize": 0 }, - "AvailableForRetrieval": true, - "DealID": 5432, + "AvailableForRetrieval": false, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", - "TransferChannelId": { - "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "ID": 3 - }, - "SectorNumber": 9, - "InboundCAR": "string value" + "TransferChannelId": null, + "SectorNumber": 0, + "InboundCAR": "" } ``` @@ -1324,8 +1206,8 @@ Response: { "PricePerByte": "0", "UnsealPrice": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42 + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0 } ``` @@ -1357,16 +1239,14 @@ Response: ```json [ { - "TransferID": 3, + "TransferID": 0, "Status": 1, - "BaseCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "IsInitiator": true, - "IsSender": true, + "BaseCID": null, + "IsInitiator": false, + "IsSender": false, "Voucher": "string value", "Message": "string value", - "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "OtherPeer": "", "Transferred": 42, "Stages": { "Stages": [ @@ -1400,24 +1280,22 @@ Response: [ { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 10101, - "LastUpdatedEpoch": 10101, - "SlashEpoch": 10101, + "SectorStartEpoch": 0, + "LastUpdatedEpoch": 0, + "SlashEpoch": 0, "VerifiedClaim": 0 } } @@ -1436,57 +1314,49 @@ Response: [ { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, - "Client": "f01234", - "Provider": "f01234", + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, + "Client": "\u003cempty\u003e", + "Provider": "\u003cempty\u003e", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "ClientSignature": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" + "Type": 0, + "Data": null }, + "ProposalCid": null, "AddFundsCid": null, "PublishCid": null, "Miner": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Client": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "State": 42, - "PiecePath": ".lotusminer/fstmp123", - "MetadataPath": ".lotusminer/fstmp123", - "SlashEpoch": 10101, - "FastRetrieval": true, + "PiecePath": "", + "MetadataPath": "", + "SlashEpoch": 0, + "FastRetrieval": false, "Message": "string value", "FundsReserved": "0", "Ref": { - "TransferType": "string value", + "TransferType": "", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 + "PieceSize": 0, + "RawBlockSize": 0 }, - "AvailableForRetrieval": true, - "DealID": 5432, + "AvailableForRetrieval": false, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", - "TransferChannelId": { - "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "ID": 3 - }, - "SectorNumber": 9, - "InboundCAR": "string value" + "TransferChannelId": null, + "SectorNumber": 0, + "InboundCAR": "" } ] ``` @@ -1502,44 +1372,24 @@ Response: ```json [ { - "PayloadCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ID": 5, - "Selector": { - "Raw": "Ynl0ZSBhcnJheQ==" - }, + "PayloadCID": null, + "ID": 0, + "Selector": null, "PieceCID": null, "PricePerByte": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "UnsealPrice": "0", - "StoreID": 42, - "ChannelID": { - "Initiator": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "Responder": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "ID": 3 - }, - "PieceInfo": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "Deals": [ - { - "DealID": 5432, - "SectorID": 9, - "Offset": 1032, - "Length": 1032 - } - ] - }, + "StoreID": 0, + "ChannelID": null, + "PieceInfo": null, "Status": 0, "Receiver": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "TotalSent": 42, + "TotalSent": 0, "FundsReceived": "0", "Message": "string value", - "CurrentInterval": 42, - "LegacyProtocol": true + "CurrentInterval": 0, + "LegacyProtocol": false } ] ``` @@ -1557,28 +1407,26 @@ Response: "Deals": [ { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "ClientSignature": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" + "Type": 0, + "Data": null } } ], "PublishPeriodStart": "0001-01-01T00:00:00Z", - "PublishPeriod": 60000000000 + "PublishPeriod": 0 } ``` @@ -1653,8 +1501,8 @@ Inputs: { "PricePerByte": "0", "UnsealPrice": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42 + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0 } ] ``` @@ -1693,7 +1541,7 @@ Inputs: `null` Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1725,7 +1573,7 @@ Response: ```json { "Reachability": 1, - "PublicAddr": "string value" + "PublicAddr": "" } ``` @@ -1739,10 +1587,10 @@ Inputs: `null` Response: ```json { - "TotalIn": 9, - "TotalOut": 9, - "RateIn": 12.3, - "RateOut": 12.3 + "TotalIn": 0, + "TotalOut": 0, + "RateIn": 0, + "RateOut": 0 } ``` @@ -1796,12 +1644,8 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ] ``` @@ -1821,12 +1665,8 @@ Response: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ``` @@ -1842,12 +1682,8 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ] ``` @@ -1863,7 +1699,7 @@ Inputs: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1916,7 +1752,7 @@ Inputs: Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -1964,7 +1800,7 @@ Inputs: Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Agent": "string value", "Addrs": [ "string value" @@ -1972,16 +1808,7 @@ Response: "Protocols": [ "string value" ], - "ConnMgrMeta": { - "FirstSeen": "0001-01-01T00:00:00Z", - "Value": 123, - "Tags": { - "name": 42 - }, - "Conns": { - "name": "2021-03-08T22:52:18Z" - } - } + "ConnMgrMeta": null } ``` @@ -1996,7 +1823,7 @@ Response: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -2075,7 +1902,7 @@ Response: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Score": { "Score": 12.3, "Topics": { @@ -2086,9 +1913,9 @@ Response: "InvalidMessageDeliveries": 3 } }, - "AppSpecificScore": 12.3, - "IPColocationFactor": 12.3, - "BehaviourPenalty": 12.3 + "AppSpecificScore": 0, + "IPColocationFactor": 0, + "BehaviourPenalty": 0 } } ] @@ -2134,19 +1961,19 @@ Response: ```json { "System": { - "NumStreamsInbound": 123, - "NumStreamsOutbound": 123, - "NumConnsInbound": 123, - "NumConnsOutbound": 123, - "NumFD": 123, + "NumStreamsInbound": 0, + "NumStreamsOutbound": 0, + "NumConnsInbound": 0, + "NumConnsOutbound": 0, + "NumFD": 0, "Memory": 9 }, "Transient": { - "NumStreamsInbound": 123, - "NumStreamsOutbound": 123, - "NumConnsInbound": 123, - "NumConnsOutbound": 123, - "NumFD": 123, + "NumStreamsInbound": 0, + "NumStreamsOutbound": 0, + "NumConnsInbound": 0, + "NumConnsOutbound": 0, + "NumFD": 0, "Memory": 9 }, "Services": { @@ -2202,18 +2029,8 @@ Inputs: Response: ```json { - "CID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceBlockLocations": [ - { - "RelOffset": 42, - "BlockSize": 42, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - } - ] + "CID": null, + "PieceBlockLocations": null } ``` @@ -2234,13 +2051,11 @@ Inputs: Response: ```json { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "PieceCID": null, "Deals": [ { - "DealID": 5432, - "SectorID": 9, + "DealID": 0, + "SectorID": 0, "Offset": 1032, "Length": 1032 } @@ -2345,13 +2160,11 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": null }, { "Code": 0, @@ -2376,13 +2189,11 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": null }, { "Code": 0, @@ -2406,7 +2217,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2430,7 +2241,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2454,7 +2265,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2478,7 +2289,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2502,7 +2313,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2526,7 +2337,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2550,7 +2361,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, [ "Ynl0ZSBhcnJheQ==" @@ -2577,7 +2388,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, "Bw==", { @@ -2602,7 +2413,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, true, { @@ -2627,7 +2438,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2651,15 +2462,11 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { - "NewSealed": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "NewUnsealed": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "NewSealed": null, + "NewUnsealed": null }, { "Code": 0, @@ -2683,7 +2490,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, "Bw==", { @@ -2708,7 +2515,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, "Bw==", { @@ -2733,7 +2540,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, "Bw==", { @@ -2758,7 +2565,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Unsealed": { @@ -2790,7 +2597,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" }, { "Code": 0, @@ -2839,7 +2646,7 @@ Inputs: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ] ``` @@ -2909,27 +2716,13 @@ Inputs: {}, { "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" - }, + "DealID": 0, + "DealProposal": null, "DealSchedule": { - "StartEpoch": 10101, - "EndEpoch": 10101 + "StartEpoch": 0, + "EndEpoch": 0 }, - "KeepUnsealed": true + "KeepUnsealed": false } ] ``` @@ -2959,9 +2752,7 @@ Response: 123, 124 ], - "FailedSectors": { - "123": "can't acquire read lock" - }, + "FailedSectors": null, "Msg": null, "Error": "string value" } @@ -3051,8 +2842,7 @@ Response: 1 ], "InUse": [ - 5, - 1 + 0 ], "Next": 9 } @@ -3199,67 +2989,23 @@ Inputs: { "Piece": { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": 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 - } + "DealInfo": null } ], - "TicketValue": "Bw==", - "TicketEpoch": 10101, - "PreCommit1Out": "Bw==", + "TicketValue": null, + "TicketEpoch": 0, + "PreCommit1Out": null, "CommD": null, "CommR": null, - "PreCommitInfo": { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], - "Expiration": 10101, - "UnsealedCid": null - }, - "PreCommitDeposit": "0", + "PreCommitInfo": null, + "PreCommitDeposit": null, "PreCommitMessage": null, - "PreCommitTipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], - "SeedValue": "Bw==", - "SeedEpoch": 10101, - "CommitProof": "Ynl0ZSBhcnJheQ==", + "PreCommitTipSet": [], + "SeedValue": null, + "SeedEpoch": 0, + "CommitProof": null, "CommitMessage": null, "Log": [ { @@ -3269,39 +3015,12 @@ Inputs: "Message": "string value" } ], - "DataUnsealed": { - "Local": true, - "URL": "string value", - "Headers": [ - { - "Key": "string value", - "Value": "string value" - } - ] - }, - "DataSealed": { - "Local": true, - "URL": "string value", - "Headers": [ - { - "Key": "string value", - "Value": "string value" - } - ] - }, - "DataCache": { - "Local": true, - "URL": "string value", - "Headers": [ - { - "Key": "string value", - "Value": "string value" - } - ] - }, - "RemoteCommit1Endpoint": "string value", - "RemoteCommit2Endpoint": "string value", - "RemoteSealingDoneEndpoint": "string value" + "DataUnsealed": null, + "DataSealed": null, + "DataCache": null, + "RemoteCommit1Endpoint": "", + "RemoteCommit2Endpoint": "", + "RemoteSealingDoneEndpoint": "" } ] ``` @@ -3495,7 +3214,7 @@ Inputs: Response: ```json { - "SectorID": 9, + "SectorID": 0, "State": "Proving", "CommD": null, "CommR": null, @@ -3507,34 +3226,9 @@ Response: { "Piece": { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": 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 - } + "DealInfo": null } ], "Ticket": { @@ -3548,9 +3242,9 @@ Response: "PreCommitMsg": null, "CommitMsg": null, "Retries": 42, - "ToUpgrade": true, + "ToUpgrade": false, "ReplicaUpdateMessage": null, - "LastErr": "string value", + "LastErr": "", "Log": [ { "Kind": "string value", @@ -3559,13 +3253,13 @@ Response: "Message": "string value" } ], - "SealProof": 8, + "SealProof": 0, "Activation": 10101, "Expiration": 10101, - "DealWeight": "0", - "VerifiedDealWeight": "0", - "InitialPledge": "0", - "OnTime": 10101, + "DealWeight": "\u003cnil\u003e", + "VerifiedDealWeight": "\u003cnil\u003e", + "InitialPledge": "\u003cnil\u003e", + "OnTime": 0, "Early": 10101 } ``` @@ -3595,10 +3289,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, 1040384, 1024, @@ -3663,31 +3357,23 @@ Inputs: ```json [ { - "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", - "URLs": [ - "string value" - ], + "ID": "", + "URLs": null, "Weight": 42, - "MaxStorage": 42, - "CanSeal": true, - "CanStore": true, + "MaxStorage": 0, + "CanSeal": false, + "CanStore": false, "Groups": [ "string value" ], - "AllowTo": [ - "string value" - ], - "AllowTypes": [ - "string value" - ], - "DenyTypes": [ - "string value" - ] + "AllowTo": null, + "AllowTypes": null, + "DenyTypes": null }, { "Capacity": 9, "Available": 9, - "FSAvailable": 9, + "FSAvailable": 0, "Reserved": 9, "Max": 9, "Used": 9 @@ -3737,26 +3423,18 @@ Response: ```json [ { - "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", - "URLs": [ - "string value" - ], + "ID": "", + "URLs": null, "Weight": 42, - "MaxStorage": 42, - "CanSeal": true, - "CanStore": true, + "MaxStorage": 0, + "CanSeal": false, + "CanStore": false, "Groups": [ "string value" ], - "AllowTo": [ - "string value" - ], - "AllowTypes": [ - "string value" - ], - "DenyTypes": [ - "string value" - ] + "AllowTo": null, + "AllowTypes": null, + "DenyTypes": null } ] ``` @@ -3859,23 +3537,15 @@ Response: ```json [ { - "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", - "URLs": [ - "string value" - ], - "BaseURLs": [ - "string value" - ], + "ID": "", + "URLs": null, + "BaseURLs": null, "Weight": 42, - "CanSeal": true, - "CanStore": true, + "CanSeal": false, + "CanStore": false, "Primary": true, - "AllowTypes": [ - "string value" - ], - "DenyTypes": [ - "string value" - ] + "AllowTypes": null, + "DenyTypes": null } ] ``` @@ -3930,26 +3600,18 @@ Inputs: Response: ```json { - "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", - "URLs": [ - "string value" - ], + "ID": "", + "URLs": null, "Weight": 42, - "MaxStorage": 42, - "CanSeal": true, - "CanStore": true, + "MaxStorage": 0, + "CanSeal": false, + "CanStore": false, "Groups": [ "string value" ], - "AllowTo": [ - "string value" - ], - "AllowTypes": [ - "string value" - ], - "DenyTypes": [ - "string value" - ] + "AllowTo": null, + "AllowTypes": null, + "DenyTypes": null } ``` @@ -4034,7 +3696,7 @@ Inputs: "Stat": { "Capacity": 9, "Available": 9, - "FSAvailable": 9, + "FSAvailable": 0, "Reserved": 9, "Max": 9, "Used": 9 @@ -4063,7 +3725,7 @@ Response: { "Capacity": 9, "Available": 9, - "FSAvailable": 9, + "FSAvailable": 0, "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 dab251a7c..3b80f9ad7 100644 --- a/documentation/en/api-v0-methods-worker.md +++ b/documentation/en/api-v0-methods-worker.md @@ -75,10 +75,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, 1, "sealing", @@ -93,7 +93,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -108,16 +108,14 @@ Response: ```json { "Hostname": "string value", - "IgnoreResources": true, + "IgnoreResources": false, "Resources": { - "MemPhysical": 42, - "MemUsed": 42, - "MemSwap": 42, - "MemSwapUsed": 42, - "CPUs": 42, - "GPUs": [ - "string value" - ], + "MemPhysical": 0, + "MemUsed": 0, + "MemSwap": 0, + "MemSwapUsed": 0, + "CPUs": 0, + "GPUs": null, "Resources": { "post/v0/windowproof": { "0": { @@ -1423,11 +1421,11 @@ Response: ```json [ { - "ID": "76f1988b-ef30-4d7e-b3ec-9a627f4ba5a8", + "ID": "", "Weight": 42, - "LocalPath": "string value", - "CanSeal": true, - "CanStore": true + "LocalPath": "", + "CanSeal": false, + "CanStore": false } ] ``` @@ -1492,10 +1490,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, [ 1024 @@ -1512,7 +1510,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1540,7 +1538,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1557,10 +1555,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, true, { @@ -1580,7 +1578,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1597,10 +1595,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 } ] ``` @@ -1612,7 +1610,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1626,10 +1624,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 } ] ``` @@ -1641,7 +1639,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1658,10 +1656,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -1676,7 +1674,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1692,11 +1690,9 @@ Inputs: 1000, [ { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, "Challenge": [ 42 ], @@ -1712,8 +1708,8 @@ Response: ```json { "PoStProofs": { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" + "PoStProof": 0, + "ProofBytes": null }, "Skipped": [ { @@ -1736,11 +1732,9 @@ Inputs: 1000, [ { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, "Challenge": [ 42 ], @@ -1755,8 +1749,8 @@ Response: ```json [ { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" + "PoStProof": 0, + "ProofBytes": null } ] ``` @@ -1774,10 +1768,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, 1 ] @@ -1790,7 +1784,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1821,10 +1815,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -1845,7 +1839,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1859,10 +1853,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -1886,7 +1880,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1903,10 +1897,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, [ { @@ -1924,7 +1918,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1941,17 +1935,15 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, [ { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": null } ] ] @@ -1964,7 +1956,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -1981,19 +1973,17 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, "Bw==", "Bw==", [ { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": null } ], { @@ -2014,7 +2004,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -2028,10 +2018,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, "Bw==" ] @@ -2044,7 +2034,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -2058,18 +2048,16 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, "Bw==", [ { "Size": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PieceCID": null } ] ] @@ -2082,7 +2070,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -2096,10 +2084,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, "Bw==" ] @@ -2112,7 +2100,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` @@ -2263,10 +2251,10 @@ Inputs: [ { "ID": { - "Miner": 1000, - "Number": 9 + "Miner": 0, + "Number": 0 }, - "ProofType": 8 + "ProofType": 0 }, 1040384, 1024, @@ -2284,7 +2272,7 @@ Response: "Miner": 1000, "Number": 9 }, - "ID": "07070707-0707-0707-0707-070707070707" + "ID": "00000000-0000-0000-0000-000000000000" } ``` diff --git a/documentation/en/api-v0-methods.md b/documentation/en/api-v0-methods.md index 7ee6ceaa9..b699d4ad0 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": 131840, - "BlockDelay": 42 + "APIVersion": 0, + "BlockDelay": 0 } ``` @@ -441,24 +441,11 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -466,25 +453,15 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" } ``` @@ -518,49 +495,8 @@ Inputs: Response: ```json { - "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" - } - } - ], + "BlsMessages": null, + "SecpkMessages": null, "Cids": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -610,13 +546,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` @@ -654,13 +590,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } } @@ -718,13 +654,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } } @@ -754,7 +690,7 @@ Response: { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 } ] ``` @@ -1156,16 +1092,14 @@ Inputs: `null` Response: ```json { - "TransferID": 3, + "TransferID": 0, "Status": 1, - "BaseCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "IsInitiator": true, - "IsSender": true, + "BaseCID": null, + "IsInitiator": false, + "IsSender": false, "Voucher": "string value", "Message": "string value", - "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "OtherPeer": "", "Transferred": 42, "Stages": { "Stages": [ @@ -1204,11 +1138,9 @@ Inputs: Response: ```json { - "PayloadSize": 9, - "PieceSize": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PayloadSize": 0, + "PieceSize": 0, + "PieceCID": null } ``` @@ -1230,8 +1162,8 @@ Inputs: Response: ```json { - "PayloadSize": 9, - "PieceSize": 1032 + "PayloadSize": 0, + "PieceSize": 0 } ``` @@ -1264,12 +1196,12 @@ Response: "MinPrice": "0", "UnsealPrice": "0", "PricePerByte": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Miner": "f01234", "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Address": "\u003cempty\u003e", + "ID": "", "PieceCID": null } } @@ -1287,7 +1219,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": true + "IsCAR": false }, "string value" ] @@ -1313,81 +1245,21 @@ Inputs: Response: ```json { - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ProposalCid": null, "State": 42, "Message": "string value", - "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" - } - ] - } - ] - }, + "DealStages": null, "Provider": "f01234", - "DataRef": { - "TransferType": "string value", - "Root": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 - }, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "DataRef": null, + "PieceCID": null, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 5432, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "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" - } - ] - } - ] - } - } + "TransferChannelID": null, + "DataTransfer": null } ``` @@ -1417,81 +1289,21 @@ Inputs: `null` Response: ```json { - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ProposalCid": null, "State": 42, "Message": "string value", - "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" - } - ] - } - ] - }, + "DealStages": null, "Provider": "f01234", - "DataRef": { - "TransferType": "string value", - "Root": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 - }, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "DataRef": null, + "PieceCID": null, "Size": 42, - "PricePerEpoch": "0", + "PricePerEpoch": "\u003cnil\u003e", "Duration": 42, - "DealID": 5432, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "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" - } - ] - } - ] - } - } + "TransferChannelID": null, + "DataTransfer": null } ``` @@ -1506,53 +1318,19 @@ Inputs: `null` Response: ```json { - "PayloadCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ID": 5, + "PayloadCID": null, + "ID": 0, "PieceCID": null, - "PricePerByte": "0", - "UnsealPrice": "0", + "PricePerByte": "\u003cnil\u003e", + "UnsealPrice": "\u003cnil\u003e", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "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" - } - ] - } - ] - } - }, + "BytesReceived": 0, + "BytesPaidFor": 0, + "TotalPaid": "\u003cnil\u003e", + "TransferChannelID": null, + "DataTransfer": null, "Event": 5 } ``` @@ -1585,7 +1363,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": true + "IsCAR": false } ] ``` @@ -1596,7 +1374,7 @@ Response: "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "ImportID": 50 + "ImportID": 0 } ``` @@ -1612,16 +1390,14 @@ Response: ```json [ { - "TransferID": 3, + "TransferID": 0, "Status": 1, - "BaseCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "IsInitiator": true, - "IsSender": true, + "BaseCID": null, + "IsInitiator": false, + "IsSender": false, "Voucher": "string value", "Message": "string value", - "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "OtherPeer": "", "Transferred": 42, "Stages": { "Stages": [ @@ -1655,81 +1431,21 @@ Response: ```json [ { - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ProposalCid": null, "State": 42, "Message": "string value", - "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" - } - ] - } - ] - }, + "DealStages": null, "Provider": "f01234", - "DataRef": { - "TransferType": "string value", - "Root": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 - }, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "DataRef": null, + "PieceCID": null, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 5432, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "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" - } - ] - } - ] - } - } + "TransferChannelID": null, + "DataTransfer": null } ] ``` @@ -1750,8 +1466,8 @@ Response: "Err": "string value", "Root": null, "Source": "string value", - "FilePath": "string value", - "CARPath": "string value" + "FilePath": "", + "CARPath": "" } ] ``` @@ -1769,53 +1485,19 @@ Response: ```json [ { - "PayloadCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ID": 5, + "PayloadCID": null, + "ID": 0, "PieceCID": null, "PricePerByte": "0", "UnsealPrice": "0", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "BytesReceived": 42, - "BytesPaidFor": 42, + "BytesReceived": 0, + "BytesPaidFor": 0, "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" - } - ] - } - ] - } - }, + "TransferChannelID": null, + "DataTransfer": null, "Event": 5 } ] @@ -1847,15 +1529,15 @@ Response: }, "Piece": null, "Size": 42, - "MinPrice": "0", - "UnsealPrice": "0", - "PricePerByte": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "MinPrice": "\u003cnil\u003e", + "UnsealPrice": "\u003cnil\u003e", + "PricePerByte": "\u003cnil\u003e", + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Miner": "f01234", "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Address": "\u003cempty\u003e", + "ID": "", "PieceCID": null } } @@ -1879,12 +1561,12 @@ Response: { "Price": "0", "VerifiedPrice": "0", - "MinPieceSize": 1032, - "MaxPieceSize": 1032, + "MinPieceSize": 0, + "MaxPieceSize": 0, "Miner": "f01234", "Timestamp": 10101, "Expiry": 10101, - "SeqNo": 42 + "SeqNo": 0 } ``` @@ -1934,24 +1616,20 @@ Inputs: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Piece": null, - "DatamodelPathSelector": "Links/21/Hash/Links/42/Hash", + "DatamodelPathSelector": null, "Size": 42, - "FromLocalCAR": "string value", + "FromLocalCAR": "", "Total": "0", - "UnsealPrice": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "UnsealPrice": "\u003cnil\u003e", + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Client": "f01234", "Miner": "f01234", - "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "PieceCID": null - } + "MinerPeer": null }, { "Path": "string value", - "IsCAR": true + "IsCAR": false } ] ``` @@ -1989,24 +1667,20 @@ Inputs: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Piece": null, - "DatamodelPathSelector": "Links/21/Hash/Links/42/Hash", + "DatamodelPathSelector": null, "Size": 42, - "FromLocalCAR": "string value", + "FromLocalCAR": "", "Total": "0", - "UnsealPrice": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "UnsealPrice": "\u003cnil\u003e", + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Client": "f01234", "Miner": "f01234", - "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "PieceCID": null - } + "MinerPeer": null }, { "Path": "string value", - "IsCAR": true + "IsCAR": false } ] ``` @@ -2016,8 +1690,8 @@ Response: { "Event": 5, "Status": 0, - "BytesReceived": 42, - "FundsSpent": "0", + "BytesReceived": 0, + "FundsSpent": "\u003cnil\u003e", "Err": "string value" } ``` @@ -2033,22 +1707,22 @@ Inputs: [ { "Data": { - "TransferType": "string value", + "TransferType": "", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 + "PieceSize": 0, + "RawBlockSize": 0 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 42, + "MinBlocksDuration": 0, "ProviderCollateral": "0", - "DealStartEpoch": 10101, - "FastRetrieval": true, - "VerifiedDeal": true + "DealStartEpoch": 0, + "FastRetrieval": false, + "VerifiedDeal": false } ] ``` @@ -2066,22 +1740,22 @@ Inputs: [ { "Data": { - "TransferType": "string value", + "TransferType": "", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 + "PieceSize": 0, + "RawBlockSize": 0 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 42, + "MinBlocksDuration": 0, "ProviderCollateral": "0", - "DealStartEpoch": 10101, - "FastRetrieval": true, - "VerifiedDeal": true + "DealStartEpoch": 0, + "FastRetrieval": false, + "VerifiedDeal": false } ] ``` @@ -2127,13 +1801,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, 9, @@ -2166,13 +1840,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, [ @@ -2229,18 +1903,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, { "MaxFee": "0", - "MsgUuid": "07070707-0707-0707-0707-070707070707" + "MsgUuid": "00000000-0000-0000-0000-000000000000" }, [ { @@ -2261,13 +1935,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` @@ -2303,16 +1977,8 @@ Response: "Subsystem": "string value" }, "Active": true, - "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" - } + "LastActive": null, + "LastResolved": null } ] ``` @@ -2468,18 +2134,13 @@ Inputs: } ], "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, "Eproof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" + "WinCount": 0, + "VRFProof": null }, - "BeaconValues": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], + "BeaconValues": null, "Messages": [ { "Message": { @@ -2488,13 +2149,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2502,18 +2163,13 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ], "Epoch": 10101, "Timestamp": 42, - "WinningPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ] + "WinningPoStProof": null } ] ``` @@ -2524,24 +2180,11 @@ Response: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -2549,37 +2192,19 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" }, - "BlsMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ], - "SecpkMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ] + "BlsMessages": null, + "SecpkMessages": null } ``` @@ -2611,27 +2236,20 @@ Response: "NetworkPower": "0", "Sectors": [ { - "SealProof": 8, - "SectorNumber": 9, + "SealProof": 0, + "SectorNumber": 0, "SectorKey": null, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "SealedCID": null } ], - "WorkerKey": "f01234", - "SectorSize": 34359738368, + "WorkerKey": "\u003cempty\u003e", + "SectorSize": 0, "PrevBeaconEntry": { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" + "Round": 0, + "Data": null }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "EligibleForMining": true + "BeaconEntries": null, + "EligibleForMining": false } ``` @@ -2657,13 +2275,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2671,7 +2289,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2703,19 +2321,19 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ], { "MaxFee": "0", - "MsgUuid": "07070707-0707-0707-0707-070707070707" + "MsgUuid": "00000000-0000-0000-0000-000000000000" } ] ``` @@ -2730,13 +2348,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2744,7 +2362,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2767,13 +2385,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2781,7 +2399,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2823,14 +2441,12 @@ Inputs: `null` Response: ```json { - "PriorityAddrs": [ - "f01234" - ], - "SizeLimitHigh": 123, - "SizeLimitLow": 123, - "ReplaceByFeeRatio": 12.3, - "PruneCooldown": 60000000000, - "GasLimitOverestimation": 12.3 + "PriorityAddrs": null, + "SizeLimitHigh": 0, + "SizeLimitLow": 0, + "ReplaceByFeeRatio": 0, + "PruneCooldown": 0, + "GasLimitOverestimation": 0 } ``` @@ -2880,13 +2496,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2894,7 +2510,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2916,13 +2532,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2930,7 +2546,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2963,18 +2579,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, { "MaxFee": "0", - "MsgUuid": "07070707-0707-0707-0707-070707070707" + "MsgUuid": "00000000-0000-0000-0000-000000000000" } ] ``` @@ -2988,13 +2604,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3002,7 +2618,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` @@ -3023,13 +2639,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3037,7 +2653,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -3081,13 +2697,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3095,7 +2711,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -3111,14 +2727,12 @@ Inputs: ```json [ { - "PriorityAddrs": [ - "f01234" - ], - "SizeLimitHigh": 123, - "SizeLimitLow": 123, - "ReplaceByFeeRatio": 12.3, - "PruneCooldown": 60000000000, - "GasLimitOverestimation": 12.3 + "PriorityAddrs": null, + "SizeLimitHigh": 0, + "SizeLimitLow": 0, + "ReplaceByFeeRatio": 0, + "PruneCooldown": 0, + "GasLimitOverestimation": 0 } ] ``` @@ -3143,13 +2757,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3157,7 +2771,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } } @@ -3408,7 +3022,7 @@ Response: ```json [ { - "ID": 9, + "ID": 0, "To": "f01234", "Value": "0", "Method": 1, @@ -3476,9 +3090,9 @@ Inputs: Response: ```json { - "InitialBalance": "0", - "StartEpoch": 10101, - "UnlockDuration": 10101 + "InitialBalance": "\u003cnil\u003e", + "StartEpoch": 0, + "UnlockDuration": 0 } ``` @@ -3627,7 +3241,7 @@ Inputs: `null` Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3659,7 +3273,7 @@ Response: ```json { "Reachability": 1, - "PublicAddr": "string value" + "PublicAddr": "" } ``` @@ -3673,10 +3287,10 @@ Inputs: `null` Response: ```json { - "TotalIn": 9, - "TotalOut": 9, - "RateIn": 12.3, - "RateOut": 12.3 + "TotalIn": 0, + "TotalOut": 0, + "RateIn": 0, + "RateOut": 0 } ``` @@ -3730,12 +3344,8 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ] ``` @@ -3755,12 +3365,8 @@ Response: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ``` @@ -3776,12 +3382,8 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ] ``` @@ -3797,7 +3399,7 @@ Inputs: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3850,7 +3452,7 @@ Inputs: Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -3898,7 +3500,7 @@ Inputs: Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Agent": "string value", "Addrs": [ "string value" @@ -3906,16 +3508,7 @@ Response: "Protocols": [ "string value" ], - "ConnMgrMeta": { - "FirstSeen": "0001-01-01T00:00:00Z", - "Value": 123, - "Tags": { - "name": 42 - }, - "Conns": { - "name": "2021-03-08T22:52:18Z" - } - } + "ConnMgrMeta": null } ``` @@ -3930,7 +3523,7 @@ Response: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -4009,7 +3602,7 @@ Response: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Score": { "Score": 12.3, "Topics": { @@ -4020,9 +3613,9 @@ Response: "InvalidMessageDeliveries": 3 } }, - "AppSpecificScore": 12.3, - "IPColocationFactor": 12.3, - "BehaviourPenalty": 12.3 + "AppSpecificScore": 0, + "IPColocationFactor": 0, + "BehaviourPenalty": 0 } } ] @@ -4068,19 +3661,19 @@ Response: ```json { "System": { - "NumStreamsInbound": 123, - "NumStreamsOutbound": 123, - "NumConnsInbound": 123, - "NumConnsOutbound": 123, - "NumFD": 123, + "NumStreamsInbound": 0, + "NumStreamsOutbound": 0, + "NumConnsInbound": 0, + "NumConnsOutbound": 0, + "NumFD": 0, "Memory": 9 }, "Transient": { - "NumStreamsInbound": 123, - "NumStreamsOutbound": 123, - "NumConnsInbound": 123, - "NumConnsOutbound": 123, - "NumFD": 123, + "NumStreamsInbound": 0, + "NumStreamsOutbound": 0, + "NumConnsInbound": 0, + "NumConnsOutbound": 0, + "NumFD": 0, "Memory": 9 }, "Services": { @@ -4228,9 +3821,7 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "WaitSentinel": null } ``` @@ -4277,9 +3868,9 @@ Inputs: [ { "Amount": "0", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "MinSettle": 10101, + "TimeLockMin": 0, + "TimeLockMax": 0, + "MinSettle": 0, "Extra": { "Actor": "f01234", "Method": 1, @@ -4294,15 +3885,13 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "WaitSentinel": null, "Vouchers": [ { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4311,7 +3900,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4361,7 +3950,7 @@ Inputs: Response: ```json { - "ControlAddr": "f01234", + "ControlAddr": "\u003cempty\u003e", "Direction": 1 } ``` @@ -4376,10 +3965,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4388,7 +3977,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4417,10 +4006,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4429,7 +4018,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4458,10 +4047,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4470,7 +4059,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4505,10 +4094,10 @@ Response: ```json { "Voucher": { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4517,7 +4106,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4549,10 +4138,10 @@ Response: ```json [ { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4561,7 +4150,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4586,10 +4175,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4598,7 +4187,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4748,13 +4337,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, [ @@ -4771,33 +4360,25 @@ Inputs: Response: ```json { - "MsgCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "MsgCid": null, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "MsgRct": { - "ExitCode": 0, - "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 - }, + "MsgRct": null, "GasCost": { - "Message": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "Message": null, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -4807,95 +4388,12 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "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 - } - ] + "Msg": null, + "MsgRct": null, + "Error": "", + "Duration": 0, + "GasCharges": null, + "Subcalls": null }, "Error": "string value", "Duration": 60000000000 @@ -5008,13 +4506,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ], @@ -5037,33 +4535,25 @@ Response: }, "Trace": [ { - "MsgCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "MsgCid": null, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "MsgRct": { - "ExitCode": 0, - "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 - }, + "MsgRct": null, "GasCost": { - "Message": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "Message": null, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -5073,95 +4563,12 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "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 - } - ] + "Msg": null, + "MsgRct": null, + "Error": "", + "Duration": 0, + "GasCharges": null, + "Subcalls": null }, "Error": "string value", "Duration": 60000000000 @@ -5292,8 +4699,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 10101, - "TermMax": 10101, + "TermMin": 0, + "TermMax": 0, "Expiration": 10101 } ``` @@ -5328,8 +4735,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 10101, - "TermMax": 10101, + "TermMin": 0, + "TermMax": 0, "Expiration": 10101 } ``` @@ -5388,9 +4795,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 10101, - "TermMax": 10101, - "TermStart": 10101, + "TermMin": 0, + "TermMax": 0, + "TermStart": 0, "Sector": 9 } ``` @@ -5429,36 +4836,34 @@ Inputs: `null` Response: ```json { - "NetworkName": "lotus", - "BlockDelaySecs": 42, + "NetworkName": "", + "BlockDelaySecs": 0, "ConsensusMinerMinPower": "0", - "SupportedProofTypes": [ - 8 - ], - "PreCommitChallengeDelay": 10101, + "SupportedProofTypes": null, + "PreCommitChallengeDelay": 0, "ForkUpgradeParams": { - "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 + "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 } } ``` @@ -5549,7 +4954,7 @@ Response: { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 } ``` @@ -5718,24 +5123,22 @@ Response: { "t026363": { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 10101, - "LastUpdatedEpoch": 10101, - "SlashEpoch": 10101, + "SectorStartEpoch": 0, + "LastUpdatedEpoch": 0, + "SlashEpoch": 0, "VerifiedClaim": 0 } } @@ -5797,24 +5200,22 @@ Response: ```json { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 10101, - "LastUpdatedEpoch": 10101, - "SlashEpoch": 10101, + "SectorStartEpoch": 0, + "LastUpdatedEpoch": 0, + "SlashEpoch": 0, "VerifiedClaim": 0 } } @@ -5845,14 +5246,10 @@ Response: ```json [ { - "SectorNumber": 9, - "SealProof": 8, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "DealIDs": [ - 5432 - ], + "SectorNumber": 0, + "SealProof": 0, + "SealedCID": null, + "DealIDs": null, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -5860,10 +5257,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 10101, + "ReplacedSectorAge": 0, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": true + "SimpleQAPower": false } ] ``` @@ -5917,10 +5314,9 @@ Response: [ { "PostSubmissions": [ - 5, - 1 + 0 ], - "DisputableProofCount": 42 + "DisputableProofCount": 0 } ] ``` @@ -5980,32 +5376,20 @@ Response: { "Owner": "f01234", "Worker": "f01234", - "NewWorker": "f01234", - "ControlAddresses": [ - "f01234" - ], - "WorkerChangeEpoch": 10101, - "PeerId": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "NewWorker": "\u003cempty\u003e", + "ControlAddresses": null, + "WorkerChangeEpoch": 0, + "PeerId": null, "Multiaddrs": [ "Ynl0ZSBhcnJheQ==" ], - "WindowPoStProofType": 8, - "SectorSize": 34359738368, - "WindowPoStPartitionSectors": 42, - "ConsensusFaultElapsed": 10101, + "WindowPoStProofType": 0, + "SectorSize": 0, + "WindowPoStPartitionSectors": 0, + "ConsensusFaultElapsed": 0, "Beneficiary": "f01234", - "BeneficiaryTerm": { - "Quota": "0", - "UsedQuota": "0", - "Expiration": 10101 - }, - "PendingBeneficiaryTerm": { - "NewBeneficiary": "f01234", - "NewQuota": "0", - "NewExpiration": 10101, - "ApprovedByBeneficiary": true, - "ApprovedByNominee": true - } + "BeneficiaryTerm": null, + "PendingBeneficiaryTerm": null } ``` @@ -6020,15 +5404,11 @@ Inputs: [ "f01234", { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, + "SealRandEpoch": 0, + "DealIDs": null, "Expiration": 10101, "UnsealedCid": null }, @@ -6072,24 +5452,19 @@ Response: [ { "AllSectors": [ - 5, - 1 + 0 ], "FaultySectors": [ - 5, - 1 + 0 ], "RecoveringSectors": [ - 5, - 1 + 0 ], "LiveSectors": [ - 5, - 1 + 0 ], "ActiveSectors": [ - 5, - 1 + 0 ] } ] @@ -6127,7 +5502,7 @@ Response: "RawBytePower": "0", "QualityAdjPower": "0" }, - "HasMinPower": true + "HasMinPower": false } ``` @@ -6142,15 +5517,11 @@ Inputs: [ "f01234", { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, + "SealRandEpoch": 0, + "DealIDs": null, "Expiration": 10101, "UnsealedCid": null }, @@ -6192,18 +5563,18 @@ Inputs: Response: ```json { - "CurrentEpoch": 10101, - "PeriodStart": 10101, + "CurrentEpoch": 0, + "PeriodStart": 0, "Index": 42, "Open": 10101, "Close": 10101, "Challenge": 10101, - "FaultCutoff": 10101, - "WPoStPeriodDeadlines": 42, - "WPoStProvingPeriod": 10101, - "WPoStChallengeWindow": 10101, - "WPoStChallengeLookback": 10101, - "FaultDeclarationCutoff": 10101 + "FaultCutoff": 0, + "WPoStPeriodDeadlines": 0, + "WPoStProvingPeriod": 0, + "WPoStChallengeWindow": 0, + "WPoStChallengeLookback": 0, + "FaultDeclarationCutoff": 0 } ``` @@ -6318,14 +5689,10 @@ Response: ```json [ { - "SectorNumber": 9, - "SealProof": 8, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "DealIDs": [ - 5432 - ], + "SectorNumber": 0, + "SealProof": 0, + "SealedCID": null, + "DealIDs": null, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6333,10 +5700,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 10101, + "ReplacedSectorAge": 0, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": true + "SimpleQAPower": false } ] ``` @@ -6447,33 +5814,25 @@ Inputs: Response: ```json { - "MsgCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "MsgCid": null, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "MsgRct": { - "ExitCode": 0, - "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 - }, + "MsgRct": null, "GasCost": { - "Message": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "Message": null, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -6483,95 +5842,12 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "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 - } - ] + "Msg": null, + "MsgRct": null, + "Error": "", + "Duration": 0, + "GasCharges": null, + "Subcalls": null }, "Error": "string value", "Duration": 60000000000 @@ -6616,17 +5892,10 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 }, - "ReturnDec": {}, - "TipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], + "ReturnDec": null, + "TipSet": [], "Height": 10101 } ``` @@ -6670,17 +5939,10 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 }, - "ReturnDec": {}, - "TipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], + "ReturnDec": null, + "TipSet": [], "Height": 10101 } ``` @@ -6710,7 +5972,7 @@ Inputs: Response: ```json { - "OnTime": 10101, + "OnTime": 0, "Early": 10101 } ``` @@ -6742,14 +6004,10 @@ Inputs: Response: ```json { - "SectorNumber": 9, - "SealProof": 8, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "DealIDs": [ - 5432 - ], + "SectorNumber": 0, + "SealProof": 0, + "SealedCID": null, + "DealIDs": null, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6757,10 +6015,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 10101, + "ReplacedSectorAge": 0, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": true + "SimpleQAPower": false } ``` @@ -6820,20 +6078,16 @@ Response: ```json { "Info": { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, + "SealRandEpoch": 0, + "DealIDs": null, "Expiration": 10101, "UnsealedCid": null }, - "PreCommitDeposit": "0", - "PreCommitEpoch": 10101 + "PreCommitDeposit": "\u003cnil\u003e", + "PreCommitEpoch": 0 } ``` @@ -6861,12 +6115,12 @@ Inputs: Response: ```json { - "FilVested": "0", - "FilMined": "0", - "FilBurnt": "0", - "FilLocked": "0", - "FilCirculating": "0", - "FilReserveDisbursed": "0" + "FilVested": "\u003cnil\u003e", + "FilMined": "\u003cnil\u003e", + "FilBurnt": "\u003cnil\u003e", + "FilLocked": "\u003cnil\u003e", + "FilCirculating": "\u003cnil\u003e", + "FilReserveDisbursed": "\u003cnil\u003e" } ``` @@ -6982,17 +6236,10 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 }, - "ReturnDec": {}, - "TipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], + "ReturnDec": null, + "TipSet": [], "Height": 10101 } ``` @@ -7039,17 +6286,10 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 }, - "ReturnDec": {}, - "TipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], + "ReturnDec": null, + "TipSet": [], "Height": 10101 } ``` @@ -7113,24 +6353,11 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -7138,25 +6365,15 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" } ``` @@ -7190,27 +6407,8 @@ Inputs: `null` Response: ```json { - "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 + "ActiveSyncs": null, + "VMApplied": 0 } ``` @@ -7228,24 +6426,11 @@ Inputs: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -7253,37 +6438,19 @@ Inputs: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" }, - "BlsMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ], - "SecpkMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ] + "BlsMessages": null, + "SecpkMessages": null } ] ``` @@ -7399,7 +6566,7 @@ Response: ```json { "Type": "bls", - "PrivateKey": "Ynl0ZSBhcnJheQ==" + "PrivateKey": null } ``` @@ -7429,7 +6596,7 @@ Inputs: [ { "Type": "bls", - "PrivateKey": "Ynl0ZSBhcnJheQ==" + "PrivateKey": null } ] ``` @@ -7521,13 +6688,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -7542,13 +6709,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -7556,7 +6723,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` diff --git a/documentation/en/api-v1-unstable-methods.md b/documentation/en/api-v1-unstable-methods.md index 9c104718c..5fc4f0538 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": 131840, - "BlockDelay": 42 + "APIVersion": 0, + "BlockDelay": 0 } ``` @@ -453,24 +453,11 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -478,25 +465,15 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" } ``` @@ -530,49 +507,8 @@ Inputs: Response: ```json { - "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" - } - } - ], + "BlsMessages": null, + "SecpkMessages": null, "Cids": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -622,13 +558,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` @@ -666,13 +602,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } } @@ -730,13 +666,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } } @@ -766,7 +702,7 @@ Response: { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 } ] ``` @@ -986,8 +922,8 @@ Inputs: ```json [ { - "MovingGC": true, - "RetainState": 9 + "MovingGC": false, + "RetainState": 0 } ] ``` @@ -1169,16 +1105,14 @@ Inputs: `null` Response: ```json { - "TransferID": 3, + "TransferID": 0, "Status": 1, - "BaseCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "IsInitiator": true, - "IsSender": true, + "BaseCID": null, + "IsInitiator": false, + "IsSender": false, "Voucher": "string value", "Message": "string value", - "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "OtherPeer": "", "Transferred": 42, "Stages": { "Stages": [ @@ -1217,11 +1151,9 @@ Inputs: Response: ```json { - "PayloadSize": 9, - "PieceSize": 1032, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "PayloadSize": 0, + "PieceSize": 0, + "PieceCID": null } ``` @@ -1243,8 +1175,8 @@ Inputs: Response: ```json { - "PayloadSize": 9, - "PieceSize": 1032 + "PayloadSize": 0, + "PieceSize": 0 } ``` @@ -1261,18 +1193,13 @@ Inputs: "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "DAGs": [ - { - "DataSelector": "Links/21/Hash/Links/42/Hash", - "ExportMerkleProof": true - } - ], - "FromLocalCAR": "string value", - "DealID": 5 + "DAGs": null, + "FromLocalCAR": "", + "DealID": 0 }, { "Path": "string value", - "IsCAR": true + "IsCAR": false } ] ``` @@ -1308,12 +1235,12 @@ Response: "MinPrice": "0", "UnsealPrice": "0", "PricePerByte": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Miner": "f01234", "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Address": "\u003cempty\u003e", + "ID": "", "PieceCID": null } } @@ -1331,7 +1258,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": true + "IsCAR": false }, "string value" ] @@ -1357,81 +1284,21 @@ Inputs: Response: ```json { - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ProposalCid": null, "State": 42, "Message": "string value", - "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" - } - ] - } - ] - }, + "DealStages": null, "Provider": "f01234", - "DataRef": { - "TransferType": "string value", - "Root": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 - }, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "DataRef": null, + "PieceCID": null, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 5432, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "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" - } - ] - } - ] - } - } + "TransferChannelID": null, + "DataTransfer": null } ``` @@ -1461,81 +1328,21 @@ Inputs: `null` Response: ```json { - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ProposalCid": null, "State": 42, "Message": "string value", - "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" - } - ] - } - ] - }, + "DealStages": null, "Provider": "f01234", - "DataRef": { - "TransferType": "string value", - "Root": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 - }, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "DataRef": null, + "PieceCID": null, "Size": 42, - "PricePerEpoch": "0", + "PricePerEpoch": "\u003cnil\u003e", "Duration": 42, - "DealID": 5432, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "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" - } - ] - } - ] - } - } + "TransferChannelID": null, + "DataTransfer": null } ``` @@ -1550,53 +1357,19 @@ Inputs: `null` Response: ```json { - "PayloadCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ID": 5, + "PayloadCID": null, + "ID": 0, "PieceCID": null, - "PricePerByte": "0", - "UnsealPrice": "0", + "PricePerByte": "\u003cnil\u003e", + "UnsealPrice": "\u003cnil\u003e", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "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" - } - ] - } - ] - } - }, + "BytesReceived": 0, + "BytesPaidFor": 0, + "TotalPaid": "\u003cnil\u003e", + "TransferChannelID": null, + "DataTransfer": null, "Event": 5 } ``` @@ -1629,7 +1402,7 @@ Inputs: [ { "Path": "string value", - "IsCAR": true + "IsCAR": false } ] ``` @@ -1640,7 +1413,7 @@ Response: "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "ImportID": 50 + "ImportID": 0 } ``` @@ -1656,16 +1429,14 @@ Response: ```json [ { - "TransferID": 3, + "TransferID": 0, "Status": 1, - "BaseCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "IsInitiator": true, - "IsSender": true, + "BaseCID": null, + "IsInitiator": false, + "IsSender": false, "Voucher": "string value", "Message": "string value", - "OtherPeer": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "OtherPeer": "", "Transferred": 42, "Stages": { "Stages": [ @@ -1699,81 +1470,21 @@ Response: ```json [ { - "ProposalCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ProposalCid": null, "State": 42, "Message": "string value", - "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" - } - ] - } - ] - }, + "DealStages": null, "Provider": "f01234", - "DataRef": { - "TransferType": "string value", - "Root": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 - }, - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "DataRef": null, + "PieceCID": null, "Size": 42, "PricePerEpoch": "0", "Duration": 42, - "DealID": 5432, + "DealID": 0, "CreationTime": "0001-01-01T00:00:00Z", "Verified": true, - "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" - } - ] - } - ] - } - } + "TransferChannelID": null, + "DataTransfer": null } ] ``` @@ -1794,8 +1505,8 @@ Response: "Err": "string value", "Root": null, "Source": "string value", - "FilePath": "string value", - "CARPath": "string value" + "FilePath": "", + "CARPath": "" } ] ``` @@ -1812,53 +1523,19 @@ Response: ```json [ { - "PayloadCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ID": 5, + "PayloadCID": null, + "ID": 0, "PieceCID": null, "PricePerByte": "0", "UnsealPrice": "0", "Status": 0, "Message": "string value", "Provider": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "BytesReceived": 42, - "BytesPaidFor": 42, + "BytesReceived": 0, + "BytesPaidFor": 0, "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" - } - ] - } - ] - } - }, + "TransferChannelID": null, + "DataTransfer": null, "Event": 5 } ] @@ -1890,15 +1567,15 @@ Response: }, "Piece": null, "Size": 42, - "MinPrice": "0", - "UnsealPrice": "0", - "PricePerByte": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "MinPrice": "\u003cnil\u003e", + "UnsealPrice": "\u003cnil\u003e", + "PricePerByte": "\u003cnil\u003e", + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Miner": "f01234", "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "Address": "\u003cempty\u003e", + "ID": "", "PieceCID": null } } @@ -1924,16 +1601,14 @@ Response: "Response": { "Price": "0", "VerifiedPrice": "0", - "MinPieceSize": 1032, - "MaxPieceSize": 1032, + "MinPieceSize": 0, + "MaxPieceSize": 0, "Miner": "f01234", "Timestamp": 10101, "Expiry": 10101, - "SeqNo": 42 + "SeqNo": 0 }, - "DealProtocols": [ - "string value" - ] + "DealProtocols": null } ``` @@ -1983,20 +1658,15 @@ Inputs: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Piece": null, - "DataSelector": "Links/21/Hash/Links/42/Hash", + "DataSelector": null, "Size": 42, "Total": "0", - "UnsealPrice": "0", - "PaymentInterval": 42, - "PaymentIntervalIncrease": 42, + "UnsealPrice": "\u003cnil\u003e", + "PaymentInterval": 0, + "PaymentIntervalIncrease": 0, "Client": "f01234", "Miner": "f01234", - "MinerPeer": { - "Address": "f01234", - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", - "PieceCID": null - }, - "RemoteStore": "00000000-0000-0000-0000-000000000000" + "MinerPeer": null } ] ``` @@ -2004,7 +1674,7 @@ Inputs: Response: ```json { - "DealID": 5 + "DealID": 0 } ``` @@ -2050,22 +1720,22 @@ Inputs: [ { "Data": { - "TransferType": "string value", + "TransferType": "", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 + "PieceSize": 0, + "RawBlockSize": 0 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 42, + "MinBlocksDuration": 0, "ProviderCollateral": "0", - "DealStartEpoch": 10101, - "FastRetrieval": true, - "VerifiedDeal": true + "DealStartEpoch": 0, + "FastRetrieval": false, + "VerifiedDeal": false } ] ``` @@ -2083,22 +1753,22 @@ Inputs: [ { "Data": { - "TransferType": "string value", + "TransferType": "", "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceCid": null, - "PieceSize": 1024, - "RawBlockSize": 42 + "PieceSize": 0, + "RawBlockSize": 0 }, "Wallet": "f01234", "Miner": "f01234", "EpochPrice": "0", - "MinBlocksDuration": 42, + "MinBlocksDuration": 0, "ProviderCollateral": "0", - "DealStartEpoch": 10101, - "FastRetrieval": true, - "VerifiedDeal": true + "DealStartEpoch": 0, + "FastRetrieval": false, + "VerifiedDeal": false } ] ``` @@ -2144,13 +1814,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, 9, @@ -2183,13 +1853,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, [ @@ -2246,18 +1916,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, { "MaxFee": "0", - "MsgUuid": "07070707-0707-0707-0707-070707070707" + "MsgUuid": "00000000-0000-0000-0000-000000000000" }, [ { @@ -2278,13 +1948,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` @@ -2320,16 +1990,8 @@ Response: "Subsystem": "string value" }, "Active": true, - "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" - } + "LastActive": null, + "LastResolved": null } ] ``` @@ -2485,18 +2147,13 @@ Inputs: } ], "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, "Eproof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" + "WinCount": 0, + "VRFProof": null }, - "BeaconValues": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], + "BeaconValues": null, "Messages": [ { "Message": { @@ -2505,13 +2162,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2519,18 +2176,13 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ], "Epoch": 10101, "Timestamp": 42, - "WinningPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ] + "WinningPoStProof": null } ] ``` @@ -2541,24 +2193,11 @@ Response: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -2566,37 +2205,19 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" }, - "BlsMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ], - "SecpkMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ] + "BlsMessages": null, + "SecpkMessages": null } ``` @@ -2628,27 +2249,20 @@ Response: "NetworkPower": "0", "Sectors": [ { - "SealProof": 8, - "SectorNumber": 9, + "SealProof": 0, + "SectorNumber": 0, "SectorKey": null, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "SealedCID": null } ], - "WorkerKey": "f01234", - "SectorSize": 34359738368, + "WorkerKey": "\u003cempty\u003e", + "SectorSize": 0, "PrevBeaconEntry": { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" + "Round": 0, + "Data": null }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "EligibleForMining": true + "BeaconEntries": null, + "EligibleForMining": false } ``` @@ -2674,13 +2288,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2688,7 +2302,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2720,19 +2334,19 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ], { "MaxFee": "0", - "MsgUuid": "07070707-0707-0707-0707-070707070707" + "MsgUuid": "00000000-0000-0000-0000-000000000000" } ] ``` @@ -2747,13 +2361,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2761,7 +2375,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2784,13 +2398,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -2798,7 +2412,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2831,16 +2445,16 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ] ] @@ -2855,11 +2469,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, - "OK": true, - "Err": "string value", - "Hint": { - "abc": 123 - } + "OK": false, + "Err": "", + "Hint": null } ] ] @@ -2887,11 +2499,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, - "OK": true, - "Err": "string value", - "Hint": { - "abc": 123 - } + "OK": false, + "Err": "", + "Hint": null } ] ] @@ -2913,13 +2523,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -2935,11 +2545,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, - "OK": true, - "Err": "string value", - "Hint": { - "abc": 123 - } + "OK": false, + "Err": "", + "Hint": null } ] ] @@ -2971,14 +2579,12 @@ Inputs: `null` Response: ```json { - "PriorityAddrs": [ - "f01234" - ], - "SizeLimitHigh": 123, - "SizeLimitLow": 123, - "ReplaceByFeeRatio": 12.3, - "PruneCooldown": 60000000000, - "GasLimitOverestimation": 12.3 + "PriorityAddrs": null, + "SizeLimitHigh": 0, + "SizeLimitLow": 0, + "ReplaceByFeeRatio": 0, + "PruneCooldown": 0, + "GasLimitOverestimation": 0 } ``` @@ -3028,13 +2634,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3042,7 +2648,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -3064,13 +2670,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3078,7 +2684,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -3111,18 +2717,18 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, { "MaxFee": "0", - "MsgUuid": "07070707-0707-0707-0707-070707070707" + "MsgUuid": "00000000-0000-0000-0000-000000000000" } ] ``` @@ -3136,13 +2742,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3150,7 +2756,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` @@ -3171,13 +2777,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3185,7 +2791,7 @@ Inputs: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -3229,13 +2835,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3243,7 +2849,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -3259,14 +2865,12 @@ Inputs: ```json [ { - "PriorityAddrs": [ - "f01234" - ], - "SizeLimitHigh": 123, - "SizeLimitLow": 123, - "ReplaceByFeeRatio": 12.3, - "PruneCooldown": 60000000000, - "GasLimitOverestimation": 12.3 + "PriorityAddrs": null, + "SizeLimitHigh": 0, + "SizeLimitLow": 0, + "ReplaceByFeeRatio": 0, + "PruneCooldown": 0, + "GasLimitOverestimation": 0 } ] ``` @@ -3291,13 +2895,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -3305,7 +2909,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } } @@ -3345,16 +2949,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3386,16 +2990,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3426,16 +3030,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3464,16 +3068,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3511,16 +3115,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3549,16 +3153,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3592,16 +3196,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3636,16 +3240,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3699,7 +3303,7 @@ Response: ```json [ { - "ID": 9, + "ID": 0, "To": "f01234", "Value": "0", "Method": 1, @@ -3767,9 +3371,9 @@ Inputs: Response: ```json { - "InitialBalance": "0", - "StartEpoch": 10101, - "UnlockDuration": 10101 + "InitialBalance": "\u003cnil\u003e", + "StartEpoch": 0, + "UnlockDuration": 0 } ``` @@ -3802,16 +3406,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3844,16 +3448,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3886,16 +3490,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3927,16 +3531,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3967,16 +3571,16 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "ValidNonce": true + "ValidNonce": false } ``` @@ -3993,7 +3597,7 @@ Inputs: `null` Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -4025,7 +3629,7 @@ Response: ```json { "Reachability": 1, - "PublicAddr": "string value" + "PublicAddr": "" } ``` @@ -4039,10 +3643,10 @@ Inputs: `null` Response: ```json { - "TotalIn": 9, - "TotalOut": 9, - "RateIn": 12.3, - "RateOut": 12.3 + "TotalIn": 0, + "TotalOut": 0, + "RateIn": 0, + "RateOut": 0 } ``` @@ -4096,12 +3700,8 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ] ``` @@ -4121,12 +3721,8 @@ Response: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ``` @@ -4142,12 +3738,8 @@ Inputs: "Peers": [ "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf" ], - "IPAddrs": [ - "string value" - ], - "IPSubnets": [ - "string value" - ] + "IPAddrs": null, + "IPSubnets": null } ] ``` @@ -4163,7 +3755,7 @@ Inputs: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -4216,7 +3808,7 @@ Inputs: Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -4264,7 +3856,7 @@ Inputs: Response: ```json { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Agent": "string value", "Addrs": [ "string value" @@ -4272,16 +3864,7 @@ Response: "Protocols": [ "string value" ], - "ConnMgrMeta": { - "FirstSeen": "0001-01-01T00:00:00Z", - "Value": 123, - "Tags": { - "name": 42 - }, - "Conns": { - "name": "2021-03-08T22:52:18Z" - } - } + "ConnMgrMeta": null } ``` @@ -4296,7 +3879,7 @@ Response: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Addrs": [ "/ip4/52.36.61.156/tcp/1347/p2p/12D3KooWFETiESTf1v4PGUvtnxMAcEFMzLZbJGg4tjWfGEimYior" ] @@ -4375,7 +3958,7 @@ Response: ```json [ { - "ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "ID": "", "Score": { "Score": 12.3, "Topics": { @@ -4386,9 +3969,9 @@ Response: "InvalidMessageDeliveries": 3 } }, - "AppSpecificScore": 12.3, - "IPColocationFactor": 12.3, - "BehaviourPenalty": 12.3 + "AppSpecificScore": 0, + "IPColocationFactor": 0, + "BehaviourPenalty": 0 } } ] @@ -4434,19 +4017,19 @@ Response: ```json { "System": { - "NumStreamsInbound": 123, - "NumStreamsOutbound": 123, - "NumConnsInbound": 123, - "NumConnsOutbound": 123, - "NumFD": 123, + "NumStreamsInbound": 0, + "NumStreamsOutbound": 0, + "NumConnsInbound": 0, + "NumConnsOutbound": 0, + "NumFD": 0, "Memory": 9 }, "Transient": { - "NumStreamsInbound": 123, - "NumStreamsOutbound": 123, - "NumConnsInbound": 123, - "NumConnsOutbound": 123, - "NumFD": 123, + "NumStreamsInbound": 0, + "NumStreamsOutbound": 0, + "NumConnsInbound": 0, + "NumConnsOutbound": 0, + "NumFD": 0, "Memory": 9 }, "Services": { @@ -4502,16 +4085,16 @@ Response: ```json { "SyncStatus": { - "Epoch": 42, - "Behind": 42 + "Epoch": 0, + "Behind": 0 }, "PeerStatus": { - "PeersToPublishMsgs": 123, - "PeersToPublishBlocks": 123 + "PeersToPublishMsgs": 0, + "PeersToPublishBlocks": 0 }, "ChainStatus": { - "BlocksPerTipsetLast100": 12.3, - "BlocksPerTipsetLastFinality": 12.3 + "BlocksPerTipsetLast100": 0, + "BlocksPerTipsetLastFinality": 0 } } ``` @@ -4630,9 +4213,7 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "WaitSentinel": null } ``` @@ -4655,7 +4236,7 @@ Inputs: "f01234", "0", { - "OffChain": true + "OffChain": false } ] ``` @@ -4664,9 +4245,7 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } + "WaitSentinel": null } ``` @@ -4713,9 +4292,9 @@ Inputs: [ { "Amount": "0", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "MinSettle": 10101, + "TimeLockMin": 0, + "TimeLockMax": 0, + "MinSettle": 0, "Extra": { "Actor": "f01234", "Method": 1, @@ -4730,15 +4309,13 @@ Response: ```json { "Channel": "f01234", - "WaitSentinel": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "WaitSentinel": null, "Vouchers": [ { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4747,7 +4324,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4797,7 +4374,7 @@ Inputs: Response: ```json { - "ControlAddr": "f01234", + "ControlAddr": "\u003cempty\u003e", "Direction": 1 } ``` @@ -4812,10 +4389,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4824,7 +4401,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4853,10 +4430,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4865,7 +4442,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4894,10 +4471,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4906,7 +4483,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4941,10 +4518,10 @@ Response: ```json { "Voucher": { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4953,7 +4530,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -4985,10 +4562,10 @@ Response: ```json [ { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -4997,7 +4574,7 @@ Response: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -5022,10 +4599,10 @@ Inputs: [ "f01234", { - "ChannelAddr": "f01234", - "TimeLockMin": 10101, - "TimeLockMax": 10101, - "SecretHash": "Ynl0ZSBhcnJheQ==", + "ChannelAddr": "\u003cempty\u003e", + "TimeLockMin": 0, + "TimeLockMax": 0, + "SecretHash": null, "Extra": { "Actor": "f01234", "Method": 1, @@ -5034,7 +4611,7 @@ Inputs: "Lane": 42, "Nonce": 42, "Amount": "0", - "MinSettleHeight": 10101, + "MinSettleHeight": 0, "Merges": [ { "Lane": 42, @@ -5211,13 +4788,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, [ @@ -5234,33 +4811,25 @@ Inputs: Response: ```json { - "MsgCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "MsgCid": null, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "MsgRct": { - "ExitCode": 0, - "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 - }, + "MsgRct": null, "GasCost": { - "Message": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "Message": null, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -5270,95 +4839,12 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "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 - } - ] + "Msg": null, + "MsgRct": null, + "Error": "", + "Duration": 0, + "GasCharges": null, + "Subcalls": null }, "Error": "string value", "Duration": 60000000000 @@ -5471,13 +4957,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ], @@ -5500,33 +4986,25 @@ Response: }, "Trace": [ { - "MsgCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "MsgCid": null, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "MsgRct": { - "ExitCode": 0, - "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 - }, + "MsgRct": null, "GasCost": { - "Message": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "Message": null, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -5536,95 +5014,12 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "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 - } - ] + "Msg": null, + "MsgRct": null, + "Error": "", + "Duration": 0, + "GasCharges": null, + "Subcalls": null }, "Error": "string value", "Duration": 60000000000 @@ -5806,8 +5201,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 10101, - "TermMax": 10101, + "TermMin": 0, + "TermMax": 0, "Expiration": 10101 } ``` @@ -5843,8 +5238,8 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 10101, - "TermMax": 10101, + "TermMin": 0, + "TermMax": 0, "Expiration": 10101 } ``` @@ -5926,9 +5321,9 @@ Response: "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, - "TermMin": 10101, - "TermMax": 10101, - "TermStart": 10101, + "TermMin": 0, + "TermMax": 0, + "TermStart": 0, "Sector": 9 } ``` @@ -5967,36 +5362,34 @@ Inputs: `null` Response: ```json { - "NetworkName": "lotus", - "BlockDelaySecs": 42, + "NetworkName": "", + "BlockDelaySecs": 0, "ConsensusMinerMinPower": "0", - "SupportedProofTypes": [ - 8 - ], - "PreCommitChallengeDelay": 10101, + "SupportedProofTypes": null, + "PreCommitChallengeDelay": 0, "ForkUpgradeParams": { - "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 + "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 } } ``` @@ -6239,24 +5632,22 @@ Response: { "t026363": { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 10101, - "LastUpdatedEpoch": 10101, - "SlashEpoch": 10101, + "SectorStartEpoch": 0, + "LastUpdatedEpoch": 0, + "SlashEpoch": 0, "VerifiedClaim": 0 } } @@ -6318,24 +5709,22 @@ Response: ```json { "Proposal": { - "PieceCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "PieceSize": 1032, - "VerifiedDeal": true, + "PieceCID": null, + "PieceSize": 0, + "VerifiedDeal": false, "Client": "f01234", "Provider": "f01234", "Label": "", - "StartEpoch": 10101, - "EndEpoch": 10101, + "StartEpoch": 0, + "EndEpoch": 0, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { - "SectorStartEpoch": 10101, - "LastUpdatedEpoch": 10101, - "SlashEpoch": 10101, + "SectorStartEpoch": 0, + "LastUpdatedEpoch": 0, + "SlashEpoch": 0, "VerifiedClaim": 0 } } @@ -6366,14 +5755,10 @@ Response: ```json [ { - "SectorNumber": 9, - "SealProof": 8, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "DealIDs": [ - 5432 - ], + "SectorNumber": 0, + "SealProof": 0, + "SealedCID": null, + "DealIDs": null, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6381,10 +5766,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 10101, + "ReplacedSectorAge": 0, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": true + "SimpleQAPower": false } ] ``` @@ -6466,10 +5851,9 @@ Response: [ { "PostSubmissions": [ - 5, - 1 + 0 ], - "DisputableProofCount": 42 + "DisputableProofCount": 0 } ] ``` @@ -6529,32 +5913,20 @@ Response: { "Owner": "f01234", "Worker": "f01234", - "NewWorker": "f01234", - "ControlAddresses": [ - "f01234" - ], - "WorkerChangeEpoch": 10101, - "PeerId": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", + "NewWorker": "\u003cempty\u003e", + "ControlAddresses": null, + "WorkerChangeEpoch": 0, + "PeerId": null, "Multiaddrs": [ "Ynl0ZSBhcnJheQ==" ], - "WindowPoStProofType": 8, - "SectorSize": 34359738368, - "WindowPoStPartitionSectors": 42, - "ConsensusFaultElapsed": 10101, + "WindowPoStProofType": 0, + "SectorSize": 0, + "WindowPoStPartitionSectors": 0, + "ConsensusFaultElapsed": 0, "Beneficiary": "f01234", - "BeneficiaryTerm": { - "Quota": "0", - "UsedQuota": "0", - "Expiration": 10101 - }, - "PendingBeneficiaryTerm": { - "NewBeneficiary": "f01234", - "NewQuota": "0", - "NewExpiration": 10101, - "ApprovedByBeneficiary": true, - "ApprovedByNominee": true - } + "BeneficiaryTerm": null, + "PendingBeneficiaryTerm": null } ``` @@ -6569,15 +5941,11 @@ Inputs: [ "f01234", { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, + "SealRandEpoch": 0, + "DealIDs": null, "Expiration": 10101, "UnsealedCid": null }, @@ -6621,24 +5989,19 @@ Response: [ { "AllSectors": [ - 5, - 1 + 0 ], "FaultySectors": [ - 5, - 1 + 0 ], "RecoveringSectors": [ - 5, - 1 + 0 ], "LiveSectors": [ - 5, - 1 + 0 ], "ActiveSectors": [ - 5, - 1 + 0 ] } ] @@ -6676,7 +6039,7 @@ Response: "RawBytePower": "0", "QualityAdjPower": "0" }, - "HasMinPower": true + "HasMinPower": false } ``` @@ -6691,15 +6054,11 @@ Inputs: [ "f01234", { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, + "SealRandEpoch": 0, + "DealIDs": null, "Expiration": 10101, "UnsealedCid": null }, @@ -6741,18 +6100,18 @@ Inputs: Response: ```json { - "CurrentEpoch": 10101, - "PeriodStart": 10101, + "CurrentEpoch": 0, + "PeriodStart": 0, "Index": 42, "Open": 10101, "Close": 10101, "Challenge": 10101, - "FaultCutoff": 10101, - "WPoStPeriodDeadlines": 42, - "WPoStProvingPeriod": 10101, - "WPoStChallengeWindow": 10101, - "WPoStChallengeLookback": 10101, - "FaultDeclarationCutoff": 10101 + "FaultCutoff": 0, + "WPoStPeriodDeadlines": 0, + "WPoStProvingPeriod": 0, + "WPoStChallengeWindow": 0, + "WPoStChallengeLookback": 0, + "FaultDeclarationCutoff": 0 } ``` @@ -6867,14 +6226,10 @@ Response: ```json [ { - "SectorNumber": 9, - "SealProof": 8, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "DealIDs": [ - 5432 - ], + "SectorNumber": 0, + "SealProof": 0, + "SealedCID": null, + "DealIDs": null, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -6882,10 +6237,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 10101, + "ReplacedSectorAge": 0, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": true + "SimpleQAPower": false } ] ``` @@ -6996,33 +6351,25 @@ Inputs: Response: ```json { - "MsgCid": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "MsgCid": null, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, - "MsgRct": { - "ExitCode": 0, - "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 - }, + "MsgRct": null, "GasCost": { - "Message": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "Message": null, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", @@ -7032,95 +6379,12 @@ Response: "TotalCost": "0" }, "ExecutionTrace": { - "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 - } - ] + "Msg": null, + "MsgRct": null, + "Error": "", + "Duration": 0, + "GasCharges": null, + "Subcalls": null }, "Error": "string value", "Duration": 60000000000 @@ -7176,17 +6440,10 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 }, - "ReturnDec": {}, - "TipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], + "ReturnDec": null, + "TipSet": [], "Height": 10101 } ``` @@ -7216,7 +6473,7 @@ Inputs: Response: ```json { - "OnTime": 10101, + "OnTime": 0, "Early": 10101 } ``` @@ -7248,14 +6505,10 @@ Inputs: Response: ```json { - "SectorNumber": 9, - "SealProof": 8, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "DealIDs": [ - 5432 - ], + "SectorNumber": 0, + "SealProof": 0, + "SealedCID": null, + "DealIDs": null, "Activation": 10101, "Expiration": 10101, "DealWeight": "0", @@ -7263,10 +6516,10 @@ Response: "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", - "ReplacedSectorAge": 10101, + "ReplacedSectorAge": 0, "ReplacedDayReward": "0", "SectorKeyCID": null, - "SimpleQAPower": true + "SimpleQAPower": false } ``` @@ -7331,20 +6584,16 @@ Response: ```json { "Info": { - "SealProof": 8, - "SectorNumber": 9, - "SealedCID": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "SealRandEpoch": 10101, - "DealIDs": [ - 5432 - ], + "SealProof": 0, + "SectorNumber": 0, + "SealedCID": null, + "SealRandEpoch": 0, + "DealIDs": null, "Expiration": 10101, "UnsealedCid": null }, "PreCommitDeposit": "0", - "PreCommitEpoch": 10101 + "PreCommitEpoch": 0 } ``` @@ -7372,12 +6621,12 @@ Inputs: Response: ```json { - "FilVested": "0", - "FilMined": "0", - "FilBurnt": "0", - "FilLocked": "0", - "FilCirculating": "0", - "FilReserveDisbursed": "0" + "FilVested": "\u003cnil\u003e", + "FilMined": "\u003cnil\u003e", + "FilBurnt": "\u003cnil\u003e", + "FilLocked": "\u003cnil\u003e", + "FilCirculating": "\u003cnil\u003e", + "FilReserveDisbursed": "\u003cnil\u003e" } ``` @@ -7497,17 +6746,10 @@ Response: "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", - "GasUsed": 9 + "GasUsed": 0 }, - "ReturnDec": {}, - "TipSet": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - { - "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" - } - ], + "ReturnDec": null, + "TipSet": [], "Height": 10101 } ``` @@ -7571,24 +6813,11 @@ Response: { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -7596,25 +6825,15 @@ Response: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" } ``` @@ -7648,27 +6867,8 @@ Inputs: `null` Response: ```json { - "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 + "ActiveSyncs": null, + "VMApplied": 0 } ``` @@ -7686,24 +6886,11 @@ Inputs: "Header": { "Miner": "f01234", "Ticket": { - "VRFProof": "Ynl0ZSBhcnJheQ==" + "VRFProof": null }, - "ElectionProof": { - "WinCount": 9, - "VRFProof": "Ynl0ZSBhcnJheQ==" - }, - "BeaconEntries": [ - { - "Round": 42, - "Data": "Ynl0ZSBhcnJheQ==" - } - ], - "WinPoStProof": [ - { - "PoStProof": 8, - "ProofBytes": "Ynl0ZSBhcnJheQ==" - } - ], + "ElectionProof": null, + "BeaconEntries": null, + "WinPoStProof": null, "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" @@ -7711,37 +6898,19 @@ Inputs: ], "ParentWeight": "0", "Height": 10101, - "ParentStateRoot": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, - "ParentMessageReceipts": { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - }, + "ParentStateRoot": null, + "ParentMessageReceipts": null, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, - "BLSAggregate": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, + "BLSAggregate": null, "Timestamp": 42, - "BlockSig": { - "Type": 2, - "Data": "Ynl0ZSBhcnJheQ==" - }, - "ForkSignaling": 42, + "BlockSig": null, + "ForkSignaling": 0, "ParentBaseFee": "0" }, - "BlsMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ], - "SecpkMessages": [ - { - "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" - } - ] + "BlsMessages": null, + "SecpkMessages": null } ] ``` @@ -7857,7 +7026,7 @@ Response: ```json { "Type": "bls", - "PrivateKey": "Ynl0ZSBhcnJheQ==" + "PrivateKey": null } ``` @@ -7887,7 +7056,7 @@ Inputs: [ { "Type": "bls", - "PrivateKey": "Ynl0ZSBhcnJheQ==" + "PrivateKey": null } ] ``` @@ -7979,13 +7148,13 @@ Inputs: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ] @@ -8000,13 +7169,13 @@ Response: "From": "f01234", "Nonce": 42, "Value": "0", - "GasLimit": 9, + "GasLimit": 0, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } }, "Signature": { @@ -8014,7 +7183,7 @@ Response: "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { - "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" + "/": "bafy2bzacebnkgxcy5pyk763pyw5l2sbltrai3qga5k2rcvvpgpdx2stlegnz4" } } ``` diff --git a/documentation/en/cli-lotus-worker.md b/documentation/en/cli-lotus-worker.md index 392534e80..74b7a19b8 100644 --- a/documentation/en/cli-lotus-worker.md +++ b/documentation/en/cli-lotus-worker.md @@ -40,6 +40,7 @@ USAGE: OPTIONS: --addpiece enable addpiece (default: true) [$LOTUS_WORKER_ADDPIECE] --commit enable commit (32G sectors: all cores or GPUs, 128GiB Memory + 64GiB swap) (default: true) [$LOTUS_WORKER_COMMIT] + --http-server-timeout value (default: "30s") --listen value host address and port the worker api will listen on (default: "0.0.0.0:3456") [$LOTUS_WORKER_LISTEN] --name value custom worker name (default: hostname) [$LOTUS_WORKER_NAME] --no-default disable all default compute tasks, use the worker for storage/fetching only (default: false) [$LOTUS_WORKER_NO_DEFAULT] diff --git a/go.mod b/go.mod index fcfabf554..443a6faaf 100644 --- a/go.mod +++ b/go.mod @@ -115,7 +115,6 @@ require ( github.com/libp2p/go-libp2p-consensus v0.0.1 github.com/libp2p/go-libp2p-gorpc v0.4.0 github.com/libp2p/go-libp2p-kad-dht v0.18.0 - github.com/libp2p/go-libp2p-peerstore v0.8.0 github.com/libp2p/go-libp2p-pubsub v0.8.1 github.com/libp2p/go-libp2p-raft v0.1.8 github.com/libp2p/go-libp2p-record v0.2.0 @@ -156,6 +155,7 @@ 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 @@ -265,6 +265,7 @@ require ( github.com/libp2p/go-libp2p-gostream v0.5.0 // indirect github.com/libp2p/go-libp2p-kbucket v0.5.0 // indirect github.com/libp2p/go-libp2p-noise v0.5.0 // indirect + github.com/libp2p/go-libp2p-peerstore v0.8.0 // indirect github.com/libp2p/go-libp2p-tls v0.5.0 // indirect github.com/libp2p/go-nat v0.1.0 // indirect github.com/libp2p/go-netroute v0.2.0 // indirect @@ -333,7 +334,6 @@ 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/kit/rpc.go b/itests/kit/rpc.go index 684742ad3..f8c2c6e53 100644 --- a/itests/kit/rpc.go +++ b/itests/kit/rpc.go @@ -7,6 +7,7 @@ import ( "net/http" "net/http/httptest" "testing" + "time" "github.com/multiformats/go-multiaddr" manet "github.com/multiformats/go-multiaddr/net" @@ -22,7 +23,10 @@ type Closer func() func CreateRPCServer(t *testing.T, handler http.Handler, listener net.Listener) (*httptest.Server, multiaddr.Multiaddr, Closer) { testServ := &httptest.Server{ Listener: listener, - Config: &http.Server{Handler: handler}, + Config: &http.Server{ + Handler: handler, + ReadHeaderTimeout: 30 * time.Second, + }, } testServ.Start() diff --git a/itests/migration_nv17_test.go b/itests/migration_nv17_test.go index 445bd34cd..1b0d13ae1 100644 --- a/itests/migration_nv17_test.go +++ b/itests/migration_nv17_test.go @@ -38,8 +38,6 @@ import ( ) func TestMigrationNV17(t *testing.T) { - ctx := context.Background() - kit.QuietMiningLogs() rootKey, err := key.GenerateKey(types.KTSecp256k1) @@ -201,6 +199,7 @@ func TestMigrationNV17(t *testing.T) { require.NoError(t, err) sig, err := clientApi.WalletSign(ctx, verifiedClientAddr, serializedProposal.Bytes()) + require.NoError(t, err) publishDealParams := markettypes.PublishStorageDealsParams{ Deals: []markettypes.ClientDealProposal{{ @@ -407,6 +406,7 @@ func TestMigrationNV17(t *testing.T) { require.NoError(t, err) sig, err = clientApi.WalletSign(ctx, verifiedClientAddr, serializedProposal.Bytes()) + require.NoError(t, err) publishDealParams = markettypes.PublishStorageDealsParams{ Deals: []markettypes.ClientDealProposal{{ diff --git a/itests/pending_deal_allocation_test.go b/itests/pending_deal_allocation_test.go index 9ca1772e4..c1e0531cf 100644 --- a/itests/pending_deal_allocation_test.go +++ b/itests/pending_deal_allocation_test.go @@ -31,8 +31,6 @@ import ( ) func TestGetAllocationForPendingDeal(t *testing.T) { - ctx := context.Background() - rootKey, err := key.GenerateKey(types.KTSecp256k1) require.NoError(t, err) @@ -146,6 +144,7 @@ func TestGetAllocationForPendingDeal(t *testing.T) { require.NoError(t, err) sig, err := api.WalletSign(ctx, verifiedClientAddr, serializedProposal.Bytes()) + require.NoError(t, err) publishDealParams := markettypes.PublishStorageDealsParams{ Deals: []markettypes.ClientDealProposal{{ @@ -196,5 +195,6 @@ func TestGetAllocationForPendingDeal(t *testing.T) { } marketDeal, err := api.StateMarketStorageDeal(ctx, dealIds[0], types.EmptyTSK) + require.NoError(t, err) require.Equal(t, marketDeal.State.SectorStartEpoch, abi.ChainEpoch(-1)) } diff --git a/itests/raft_messagesigner_test.go b/itests/raft_messagesigner_test.go index f94095b90..22dd7a5eb 100644 --- a/itests/raft_messagesigner_test.go +++ b/itests/raft_messagesigner_test.go @@ -79,7 +79,6 @@ func setup(ctx context.Context, t *testing.T, node0 *kit.TestFullNode, node1 *ki node.Override(node.GoRPCServer, modules.NewRPCServer), ) //raftOps := kit.ConstructorOpts() - kit.ThroughRPC() ens := kit.NewEnsemble(t).FullNode(node0, raftOps, kit.ThroughRPC()).FullNode(node1, raftOps, kit.ThroughRPC()).FullNode(node2, raftOps, kit.ThroughRPC()) node0.AssignPrivKey(pkey0) @@ -527,7 +526,6 @@ func TestGoRPCAuth(t *testing.T) { node.Override(node.GoRPCServer, modules.NewRPCServer), ) //raftOps := kit.ConstructorOpts() - kit.ThroughRPC() ens := kit.NewEnsemble(t).FullNode(&node0, raftOps, kit.ThroughRPC()).FullNode(&node1, raftOps, kit.ThroughRPC()).FullNode(&node2, raftOps, kit.ThroughRPC()).FullNode(&node3, raftOps) node0.AssignPrivKey(pkey0) diff --git a/itests/remove_verifreg_datacap_test.go b/itests/remove_verifreg_datacap_test.go index a0ef1b1c6..3fd241748 100644 --- a/itests/remove_verifreg_datacap_test.go +++ b/itests/remove_verifreg_datacap_test.go @@ -29,8 +29,6 @@ import ( ) func TestNoRemoveDatacapFromVerifreg(t *testing.T) { - ctx := context.Background() - kit.QuietMiningLogs() rootKey, err := key.GenerateKey(types.KTSecp256k1) @@ -185,6 +183,7 @@ func TestNoRemoveDatacapFromVerifreg(t *testing.T) { require.NoError(t, err) sig, err := clientApi.WalletSign(ctx, verifiedClientAddr, serializedProposal.Bytes()) + require.NoError(t, err) publishDealParams := markettypes.PublishStorageDealsParams{ Deals: []markettypes.ClientDealProposal{{ @@ -276,6 +275,7 @@ func TestNoRemoveDatacapFromVerifreg(t *testing.T) { Params: params, Value: big.Zero(), }, types.EmptyTSK) + require.Error(t, err) require.False(t, callResult.MsgRct.ExitCode.IsSuccess()) verifregDatacapAfter, err := clientApi.StateVerifiedClientStatus(ctx, builtin.VerifiedRegistryActorAddr, types.EmptyTSK) diff --git a/lib/consensus/raft/consensus.go b/lib/consensus/raft/consensus.go index 085f94c72..60d9dc305 100644 --- a/lib/consensus/raft/consensus.go +++ b/lib/consensus/raft/consensus.go @@ -152,6 +152,12 @@ func NewConsensus(host host.Host, cfg *ClusterRaftConfig, mpool *messagepool.Mes peers := []peer.ID{} addrInfos, err := addrutil.ParseAddresses(ctx, cfg.InitPeerset) + if err != nil { + logger.Error("error parsing addresses: ", err) + cancel() + return nil, err + } + for _, addrInfo := range addrInfos { peers = append(peers, addrInfo.ID) @@ -422,7 +428,7 @@ func (cc *Consensus) RmPeer(ctx context.Context, pid peer.ID) error { return err } // Being here means we are the leader and can commit - finalErr = cc.raft.RemovePeer(ctx, peer.Encode(pid)) + finalErr = cc.raft.RemovePeer(ctx, pid.String()) if finalErr != nil { time.Sleep(cc.config.CommitRetryDelay) continue diff --git a/lib/consensus/raft/raft.go b/lib/consensus/raft/raft.go index 76c23a6d1..9cfd41a4a 100644 --- a/lib/consensus/raft/raft.go +++ b/lib/consensus/raft/raft.go @@ -80,7 +80,7 @@ func newRaftWrapper( raftW.staging = staging raftW.repo = repo // Set correct LocalID - cfg.RaftConfig.LocalID = hraft.ServerID(peer.Encode(host.ID())) + cfg.RaftConfig.LocalID = hraft.ServerID(host.ID().String()) df := cfg.GetDataFolder(repo) err := makeDataFolder(df) @@ -248,7 +248,7 @@ func makeServerConf(peers []peer.ID) hraft.Configuration { // Servers are peers + self. We avoid duplicate entries below for _, pid := range peers { - p := peer.Encode(pid) + p := pid.String() _, ok := sm[p] if !ok { // avoid dups sm[p] = struct{}{} @@ -284,7 +284,7 @@ func (rw *raftWrapper) WaitForLeader(ctx context.Context) (string, error) { func (rw *raftWrapper) WaitForVoter(ctx context.Context) error { logger.Debug("waiting until we are promoted to a voter") - pid := hraft.ServerID(peer.Encode(rw.host.ID())) + pid := hraft.ServerID(rw.host.ID().String()) for { select { case <-ctx.Done(): diff --git a/node/modules/lp2p/host.go b/node/modules/lp2p/host.go index 6ba9cdb79..2d441eb3f 100644 --- a/node/modules/lp2p/host.go +++ b/node/modules/lp2p/host.go @@ -7,11 +7,11 @@ import ( nilrouting "github.com/ipfs/go-ipfs-routing/none" "github.com/libp2p/go-libp2p" dht "github.com/libp2p/go-libp2p-kad-dht" - "github.com/libp2p/go-libp2p-peerstore/pstoremem" record "github.com/libp2p/go-libp2p-record" "github.com/libp2p/go-libp2p/core/host" "github.com/libp2p/go-libp2p/core/peer" "github.com/libp2p/go-libp2p/core/peerstore" + "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem" routedhost "github.com/libp2p/go-libp2p/p2p/host/routed" mocknet "github.com/libp2p/go-libp2p/p2p/net/mock" "go.uber.org/fx" diff --git a/node/rpc.go b/node/rpc.go index 96a81a383..34f680973 100644 --- a/node/rpc.go +++ b/node/rpc.go @@ -9,6 +9,7 @@ import ( _ "net/http/pprof" "runtime" "strconv" + "time" "github.com/google/uuid" "github.com/gorilla/mux" @@ -51,7 +52,8 @@ func ServeRPC(h http.Handler, id string, addr multiaddr.Multiaddr) (StopFunc, er // Instantiate the server and start listening. srv := &http.Server{ - Handler: h, + Handler: h, + ReadHeaderTimeout: 30 * time.Second, BaseContext: func(listener net.Listener) context.Context { ctx, _ := tag.New(context.Background(), tag.Upsert(metrics.APIInterface, id)) return ctx diff --git a/storage/sealer/tarutil/systar.go b/storage/sealer/tarutil/systar.go index e13e5ff21..4372cc8c7 100644 --- a/storage/sealer/tarutil/systar.go +++ b/storage/sealer/tarutil/systar.go @@ -90,7 +90,7 @@ func ExtractTar(body io.Reader, dir string, buf []byte) (int64, error) { sz, found := CacheFileConstraints[header.Name] if !found { - return read, xerrors.Errorf("tar file %#v isn't expected") + return read, xerrors.Errorf("tar file %#v isn't expected", header.Name) } if header.Size > sz { return read, xerrors.Errorf("tar file %#v is bigger than expected: %d > %d", header.Name, header.Size, sz) diff --git a/testplans/composer/Dockerfile b/testplans/composer/Dockerfile index d53bef7e4..58ec58b4c 100644 --- a/testplans/composer/Dockerfile +++ b/testplans/composer/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.1-buster as tg-build +FROM golang:1.18.8-buster as tg-build ARG TESTGROUND_REF="oni" WORKDIR /usr/src diff --git a/testplans/docker-images/Dockerfile.oni-buildbase b/testplans/docker-images/Dockerfile.oni-buildbase index 33420f4a6..b24e9cd0b 100644 --- a/testplans/docker-images/Dockerfile.oni-buildbase +++ b/testplans/docker-images/Dockerfile.oni-buildbase @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.18.1 +ARG GO_VERSION=1.18.8 FROM golang:${GO_VERSION}-buster diff --git a/testplans/docker-images/Dockerfile.oni-runtime b/testplans/docker-images/Dockerfile.oni-runtime index e18ca3bbc..c0630b243 100644 --- a/testplans/docker-images/Dockerfile.oni-runtime +++ b/testplans/docker-images/Dockerfile.oni-runtime @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.18.1 +ARG GO_VERSION=1.18.8 FROM golang:${GO_VERSION}-buster as downloader diff --git a/testplans/docker-images/Dockerfile.oni-runtime-debug b/testplans/docker-images/Dockerfile.oni-runtime-debug index 33954c92f..862b02e11 100644 --- a/testplans/docker-images/Dockerfile.oni-runtime-debug +++ b/testplans/docker-images/Dockerfile.oni-runtime-debug @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.18.1 +ARG GO_VERSION=1.18.8 FROM golang:${GO_VERSION}-buster as downloader diff --git a/testplans/lotus-soup/testkit/role_client.go b/testplans/lotus-soup/testkit/role_client.go index afde27420..e613bb235 100644 --- a/testplans/lotus-soup/testkit/role_client.go +++ b/testplans/lotus-soup/testkit/role_client.go @@ -182,7 +182,7 @@ func startFullNodeAPIServer(t *TestEnvironment, repo repo.Repo, napi api.FullNod Next: mux.ServeHTTP, } - srv := &http.Server{Handler: ah} + srv := &http.Server{Handler: ah, ReadHeaderTimeout: 30 * time.Second} endpoint, err := repo.APIEndpoint() if err != nil { diff --git a/testplans/lotus-soup/testkit/role_miner.go b/testplans/lotus-soup/testkit/role_miner.go index 3b74a50cb..a86e84bbe 100644 --- a/testplans/lotus-soup/testkit/role_miner.go +++ b/testplans/lotus-soup/testkit/role_miner.go @@ -638,7 +638,7 @@ func startStorageMinerAPIServer(t *TestEnvironment, repo repo.Repo, minerApi api return nil, fmt.Errorf("no API endpoint in repo: %w", err) } - srv := &http.Server{Handler: ah} + srv := &http.Server{Handler: ah, ReadHeaderTimeout: 30 * time.Second} listenAddr, err := startServer(endpoint, srv) if err != nil {