Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + const Confidence + const DefaultMaxRetrievePrice + var CidBaseFlag = cli.StringFlag + var Commands = []*cli.Command + var CommonCommands = []*cli.Command + var DaemonContext = cliutil.DaemonContext + var ErrSendBalanceTooLow = errors.New("balance too low") + var GetAPI = cliutil.GetAPI + var GetAPIInfo = cliutil.GetAPIInfo + var GetFullNodeAPI = cliutil.GetFullNodeAPI + var GetGatewayAPI = cliutil.GetGatewayAPI + var GetRawAPI = cliutil.GetRawAPI + var GetStorageMinerAPI = cliutil.GetStorageMinerAPI + var GetWorkerAPI = cliutil.GetWorkerAPI + var NetBandwidthCmd = &cli.Command + var NetBlockAddCmd = &cli.Command + var NetBlockAddIP = &cli.Command + var NetBlockAddPeer = &cli.Command + var NetBlockAddSubnet = &cli.Command + var NetBlockCmd = &cli.Command + var NetBlockListCmd = &cli.Command + var NetBlockRemoveCmd = &cli.Command + var NetBlockRemoveIP = &cli.Command + var NetBlockRemovePeer = &cli.Command + var NetBlockRemoveSubnet = &cli.Command + var NetId = &cli.Command + var NetListen = &cli.Command + var NetPeers = &cli.Command + var NetReachability = &cli.Command + var PprofGoroutines = &cli.Command + var ReqContext = cliutil.ReqContext + var VersionCmd = &cli.Command + func BackupCmd(repoFlag string, rt repo.RepoType, getApi BackupApiFn) *cli.Command + func ComputeStateHTMLTempl(w io.Writer, ts *types.TipSet, o *api.ComputeStateOutput, printTiming bool, ...) error + func EncodedString(sv *paych.SignedVoucher) (string, error) + func EpochTime(curr, e abi.ChainEpoch) string + func FlowEncodedString(sv *flowch.SignedVoucher) (string, error) + func GetCidEncoder(cctx *cli.Context) (cidenc.Encoder, error) + func JsonParams(code cid.Cid, method abi.MethodNum, params []byte) (string, error) + func LoadTipSet(ctx context.Context, cctx *cli.Context, api api.FullNode) (*types.TipSet, error) + func NewCliError(s string) error + func OutputDataTransferChannels(out io.Writer, channels []lapi.DataTransferChannel, ...) + func ParseTipSetRef(ctx context.Context, api api.FullNode, tss string) (*types.TipSet, error) + func ParseTipSetString(ts string) ([]cid.Cid, error) + func PromptConfirm(action string) bool + func PromptForGrantOrRevoke(out *gov2.GrantOrRevokeParams) error + func RunApp(app *ufcli.App) + func ShowHelp(cctx *ufcli.Context, err error) error + func SyncWait(ctx context.Context, napi api.FullNode, watch bool) error + func WithCategory(cat string, cmd *cli.Command) *cli.Command + type ApiConnector func() api.FullNode + type AppFmt struct + Stdin io.Reader + func NewAppFmt(a *ufcli.App) *AppFmt + func (a *AppFmt) Print(args ...interface{}) + func (a *AppFmt) Printf(fmtstr string, args ...interface{}) + func (a *AppFmt) Println(args ...interface{}) + func (a *AppFmt) Scan(args ...interface{}) (int, error) + type BackupAPI interface + CreateBackup func(ctx context.Context, fpath string) error + type BackupApiFn func(ctx *cli.Context) (BackupAPI, jsonrpc.ClientCloser, error) + type ErrCmdFailed struct + func (e *ErrCmdFailed) Error() string + type PrintHelpErr struct + Ctx *ufcli.Context + Err error + func (e *PrintHelpErr) Error() string + func (e *PrintHelpErr) Is(o error) bool + func (e *PrintHelpErr) Unwrap() error + type QueriedAsk struct + Ask *storagemarket.StorageAsk + Ping time.Duration + func GetAsks(ctx context.Context, api lapi.FullNode) ([]QueriedAsk, error) + type SendParams struct + Force bool + From address.Address + GasFeeCap *abi.TokenAmount + GasLimit *int64 + GasPremium *abi.TokenAmount + Method abi.MethodNum + Nonce *uint64 + Params []byte + To address.Address + Val abi.TokenAmount + type ServicesAPI interface + API func() api.FullNode + BatchSend func(ctx context.Context, params []SendParams) ([]cid.Cid, error) + Close func() error + DecodeTypedParamsFromJSON func(ctx context.Context, to address.Address, method abi.MethodNum, paramstr string) ([]byte, error) + Send func(ctx context.Context, params SendParams) (cid.Cid, error) + func GetFullNodeServices(ctx *cli.Context) (ServicesAPI, error) + type ServicesImpl struct + func (s *ServicesImpl) API() api.FullNode + func (s *ServicesImpl) BatchSend(ctx context.Context, params []SendParams) ([]cid.Cid, error) + func (s *ServicesImpl) Close() error + func (s *ServicesImpl) DecodeTypedParamsFromJSON(ctx context.Context, to address.Address, method abi.MethodNum, paramstr string) ([]byte, error) + func (s *ServicesImpl) Send(ctx context.Context, params SendParams) (cid.Cid, error)