Documentation ¶
Index ¶
- Constants
- Variables
- func CreateEthRPCAliases(as apitypes.Aliaser)
- func ErrorIsIn(err error, errorTypes []error) bool
- func GetInternalStructs(in interface{}) []interface{}
- func SignWith(ctx context.Context, signer Signer, addr address.Address, signable ...Signable) error
- func Wrap(proxyT, wrapperT, impl interface{}) interface{}
- type APIVersion
- type ActiveSync
- type ActorState
- type AddrUse
- type AddressConfig
- type BlockMessages
- type BlockTemplate
- type ChainExportConfig
- type ChainIO
- type ChainIOMethods
- type ChainIOStruct
- type ChainIOStub
- type ChannelAvailableFunds
- type ChannelInfo
- type CheckStatus
- type CheckStatusCode
- type CirculatingSupply
- type CommPRet
- type Common
- type CommonMethods
- type CommonNet
- type CommonNetMethods
- type CommonNetStruct
- type CommonNetStub
- type CommonStruct
- func (s *CommonStruct) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
- func (s *CommonStruct) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
- func (s *CommonStruct) Closing(p0 context.Context) (<-chan struct{}, error)
- func (s *CommonStruct) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
- func (s *CommonStruct) LogAlerts(p0 context.Context) ([]alerting.Alert, error)
- func (s *CommonStruct) LogList(p0 context.Context) ([]string, error)
- func (s *CommonStruct) LogSetLevel(p0 context.Context, p1 string, p2 string) error
- func (s *CommonStruct) Session(p0 context.Context) (uuid.UUID, error)
- func (s *CommonStruct) Shutdown(p0 context.Context) error
- func (s *CommonStruct) StartTime(p0 context.Context) (time.Time, error)
- func (s *CommonStruct) Version(p0 context.Context) (APIVersion, error)
- type CommonStub
- func (s *CommonStub) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
- func (s *CommonStub) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
- func (s *CommonStub) Closing(p0 context.Context) (<-chan struct{}, error)
- func (s *CommonStub) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
- func (s *CommonStub) LogAlerts(p0 context.Context) ([]alerting.Alert, error)
- func (s *CommonStub) LogList(p0 context.Context) ([]string, error)
- func (s *CommonStub) LogSetLevel(p0 context.Context, p1 string, p2 string) error
- func (s *CommonStub) Session(p0 context.Context) (uuid.UUID, error)
- func (s *CommonStub) Shutdown(p0 context.Context) error
- func (s *CommonStub) StartTime(p0 context.Context) (time.Time, error)
- func (s *CommonStub) Version(p0 context.Context) (APIVersion, error)
- type ComputeStateOutput
- type ConnMgrInfo
- type DagSpec
- type DagstoreInitializeAllEvent
- type DagstoreInitializeAllParams
- type DagstoreShardInfo
- type DagstoreShardResult
- type DataCIDSize
- type DataSize
- type DataTransferChannel
- type Deadline
- type DealCollateralBounds
- type DealInfo
- type DealSchedule
- type ErrActorNotFound
- type ErrOutOfGas
- type EthSubscriber
- type EthSubscriberMethods
- type EthSubscriberStruct
- type EthSubscriberStub
- type EthTxReceipt
- type ExportRef
- type ExtendedPeerInfo
- type Fault
- type FileRef
- type ForkUpgradeParams
- type FullNode
- type FullNodeMethods
- type FullNodeStruct
- func (s *FullNodeStruct) ChainBlockstoreInfo(p0 context.Context) (map[string]interface{}, error)
- func (s *FullNodeStruct) ChainCheckBlockstore(p0 context.Context) error
- func (s *FullNodeStruct) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error
- func (s *FullNodeStruct) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)
- func (s *FullNodeStruct) ChainExportRangeInternal(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey, ...) error
- func (s *FullNodeStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *FullNodeStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
- func (s *FullNodeStruct) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error)
- func (s *FullNodeStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)
- func (s *FullNodeStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)
- func (s *FullNodeStruct) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]Message, error)
- func (s *FullNodeStruct) ChainGetNode(p0 context.Context, p1 string) (*IpldObject, error)
- func (s *FullNodeStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
- func (s *FullNodeStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *FullNodeStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
- func (s *FullNodeStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *FullNodeStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *FullNodeStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *FullNodeStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *FullNodeStruct) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *FullNodeStruct) ChainHotGC(p0 context.Context, p1 HotGCOpts) error
- func (s *FullNodeStruct) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
- func (s *FullNodeStruct) ChainPrune(p0 context.Context, p1 PruneOpts) error
- func (s *FullNodeStruct) ChainPutObj(p0 context.Context, p1 blocks.Block) error
- func (s *FullNodeStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *FullNodeStruct) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error
- func (s *FullNodeStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (ObjStat, error)
- func (s *FullNodeStruct) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStruct) ClientCalcCommP(p0 context.Context, p1 string) (*CommPRet, error)
- func (s *FullNodeStruct) ClientCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *FullNodeStruct) ClientCancelRetrievalDeal(p0 context.Context, p1 retrievalmarket.DealID) error
- func (s *FullNodeStruct) ClientDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
- func (s *FullNodeStruct) ClientDealPieceCID(p0 context.Context, p1 cid.Cid) (DataCIDSize, error)
- func (s *FullNodeStruct) ClientDealSize(p0 context.Context, p1 cid.Cid) (DataSize, error)
- func (s *FullNodeStruct) ClientExport(p0 context.Context, p1 ExportRef, p2 FileRef) error
- func (s *FullNodeStruct) ClientFindData(p0 context.Context, p1 cid.Cid, p2 *cid.Cid) ([]QueryOffer, error)
- func (s *FullNodeStruct) ClientGenCar(p0 context.Context, p1 FileRef, p2 string) error
- func (s *FullNodeStruct) ClientGetDealInfo(p0 context.Context, p1 cid.Cid) (*DealInfo, error)
- func (s *FullNodeStruct) ClientGetDealStatus(p0 context.Context, p1 uint64) (string, error)
- func (s *FullNodeStruct) ClientGetDealUpdates(p0 context.Context) (<-chan DealInfo, error)
- func (s *FullNodeStruct) ClientGetRetrievalUpdates(p0 context.Context) (<-chan RetrievalInfo, error)
- func (s *FullNodeStruct) ClientHasLocal(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *FullNodeStruct) ClientImport(p0 context.Context, p1 FileRef) (*ImportRes, error)
- func (s *FullNodeStruct) ClientListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
- func (s *FullNodeStruct) ClientListDeals(p0 context.Context) ([]DealInfo, error)
- func (s *FullNodeStruct) ClientListImports(p0 context.Context) ([]Import, error)
- func (s *FullNodeStruct) ClientListRetrievals(p0 context.Context) ([]RetrievalInfo, error)
- func (s *FullNodeStruct) ClientMinerQueryOffer(p0 context.Context, p1 address.Address, p2 cid.Cid, p3 *cid.Cid) (QueryOffer, error)
- func (s *FullNodeStruct) ClientQueryAsk(p0 context.Context, p1 peer.ID, p2 address.Address) (*StorageAsk, error)
- func (s *FullNodeStruct) ClientRemoveImport(p0 context.Context, p1 imports.ID) error
- func (s *FullNodeStruct) ClientRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *FullNodeStruct) ClientRetrieve(p0 context.Context, p1 RetrievalOrder) (*RestrievalRes, error)
- func (s *FullNodeStruct) ClientRetrieveTryRestartInsufficientFunds(p0 context.Context, p1 address.Address) error
- func (s *FullNodeStruct) ClientRetrieveWait(p0 context.Context, p1 retrievalmarket.DealID) error
- func (s *FullNodeStruct) ClientStartDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
- func (s *FullNodeStruct) ClientStatelessDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
- func (s *FullNodeStruct) CreateBackup(p0 context.Context, p1 string) error
- func (s *FullNodeStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
- func (s *FullNodeStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)
- func (s *FullNodeStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *FullNodeStruct) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthEstimateGas(p0 context.Context, p1 ethtypes.EthCall) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
- func (s *FullNodeStruct) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *FullNodeStruct) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
- func (s *FullNodeStruct) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)
- func (s *FullNodeStruct) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)
- func (s *FullNodeStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *FullNodeStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *FullNodeStruct) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *FullNodeStruct) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
- func (s *FullNodeStruct) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)
- func (s *FullNodeStruct) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, ...) (ethtypes.EthBytes, error)
- func (s *FullNodeStruct) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (ethtypes.EthTx, error)
- func (s *FullNodeStruct) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 ethtypes.EthUint64, p2 ethtypes.EthUint64) (ethtypes.EthTx, error)
- func (s *FullNodeStruct) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)
- func (s *FullNodeStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
- func (s *FullNodeStruct) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)
- func (s *FullNodeStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
- func (s *FullNodeStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
- func (s *FullNodeStruct) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *FullNodeStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *FullNodeStruct) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
- func (s *FullNodeStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *FullNodeStruct) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)
- func (s *FullNodeStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
- func (s *FullNodeStruct) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
- func (s *FullNodeStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
- func (s *FullNodeStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
- func (s *FullNodeStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error)
- func (s *FullNodeStruct) GasEstimateFeeCap(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStruct) GasEstimateGasLimit(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (int64, error)
- func (s *FullNodeStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (types.BigInt, error)
- func (s *FullNodeStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error)
- func (s *FullNodeStruct) MarketAddBalance(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *FullNodeStruct) MarketGetReserved(p0 context.Context, p1 address.Address) (types.BigInt, error)
- func (s *FullNodeStruct) MarketReleaseFunds(p0 context.Context, p1 address.Address, p2 types.BigInt) error
- func (s *FullNodeStruct) MarketReserveFunds(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *FullNodeStruct) MarketWithdraw(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *FullNodeStruct) MinerCreateBlock(p0 context.Context, p1 *BlockTemplate) (*types.BlockMsg, error)
- func (s *FullNodeStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
- func (s *FullNodeStruct) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
- func (s *FullNodeStruct) MpoolBatchPushMessage(p0 context.Context, p1 []*types.Message, p2 *MessageSendSpec) ([]*types.SignedMessage, error)
- func (s *FullNodeStruct) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
- func (s *FullNodeStruct) MpoolCheckMessages(p0 context.Context, p1 []*MessagePrototype) ([][]MessageCheckStatus, error)
- func (s *FullNodeStruct) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]MessageCheckStatus, error)
- func (s *FullNodeStruct) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]MessageCheckStatus, error)
- func (s *FullNodeStruct) MpoolClear(p0 context.Context, p1 bool) error
- func (s *FullNodeStruct) MpoolGetConfig(p0 context.Context) (*types.MpoolConfig, error)
- func (s *FullNodeStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *FullNodeStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
- func (s *FullNodeStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *FullNodeStruct) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec) (*types.SignedMessage, error)
- func (s *FullNodeStruct) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *FullNodeStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
- func (s *FullNodeStruct) MpoolSetConfig(p0 context.Context, p1 *types.MpoolConfig) error
- func (s *FullNodeStruct) MpoolSub(p0 context.Context) (<-chan MpoolUpdate, error)
- func (s *FullNodeStruct) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigCancelTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigGetAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStruct) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
- func (s *FullNodeStruct) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStruct) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
- func (s *FullNodeStruct) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStruct) NetListening(p0 context.Context) (bool, error)
- func (s *FullNodeStruct) NetVersion(p0 context.Context) (string, error)
- func (s *FullNodeStruct) NodeStatus(p0 context.Context, p1 bool) (NodeStatus, error)
- func (s *FullNodeStruct) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *FullNodeStruct) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*ChannelAvailableFunds, error)
- func (s *FullNodeStruct) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*ChannelAvailableFunds, error)
- func (s *FullNodeStruct) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)
- func (s *FullNodeStruct) PaychFund(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (*ChannelInfo, error)
- func (s *FullNodeStruct) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, ...) (*ChannelInfo, error)
- func (s *FullNodeStruct) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)
- func (s *FullNodeStruct) PaychList(p0 context.Context) ([]address.Address, error)
- func (s *FullNodeStruct) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []VoucherSpec) (*PaymentInfo, error)
- func (s *FullNodeStruct) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)
- func (s *FullNodeStruct) PaychStatus(p0 context.Context, p1 address.Address) (*PaychStatus, error)
- func (s *FullNodeStruct) PaychVoucherAdd(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (types.BigInt, error)
- func (s *FullNodeStruct) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (bool, error)
- func (s *FullNodeStruct) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error
- func (s *FullNodeStruct) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 types.BigInt, p3 uint64) (*VoucherCreateResult, error)
- func (s *FullNodeStruct) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)
- func (s *FullNodeStruct) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (cid.Cid, error)
- func (s *FullNodeStruct) RaftLeader(p0 context.Context) (peer.ID, error)
- func (s *FullNodeStruct) RaftState(p0 context.Context) (*RaftStateData, error)
- func (s *FullNodeStruct) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStruct) StateActorCodeCIDs(p0 context.Context, p1 abinetwork.Version) (map[string]cid.Cid, error)
- func (s *FullNodeStruct) StateActorManifestCID(p0 context.Context, p1 abinetwork.Version) (cid.Cid, error)
- func (s *FullNodeStruct) StateAllMinerFaults(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) ([]*Fault, error)
- func (s *FullNodeStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
- func (s *FullNodeStruct) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error)
- func (s *FullNodeStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)
- func (s *FullNodeStruct) StateCompute(p0 context.Context, p1 abi.ChainEpoch, p2 []*types.Message, p3 types.TipSetKey) (*ComputeStateOutput, error)
- func (s *FullNodeStruct) StateComputeDataCID(p0 context.Context, p1 address.Address, p2 abi.RegisteredSealProof, ...) (cid.Cid, error)
- func (s *FullNodeStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
- func (s *FullNodeStruct) StateDecodeParams(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, ...) (interface{}, error)
- func (s *FullNodeStruct) StateEncodeParams(p0 context.Context, p1 cid.Cid, p2 abi.MethodNum, p3 json.RawMessage) ([]byte, error)
- func (s *FullNodeStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *FullNodeStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, ...) (*verifregtypes.Allocation, error)
- func (s *FullNodeStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
- func (s *FullNodeStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
- func (s *FullNodeStruct) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
- func (s *FullNodeStruct) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, ...) (*verifregtypes.Claim, error)
- func (s *FullNodeStruct) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
- func (s *FullNodeStruct) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error)
- func (s *FullNodeStruct) StateGetRandomnessDigestFromBeacon(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
- func (s *FullNodeStruct) StateGetRandomnessDigestFromTickets(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
- func (s *FullNodeStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *FullNodeStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *FullNodeStruct) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *FullNodeStruct) StateListMessages(p0 context.Context, p1 *MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error)
- func (s *FullNodeStruct) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *FullNodeStruct) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStruct) StateLookupRobustAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
- func (s *FullNodeStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]*MarketDeal, error)
- func (s *FullNodeStruct) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]MarketBalance, error)
- func (s *FullNodeStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
- func (s *FullNodeStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
- func (s *FullNodeStruct) StateMinerAllocated(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error)
- func (s *FullNodeStruct) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error)
- func (s *FullNodeStruct) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *FullNodeStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error)
- func (s *FullNodeStruct) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (types.BigInt, error)
- func (s *FullNodeStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]Partition, error)
- func (s *FullNodeStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
- func (s *FullNodeStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (types.BigInt, error)
- func (s *FullNodeStruct) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *FullNodeStruct) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *FullNodeStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (bool, error)
- func (s *FullNodeStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
- func (s *FullNodeStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, ...) ([]*miner.SectorOnChainInfo, error)
- func (s *FullNodeStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *FullNodeStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
- func (s *FullNodeStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
- func (s *FullNodeStruct) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
- func (s *FullNodeStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *FullNodeStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorExpiration, error)
- func (s *FullNodeStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *FullNodeStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorLocation, error)
- func (s *FullNodeStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- func (s *FullNodeStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (CirculatingSupply, error)
- func (s *FullNodeStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *FullNodeStruct) StateVerifiedRegistryRootKey(p0 context.Context, p1 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *FullNodeStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *FullNodeStruct) SyncCheckBad(p0 context.Context, p1 cid.Cid) (string, error)
- func (s *FullNodeStruct) SyncCheckpoint(p0 context.Context, p1 types.TipSetKey) error
- func (s *FullNodeStruct) SyncIncomingBlocks(p0 context.Context) (<-chan *types.BlockHeader, error)
- func (s *FullNodeStruct) SyncMarkBad(p0 context.Context, p1 cid.Cid) error
- func (s *FullNodeStruct) SyncState(p0 context.Context) (*SyncState, error)
- func (s *FullNodeStruct) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error
- func (s *FullNodeStruct) SyncUnmarkAllBad(p0 context.Context) error
- func (s *FullNodeStruct) SyncUnmarkBad(p0 context.Context, p1 cid.Cid) error
- func (s *FullNodeStruct) SyncValidateTipset(p0 context.Context, p1 types.TipSetKey) (bool, error)
- func (s *FullNodeStruct) WalletBalance(p0 context.Context, p1 address.Address) (types.BigInt, error)
- func (s *FullNodeStruct) WalletDefaultAddress(p0 context.Context) (address.Address, error)
- func (s *FullNodeStruct) WalletDelete(p0 context.Context, p1 address.Address) error
- func (s *FullNodeStruct) WalletExport(p0 context.Context, p1 address.Address) (*types.KeyInfo, error)
- func (s *FullNodeStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *FullNodeStruct) WalletImport(p0 context.Context, p1 *types.KeyInfo) (address.Address, error)
- func (s *FullNodeStruct) WalletList(p0 context.Context) ([]address.Address, error)
- func (s *FullNodeStruct) WalletNew(p0 context.Context, p1 types.KeyType) (address.Address, error)
- func (s *FullNodeStruct) WalletSetDefault(p0 context.Context, p1 address.Address) error
- func (s *FullNodeStruct) WalletSign(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error)
- func (s *FullNodeStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
- func (s *FullNodeStruct) WalletValidateAddress(p0 context.Context, p1 string) (address.Address, error)
- func (s *FullNodeStruct) WalletVerify(p0 context.Context, p1 address.Address, p2 []byte, p3 *crypto.Signature) (bool, error)
- func (s *FullNodeStruct) Web3ClientVersion(p0 context.Context) (string, error)
- type FullNodeStub
- func (s *FullNodeStub) ChainBlockstoreInfo(p0 context.Context) (map[string]interface{}, error)
- func (s *FullNodeStub) ChainCheckBlockstore(p0 context.Context) error
- func (s *FullNodeStub) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error
- func (s *FullNodeStub) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)
- func (s *FullNodeStub) ChainExportRangeInternal(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey, ...) error
- func (s *FullNodeStub) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *FullNodeStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
- func (s *FullNodeStub) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error)
- func (s *FullNodeStub) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)
- func (s *FullNodeStub) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)
- func (s *FullNodeStub) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]Message, error)
- func (s *FullNodeStub) ChainGetNode(p0 context.Context, p1 string) (*IpldObject, error)
- func (s *FullNodeStub) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
- func (s *FullNodeStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *FullNodeStub) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
- func (s *FullNodeStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *FullNodeStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *FullNodeStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *FullNodeStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *FullNodeStub) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *FullNodeStub) ChainHotGC(p0 context.Context, p1 HotGCOpts) error
- func (s *FullNodeStub) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
- func (s *FullNodeStub) ChainPrune(p0 context.Context, p1 PruneOpts) error
- func (s *FullNodeStub) ChainPutObj(p0 context.Context, p1 blocks.Block) error
- func (s *FullNodeStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *FullNodeStub) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error
- func (s *FullNodeStub) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (ObjStat, error)
- func (s *FullNodeStub) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStub) ClientCalcCommP(p0 context.Context, p1 string) (*CommPRet, error)
- func (s *FullNodeStub) ClientCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *FullNodeStub) ClientCancelRetrievalDeal(p0 context.Context, p1 retrievalmarket.DealID) error
- func (s *FullNodeStub) ClientDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
- func (s *FullNodeStub) ClientDealPieceCID(p0 context.Context, p1 cid.Cid) (DataCIDSize, error)
- func (s *FullNodeStub) ClientDealSize(p0 context.Context, p1 cid.Cid) (DataSize, error)
- func (s *FullNodeStub) ClientExport(p0 context.Context, p1 ExportRef, p2 FileRef) error
- func (s *FullNodeStub) ClientFindData(p0 context.Context, p1 cid.Cid, p2 *cid.Cid) ([]QueryOffer, error)
- func (s *FullNodeStub) ClientGenCar(p0 context.Context, p1 FileRef, p2 string) error
- func (s *FullNodeStub) ClientGetDealInfo(p0 context.Context, p1 cid.Cid) (*DealInfo, error)
- func (s *FullNodeStub) ClientGetDealStatus(p0 context.Context, p1 uint64) (string, error)
- func (s *FullNodeStub) ClientGetDealUpdates(p0 context.Context) (<-chan DealInfo, error)
- func (s *FullNodeStub) ClientGetRetrievalUpdates(p0 context.Context) (<-chan RetrievalInfo, error)
- func (s *FullNodeStub) ClientHasLocal(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *FullNodeStub) ClientImport(p0 context.Context, p1 FileRef) (*ImportRes, error)
- func (s *FullNodeStub) ClientListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
- func (s *FullNodeStub) ClientListDeals(p0 context.Context) ([]DealInfo, error)
- func (s *FullNodeStub) ClientListImports(p0 context.Context) ([]Import, error)
- func (s *FullNodeStub) ClientListRetrievals(p0 context.Context) ([]RetrievalInfo, error)
- func (s *FullNodeStub) ClientMinerQueryOffer(p0 context.Context, p1 address.Address, p2 cid.Cid, p3 *cid.Cid) (QueryOffer, error)
- func (s *FullNodeStub) ClientQueryAsk(p0 context.Context, p1 peer.ID, p2 address.Address) (*StorageAsk, error)
- func (s *FullNodeStub) ClientRemoveImport(p0 context.Context, p1 imports.ID) error
- func (s *FullNodeStub) ClientRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *FullNodeStub) ClientRetrieve(p0 context.Context, p1 RetrievalOrder) (*RestrievalRes, error)
- func (s *FullNodeStub) ClientRetrieveTryRestartInsufficientFunds(p0 context.Context, p1 address.Address) error
- func (s *FullNodeStub) ClientRetrieveWait(p0 context.Context, p1 retrievalmarket.DealID) error
- func (s *FullNodeStub) ClientStartDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
- func (s *FullNodeStub) ClientStatelessDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
- func (s *FullNodeStub) CreateBackup(p0 context.Context, p1 string) error
- func (s *FullNodeStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
- func (s *FullNodeStub) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)
- func (s *FullNodeStub) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *FullNodeStub) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthEstimateGas(p0 context.Context, p1 ethtypes.EthCall) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
- func (s *FullNodeStub) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *FullNodeStub) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
- func (s *FullNodeStub) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)
- func (s *FullNodeStub) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)
- func (s *FullNodeStub) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *FullNodeStub) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *FullNodeStub) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *FullNodeStub) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
- func (s *FullNodeStub) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)
- func (s *FullNodeStub) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, ...) (ethtypes.EthBytes, error)
- func (s *FullNodeStub) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (ethtypes.EthTx, error)
- func (s *FullNodeStub) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 ethtypes.EthUint64, p2 ethtypes.EthUint64) (ethtypes.EthTx, error)
- func (s *FullNodeStub) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)
- func (s *FullNodeStub) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
- func (s *FullNodeStub) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)
- func (s *FullNodeStub) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
- func (s *FullNodeStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
- func (s *FullNodeStub) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *FullNodeStub) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *FullNodeStub) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
- func (s *FullNodeStub) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *FullNodeStub) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)
- func (s *FullNodeStub) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
- func (s *FullNodeStub) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
- func (s *FullNodeStub) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
- func (s *FullNodeStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
- func (s *FullNodeStub) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error)
- func (s *FullNodeStub) GasEstimateFeeCap(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStub) GasEstimateGasLimit(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (int64, error)
- func (s *FullNodeStub) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (types.BigInt, error)
- func (s *FullNodeStub) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error)
- func (s *FullNodeStub) MarketAddBalance(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *FullNodeStub) MarketGetReserved(p0 context.Context, p1 address.Address) (types.BigInt, error)
- func (s *FullNodeStub) MarketReleaseFunds(p0 context.Context, p1 address.Address, p2 types.BigInt) error
- func (s *FullNodeStub) MarketReserveFunds(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *FullNodeStub) MarketWithdraw(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *FullNodeStub) MinerCreateBlock(p0 context.Context, p1 *BlockTemplate) (*types.BlockMsg, error)
- func (s *FullNodeStub) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
- func (s *FullNodeStub) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
- func (s *FullNodeStub) MpoolBatchPushMessage(p0 context.Context, p1 []*types.Message, p2 *MessageSendSpec) ([]*types.SignedMessage, error)
- func (s *FullNodeStub) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
- func (s *FullNodeStub) MpoolCheckMessages(p0 context.Context, p1 []*MessagePrototype) ([][]MessageCheckStatus, error)
- func (s *FullNodeStub) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]MessageCheckStatus, error)
- func (s *FullNodeStub) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]MessageCheckStatus, error)
- func (s *FullNodeStub) MpoolClear(p0 context.Context, p1 bool) error
- func (s *FullNodeStub) MpoolGetConfig(p0 context.Context) (*types.MpoolConfig, error)
- func (s *FullNodeStub) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *FullNodeStub) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
- func (s *FullNodeStub) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *FullNodeStub) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec) (*types.SignedMessage, error)
- func (s *FullNodeStub) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *FullNodeStub) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
- func (s *FullNodeStub) MpoolSetConfig(p0 context.Context, p1 *types.MpoolConfig) error
- func (s *FullNodeStub) MpoolSub(p0 context.Context) (<-chan MpoolUpdate, error)
- func (s *FullNodeStub) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigCancelTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigGetAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStub) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
- func (s *FullNodeStub) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStub) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
- func (s *FullNodeStub) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*MessagePrototype, error)
- func (s *FullNodeStub) NetListening(p0 context.Context) (bool, error)
- func (s *FullNodeStub) NetVersion(p0 context.Context) (string, error)
- func (s *FullNodeStub) NodeStatus(p0 context.Context, p1 bool) (NodeStatus, error)
- func (s *FullNodeStub) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *FullNodeStub) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*ChannelAvailableFunds, error)
- func (s *FullNodeStub) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*ChannelAvailableFunds, error)
- func (s *FullNodeStub) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)
- func (s *FullNodeStub) PaychFund(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (*ChannelInfo, error)
- func (s *FullNodeStub) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, ...) (*ChannelInfo, error)
- func (s *FullNodeStub) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)
- func (s *FullNodeStub) PaychList(p0 context.Context) ([]address.Address, error)
- func (s *FullNodeStub) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []VoucherSpec) (*PaymentInfo, error)
- func (s *FullNodeStub) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)
- func (s *FullNodeStub) PaychStatus(p0 context.Context, p1 address.Address) (*PaychStatus, error)
- func (s *FullNodeStub) PaychVoucherAdd(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (types.BigInt, error)
- func (s *FullNodeStub) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (bool, error)
- func (s *FullNodeStub) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error
- func (s *FullNodeStub) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 types.BigInt, p3 uint64) (*VoucherCreateResult, error)
- func (s *FullNodeStub) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)
- func (s *FullNodeStub) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (cid.Cid, error)
- func (s *FullNodeStub) RaftLeader(p0 context.Context) (peer.ID, error)
- func (s *FullNodeStub) RaftState(p0 context.Context) (*RaftStateData, error)
- func (s *FullNodeStub) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStub) StateActorCodeCIDs(p0 context.Context, p1 abinetwork.Version) (map[string]cid.Cid, error)
- func (s *FullNodeStub) StateActorManifestCID(p0 context.Context, p1 abinetwork.Version) (cid.Cid, error)
- func (s *FullNodeStub) StateAllMinerFaults(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) ([]*Fault, error)
- func (s *FullNodeStub) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
- func (s *FullNodeStub) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error)
- func (s *FullNodeStub) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)
- func (s *FullNodeStub) StateCompute(p0 context.Context, p1 abi.ChainEpoch, p2 []*types.Message, p3 types.TipSetKey) (*ComputeStateOutput, error)
- func (s *FullNodeStub) StateComputeDataCID(p0 context.Context, p1 address.Address, p2 abi.RegisteredSealProof, ...) (cid.Cid, error)
- func (s *FullNodeStub) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
- func (s *FullNodeStub) StateDecodeParams(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, ...) (interface{}, error)
- func (s *FullNodeStub) StateEncodeParams(p0 context.Context, p1 cid.Cid, p2 abi.MethodNum, p3 json.RawMessage) ([]byte, error)
- func (s *FullNodeStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *FullNodeStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, ...) (*verifregtypes.Allocation, error)
- func (s *FullNodeStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
- func (s *FullNodeStub) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
- func (s *FullNodeStub) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
- func (s *FullNodeStub) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, ...) (*verifregtypes.Claim, error)
- func (s *FullNodeStub) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
- func (s *FullNodeStub) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error)
- func (s *FullNodeStub) StateGetRandomnessDigestFromBeacon(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
- func (s *FullNodeStub) StateGetRandomnessDigestFromTickets(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
- func (s *FullNodeStub) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *FullNodeStub) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *FullNodeStub) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *FullNodeStub) StateListMessages(p0 context.Context, p1 *MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error)
- func (s *FullNodeStub) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *FullNodeStub) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStub) StateLookupRobustAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStub) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
- func (s *FullNodeStub) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]*MarketDeal, error)
- func (s *FullNodeStub) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]MarketBalance, error)
- func (s *FullNodeStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
- func (s *FullNodeStub) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
- func (s *FullNodeStub) StateMinerAllocated(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error)
- func (s *FullNodeStub) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *FullNodeStub) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error)
- func (s *FullNodeStub) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *FullNodeStub) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error)
- func (s *FullNodeStub) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (types.BigInt, error)
- func (s *FullNodeStub) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]Partition, error)
- func (s *FullNodeStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
- func (s *FullNodeStub) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (types.BigInt, error)
- func (s *FullNodeStub) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *FullNodeStub) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *FullNodeStub) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (bool, error)
- func (s *FullNodeStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
- func (s *FullNodeStub) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, ...) ([]*miner.SectorOnChainInfo, error)
- func (s *FullNodeStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *FullNodeStub) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
- func (s *FullNodeStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
- func (s *FullNodeStub) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
- func (s *FullNodeStub) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *FullNodeStub) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorExpiration, error)
- func (s *FullNodeStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *FullNodeStub) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorLocation, error)
- func (s *FullNodeStub) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- func (s *FullNodeStub) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (CirculatingSupply, error)
- func (s *FullNodeStub) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *FullNodeStub) StateVerifiedRegistryRootKey(p0 context.Context, p1 types.TipSetKey) (address.Address, error)
- func (s *FullNodeStub) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *FullNodeStub) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *FullNodeStub) SyncCheckBad(p0 context.Context, p1 cid.Cid) (string, error)
- func (s *FullNodeStub) SyncCheckpoint(p0 context.Context, p1 types.TipSetKey) error
- func (s *FullNodeStub) SyncIncomingBlocks(p0 context.Context) (<-chan *types.BlockHeader, error)
- func (s *FullNodeStub) SyncMarkBad(p0 context.Context, p1 cid.Cid) error
- func (s *FullNodeStub) SyncState(p0 context.Context) (*SyncState, error)
- func (s *FullNodeStub) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error
- func (s *FullNodeStub) SyncUnmarkAllBad(p0 context.Context) error
- func (s *FullNodeStub) SyncUnmarkBad(p0 context.Context, p1 cid.Cid) error
- func (s *FullNodeStub) SyncValidateTipset(p0 context.Context, p1 types.TipSetKey) (bool, error)
- func (s *FullNodeStub) WalletBalance(p0 context.Context, p1 address.Address) (types.BigInt, error)
- func (s *FullNodeStub) WalletDefaultAddress(p0 context.Context) (address.Address, error)
- func (s *FullNodeStub) WalletDelete(p0 context.Context, p1 address.Address) error
- func (s *FullNodeStub) WalletExport(p0 context.Context, p1 address.Address) (*types.KeyInfo, error)
- func (s *FullNodeStub) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *FullNodeStub) WalletImport(p0 context.Context, p1 *types.KeyInfo) (address.Address, error)
- func (s *FullNodeStub) WalletList(p0 context.Context) ([]address.Address, error)
- func (s *FullNodeStub) WalletNew(p0 context.Context, p1 types.KeyType) (address.Address, error)
- func (s *FullNodeStub) WalletSetDefault(p0 context.Context, p1 address.Address) error
- func (s *FullNodeStub) WalletSign(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error)
- func (s *FullNodeStub) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
- func (s *FullNodeStub) WalletValidateAddress(p0 context.Context, p1 string) (address.Address, error)
- func (s *FullNodeStub) WalletVerify(p0 context.Context, p1 address.Address, p2 []byte, p3 *crypto.Signature) (bool, error)
- func (s *FullNodeStub) Web3ClientVersion(p0 context.Context) (string, error)
- type Gateway
- type GatewayMethods
- type GatewayStruct
- func (s *GatewayStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *GatewayStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
- func (s *GatewayStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)
- func (s *GatewayStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)
- func (s *GatewayStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
- func (s *GatewayStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *GatewayStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
- func (s *GatewayStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *GatewayStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *GatewayStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *GatewayStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *GatewayStruct) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *GatewayStruct) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
- func (s *GatewayStruct) ChainPutObj(p0 context.Context, p1 blocks.Block) error
- func (s *GatewayStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *GatewayStruct) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
- func (s *GatewayStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
- func (s *GatewayStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *GatewayStruct) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthEstimateGas(p0 context.Context, p1 ethtypes.EthCall) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
- func (s *GatewayStruct) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *GatewayStruct) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
- func (s *GatewayStruct) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)
- func (s *GatewayStruct) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)
- func (s *GatewayStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *GatewayStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *GatewayStruct) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *GatewayStruct) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
- func (s *GatewayStruct) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)
- func (s *GatewayStruct) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, ...) (ethtypes.EthBytes, error)
- func (s *GatewayStruct) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)
- func (s *GatewayStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
- func (s *GatewayStruct) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)
- func (s *GatewayStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
- func (s *GatewayStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
- func (s *GatewayStruct) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *GatewayStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *GatewayStruct) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
- func (s *GatewayStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *GatewayStruct) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)
- func (s *GatewayStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
- func (s *GatewayStruct) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
- func (s *GatewayStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
- func (s *GatewayStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
- func (s *GatewayStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (types.BigInt, error)
- func (s *GatewayStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error)
- func (s *GatewayStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
- func (s *GatewayStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *GatewayStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
- func (s *GatewayStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *GatewayStruct) MsigGetAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *GatewayStruct) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
- func (s *GatewayStruct) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)
- func (s *GatewayStruct) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
- func (s *GatewayStruct) NetListening(p0 context.Context) (bool, error)
- func (s *GatewayStruct) NetVersion(p0 context.Context) (string, error)
- func (s *GatewayStruct) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *GatewayStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
- func (s *GatewayStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
- func (s *GatewayStruct) StateDecodeParams(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, ...) (interface{}, error)
- func (s *GatewayStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *GatewayStruct) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *GatewayStruct) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *GatewayStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
- func (s *GatewayStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
- func (s *GatewayStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error)
- func (s *GatewayStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
- func (s *GatewayStruct) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *GatewayStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
- func (s *GatewayStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *GatewayStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
- func (s *GatewayStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
- func (s *GatewayStruct) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
- func (s *GatewayStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *GatewayStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *GatewayStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *GatewayStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *GatewayStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *GatewayStruct) Version(p0 context.Context) (APIVersion, error)
- func (s *GatewayStruct) WalletBalance(p0 context.Context, p1 address.Address) (types.BigInt, error)
- func (s *GatewayStruct) Web3ClientVersion(p0 context.Context) (string, error)
- type GatewayStub
- func (s *GatewayStub) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *GatewayStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
- func (s *GatewayStub) ChainGetGenesis(p0 context.Context) (*types.TipSet, error)
- func (s *GatewayStub) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)
- func (s *GatewayStub) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
- func (s *GatewayStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *GatewayStub) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
- func (s *GatewayStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *GatewayStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *GatewayStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *GatewayStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *GatewayStub) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *GatewayStub) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
- func (s *GatewayStub) ChainPutObj(p0 context.Context, p1 blocks.Block) error
- func (s *GatewayStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *GatewayStub) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
- func (s *GatewayStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
- func (s *GatewayStub) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *GatewayStub) EthChainId(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthEstimateGas(p0 context.Context, p1 ethtypes.EthCall) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
- func (s *GatewayStub) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *GatewayStub) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
- func (s *GatewayStub) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error)
- func (s *GatewayStub) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error)
- func (s *GatewayStub) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
- func (s *GatewayStub) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *GatewayStub) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
- func (s *GatewayStub) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
- func (s *GatewayStub) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error)
- func (s *GatewayStub) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, ...) (ethtypes.EthBytes, error)
- func (s *GatewayStub) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error)
- func (s *GatewayStub) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
- func (s *GatewayStub) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error)
- func (s *GatewayStub) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
- func (s *GatewayStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
- func (s *GatewayStub) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error)
- func (s *GatewayStub) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *GatewayStub) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
- func (s *GatewayStub) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
- func (s *GatewayStub) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error)
- func (s *GatewayStub) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
- func (s *GatewayStub) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
- func (s *GatewayStub) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
- func (s *GatewayStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
- func (s *GatewayStub) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (types.BigInt, error)
- func (s *GatewayStub) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error)
- func (s *GatewayStub) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
- func (s *GatewayStub) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *GatewayStub) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
- func (s *GatewayStub) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *GatewayStub) MsigGetAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *GatewayStub) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
- func (s *GatewayStub) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)
- func (s *GatewayStub) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
- func (s *GatewayStub) NetListening(p0 context.Context) (bool, error)
- func (s *GatewayStub) NetVersion(p0 context.Context) (string, error)
- func (s *GatewayStub) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *GatewayStub) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
- func (s *GatewayStub) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
- func (s *GatewayStub) StateDecodeParams(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, ...) (interface{}, error)
- func (s *GatewayStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *GatewayStub) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *GatewayStub) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *GatewayStub) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
- func (s *GatewayStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
- func (s *GatewayStub) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error)
- func (s *GatewayStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
- func (s *GatewayStub) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *GatewayStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
- func (s *GatewayStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *GatewayStub) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
- func (s *GatewayStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
- func (s *GatewayStub) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
- func (s *GatewayStub) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *GatewayStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *GatewayStub) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *GatewayStub) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *GatewayStub) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
- func (s *GatewayStub) Version(p0 context.Context) (APIVersion, error)
- func (s *GatewayStub) WalletBalance(p0 context.Context, p1 address.Address) (types.BigInt, error)
- func (s *GatewayStub) Web3ClientVersion(p0 context.Context) (string, error)
- type GraphSyncDataTransfer
- type HeadChange
- type HotGCOpts
- type Import
- type ImportRes
- type InvocResult
- type IpldObject
- type MarketBalance
- type MarketDeal
- type Message
- type MessageCheckStatus
- type MessageMatch
- type MessagePrototype
- type MessageSendSpec
- type MethodCall
- type MinerInfo
- type MinerPower
- type MinerSectors
- type MinerSubsystem
- type MinerSubsystems
- type MiningBaseInfo
- type MpoolChange
- type MpoolMessageWhole
- type MpoolUpdate
- type MsgGasCost
- type MsgLookup
- type MsgMeta
- type MsgType
- type MsgUuidMapType
- type MsigProposeResponse
- type MsigTransaction
- type MsigVesting
- type MultiaddrSlice
- type NatInfo
- type Net
- type NetBlockList
- type NetLimit
- type NetMethods
- type NetStat
- type NetStruct
- func (s *NetStruct) ID(p0 context.Context) (peer.ID, error)
- func (s *NetStruct) NetAddrsListen(p0 context.Context) (peer.AddrInfo, error)
- func (s *NetStruct) NetAgentVersion(p0 context.Context, p1 peer.ID) (string, error)
- func (s *NetStruct) NetAutoNatStatus(p0 context.Context) (NatInfo, error)
- func (s *NetStruct) NetBandwidthStats(p0 context.Context) (metrics.Stats, error)
- func (s *NetStruct) NetBandwidthStatsByPeer(p0 context.Context) (map[string]metrics.Stats, error)
- func (s *NetStruct) NetBandwidthStatsByProtocol(p0 context.Context) (map[protocol.ID]metrics.Stats, error)
- func (s *NetStruct) NetBlockAdd(p0 context.Context, p1 NetBlockList) error
- func (s *NetStruct) NetBlockList(p0 context.Context) (NetBlockList, error)
- func (s *NetStruct) NetBlockRemove(p0 context.Context, p1 NetBlockList) error
- func (s *NetStruct) NetConnect(p0 context.Context, p1 peer.AddrInfo) error
- func (s *NetStruct) NetConnectedness(p0 context.Context, p1 peer.ID) (network.Connectedness, error)
- func (s *NetStruct) NetDisconnect(p0 context.Context, p1 peer.ID) error
- func (s *NetStruct) NetFindPeer(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error)
- func (s *NetStruct) NetLimit(p0 context.Context, p1 string) (NetLimit, error)
- func (s *NetStruct) NetPeerInfo(p0 context.Context, p1 peer.ID) (*ExtendedPeerInfo, error)
- func (s *NetStruct) NetPeers(p0 context.Context) ([]peer.AddrInfo, error)
- func (s *NetStruct) NetPing(p0 context.Context, p1 peer.ID) (time.Duration, error)
- func (s *NetStruct) NetProtectAdd(p0 context.Context, p1 []peer.ID) error
- func (s *NetStruct) NetProtectList(p0 context.Context) ([]peer.ID, error)
- func (s *NetStruct) NetProtectRemove(p0 context.Context, p1 []peer.ID) error
- func (s *NetStruct) NetPubsubScores(p0 context.Context) ([]PubsubScore, error)
- func (s *NetStruct) NetSetLimit(p0 context.Context, p1 string, p2 NetLimit) error
- func (s *NetStruct) NetStat(p0 context.Context, p1 string) (NetStat, error)
- type NetStub
- func (s *NetStub) ID(p0 context.Context) (peer.ID, error)
- func (s *NetStub) NetAddrsListen(p0 context.Context) (peer.AddrInfo, error)
- func (s *NetStub) NetAgentVersion(p0 context.Context, p1 peer.ID) (string, error)
- func (s *NetStub) NetAutoNatStatus(p0 context.Context) (NatInfo, error)
- func (s *NetStub) NetBandwidthStats(p0 context.Context) (metrics.Stats, error)
- func (s *NetStub) NetBandwidthStatsByPeer(p0 context.Context) (map[string]metrics.Stats, error)
- func (s *NetStub) NetBandwidthStatsByProtocol(p0 context.Context) (map[protocol.ID]metrics.Stats, error)
- func (s *NetStub) NetBlockAdd(p0 context.Context, p1 NetBlockList) error
- func (s *NetStub) NetBlockList(p0 context.Context) (NetBlockList, error)
- func (s *NetStub) NetBlockRemove(p0 context.Context, p1 NetBlockList) error
- func (s *NetStub) NetConnect(p0 context.Context, p1 peer.AddrInfo) error
- func (s *NetStub) NetConnectedness(p0 context.Context, p1 peer.ID) (network.Connectedness, error)
- func (s *NetStub) NetDisconnect(p0 context.Context, p1 peer.ID) error
- func (s *NetStub) NetFindPeer(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error)
- func (s *NetStub) NetLimit(p0 context.Context, p1 string) (NetLimit, error)
- func (s *NetStub) NetPeerInfo(p0 context.Context, p1 peer.ID) (*ExtendedPeerInfo, error)
- func (s *NetStub) NetPeers(p0 context.Context) ([]peer.AddrInfo, error)
- func (s *NetStub) NetPing(p0 context.Context, p1 peer.ID) (time.Duration, error)
- func (s *NetStub) NetProtectAdd(p0 context.Context, p1 []peer.ID) error
- func (s *NetStub) NetProtectList(p0 context.Context) ([]peer.ID, error)
- func (s *NetStub) NetProtectRemove(p0 context.Context, p1 []peer.ID) error
- func (s *NetStub) NetPubsubScores(p0 context.Context) ([]PubsubScore, error)
- func (s *NetStub) NetSetLimit(p0 context.Context, p1 string, p2 NetLimit) error
- func (s *NetStub) NetStat(p0 context.Context, p1 string) (NetStat, error)
- type NetworkParams
- type NodeChainStatus
- type NodePeerStatus
- type NodeStatus
- type NodeSyncStatus
- type NodeType
- type NonceMapType
- type NumAssignerMeta
- type ObjStat
- type PCHDir
- type Partition
- type PaychGetOpts
- type PaychStatus
- type PaymentInfo
- type PendingDealInfo
- type PieceDealInfo
- type PruneOpts
- type PubsubScore
- type QueryOffer
- type RaftStateData
- type RemoteCommit1Params
- type RemoteCommit2Params
- type RemoteSealingDoneParams
- type RemoteSectorMeta
- type RemoteStoreID
- type RestrievalRes
- type RetrievalInfo
- type RetrievalOrder
- type SealRes
- type SealSeed
- type SealTicket
- type SealedRef
- type SealedRefs
- type SectorInfo
- type SectorLog
- type SectorOffset
- type SectorPiece
- type SectorState
- type Selector
- type SignFunc
- type Signable
- type SignableMethods
- type SignableStruct
- type SignableStub
- type Signer
- type StartDealParams
- type StorageAsk
- type StorageMiner
- type StorageMinerMethods
- type StorageMinerStruct
- func (s *StorageMinerStruct) ActorAddress(p0 context.Context) (address.Address, error)
- func (s *StorageMinerStruct) ActorAddressConfig(p0 context.Context) (AddressConfig, error)
- func (s *StorageMinerStruct) ActorSectorSize(p0 context.Context, p1 address.Address) (abi.SectorSize, error)
- func (s *StorageMinerStruct) ActorWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
- func (s *StorageMinerStruct) BeneficiaryWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
- func (s *StorageMinerStruct) CheckProvable(p0 context.Context, p1 abi.RegisteredPoStProof, p2 []storiface.SectorRef) (map[abi.SectorNumber]string, error)
- func (s *StorageMinerStruct) ComputeDataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (abi.PieceInfo, error)
- func (s *StorageMinerStruct) ComputeProof(p0 context.Context, p1 []builtinactors.ExtendedSectorInfo, ...) ([]builtinactors.PoStProof, error)
- func (s *StorageMinerStruct) ComputeWindowPoSt(p0 context.Context, p1 uint64, p2 types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error)
- func (s *StorageMinerStruct) CreateBackup(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) DagstoreGC(p0 context.Context) ([]DagstoreShardResult, error)
- func (s *StorageMinerStruct) DagstoreInitializeAll(p0 context.Context, p1 DagstoreInitializeAllParams) (<-chan DagstoreInitializeAllEvent, error)
- func (s *StorageMinerStruct) DagstoreInitializeShard(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) DagstoreListShards(p0 context.Context) ([]DagstoreShardInfo, error)
- func (s *StorageMinerStruct) DagstoreLookupPieces(p0 context.Context, p1 cid.Cid) ([]DagstoreShardInfo, error)
- func (s *StorageMinerStruct) DagstoreRecoverShard(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) DagstoreRegisterShard(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) DealsConsiderOfflineRetrievalDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStruct) DealsConsiderOfflineStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStruct) DealsConsiderOnlineRetrievalDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStruct) DealsConsiderOnlineStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStruct) DealsConsiderUnverifiedStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStruct) DealsConsiderVerifiedStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStruct) DealsImportData(p0 context.Context, p1 cid.Cid, p2 string) error
- func (s *StorageMinerStruct) DealsList(p0 context.Context) ([]*MarketDeal, error)
- func (s *StorageMinerStruct) DealsPieceCidBlocklist(p0 context.Context) ([]cid.Cid, error)
- func (s *StorageMinerStruct) DealsSetConsiderOfflineRetrievalDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStruct) DealsSetConsiderOfflineStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStruct) DealsSetConsiderOnlineRetrievalDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStruct) DealsSetConsiderOnlineStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStruct) DealsSetConsiderUnverifiedStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStruct) DealsSetConsiderVerifiedStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStruct) DealsSetPieceCidBlocklist(p0 context.Context, p1 []cid.Cid) error
- func (s *StorageMinerStruct) IndexerAnnounceAllDeals(p0 context.Context) error
- func (s *StorageMinerStruct) IndexerAnnounceDeal(p0 context.Context, p1 cid.Cid) error
- func (s *StorageMinerStruct) MarketCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *StorageMinerStruct) MarketDataTransferDiagnostics(p0 context.Context, p1 peer.ID) (*TransferDiagnostics, error)
- func (s *StorageMinerStruct) MarketDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
- func (s *StorageMinerStruct) MarketGetAsk(p0 context.Context) (*storagemarket.SignedStorageAsk, error)
- func (s *StorageMinerStruct) MarketGetDealUpdates(p0 context.Context) (<-chan storagemarket.MinerDeal, error)
- func (s *StorageMinerStruct) MarketGetRetrievalAsk(p0 context.Context) (*retrievalmarket.Ask, error)
- func (s *StorageMinerStruct) MarketImportDealData(p0 context.Context, p1 cid.Cid, p2 string) error
- func (s *StorageMinerStruct) MarketListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
- func (s *StorageMinerStruct) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
- func (s *StorageMinerStruct) MarketListIncompleteDeals(p0 context.Context) ([]storagemarket.MinerDeal, error)
- func (s *StorageMinerStruct) MarketListRetrievalDeals(p0 context.Context) ([]struct{}, error)
- func (s *StorageMinerStruct) MarketPendingDeals(p0 context.Context) (PendingDealInfo, error)
- func (s *StorageMinerStruct) MarketPublishPendingDeals(p0 context.Context) error
- func (s *StorageMinerStruct) MarketRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *StorageMinerStruct) MarketRetryPublishDeal(p0 context.Context, p1 cid.Cid) error
- func (s *StorageMinerStruct) MarketSetAsk(p0 context.Context, p1 types.BigInt, p2 types.BigInt, p3 abi.ChainEpoch, ...) error
- func (s *StorageMinerStruct) MarketSetRetrievalAsk(p0 context.Context, p1 *retrievalmarket.Ask) error
- func (s *StorageMinerStruct) MiningBase(p0 context.Context) (*types.TipSet, error)
- func (s *StorageMinerStruct) PiecesGetCIDInfo(p0 context.Context, p1 cid.Cid) (*piecestore.CIDInfo, error)
- func (s *StorageMinerStruct) PiecesGetPieceInfo(p0 context.Context, p1 cid.Cid) (*piecestore.PieceInfo, error)
- func (s *StorageMinerStruct) PiecesListCidInfos(p0 context.Context) ([]cid.Cid, error)
- func (s *StorageMinerStruct) PiecesListPieces(p0 context.Context) ([]cid.Cid, error)
- func (s *StorageMinerStruct) PledgeSector(p0 context.Context) (abi.SectorID, error)
- func (s *StorageMinerStruct) RecoverFault(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error)
- func (s *StorageMinerStruct) ReturnAddPiece(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, ...) error
- func (s *StorageMinerStruct) ReturnDataCid(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, ...) error
- func (s *StorageMinerStruct) ReturnDownloadSector(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnFetch(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnFinalizeReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnFinalizeSector(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnGenerateSectorKeyFromData(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnMoveStorage(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnProveReplicaUpdate1(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaVanillaProofs, ...) error
- func (s *StorageMinerStruct) ReturnProveReplicaUpdate2(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateProof, ...) error
- func (s *StorageMinerStruct) ReturnReadPiece(p0 context.Context, p1 storiface.CallID, p2 bool, p3 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnReleaseUnsealed(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) ReturnReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateOut, ...) error
- func (s *StorageMinerStruct) ReturnSealCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.Commit1Out, ...) error
- func (s *StorageMinerStruct) ReturnSealCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, ...) error
- func (s *StorageMinerStruct) ReturnSealPreCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, ...) error
- func (s *StorageMinerStruct) ReturnSealPreCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, ...) error
- func (s *StorageMinerStruct) ReturnUnsealPiece(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStruct) RuntimeSubsystems(p0 context.Context) (MinerSubsystems, error)
- func (s *StorageMinerStruct) SealingAbort(p0 context.Context, p1 storiface.CallID) error
- func (s *StorageMinerStruct) SealingRemoveRequest(p0 context.Context, p1 uuid.UUID) error
- func (s *StorageMinerStruct) SealingSchedDiag(p0 context.Context, p1 bool) (interface{}, error)
- func (s *StorageMinerStruct) SectorAbortUpgrade(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStruct) SectorAddPieceToAny(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data, ...) (SectorOffset, error)
- func (s *StorageMinerStruct) SectorCommitFlush(p0 context.Context) ([]sealiface.CommitBatchRes, error)
- func (s *StorageMinerStruct) SectorCommitPending(p0 context.Context) ([]abi.SectorID, error)
- func (s *StorageMinerStruct) SectorGetExpectedSealDuration(p0 context.Context) (time.Duration, error)
- func (s *StorageMinerStruct) SectorGetSealDelay(p0 context.Context) (time.Duration, error)
- func (s *StorageMinerStruct) SectorMarkForUpgrade(p0 context.Context, p1 abi.SectorNumber, p2 bool) error
- func (s *StorageMinerStruct) SectorMatchPendingPiecesToOpenSectors(p0 context.Context) error
- func (s *StorageMinerStruct) SectorNumAssignerMeta(p0 context.Context) (NumAssignerMeta, error)
- func (s *StorageMinerStruct) SectorNumFree(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) SectorNumReservations(p0 context.Context) (map[string]bitfield.BitField, error)
- func (s *StorageMinerStruct) SectorNumReserve(p0 context.Context, p1 string, p2 bitfield.BitField, p3 bool) error
- func (s *StorageMinerStruct) SectorNumReserveCount(p0 context.Context, p1 string, p2 uint64) (bitfield.BitField, error)
- func (s *StorageMinerStruct) SectorPreCommitFlush(p0 context.Context) ([]sealiface.PreCommitBatchRes, error)
- func (s *StorageMinerStruct) SectorPreCommitPending(p0 context.Context) ([]abi.SectorID, error)
- func (s *StorageMinerStruct) SectorReceive(p0 context.Context, p1 RemoteSectorMeta) error
- func (s *StorageMinerStruct) SectorRemove(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStruct) SectorSetExpectedSealDuration(p0 context.Context, p1 time.Duration) error
- func (s *StorageMinerStruct) SectorSetSealDelay(p0 context.Context, p1 time.Duration) error
- func (s *StorageMinerStruct) SectorStartSealing(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStruct) SectorTerminate(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStruct) SectorTerminateFlush(p0 context.Context) (*cid.Cid, error)
- func (s *StorageMinerStruct) SectorTerminatePending(p0 context.Context) ([]abi.SectorID, error)
- func (s *StorageMinerStruct) SectorUnseal(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStruct) SectorsList(p0 context.Context) ([]abi.SectorNumber, error)
- func (s *StorageMinerStruct) SectorsListInStates(p0 context.Context, p1 []SectorState) ([]abi.SectorNumber, error)
- func (s *StorageMinerStruct) SectorsRefs(p0 context.Context) (map[string][]SealedRef, error)
- func (s *StorageMinerStruct) SectorsStatus(p0 context.Context, p1 abi.SectorNumber, p2 bool) (SectorInfo, error)
- func (s *StorageMinerStruct) SectorsSummary(p0 context.Context) (map[SectorState]int, error)
- func (s *StorageMinerStruct) SectorsUnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, ...) error
- func (s *StorageMinerStruct) SectorsUpdate(p0 context.Context, p1 abi.SectorNumber, p2 SectorState) error
- func (s *StorageMinerStruct) StorageAddLocal(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) StorageAttach(p0 context.Context, p1 storiface.StorageInfo, p2 fsutil.FsStat) error
- func (s *StorageMinerStruct) StorageAuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
- func (s *StorageMinerStruct) StorageBestAlloc(p0 context.Context, p1 storiface.SectorFileType, p2 abi.SectorSize, ...) ([]storiface.StorageInfo, error)
- func (s *StorageMinerStruct) StorageDeclareSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, ...) error
- func (s *StorageMinerStruct) StorageDetach(p0 context.Context, p1 storiface.ID, p2 string) error
- func (s *StorageMinerStruct) StorageDetachLocal(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) StorageDropSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, ...) error
- func (s *StorageMinerStruct) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) ([]storiface.SectorStorageInfo, error)
- func (s *StorageMinerStruct) StorageGetLocks(p0 context.Context) (storiface.SectorLocks, error)
- func (s *StorageMinerStruct) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
- func (s *StorageMinerStruct) StorageList(p0 context.Context) (map[storiface.ID][]storiface.Decl, error)
- func (s *StorageMinerStruct) StorageLocal(p0 context.Context) (map[storiface.ID]string, error)
- func (s *StorageMinerStruct) StorageLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) error
- func (s *StorageMinerStruct) StorageRedeclareLocal(p0 context.Context, p1 *storiface.ID, p2 bool) error
- func (s *StorageMinerStruct) StorageReportHealth(p0 context.Context, p1 storiface.ID, p2 storiface.HealthReport) error
- func (s *StorageMinerStruct) StorageStat(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error)
- func (s *StorageMinerStruct) StorageTryLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) (bool, error)
- func (s *StorageMinerStruct) WorkerConnect(p0 context.Context, p1 string) error
- func (s *StorageMinerStruct) WorkerJobs(p0 context.Context) (map[uuid.UUID][]storiface.WorkerJob, error)
- func (s *StorageMinerStruct) WorkerStats(p0 context.Context) (map[uuid.UUID]storiface.WorkerStats, error)
- type StorageMinerStub
- func (s *StorageMinerStub) ActorAddress(p0 context.Context) (address.Address, error)
- func (s *StorageMinerStub) ActorAddressConfig(p0 context.Context) (AddressConfig, error)
- func (s *StorageMinerStub) ActorSectorSize(p0 context.Context, p1 address.Address) (abi.SectorSize, error)
- func (s *StorageMinerStub) ActorWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
- func (s *StorageMinerStub) BeneficiaryWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
- func (s *StorageMinerStub) CheckProvable(p0 context.Context, p1 abi.RegisteredPoStProof, p2 []storiface.SectorRef) (map[abi.SectorNumber]string, error)
- func (s *StorageMinerStub) ComputeDataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (abi.PieceInfo, error)
- func (s *StorageMinerStub) ComputeProof(p0 context.Context, p1 []builtinactors.ExtendedSectorInfo, ...) ([]builtinactors.PoStProof, error)
- func (s *StorageMinerStub) ComputeWindowPoSt(p0 context.Context, p1 uint64, p2 types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error)
- func (s *StorageMinerStub) CreateBackup(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) DagstoreGC(p0 context.Context) ([]DagstoreShardResult, error)
- func (s *StorageMinerStub) DagstoreInitializeAll(p0 context.Context, p1 DagstoreInitializeAllParams) (<-chan DagstoreInitializeAllEvent, error)
- func (s *StorageMinerStub) DagstoreInitializeShard(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) DagstoreListShards(p0 context.Context) ([]DagstoreShardInfo, error)
- func (s *StorageMinerStub) DagstoreLookupPieces(p0 context.Context, p1 cid.Cid) ([]DagstoreShardInfo, error)
- func (s *StorageMinerStub) DagstoreRecoverShard(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) DagstoreRegisterShard(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) DealsConsiderOfflineRetrievalDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStub) DealsConsiderOfflineStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStub) DealsConsiderOnlineRetrievalDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStub) DealsConsiderOnlineStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStub) DealsConsiderUnverifiedStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStub) DealsConsiderVerifiedStorageDeals(p0 context.Context) (bool, error)
- func (s *StorageMinerStub) DealsImportData(p0 context.Context, p1 cid.Cid, p2 string) error
- func (s *StorageMinerStub) DealsList(p0 context.Context) ([]*MarketDeal, error)
- func (s *StorageMinerStub) DealsPieceCidBlocklist(p0 context.Context) ([]cid.Cid, error)
- func (s *StorageMinerStub) DealsSetConsiderOfflineRetrievalDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStub) DealsSetConsiderOfflineStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStub) DealsSetConsiderOnlineRetrievalDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStub) DealsSetConsiderOnlineStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStub) DealsSetConsiderUnverifiedStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStub) DealsSetConsiderVerifiedStorageDeals(p0 context.Context, p1 bool) error
- func (s *StorageMinerStub) DealsSetPieceCidBlocklist(p0 context.Context, p1 []cid.Cid) error
- func (s *StorageMinerStub) IndexerAnnounceAllDeals(p0 context.Context) error
- func (s *StorageMinerStub) IndexerAnnounceDeal(p0 context.Context, p1 cid.Cid) error
- func (s *StorageMinerStub) MarketCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *StorageMinerStub) MarketDataTransferDiagnostics(p0 context.Context, p1 peer.ID) (*TransferDiagnostics, error)
- func (s *StorageMinerStub) MarketDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
- func (s *StorageMinerStub) MarketGetAsk(p0 context.Context) (*storagemarket.SignedStorageAsk, error)
- func (s *StorageMinerStub) MarketGetDealUpdates(p0 context.Context) (<-chan storagemarket.MinerDeal, error)
- func (s *StorageMinerStub) MarketGetRetrievalAsk(p0 context.Context) (*retrievalmarket.Ask, error)
- func (s *StorageMinerStub) MarketImportDealData(p0 context.Context, p1 cid.Cid, p2 string) error
- func (s *StorageMinerStub) MarketListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
- func (s *StorageMinerStub) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
- func (s *StorageMinerStub) MarketListIncompleteDeals(p0 context.Context) ([]storagemarket.MinerDeal, error)
- func (s *StorageMinerStub) MarketListRetrievalDeals(p0 context.Context) ([]struct{}, error)
- func (s *StorageMinerStub) MarketPendingDeals(p0 context.Context) (PendingDealInfo, error)
- func (s *StorageMinerStub) MarketPublishPendingDeals(p0 context.Context) error
- func (s *StorageMinerStub) MarketRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
- func (s *StorageMinerStub) MarketRetryPublishDeal(p0 context.Context, p1 cid.Cid) error
- func (s *StorageMinerStub) MarketSetAsk(p0 context.Context, p1 types.BigInt, p2 types.BigInt, p3 abi.ChainEpoch, ...) error
- func (s *StorageMinerStub) MarketSetRetrievalAsk(p0 context.Context, p1 *retrievalmarket.Ask) error
- func (s *StorageMinerStub) MiningBase(p0 context.Context) (*types.TipSet, error)
- func (s *StorageMinerStub) PiecesGetCIDInfo(p0 context.Context, p1 cid.Cid) (*piecestore.CIDInfo, error)
- func (s *StorageMinerStub) PiecesGetPieceInfo(p0 context.Context, p1 cid.Cid) (*piecestore.PieceInfo, error)
- func (s *StorageMinerStub) PiecesListCidInfos(p0 context.Context) ([]cid.Cid, error)
- func (s *StorageMinerStub) PiecesListPieces(p0 context.Context) ([]cid.Cid, error)
- func (s *StorageMinerStub) PledgeSector(p0 context.Context) (abi.SectorID, error)
- func (s *StorageMinerStub) RecoverFault(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error)
- func (s *StorageMinerStub) ReturnAddPiece(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, ...) error
- func (s *StorageMinerStub) ReturnDataCid(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, ...) error
- func (s *StorageMinerStub) ReturnDownloadSector(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnFetch(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnFinalizeReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnFinalizeSector(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnGenerateSectorKeyFromData(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnMoveStorage(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnProveReplicaUpdate1(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaVanillaProofs, ...) error
- func (s *StorageMinerStub) ReturnProveReplicaUpdate2(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateProof, ...) error
- func (s *StorageMinerStub) ReturnReadPiece(p0 context.Context, p1 storiface.CallID, p2 bool, p3 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnReleaseUnsealed(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) ReturnReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateOut, ...) error
- func (s *StorageMinerStub) ReturnSealCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.Commit1Out, ...) error
- func (s *StorageMinerStub) ReturnSealCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, ...) error
- func (s *StorageMinerStub) ReturnSealPreCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, ...) error
- func (s *StorageMinerStub) ReturnSealPreCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, ...) error
- func (s *StorageMinerStub) ReturnUnsealPiece(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error
- func (s *StorageMinerStub) RuntimeSubsystems(p0 context.Context) (MinerSubsystems, error)
- func (s *StorageMinerStub) SealingAbort(p0 context.Context, p1 storiface.CallID) error
- func (s *StorageMinerStub) SealingRemoveRequest(p0 context.Context, p1 uuid.UUID) error
- func (s *StorageMinerStub) SealingSchedDiag(p0 context.Context, p1 bool) (interface{}, error)
- func (s *StorageMinerStub) SectorAbortUpgrade(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStub) SectorAddPieceToAny(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data, ...) (SectorOffset, error)
- func (s *StorageMinerStub) SectorCommitFlush(p0 context.Context) ([]sealiface.CommitBatchRes, error)
- func (s *StorageMinerStub) SectorCommitPending(p0 context.Context) ([]abi.SectorID, error)
- func (s *StorageMinerStub) SectorGetExpectedSealDuration(p0 context.Context) (time.Duration, error)
- func (s *StorageMinerStub) SectorGetSealDelay(p0 context.Context) (time.Duration, error)
- func (s *StorageMinerStub) SectorMarkForUpgrade(p0 context.Context, p1 abi.SectorNumber, p2 bool) error
- func (s *StorageMinerStub) SectorMatchPendingPiecesToOpenSectors(p0 context.Context) error
- func (s *StorageMinerStub) SectorNumAssignerMeta(p0 context.Context) (NumAssignerMeta, error)
- func (s *StorageMinerStub) SectorNumFree(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) SectorNumReservations(p0 context.Context) (map[string]bitfield.BitField, error)
- func (s *StorageMinerStub) SectorNumReserve(p0 context.Context, p1 string, p2 bitfield.BitField, p3 bool) error
- func (s *StorageMinerStub) SectorNumReserveCount(p0 context.Context, p1 string, p2 uint64) (bitfield.BitField, error)
- func (s *StorageMinerStub) SectorPreCommitFlush(p0 context.Context) ([]sealiface.PreCommitBatchRes, error)
- func (s *StorageMinerStub) SectorPreCommitPending(p0 context.Context) ([]abi.SectorID, error)
- func (s *StorageMinerStub) SectorReceive(p0 context.Context, p1 RemoteSectorMeta) error
- func (s *StorageMinerStub) SectorRemove(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStub) SectorSetExpectedSealDuration(p0 context.Context, p1 time.Duration) error
- func (s *StorageMinerStub) SectorSetSealDelay(p0 context.Context, p1 time.Duration) error
- func (s *StorageMinerStub) SectorStartSealing(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStub) SectorTerminate(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStub) SectorTerminateFlush(p0 context.Context) (*cid.Cid, error)
- func (s *StorageMinerStub) SectorTerminatePending(p0 context.Context) ([]abi.SectorID, error)
- func (s *StorageMinerStub) SectorUnseal(p0 context.Context, p1 abi.SectorNumber) error
- func (s *StorageMinerStub) SectorsList(p0 context.Context) ([]abi.SectorNumber, error)
- func (s *StorageMinerStub) SectorsListInStates(p0 context.Context, p1 []SectorState) ([]abi.SectorNumber, error)
- func (s *StorageMinerStub) SectorsRefs(p0 context.Context) (map[string][]SealedRef, error)
- func (s *StorageMinerStub) SectorsStatus(p0 context.Context, p1 abi.SectorNumber, p2 bool) (SectorInfo, error)
- func (s *StorageMinerStub) SectorsSummary(p0 context.Context) (map[SectorState]int, error)
- func (s *StorageMinerStub) SectorsUnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, ...) error
- func (s *StorageMinerStub) SectorsUpdate(p0 context.Context, p1 abi.SectorNumber, p2 SectorState) error
- func (s *StorageMinerStub) StorageAddLocal(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) StorageAttach(p0 context.Context, p1 storiface.StorageInfo, p2 fsutil.FsStat) error
- func (s *StorageMinerStub) StorageAuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
- func (s *StorageMinerStub) StorageBestAlloc(p0 context.Context, p1 storiface.SectorFileType, p2 abi.SectorSize, ...) ([]storiface.StorageInfo, error)
- func (s *StorageMinerStub) StorageDeclareSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, ...) error
- func (s *StorageMinerStub) StorageDetach(p0 context.Context, p1 storiface.ID, p2 string) error
- func (s *StorageMinerStub) StorageDetachLocal(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) StorageDropSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, ...) error
- func (s *StorageMinerStub) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) ([]storiface.SectorStorageInfo, error)
- func (s *StorageMinerStub) StorageGetLocks(p0 context.Context) (storiface.SectorLocks, error)
- func (s *StorageMinerStub) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
- func (s *StorageMinerStub) StorageList(p0 context.Context) (map[storiface.ID][]storiface.Decl, error)
- func (s *StorageMinerStub) StorageLocal(p0 context.Context) (map[storiface.ID]string, error)
- func (s *StorageMinerStub) StorageLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) error
- func (s *StorageMinerStub) StorageRedeclareLocal(p0 context.Context, p1 *storiface.ID, p2 bool) error
- func (s *StorageMinerStub) StorageReportHealth(p0 context.Context, p1 storiface.ID, p2 storiface.HealthReport) error
- func (s *StorageMinerStub) StorageStat(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error)
- func (s *StorageMinerStub) StorageTryLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) (bool, error)
- func (s *StorageMinerStub) WorkerConnect(p0 context.Context, p1 string) error
- func (s *StorageMinerStub) WorkerJobs(p0 context.Context) (map[uuid.UUID][]storiface.WorkerJob, error)
- func (s *StorageMinerStub) WorkerStats(p0 context.Context) (map[uuid.UUID]storiface.WorkerStats, error)
- type SyncState
- type SyncStateStage
- type TransferDiagnostics
- type Version
- type VoucherCreateResult
- type VoucherSpec
- type Wallet
- type WalletMethods
- type WalletStruct
- func (s *WalletStruct) WalletDelete(p0 context.Context, p1 address.Address) error
- func (s *WalletStruct) WalletExport(p0 context.Context, p1 address.Address) (*types.KeyInfo, error)
- func (s *WalletStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *WalletStruct) WalletImport(p0 context.Context, p1 *types.KeyInfo) (address.Address, error)
- func (s *WalletStruct) WalletList(p0 context.Context) ([]address.Address, error)
- func (s *WalletStruct) WalletNew(p0 context.Context, p1 types.KeyType) (address.Address, error)
- func (s *WalletStruct) WalletSign(p0 context.Context, p1 address.Address, p2 []byte, p3 MsgMeta) (*crypto.Signature, error)
- type WalletStub
- func (s *WalletStub) WalletDelete(p0 context.Context, p1 address.Address) error
- func (s *WalletStub) WalletExport(p0 context.Context, p1 address.Address) (*types.KeyInfo, error)
- func (s *WalletStub) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *WalletStub) WalletImport(p0 context.Context, p1 *types.KeyInfo) (address.Address, error)
- func (s *WalletStub) WalletList(p0 context.Context) ([]address.Address, error)
- func (s *WalletStub) WalletNew(p0 context.Context, p1 types.KeyType) (address.Address, error)
- func (s *WalletStub) WalletSign(p0 context.Context, p1 address.Address, p2 []byte, p3 MsgMeta) (*crypto.Signature, error)
- type Worker
- type WorkerMethods
- type WorkerStruct
- func (s *WorkerStruct) AddPiece(p0 context.Context, p1 storiface.SectorRef, p2 []abi.UnpaddedPieceSize, ...) (storiface.CallID, error)
- func (s *WorkerStruct) DataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (storiface.CallID, error)
- func (s *WorkerStruct) DownloadSectorData(p0 context.Context, p1 storiface.SectorRef, p2 bool, ...) (storiface.CallID, error)
- func (s *WorkerStruct) Enabled(p0 context.Context) (bool, error)
- func (s *WorkerStruct) Fetch(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType, ...) (storiface.CallID, error)
- func (s *WorkerStruct) FinalizeReplicaUpdate(p0 context.Context, p1 storiface.SectorRef) (storiface.CallID, error)
- func (s *WorkerStruct) FinalizeSector(p0 context.Context, p1 storiface.SectorRef) (storiface.CallID, error)
- func (s *WorkerStruct) GenerateSectorKeyFromData(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid) (storiface.CallID, error)
- func (s *WorkerStruct) GenerateWindowPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, ...) (storiface.WindowPoStResult, error)
- func (s *WorkerStruct) GenerateWinningPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, ...) ([]proof.PoStProof, error)
- func (s *WorkerStruct) Info(p0 context.Context) (storiface.WorkerInfo, error)
- func (s *WorkerStruct) MoveStorage(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType) (storiface.CallID, error)
- func (s *WorkerStruct) Paths(p0 context.Context) ([]storiface.StoragePath, error)
- func (s *WorkerStruct) ProcessSession(p0 context.Context) (uuid.UUID, error)
- func (s *WorkerStruct) ProveReplicaUpdate1(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid) (storiface.CallID, error)
- func (s *WorkerStruct) ProveReplicaUpdate2(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid, ...) (storiface.CallID, error)
- func (s *WorkerStruct) ReleaseUnsealed(p0 context.Context, p1 storiface.SectorRef, p2 []storiface.Range) (storiface.CallID, error)
- func (s *WorkerStruct) Remove(p0 context.Context, p1 abi.SectorID) error
- func (s *WorkerStruct) ReplicaUpdate(p0 context.Context, p1 storiface.SectorRef, p2 []abi.PieceInfo) (storiface.CallID, error)
- func (s *WorkerStruct) SealCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, ...) (storiface.CallID, error)
- func (s *WorkerStruct) SealCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error)
- func (s *WorkerStruct) SealPreCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, ...) (storiface.CallID, error)
- func (s *WorkerStruct) SealPreCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.PreCommit1Out) (storiface.CallID, error)
- func (s *WorkerStruct) Session(p0 context.Context) (uuid.UUID, error)
- func (s *WorkerStruct) SetEnabled(p0 context.Context, p1 bool) error
- func (s *WorkerStruct) Shutdown(p0 context.Context) error
- func (s *WorkerStruct) StorageAddLocal(p0 context.Context, p1 string) error
- func (s *WorkerStruct) StorageDetachAll(p0 context.Context) error
- func (s *WorkerStruct) StorageDetachLocal(p0 context.Context, p1 string) error
- func (s *WorkerStruct) StorageLocal(p0 context.Context) (map[storiface.ID]string, error)
- func (s *WorkerStruct) StorageRedeclareLocal(p0 context.Context, p1 *storiface.ID, p2 bool) error
- func (s *WorkerStruct) TaskDisable(p0 context.Context, p1 sealtasks.TaskType) error
- func (s *WorkerStruct) TaskEnable(p0 context.Context, p1 sealtasks.TaskType) error
- func (s *WorkerStruct) TaskTypes(p0 context.Context) (map[sealtasks.TaskType]struct{}, error)
- func (s *WorkerStruct) UnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, ...) (storiface.CallID, error)
- func (s *WorkerStruct) Version(p0 context.Context) (Version, error)
- func (s *WorkerStruct) WaitQuiet(p0 context.Context) error
- type WorkerStub
- func (s *WorkerStub) AddPiece(p0 context.Context, p1 storiface.SectorRef, p2 []abi.UnpaddedPieceSize, ...) (storiface.CallID, error)
- func (s *WorkerStub) DataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (storiface.CallID, error)
- func (s *WorkerStub) DownloadSectorData(p0 context.Context, p1 storiface.SectorRef, p2 bool, ...) (storiface.CallID, error)
- func (s *WorkerStub) Enabled(p0 context.Context) (bool, error)
- func (s *WorkerStub) Fetch(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType, ...) (storiface.CallID, error)
- func (s *WorkerStub) FinalizeReplicaUpdate(p0 context.Context, p1 storiface.SectorRef) (storiface.CallID, error)
- func (s *WorkerStub) FinalizeSector(p0 context.Context, p1 storiface.SectorRef) (storiface.CallID, error)
- func (s *WorkerStub) GenerateSectorKeyFromData(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid) (storiface.CallID, error)
- func (s *WorkerStub) GenerateWindowPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, ...) (storiface.WindowPoStResult, error)
- func (s *WorkerStub) GenerateWinningPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, ...) ([]proof.PoStProof, error)
- func (s *WorkerStub) Info(p0 context.Context) (storiface.WorkerInfo, error)
- func (s *WorkerStub) MoveStorage(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType) (storiface.CallID, error)
- func (s *WorkerStub) Paths(p0 context.Context) ([]storiface.StoragePath, error)
- func (s *WorkerStub) ProcessSession(p0 context.Context) (uuid.UUID, error)
- func (s *WorkerStub) ProveReplicaUpdate1(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid) (storiface.CallID, error)
- func (s *WorkerStub) ProveReplicaUpdate2(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid, ...) (storiface.CallID, error)
- func (s *WorkerStub) ReleaseUnsealed(p0 context.Context, p1 storiface.SectorRef, p2 []storiface.Range) (storiface.CallID, error)
- func (s *WorkerStub) Remove(p0 context.Context, p1 abi.SectorID) error
- func (s *WorkerStub) ReplicaUpdate(p0 context.Context, p1 storiface.SectorRef, p2 []abi.PieceInfo) (storiface.CallID, error)
- func (s *WorkerStub) SealCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, ...) (storiface.CallID, error)
- func (s *WorkerStub) SealCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error)
- func (s *WorkerStub) SealPreCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, ...) (storiface.CallID, error)
- func (s *WorkerStub) SealPreCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.PreCommit1Out) (storiface.CallID, error)
- func (s *WorkerStub) Session(p0 context.Context) (uuid.UUID, error)
- func (s *WorkerStub) SetEnabled(p0 context.Context, p1 bool) error
- func (s *WorkerStub) Shutdown(p0 context.Context) error
- func (s *WorkerStub) StorageAddLocal(p0 context.Context, p1 string) error
- func (s *WorkerStub) StorageDetachAll(p0 context.Context) error
- func (s *WorkerStub) StorageDetachLocal(p0 context.Context, p1 string) error
- func (s *WorkerStub) StorageLocal(p0 context.Context) (map[storiface.ID]string, error)
- func (s *WorkerStub) StorageRedeclareLocal(p0 context.Context, p1 *storiface.ID, p2 bool) error
- func (s *WorkerStub) TaskDisable(p0 context.Context, p1 sealtasks.TaskType) error
- func (s *WorkerStub) TaskEnable(p0 context.Context, p1 sealtasks.TaskType) error
- func (s *WorkerStub) TaskTypes(p0 context.Context) (map[sealtasks.TaskType]struct{}, error)
- func (s *WorkerStub) UnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, ...) (storiface.CallID, error)
- func (s *WorkerStub) Version(p0 context.Context) (Version, error)
- func (s *WorkerStub) WaitQuiet(p0 context.Context) error
Constants ¶
const ( EOutOfGas = iota + jsonrpc.FirstUserCode EActorNotFound )
const ( StageIdle = SyncStateStage(iota) StageHeaders StagePersistHeaders StageMessages StageSyncComplete StageSyncErrored StageFetchingMessages )
const ( MTUnknown = "unknown" // Signing message CID. MsgMeta.Extra contains raw cbor message bytes MTChainMsg = "message" // Signing a blockheader. signing raw cbor block bytes (MsgMeta.Extra is empty) MTBlock = "block" // Signing a deal proposal. signing raw cbor proposal bytes (MsgMeta.Extra is empty) MTDealProposal = "dealproposal" )
const ( PermRead auth.Permission = "read" // default PermWrite auth.Permission = "write" PermSign auth.Permission = "sign" // Use wallet keys for signing PermAdmin auth.Permission = "admin" // Manage permissions )
const LookbackNoLimit = abi.ChainEpoch(-1)
Variables ¶
var ( FullAPIVersion0 = newVer(1, 5, 0) FullAPIVersion1 = newVer(2, 3, 0) MinerAPIVersion0 = newVer(1, 5, 0) WorkerAPIVersion0 = newVer(1, 7, 0) )
semver versions of the rpc api exposed
var AllPermissions = []auth.Permission{PermRead, PermWrite, PermSign, PermAdmin}
var DefaultPerms = []auth.Permission{PermRead}
var EmptyVesting = MsigVesting{ InitialBalance: types.EmptyInt, StartEpoch: -1, UnlockDuration: -1, }
var ErrNotSupported = xerrors.New("method not supported")
var MinerSubsystemToID = map[string]MinerSubsystem{ "Unknown": SubsystemUnknown, "Markets": SubsystemMarkets, "Mining": SubsystemMining, "Sealing": SubsystemSealing, "SectorStorage": SubsystemSectorStorage, }
var MinerSubsystemToString = map[MinerSubsystem]string{ SubsystemUnknown: "Unknown", SubsystemMarkets: "Markets", SubsystemMining: "Mining", SubsystemSealing: "Sealing", SubsystemSectorStorage: "SectorStorage", }
var RPCErrors = jsonrpc.NewErrors()
Functions ¶
func CreateEthRPCAliases ¶ added in v1.20.0
func GetInternalStructs ¶ added in v1.11.1
func GetInternalStructs(in interface{}) []interface{}
GetInternalStructs extracts all pointers to 'Internal' sub-structs from the provided pointer to a proxy struct
Types ¶
type APIVersion ¶ added in v1.5.1
type APIVersion struct { Version string // APIVersion is a binary encoded semver version of the remote implementing // this api // // See APIVersion in build/version.go APIVersion Version // Seconds BlockDelay uint64 }
APIVersion provides various build-time information
func (APIVersion) String ¶ added in v1.5.1
func (v APIVersion) String() string
type ActiveSync ¶
type ActorState ¶
type AddressConfig ¶ added in v1.2.3
type BlockMessages ¶
type BlockMessages struct { BlsMessages []*types.Message SecpkMessages []*types.SignedMessage Cids []cid.Cid }
BlsMessages[x].cid = Cids[x] SecpkMessages[y].cid = Cids[BlsMessages.length + y]
type BlockTemplate ¶ added in v0.3.0
type BlockTemplate struct { Miner address.Address Parents types.TipSetKey Ticket *types.Ticket Eproof *types.ElectionProof BeaconValues []types.BeaconEntry Messages []*types.SignedMessage Epoch abi.ChainEpoch Timestamp uint64 WinningPoStProof []builtin.PoStProof }
type ChainExportConfig ¶ added in v1.23.0
type ChainExportConfig struct { WriteBufferSize int NumWorkers int IncludeMessages bool IncludeReceipts bool IncludeStateRoots bool }
ChainExportConfig holds configuration for chain ranged exports.
type ChainIO ¶ added in v1.5.1
type ChainIO interface { ChainReadObj(context.Context, cid.Cid) ([]byte, error) ChainHasObj(context.Context, cid.Cid) (bool, error) ChainPutObj(context.Context, blocks.Block) error }
ChainIO abstracts operations for accessing raw IPLD objects.
type ChainIOMethods ¶ added in v1.20.0
type ChainIOStruct ¶ added in v1.9.0
type ChainIOStruct struct {
Internal ChainIOMethods
}
func (*ChainIOStruct) ChainHasObj ¶ added in v1.9.0
func (s *ChainIOStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*ChainIOStruct) ChainPutObj ¶ added in v1.16.0
func (*ChainIOStruct) ChainReadObj ¶ added in v1.9.0
func (s *ChainIOStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
type ChainIOStub ¶ added in v1.9.0
type ChainIOStub struct { }
func (*ChainIOStub) ChainHasObj ¶ added in v1.9.0
func (s *ChainIOStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*ChainIOStub) ChainPutObj ¶ added in v1.16.0
func (*ChainIOStub) ChainReadObj ¶ added in v1.9.0
func (s *ChainIOStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
type ChannelAvailableFunds ¶ added in v0.6.0
type ChannelAvailableFunds struct { // Channel is the address of the channel Channel *address.Address // From is the from address of the channel (channel creator) From address.Address // To is the to address of the channel To address.Address // ConfirmedAmt is the total amount of funds that have been confirmed on-chain for the channel ConfirmedAmt types.BigInt // PendingAmt is the amount of funds that are pending confirmation on-chain PendingAmt types.BigInt // NonReservedAmt is part of ConfirmedAmt that is available for use (e.g. when the payment channel was pre-funded) NonReservedAmt types.BigInt // PendingAvailableAmt is the amount of funds that are pending confirmation on-chain that will become available once confirmed PendingAvailableAmt types.BigInt // PendingWaitSentinel can be used with PaychGetWaitReady to wait for // confirmation of pending funds PendingWaitSentinel *cid.Cid // QueuedAmt is the amount that is queued up behind a pending request QueuedAmt types.BigInt // VoucherRedeemedAmt is the amount that is redeemed by vouchers on-chain // and in the local datastore VoucherReedeemedAmt types.BigInt }
type ChannelInfo ¶
type ChannelInfo struct { Channel address.Address WaitSentinel cid.Cid }
type CheckStatus ¶ added in v1.11.0
type CheckStatus struct { Code CheckStatusCode OK bool Err string Hint map[string]interface{} }
type CheckStatusCode ¶ added in v1.11.0
type CheckStatusCode int
const ( // Message Checks CheckStatusMessageSerialize CheckStatusCode CheckStatusMessageSize CheckStatusMessageValidity CheckStatusMessageMinGas CheckStatusMessageMinBaseFee CheckStatusMessageBaseFee CheckStatusMessageBaseFeeLowerBound CheckStatusMessageBaseFeeUpperBound CheckStatusMessageGetStateNonce CheckStatusMessageNonce CheckStatusMessageGetStateBalance CheckStatusMessageBalance )
func (CheckStatusCode) String ¶ added in v1.11.0
func (i CheckStatusCode) String() string
type CirculatingSupply ¶ added in v0.5.0
type CirculatingSupply struct { FilVested abi.TokenAmount FilMined abi.TokenAmount FilBurnt abi.TokenAmount FilLocked abi.TokenAmount FilCirculating abi.TokenAmount FilReserveDisbursed abi.TokenAmount }
type CommPRet ¶ added in v0.3.0
type CommPRet struct { Root cid.Cid Size abi.UnpaddedPieceSize }
type Common ¶
type Common interface { AuthVerify(ctx context.Context, token string) ([]auth.Permission, error) //perm:read AuthNew(ctx context.Context, perms []auth.Permission) ([]byte, error) //perm:admin LogList(context.Context) ([]string, error) //perm:write LogSetLevel(context.Context, string, string) error //perm:write // LogAlerts returns list of all, active and inactive alerts tracked by the // node LogAlerts(ctx context.Context) ([]alerting.Alert, error) //perm:admin // Version provides information about API provider Version(context.Context) (APIVersion, error) //perm:read // Discover returns an OpenRPC document describing an RPC API. Discover(ctx context.Context) (apitypes.OpenRPCDocument, error) //perm:read // trigger graceful shutdown Shutdown(context.Context) error //perm:admin // StartTime returns node start time StartTime(context.Context) (time.Time, error) //perm:read // Session returns a random UUID of api provider session Session(context.Context) (uuid.UUID, error) //perm:read Closing(context.Context) (<-chan struct{}, error) //perm:read }
type CommonMethods ¶ added in v1.20.0
type CommonMethods struct { AuthNew func(p0 context.Context, p1 []auth.Permission) ([]byte, error) `perm:"admin"` AuthVerify func(p0 context.Context, p1 string) ([]auth.Permission, error) `perm:"read"` Closing func(p0 context.Context) (<-chan struct{}, error) `perm:"read"` Discover func(p0 context.Context) (apitypes.OpenRPCDocument, error) `perm:"read"` LogAlerts func(p0 context.Context) ([]alerting.Alert, error) `perm:"admin"` LogList func(p0 context.Context) ([]string, error) `perm:"write"` LogSetLevel func(p0 context.Context, p1 string, p2 string) error `perm:"write"` Session func(p0 context.Context) (uuid.UUID, error) `perm:"read"` Shutdown func(p0 context.Context) error `perm:"admin"` StartTime func(p0 context.Context) (time.Time, error) `perm:"read"` Version func(p0 context.Context) (APIVersion, error) `perm:"read"` }
type CommonNetMethods ¶ added in v1.20.0
type CommonNetMethods struct { }
type CommonNetStruct ¶ added in v1.11.1
type CommonNetStruct struct { CommonStruct NetStruct Internal CommonNetMethods }
type CommonNetStub ¶ added in v1.11.1
type CommonNetStub struct { CommonStub NetStub }
type CommonStruct ¶ added in v1.9.0
type CommonStruct struct {
Internal CommonMethods
}
func (*CommonStruct) AuthNew ¶ added in v1.9.0
func (s *CommonStruct) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
func (*CommonStruct) AuthVerify ¶ added in v1.9.0
func (s *CommonStruct) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
func (*CommonStruct) Closing ¶ added in v1.9.0
func (s *CommonStruct) Closing(p0 context.Context) (<-chan struct{}, error)
func (*CommonStruct) Discover ¶ added in v1.9.0
func (s *CommonStruct) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
func (*CommonStruct) LogList ¶ added in v1.9.0
func (s *CommonStruct) LogList(p0 context.Context) ([]string, error)
func (*CommonStruct) LogSetLevel ¶ added in v1.9.0
func (*CommonStruct) Shutdown ¶ added in v1.9.0
func (s *CommonStruct) Shutdown(p0 context.Context) error
func (*CommonStruct) Version ¶ added in v1.9.0
func (s *CommonStruct) Version(p0 context.Context) (APIVersion, error)
type CommonStub ¶ added in v1.9.0
type CommonStub struct { }
func (*CommonStub) AuthNew ¶ added in v1.9.0
func (s *CommonStub) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
func (*CommonStub) AuthVerify ¶ added in v1.9.0
func (s *CommonStub) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
func (*CommonStub) Closing ¶ added in v1.9.0
func (s *CommonStub) Closing(p0 context.Context) (<-chan struct{}, error)
func (*CommonStub) Discover ¶ added in v1.9.0
func (s *CommonStub) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
func (*CommonStub) LogList ¶ added in v1.9.0
func (s *CommonStub) LogList(p0 context.Context) ([]string, error)
func (*CommonStub) LogSetLevel ¶ added in v1.9.0
func (*CommonStub) Shutdown ¶ added in v1.9.0
func (s *CommonStub) Shutdown(p0 context.Context) error
func (*CommonStub) Version ¶ added in v1.9.0
func (s *CommonStub) Version(p0 context.Context) (APIVersion, error)
type ComputeStateOutput ¶ added in v0.3.0
type ComputeStateOutput struct { Root cid.Cid Trace []*InvocResult }
type ConnMgrInfo ¶ added in v1.5.1
type DagSpec ¶ added in v1.13.2
type DagSpec struct { // DataSelector matches data to be retrieved // - when using textselector, the path specifies subtree // - the matched graph must have a single root DataSelector *Selector // ExportMerkleProof is applicable only when exporting to a CAR file via a path textselector // When true, in addition to the selection target, the resulting CAR will contain every block along the // path back to, and including the original root // When false the resulting CAR contains only the blocks of the target subdag ExportMerkleProof bool }
type DagstoreInitializeAllEvent ¶ added in v1.11.2
type DagstoreInitializeAllEvent struct { Key string Event string // "start", "end" Success bool Error string Total int Current int }
DagstoreInitializeAllEvent represents an initialization event.
type DagstoreInitializeAllParams ¶ added in v1.11.2
type DagstoreShardInfo ¶ added in v1.11.2
DagstoreShardInfo is the serialized form of dagstore.DagstoreShardInfo that we expose through JSON-RPC to avoid clients having to depend on the dagstore lib.
type DagstoreShardResult ¶ added in v1.11.2
DagstoreShardResult enumerates results per shard.
type DataCIDSize ¶ added in v1.1.3
type DataCIDSize struct { PayloadSize int64 PieceSize abi.PaddedPieceSize PieceCID cid.Cid }
type DataSize ¶ added in v0.5.0
type DataSize struct { PayloadSize int64 PieceSize abi.PaddedPieceSize }
type DataTransferChannel ¶ added in v0.5.0
type DataTransferChannel struct { TransferID datatransfer.TransferID Status datatransfer.Status BaseCID cid.Cid IsInitiator bool IsSender bool Voucher string Message string OtherPeer peer.ID Transferred uint64 Stages *datatransfer.ChannelStages }
func NewDataTransferChannel ¶ added in v0.5.0
func NewDataTransferChannel(hostID peer.ID, channelState datatransfer.ChannelState) DataTransferChannel
NewDataTransferChannel constructs an API DataTransferChannel type from full channel state snapshot and a host id
type Deadline ¶ added in v0.7.2
type Deadline struct { PostSubmissions bitfield.BitField DisputableProofCount uint64 }
type DealCollateralBounds ¶ added in v0.5.0
type DealCollateralBounds struct { Min abi.TokenAmount Max abi.TokenAmount }
type DealInfo ¶
type DealInfo struct { ProposalCid cid.Cid State storagemarket.StorageDealStatus Message string // more information about deal state, particularly errors DealStages *storagemarket.DealStages Provider address.Address DataRef *storagemarket.DataRef PieceCID cid.Cid Size uint64 PricePerEpoch types.BigInt Duration uint64 DealID abi.DealID CreationTime time.Time Verified bool TransferChannelID *datatransfer.ChannelID DataTransfer *DataTransferChannel }
type DealSchedule ¶ added in v1.11.1
type DealSchedule struct { StartEpoch abi.ChainEpoch EndEpoch abi.ChainEpoch }
DealSchedule communicates the time interval of a storage deal. The deal must appear in a sealed (proven) sector no later than StartEpoch, otherwise it is invalid.
func (*DealSchedule) MarshalCBOR ¶ added in v1.11.1
func (t *DealSchedule) MarshalCBOR(w io.Writer) error
func (*DealSchedule) UnmarshalCBOR ¶ added in v1.11.1
func (t *DealSchedule) UnmarshalCBOR(r io.Reader) (err error)
type ErrActorNotFound ¶ added in v1.18.0
type ErrActorNotFound struct{}
func (*ErrActorNotFound) Error ¶ added in v1.18.0
func (e *ErrActorNotFound) Error() string
type ErrOutOfGas ¶ added in v1.18.0
type ErrOutOfGas struct{}
func (*ErrOutOfGas) Error ¶ added in v1.18.0
func (e *ErrOutOfGas) Error() string
type EthSubscriber ¶ added in v1.20.0
type EthSubscriber interface { // note: the parameter is ethtypes.EthSubscriptionResponse serialized as json object EthSubscription(ctx context.Context, r jsonrpc.RawParams) error // rpc_method:eth_subscription notify:true }
reverse interface to the client, called after EthSubscribe
type EthSubscriberMethods ¶ added in v1.20.0
type EthSubscriberStruct ¶ added in v1.20.0
type EthSubscriberStruct struct {
Internal EthSubscriberMethods
}
func (*EthSubscriberStruct) EthSubscription ¶ added in v1.20.0
func (s *EthSubscriberStruct) EthSubscription(p0 context.Context, p1 jsonrpc.RawParams) error
type EthSubscriberStub ¶ added in v1.20.0
type EthSubscriberStub struct { }
func (*EthSubscriberStub) EthSubscription ¶ added in v1.20.0
func (s *EthSubscriberStub) EthSubscription(p0 context.Context, p1 jsonrpc.RawParams) error
type EthTxReceipt ¶ added in v1.20.0
type EthTxReceipt struct { TransactionHash ethtypes.EthHash `json:"transactionHash"` TransactionIndex ethtypes.EthUint64 `json:"transactionIndex"` BlockHash ethtypes.EthHash `json:"blockHash"` BlockNumber ethtypes.EthUint64 `json:"blockNumber"` From ethtypes.EthAddress `json:"from"` To *ethtypes.EthAddress `json:"to"` StateRoot ethtypes.EthHash `json:"root"` Status ethtypes.EthUint64 `json:"status"` ContractAddress *ethtypes.EthAddress `json:"contractAddress"` CumulativeGasUsed ethtypes.EthUint64 `json:"cumulativeGasUsed"` GasUsed ethtypes.EthUint64 `json:"gasUsed"` EffectiveGasPrice ethtypes.EthBigInt `json:"effectiveGasPrice"` LogsBloom ethtypes.EthBytes `json:"logsBloom"` Logs []ethtypes.EthLog `json:"logs"` Type ethtypes.EthUint64 `json:"type"` }
type ExportRef ¶ added in v1.13.2
type ExportRef struct { Root cid.Cid // DAGs array specifies a list of DAGs to export // - If exporting into unixfs files, only one DAG is supported, DataSelector is only used to find the targeted root node // - If exporting into a car file // - When exactly one text-path DataSelector is specified exports the subgraph and its full merkle-path from the original root // - Otherwise ( multiple paths and/or JSON selector specs) determines each individual subroot and exports the subtrees as a multi-root car // - When not specified defaults to a single DAG: // - Data - the entire DAG: `{"R":{"l":{"none":{}},":>":{"a":{">":{"@":{}}}}}}` DAGs []DagSpec FromLocalCAR string // if specified, get data from a local CARv2 file. DealID retrievalmarket.DealID }
type ExtendedPeerInfo ¶ added in v1.5.1
type Fault ¶ added in v0.3.1
type Fault struct { Miner address.Address Epoch abi.ChainEpoch }
type ForkUpgradeParams ¶ added in v1.15.3
type ForkUpgradeParams struct { UpgradeSmokeHeight abi.ChainEpoch UpgradeBreezeHeight abi.ChainEpoch UpgradeIgnitionHeight abi.ChainEpoch UpgradeLiftoffHeight abi.ChainEpoch UpgradeAssemblyHeight abi.ChainEpoch UpgradeRefuelHeight abi.ChainEpoch UpgradeTapeHeight abi.ChainEpoch UpgradeKumquatHeight abi.ChainEpoch BreezeGasTampingDuration abi.ChainEpoch UpgradeCalicoHeight abi.ChainEpoch UpgradePersianHeight abi.ChainEpoch UpgradeOrangeHeight abi.ChainEpoch UpgradeClausHeight abi.ChainEpoch UpgradeTrustHeight abi.ChainEpoch UpgradeNorwegianHeight abi.ChainEpoch UpgradeTurboHeight abi.ChainEpoch UpgradeHyperdriveHeight abi.ChainEpoch UpgradeChocolateHeight abi.ChainEpoch UpgradeOhSnapHeight abi.ChainEpoch UpgradeSkyrHeight abi.ChainEpoch UpgradeSharkHeight abi.ChainEpoch UpgradeHyggeHeight abi.ChainEpoch UpgradeLightningHeight abi.ChainEpoch UpgradeThunderHeight abi.ChainEpoch UpgradeWatermelonHeight abi.ChainEpoch }
type FullNode ¶
type FullNode interface { Common Net // ChainNotify returns channel with chain head updates. // First message is guaranteed to be of len == 1, and type == 'current'. ChainNotify(context.Context) (<-chan []*HeadChange, error) //perm:read // ChainHead returns the current head of the chain. ChainHead(context.Context) (*types.TipSet, error) //perm:read // ChainGetBlock returns the block specified by the given CID. ChainGetBlock(context.Context, cid.Cid) (*types.BlockHeader, error) //perm:read // ChainGetTipSet returns the tipset specified by the given TipSetKey. ChainGetTipSet(context.Context, types.TipSetKey) (*types.TipSet, error) //perm:read // ChainGetBlockMessages returns messages stored in the specified block. // // Note: If there are multiple blocks in a tipset, it's likely that some // messages will be duplicated. It's also possible for blocks in a tipset to have // different messages from the same sender at the same nonce. When that happens, // only the first message (in a block with lowest ticket) will be considered // for execution // // NOTE: THIS METHOD SHOULD ONLY BE USED FOR GETTING MESSAGES IN A SPECIFIC BLOCK // // DO NOT USE THIS METHOD TO GET MESSAGES INCLUDED IN A TIPSET // Use ChainGetParentMessages, which will perform correct message deduplication ChainGetBlockMessages(ctx context.Context, blockCid cid.Cid) (*BlockMessages, error) //perm:read // ChainGetParentReceipts returns receipts for messages in parent tipset of // the specified block. The receipts in the list returned is one-to-one with the // messages returned by a call to ChainGetParentMessages with the same blockCid. ChainGetParentReceipts(ctx context.Context, blockCid cid.Cid) ([]*types.MessageReceipt, error) //perm:read // ChainGetParentMessages returns messages stored in parent tipset of the // specified block. ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]Message, error) //perm:read // ChainGetMessagesInTipset returns message stores in current tipset ChainGetMessagesInTipset(ctx context.Context, tsk types.TipSetKey) ([]Message, error) //perm:read // ChainGetTipSetByHeight looks back for a tipset at the specified epoch. // If there are no blocks at the specified epoch, a tipset at an earlier epoch // will be returned. ChainGetTipSetByHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error) //perm:read // ChainGetTipSetAfterHeight looks back for a tipset at the specified epoch. // If there are no blocks at the specified epoch, the first non-nil tipset at a later epoch // will be returned. ChainGetTipSetAfterHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error) //perm:read // ChainReadObj reads ipld nodes referenced by the specified CID from chain // blockstore and returns raw bytes. ChainReadObj(context.Context, cid.Cid) ([]byte, error) //perm:read // ChainDeleteObj deletes node referenced by the given CID ChainDeleteObj(context.Context, cid.Cid) error //perm:admin // ChainHasObj checks if a given CID exists in the chain blockstore. ChainHasObj(context.Context, cid.Cid) (bool, error) //perm:read // ChainPutObj puts a given object into the block store ChainPutObj(context.Context, blocks.Block) error //perm:admin // ChainStatObj returns statistics about the graph referenced by 'obj'. // If 'base' is also specified, then the returned stat will be a diff // between the two objects. ChainStatObj(ctx context.Context, obj cid.Cid, base cid.Cid) (ObjStat, error) //perm:read // ChainSetHead forcefully sets current chain head. Use with caution. ChainSetHead(context.Context, types.TipSetKey) error //perm:admin // ChainGetGenesis returns the genesis tipset. ChainGetGenesis(context.Context) (*types.TipSet, error) //perm:read // ChainTipSetWeight computes weight for the specified tipset. ChainTipSetWeight(context.Context, types.TipSetKey) (types.BigInt, error) //perm:read ChainGetNode(ctx context.Context, p string) (*IpldObject, error) //perm:read // ChainGetMessage reads a message referenced by the specified CID from the // chain blockstore. ChainGetMessage(context.Context, cid.Cid) (*types.Message, error) //perm:read // ChainGetPath returns a set of revert/apply operations needed to get from // one tipset to another, for example: // “` // to // ^ // from tAA // ^ ^ // tBA tAB // ^---*--^ // ^ // tRR // “` // Would return `[revert(tBA), apply(tAB), apply(tAA)]` ChainGetPath(ctx context.Context, from types.TipSetKey, to types.TipSetKey) ([]*HeadChange, error) //perm:read // ChainExport returns a stream of bytes with CAR dump of chain data. // The exported chain data includes the header chain from the given tipset // back to genesis, the entire genesis state, and the most recent 'nroots' // state trees. // If oldmsgskip is set, messages from before the requested roots are also not included. ChainExport(ctx context.Context, nroots abi.ChainEpoch, oldmsgskip bool, tsk types.TipSetKey) (<-chan []byte, error) //perm:read // ChainExportRangeInternal triggers the export of a chain // CAR-snapshot directly to disk. It is similar to ChainExport, // except, depending on options, the snapshot can include receipts, // messages and stateroots for the length between the specified head // and tail, thus producing "archival-grade" snapshots that include // all the on-chain data. The header chain is included back to // genesis and these snapshots can be used to initialize Filecoin // nodes. ChainExportRangeInternal(ctx context.Context, head, tail types.TipSetKey, cfg ChainExportConfig) error //perm:admin // ChainPrune forces compaction on cold store and garbage collects; only supported if you // are using the splitstore ChainPrune(ctx context.Context, opts PruneOpts) error //perm:admin // ChainHotGC does online (badger) GC on the hot store; only supported if you are using // the splitstore ChainHotGC(ctx context.Context, opts HotGCOpts) error //perm:admin // ChainCheckBlockstore performs an (asynchronous) health check on the chain/state blockstore // if supported by the underlying implementation. ChainCheckBlockstore(context.Context) error //perm:admin // ChainBlockstoreInfo returns some basic information about the blockstore ChainBlockstoreInfo(context.Context) (map[string]interface{}, error) //perm:read // ChainGetEvents returns the events under an event AMT root CID. ChainGetEvents(context.Context, cid.Cid) ([]types.Event, error) //perm:read // GasEstimateFeeCap estimates gas fee cap GasEstimateFeeCap(context.Context, *types.Message, int64, types.TipSetKey) (types.BigInt, error) //perm:read // GasEstimateGasLimit estimates gas used by the message and returns it. // It fails if message fails to execute. GasEstimateGasLimit(context.Context, *types.Message, types.TipSetKey) (int64, error) //perm:read GasEstimateGasPremium(_ context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk types.TipSetKey) (types.BigInt, error) //perm:read // GasEstimateMessageGas estimates gas values for unset message gas fields GasEstimateMessageGas(context.Context, *types.Message, *MessageSendSpec, types.TipSetKey) (*types.Message, error) //perm:read // SyncState returns the current status of the lotus sync system. SyncState(context.Context) (*SyncState, error) //perm:read // SyncSubmitBlock can be used to submit a newly created block to the. // network through this node SyncSubmitBlock(ctx context.Context, blk *types.BlockMsg) error //perm:write // SyncIncomingBlocks returns a channel streaming incoming, potentially not // yet synced block headers. SyncIncomingBlocks(ctx context.Context) (<-chan *types.BlockHeader, error) //perm:read // SyncCheckpoint marks a blocks as checkpointed, meaning that it won't ever fork away from it. SyncCheckpoint(ctx context.Context, tsk types.TipSetKey) error //perm:admin // SyncMarkBad marks a blocks as bad, meaning that it won't ever by synced. // Use with extreme caution. SyncMarkBad(ctx context.Context, bcid cid.Cid) error //perm:admin // SyncUnmarkBad unmarks a blocks as bad, making it possible to be validated and synced again. SyncUnmarkBad(ctx context.Context, bcid cid.Cid) error //perm:admin // SyncUnmarkAllBad purges bad block cache, making it possible to sync to chains previously marked as bad SyncUnmarkAllBad(ctx context.Context) error //perm:admin // SyncCheckBad checks if a block was marked as bad, and if it was, returns // the reason. SyncCheckBad(ctx context.Context, bcid cid.Cid) (string, error) //perm:read // SyncValidateTipset indicates whether the provided tipset is valid or not SyncValidateTipset(ctx context.Context, tsk types.TipSetKey) (bool, error) //perm:read // MpoolPending returns pending mempool messages. MpoolPending(context.Context, types.TipSetKey) ([]*types.SignedMessage, error) //perm:read // MpoolSelect returns a list of pending messages for inclusion in the next block MpoolSelect(context.Context, types.TipSetKey, float64) ([]*types.SignedMessage, error) //perm:read // MpoolPush pushes a signed message to mempool. MpoolPush(context.Context, *types.SignedMessage) (cid.Cid, error) //perm:write // MpoolPushUntrusted pushes a signed message to mempool from untrusted sources. MpoolPushUntrusted(context.Context, *types.SignedMessage) (cid.Cid, error) //perm:write // MpoolPushMessage atomically assigns a nonce, signs, and pushes a message // to mempool. // maxFee is only used when GasFeeCap/GasPremium fields aren't specified // // When maxFee is set to 0, MpoolPushMessage will guess appropriate fee // based on current chain conditions MpoolPushMessage(ctx context.Context, msg *types.Message, spec *MessageSendSpec) (*types.SignedMessage, error) //perm:sign // MpoolBatchPush batch pushes a signed message to mempool. MpoolBatchPush(context.Context, []*types.SignedMessage) ([]cid.Cid, error) //perm:write // MpoolBatchPushUntrusted batch pushes a signed message to mempool from untrusted sources. MpoolBatchPushUntrusted(context.Context, []*types.SignedMessage) ([]cid.Cid, error) //perm:write // MpoolBatchPushMessage batch pushes a unsigned message to mempool. MpoolBatchPushMessage(context.Context, []*types.Message, *MessageSendSpec) ([]*types.SignedMessage, error) //perm:sign // MpoolCheckMessages performs logical checks on a batch of messages MpoolCheckMessages(context.Context, []*MessagePrototype) ([][]MessageCheckStatus, error) //perm:read // MpoolCheckPendingMessages performs logical checks for all pending messages from a given address MpoolCheckPendingMessages(context.Context, address.Address) ([][]MessageCheckStatus, error) //perm:read // MpoolCheckReplaceMessages performs logical checks on pending messages with replacement MpoolCheckReplaceMessages(context.Context, []*types.Message) ([][]MessageCheckStatus, error) //perm:read // MpoolGetNonce gets next nonce for the specified sender. // Note that this method may not be atomic. Use MpoolPushMessage instead. MpoolGetNonce(context.Context, address.Address) (uint64, error) //perm:read MpoolSub(context.Context) (<-chan MpoolUpdate, error) //perm:read // MpoolClear clears pending messages from the mpool. // If clearLocal is true, ALL messages will be cleared. // If clearLocal is false, local messages will be protected, all others will be cleared. MpoolClear(ctx context.Context, clearLocal bool) error //perm:write // MpoolGetConfig returns (a copy of) the current mpool config MpoolGetConfig(context.Context) (*types.MpoolConfig, error) //perm:read // MpoolSetConfig sets the mpool config to (a copy of) the supplied config MpoolSetConfig(context.Context, *types.MpoolConfig) error //perm:admin MinerGetBaseInfo(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) (*MiningBaseInfo, error) //perm:read MinerCreateBlock(context.Context, *BlockTemplate) (*types.BlockMsg, error) //perm:write // WalletNew creates a new address in the wallet with the given sigType. // Available key types: bls, secp256k1, secp256k1-ledger // Support for numerical types: 1 - secp256k1, 2 - BLS is deprecated WalletNew(context.Context, types.KeyType) (address.Address, error) //perm:write // WalletHas indicates whether the given address is in the wallet. WalletHas(context.Context, address.Address) (bool, error) //perm:write // WalletList lists all the addresses in the wallet. WalletList(context.Context) ([]address.Address, error) //perm:write // WalletBalance returns the balance of the given address at the current head of the chain. WalletBalance(context.Context, address.Address) (types.BigInt, error) //perm:read // WalletSign signs the given bytes using the given address. WalletSign(context.Context, address.Address, []byte) (*crypto.Signature, error) //perm:sign // WalletSignMessage signs the given message using the given address. WalletSignMessage(context.Context, address.Address, *types.Message) (*types.SignedMessage, error) //perm:sign // WalletVerify takes an address, a signature, and some bytes, and indicates whether the signature is valid. // The address does not have to be in the wallet. WalletVerify(context.Context, address.Address, []byte, *crypto.Signature) (bool, error) //perm:read // WalletDefaultAddress returns the address marked as default in the wallet. WalletDefaultAddress(context.Context) (address.Address, error) //perm:write // WalletSetDefault marks the given address as as the default one. WalletSetDefault(context.Context, address.Address) error //perm:write // WalletExport returns the private key of an address in the wallet. WalletExport(context.Context, address.Address) (*types.KeyInfo, error) //perm:admin // WalletImport receives a KeyInfo, which includes a private key, and imports it into the wallet. WalletImport(context.Context, *types.KeyInfo) (address.Address, error) //perm:admin // WalletDelete deletes an address from the wallet. WalletDelete(context.Context, address.Address) error //perm:admin // WalletValidateAddress validates whether a given string can be decoded as a well-formed address WalletValidateAddress(context.Context, string) (address.Address, error) //perm:read // ClientImport imports file under the specified path into filestore. ClientImport(ctx context.Context, ref FileRef) (*ImportRes, error) //perm:admin // ClientRemoveImport removes file import ClientRemoveImport(ctx context.Context, importID imports.ID) error //perm:admin // ClientStartDeal proposes a deal with a miner. ClientStartDeal(ctx context.Context, params *StartDealParams) (*cid.Cid, error) //perm:admin // ClientStatelessDeal fire-and-forget-proposes an offline deal to a miner without subsequent tracking. ClientStatelessDeal(ctx context.Context, params *StartDealParams) (*cid.Cid, error) //perm:write // ClientGetDealInfo returns the latest information about a given deal. ClientGetDealInfo(context.Context, cid.Cid) (*DealInfo, error) //perm:read // ClientListDeals returns information about the deals made by the local client. ClientListDeals(ctx context.Context) ([]DealInfo, error) //perm:write // ClientGetDealUpdates returns the status of updated deals ClientGetDealUpdates(ctx context.Context) (<-chan DealInfo, error) //perm:write // ClientGetDealStatus returns status given a code ClientGetDealStatus(ctx context.Context, statusCode uint64) (string, error) //perm:read // ClientHasLocal indicates whether a certain CID is locally stored. ClientHasLocal(ctx context.Context, root cid.Cid) (bool, error) //perm:write // ClientFindData identifies peers that have a certain file, and returns QueryOffers (one per peer). ClientFindData(ctx context.Context, root cid.Cid, piece *cid.Cid) ([]QueryOffer, error) //perm:read // ClientMinerQueryOffer returns a QueryOffer for the specific miner and file. ClientMinerQueryOffer(ctx context.Context, miner address.Address, root cid.Cid, piece *cid.Cid) (QueryOffer, error) //perm:read // ClientRetrieve initiates the retrieval of a file, as specified in the order. ClientRetrieve(ctx context.Context, params RetrievalOrder) (*RestrievalRes, error) //perm:admin // ClientRetrieveWait waits for retrieval to be complete ClientRetrieveWait(ctx context.Context, deal retrievalmarket.DealID) error //perm:admin // ClientExport exports a file stored in the local filestore to a system file ClientExport(ctx context.Context, exportRef ExportRef, fileRef FileRef) error //perm:admin // ClientListRetrievals returns information about retrievals made by the local client ClientListRetrievals(ctx context.Context) ([]RetrievalInfo, error) //perm:write // ClientGetRetrievalUpdates returns status of updated retrieval deals ClientGetRetrievalUpdates(ctx context.Context) (<-chan RetrievalInfo, error) //perm:write // ClientQueryAsk returns a signed StorageAsk from the specified miner. ClientQueryAsk(ctx context.Context, p peer.ID, miner address.Address) (*StorageAsk, error) //perm:read // ClientCalcCommP calculates the CommP and data size of the specified CID ClientDealPieceCID(ctx context.Context, root cid.Cid) (DataCIDSize, error) //perm:read // ClientCalcCommP calculates the CommP for a specified file ClientCalcCommP(ctx context.Context, inpath string) (*CommPRet, error) //perm:write // ClientGenCar generates a CAR file for the specified file. ClientGenCar(ctx context.Context, ref FileRef, outpath string) error //perm:write // ClientDealSize calculates real deal data size ClientDealSize(ctx context.Context, root cid.Cid) (DataSize, error) //perm:read // ClientListTransfers returns the status of all ongoing transfers of data ClientListDataTransfers(ctx context.Context) ([]DataTransferChannel, error) //perm:write ClientDataTransferUpdates(ctx context.Context) (<-chan DataTransferChannel, error) //perm:write // ClientRestartDataTransfer attempts to restart a data transfer with the given transfer ID and other peer ClientRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error //perm:write // ClientCancelDataTransfer cancels a data transfer with the given transfer ID and other peer ClientCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error //perm:write // ClientRetrieveTryRestartInsufficientFunds attempts to restart stalled retrievals on a given payment channel // which are stuck due to insufficient funds ClientRetrieveTryRestartInsufficientFunds(ctx context.Context, paymentChannel address.Address) error //perm:write // ClientCancelRetrievalDeal cancels an ongoing retrieval deal based on DealID ClientCancelRetrievalDeal(ctx context.Context, dealid retrievalmarket.DealID) error //perm:write // ClientListImports lists imported files and their root CIDs ClientListImports(ctx context.Context) ([]Import, error) //perm:write // StateCall runs the given message and returns its result without any persisted changes. // // StateCall applies the message to the tipset's parent state. The // message is not applied on-top-of the messages in the passed-in // tipset. StateCall(context.Context, *types.Message, types.TipSetKey) (*InvocResult, error) //perm:read // StateReplay replays a given message, assuming it was included in a block in the specified tipset. // // If a tipset key is provided, and a replacing message is not found on chain, // the method will return an error saying that the message wasn't found // // If no tipset key is provided, the appropriate tipset is looked up, and if // the message was gas-repriced, the on-chain message will be replayed - in // that case the returned InvocResult.MsgCid will not match the Cid param // // If the caller wants to ensure that exactly the requested message was executed, // they MUST check that InvocResult.MsgCid is equal to the provided Cid. // Without this check both the requested and original message may appear as // successfully executed on-chain, which may look like a double-spend. // // A replacing message is a message with a different CID, any of Gas values, and // different signature, but with all other parameters matching (source/destination, // nonce, params, etc.) StateReplay(context.Context, types.TipSetKey, cid.Cid) (*InvocResult, error) //perm:read // StateGetActor returns the indicated actor's nonce and balance. StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error) //perm:read // StateReadState returns the indicated actor's state. StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*ActorState, error) //perm:read // StateListMessages looks back and returns all messages with a matching to or from address, stopping at the given height. StateListMessages(ctx context.Context, match *MessageMatch, tsk types.TipSetKey, toht abi.ChainEpoch) ([]cid.Cid, error) //perm:read // StateDecodeParams attempts to decode the provided params, based on the recipient actor address and method number. StateDecodeParams(ctx context.Context, toAddr address.Address, method abi.MethodNum, params []byte, tsk types.TipSetKey) (interface{}, error) //perm:read // StateEncodeParams attempts to encode the provided json params to the binary from StateEncodeParams(ctx context.Context, toActCode cid.Cid, method abi.MethodNum, params json.RawMessage) ([]byte, error) //perm:read // StateNetworkName returns the name of the network the node is synced to StateNetworkName(context.Context) (dtypes.NetworkName, error) //perm:read // StateMinerSectors returns info about the given miner's sectors. If the filter bitfield is nil, all sectors are included. StateMinerSectors(context.Context, address.Address, *bitfield.BitField, types.TipSetKey) ([]*miner.SectorOnChainInfo, error) //perm:read // StateMinerActiveSectors returns info about sectors that a given miner is actively proving. StateMinerActiveSectors(context.Context, address.Address, types.TipSetKey) ([]*miner.SectorOnChainInfo, error) //perm:read // StateMinerProvingDeadline calculates the deadline at some epoch for a proving period // and returns the deadline-related calculations. StateMinerProvingDeadline(context.Context, address.Address, types.TipSetKey) (*dline.Info, error) //perm:read // StateMinerPower returns the power of the indicated miner StateMinerPower(context.Context, address.Address, types.TipSetKey) (*MinerPower, error) //perm:read // StateMinerInfo returns info about the indicated miner StateMinerInfo(context.Context, address.Address, types.TipSetKey) (MinerInfo, error) //perm:read // StateMinerDeadlines returns all the proving deadlines for the given miner StateMinerDeadlines(context.Context, address.Address, types.TipSetKey) ([]Deadline, error) //perm:read // StateMinerPartitions returns all partitions in the specified deadline StateMinerPartitions(ctx context.Context, m address.Address, dlIdx uint64, tsk types.TipSetKey) ([]Partition, error) //perm:read // StateMinerFaults returns a bitfield indicating the faulty sectors of the given miner StateMinerFaults(context.Context, address.Address, types.TipSetKey) (bitfield.BitField, error) //perm:read // StateAllMinerFaults returns all non-expired Faults that occur within lookback epochs of the given tipset StateAllMinerFaults(ctx context.Context, lookback abi.ChainEpoch, ts types.TipSetKey) ([]*Fault, error) //perm:read // StateMinerRecoveries returns a bitfield indicating the recovering sectors of the given miner StateMinerRecoveries(context.Context, address.Address, types.TipSetKey) (bitfield.BitField, error) //perm:read // StateMinerInitialPledgeCollateral returns the precommit deposit for the specified miner's sector StateMinerPreCommitDepositForPower(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (types.BigInt, error) //perm:read // StateMinerInitialPledgeCollateral returns the initial pledge collateral for the specified miner's sector StateMinerInitialPledgeCollateral(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (types.BigInt, error) //perm:read // StateMinerAvailableBalance returns the portion of a miner's balance that can be withdrawn or spent StateMinerAvailableBalance(context.Context, address.Address, types.TipSetKey) (types.BigInt, error) //perm:read // StateMinerSectorAllocated checks if a sector number is marked as allocated. StateMinerSectorAllocated(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (bool, error) //perm:read // StateSectorPreCommitInfo returns the PreCommit info for the specified miner's sector. // Returns nil and no error if the sector isn't precommitted. // // Note that the sector number may be allocated while PreCommitInfo is nil. This means that either allocated sector // numbers were compacted, and the sector number was marked as allocated in order to reduce size of the allocated // sectors bitfield, or that the sector was precommitted, but the precommit has expired. StateSectorPreCommitInfo(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) //perm:read // StateSectorGetInfo returns the on-chain info for the specified miner's sector. Returns null in case the sector info isn't found // NOTE: returned info.Expiration may not be accurate in some cases, use StateSectorExpiration to get accurate // expiration epoch StateSectorGetInfo(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorOnChainInfo, error) //perm:read // StateSectorExpiration returns epoch at which given sector will expire StateSectorExpiration(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorExpiration, error) //perm:read // StateSectorPartition finds deadline/partition with the specified sector StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tok types.TipSetKey) (*miner.SectorLocation, error) //perm:read // StateSearchMsg looks back up to limit epochs in the chain for a message, and returns its receipt and the tipset where it was executed // // NOTE: If a replacing message is found on chain, this method will return // a MsgLookup for the replacing message - the MsgLookup.Message will be a different // CID than the one provided in the 'cid' param, MsgLookup.Receipt will contain the // result of the execution of the replacing message. // // If the caller wants to ensure that exactly the requested message was executed, // they must check that MsgLookup.Message is equal to the provided 'cid', or set the // `allowReplaced` parameter to false. Without this check, and with `allowReplaced` // set to true, both the requested and original message may appear as // successfully executed on-chain, which may look like a double-spend. // // A replacing message is a message with a different CID, any of Gas values, and // different signature, but with all other parameters matching (source/destination, // nonce, params, etc.) StateSearchMsg(ctx context.Context, from types.TipSetKey, msg cid.Cid, limit abi.ChainEpoch, allowReplaced bool) (*MsgLookup, error) //perm:read // StateWaitMsg looks back up to limit epochs in the chain for a message. // If not found, it blocks until the message arrives on chain, and gets to the // indicated confidence depth. // // NOTE: If a replacing message is found on chain, this method will return // a MsgLookup for the replacing message - the MsgLookup.Message will be a different // CID than the one provided in the 'cid' param, MsgLookup.Receipt will contain the // result of the execution of the replacing message. // // If the caller wants to ensure that exactly the requested message was executed, // they must check that MsgLookup.Message is equal to the provided 'cid', or set the // `allowReplaced` parameter to false. Without this check, and with `allowReplaced` // set to true, both the requested and original message may appear as // successfully executed on-chain, which may look like a double-spend. // // A replacing message is a message with a different CID, any of Gas values, and // different signature, but with all other parameters matching (source/destination, // nonce, params, etc.) StateWaitMsg(ctx context.Context, cid cid.Cid, confidence uint64, limit abi.ChainEpoch, allowReplaced bool) (*MsgLookup, error) //perm:read // StateListMiners returns the addresses of every miner that has claimed power in the Power Actor StateListMiners(context.Context, types.TipSetKey) ([]address.Address, error) //perm:read // StateListActors returns the addresses of every actor in the state StateListActors(context.Context, types.TipSetKey) ([]address.Address, error) //perm:read // StateMarketBalance looks up the Escrow and Locked balances of the given address in the Storage Market StateMarketBalance(context.Context, address.Address, types.TipSetKey) (MarketBalance, error) //perm:read // StateMarketParticipants returns the Escrow and Locked balances of every participant in the Storage Market StateMarketParticipants(context.Context, types.TipSetKey) (map[string]MarketBalance, error) //perm:read // StateMarketDeals returns information about every deal in the Storage Market StateMarketDeals(context.Context, types.TipSetKey) (map[string]*MarketDeal, error) //perm:read // StateMarketStorageDeal returns information about the indicated deal StateMarketStorageDeal(context.Context, abi.DealID, types.TipSetKey) (*MarketDeal, error) //perm:read // StateGetAllocationForPendingDeal returns the allocation for a given deal ID of a pending deal. Returns nil if // pending allocation is not found. StateGetAllocationForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*verifregtypes.Allocation, error) //perm:read // StateGetAllocation returns the allocation for a given address and allocation ID. StateGetAllocation(ctx context.Context, clientAddr address.Address, allocationId verifregtypes.AllocationId, tsk types.TipSetKey) (*verifregtypes.Allocation, error) //perm:read // StateGetAllocations returns the all the allocations for a given client. StateGetAllocations(ctx context.Context, clientAddr address.Address, tsk types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error) //perm:read // StateGetClaim returns the claim for a given address and claim ID. StateGetClaim(ctx context.Context, providerAddr address.Address, claimId verifregtypes.ClaimId, tsk types.TipSetKey) (*verifregtypes.Claim, error) //perm:read // StateGetClaims returns the all the claims for a given provider. StateGetClaims(ctx context.Context, providerAddr address.Address, tsk types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error) //perm:read // StateComputeDataCID computes DataCID from a set of on-chain deals StateComputeDataCID(ctx context.Context, maddr address.Address, sectorType abi.RegisteredSealProof, deals []abi.DealID, tsk types.TipSetKey) (cid.Cid, error) //perm:read // StateLookupID retrieves the ID address of the given address StateLookupID(context.Context, address.Address, types.TipSetKey) (address.Address, error) //perm:read // StateAccountKey returns the public key address of the given ID address for secp and bls accounts StateAccountKey(context.Context, address.Address, types.TipSetKey) (address.Address, error) //perm:read // StateLookupRobustAddress returns the public key address of the given ID address for non-account addresses (multisig, miners etc) StateLookupRobustAddress(context.Context, address.Address, types.TipSetKey) (address.Address, error) //perm:read // StateChangedActors returns all the actors whose states change between the two given state CIDs // TODO: Should this take tipset keys instead? StateChangedActors(context.Context, cid.Cid, cid.Cid) (map[string]types.Actor, error) //perm:read // StateMinerSectorCount returns the number of sectors in a miner's sector set and proving set StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (MinerSectors, error) //perm:read // StateMinerAllocated returns a bitfield containing all sector numbers marked as allocated in miner state StateMinerAllocated(context.Context, address.Address, types.TipSetKey) (*bitfield.BitField, error) //perm:read // StateCompute is a flexible command that applies the given messages on the given tipset. // The messages are run as though the VM were at the provided height. // // When called, StateCompute will: // - Load the provided tipset, or use the current chain head if not provided // - Compute the tipset state of the provided tipset on top of the parent state // - (note that this step runs before vmheight is applied to the execution) // - Execute state upgrade if any were scheduled at the epoch, or in null // blocks preceding the tipset // - Call the cron actor on null blocks preceding the tipset // - For each block in the tipset // - Apply messages in blocks in the specified // - Award block reward by calling the reward actor // - Call the cron actor for the current epoch // - If the specified vmheight is higher than the current epoch, apply any // needed state upgrades to the state // - Apply the specified messages to the state // // The vmheight parameter sets VM execution epoch, and can be used to simulate // message execution in different network versions. If the specified vmheight // epoch is higher than the epoch of the specified tipset, any state upgrades // until the vmheight will be executed on the state before applying messages // specified by the user. // // Note that the initial tipset state computation is not affected by the // vmheight parameter - only the messages in the `apply` set are // // If the caller wants to simply compute the state, vmheight should be set to // the epoch of the specified tipset. // // Messages in the `apply` parameter must have the correct nonces, and gas // values set. StateCompute(context.Context, abi.ChainEpoch, []*types.Message, types.TipSetKey) (*ComputeStateOutput, error) //perm:read // StateVerifierStatus returns the data cap for the given address. // Returns nil if there is no entry in the data cap table for the // address. StateVerifierStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) //perm:read // StateVerifiedClientStatus returns the data cap for the given address. // Returns nil if there is no entry in the data cap table for the // address. StateVerifiedClientStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) //perm:read // StateVerifiedRegistryRootKey returns the address of the Verified Registry's root key StateVerifiedRegistryRootKey(ctx context.Context, tsk types.TipSetKey) (address.Address, error) //perm:read // StateDealProviderCollateralBounds returns the min and max collateral a storage provider // can issue. It takes the deal size and verified status as parameters. StateDealProviderCollateralBounds(context.Context, abi.PaddedPieceSize, bool, types.TipSetKey) (DealCollateralBounds, error) //perm:read // StateCirculatingSupply returns the exact circulating supply of Filecoin at the given tipset. // This is not used anywhere in the protocol itself, and is only for external consumption. StateCirculatingSupply(context.Context, types.TipSetKey) (abi.TokenAmount, error) //perm:read // StateVMCirculatingSupplyInternal returns an approximation of the circulating supply of Filecoin at the given tipset. // This is the value reported by the runtime interface to actors code. StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (CirculatingSupply, error) //perm:read // StateNetworkVersion returns the network version at the given tipset StateNetworkVersion(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error) //perm:read // StateActorCodeCIDs returns the CIDs of all the builtin actors for the given network version StateActorCodeCIDs(context.Context, abinetwork.Version) (map[string]cid.Cid, error) //perm:read // StateActorManifestCID returns the CID of the builtin actors manifest for the given network version StateActorManifestCID(context.Context, abinetwork.Version) (cid.Cid, error) //perm:read // StateGetRandomnessFromTickets is used to sample the chain for randomness. StateGetRandomnessFromTickets(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk types.TipSetKey) (abi.Randomness, error) //perm:read // StateGetRandomnessFromBeacon is used to sample the beacon for randomness. StateGetRandomnessFromBeacon(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk types.TipSetKey) (abi.Randomness, error) //perm:read // StateGetRandomnessDigestFromTickets. is used to sample the chain for randomness. StateGetRandomnessDigestFromTickets(ctx context.Context, randEpoch abi.ChainEpoch, tsk types.TipSetKey) (abi.Randomness, error) //perm:read // StateGetRandomnessDigestFromBeacon is used to sample the beacon for randomness. StateGetRandomnessDigestFromBeacon(ctx context.Context, randEpoch abi.ChainEpoch, tsk types.TipSetKey) (abi.Randomness, error) //perm:read // StateGetBeaconEntry returns the beacon entry for the given filecoin epoch. If // the entry has not yet been produced, the call will block until the entry // becomes available StateGetBeaconEntry(ctx context.Context, epoch abi.ChainEpoch) (*types.BeaconEntry, error) //perm:read // StateGetNetworkParams return current network params StateGetNetworkParams(ctx context.Context) (*NetworkParams, error) //perm:read // MsigGetAvailableBalance returns the portion of a multisig's balance that can be withdrawn or spent MsigGetAvailableBalance(context.Context, address.Address, types.TipSetKey) (types.BigInt, error) //perm:read // MsigGetVestingSchedule returns the vesting details of a given multisig. MsigGetVestingSchedule(context.Context, address.Address, types.TipSetKey) (MsigVesting, error) //perm:read // MsigGetVested returns the amount of FIL that vested in a multisig in a certain period. // It takes the following params: <multisig address>, <start epoch>, <end epoch> MsigGetVested(context.Context, address.Address, types.TipSetKey, types.TipSetKey) (types.BigInt, error) //perm:read // MsigGetPending returns pending transactions for the given multisig // wallet. Once pending transactions are fully approved, they will no longer // appear here. MsigGetPending(context.Context, address.Address, types.TipSetKey) ([]*MsigTransaction, error) //perm:read // MsigCreate creates a multisig wallet // It takes the following params: <required number of senders>, <approving addresses>, <unlock duration> // <initial balance>, <sender address of the create msg>, <gas price> MsigCreate(context.Context, uint64, []address.Address, abi.ChainEpoch, types.BigInt, address.Address, types.BigInt) (*MessagePrototype, error) //perm:sign // MsigPropose proposes a multisig message // It takes the following params: <multisig address>, <recipient address>, <value to transfer>, // <sender address of the propose msg>, <method to call in the proposed message>, <params to include in the proposed message> MsigPropose(context.Context, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (*MessagePrototype, error) //perm:sign // MsigApprove approves a previously-proposed multisig message by transaction ID // It takes the following params: <multisig address>, <proposed transaction ID> <signer address> MsigApprove(context.Context, address.Address, uint64, address.Address) (*MessagePrototype, error) //perm:sign // MsigApproveTxnHash approves a previously-proposed multisig message, specified // using both transaction ID and a hash of the parameters used in the // proposal. This method of approval can be used to ensure you only approve // exactly the transaction you think you are. // It takes the following params: <multisig address>, <proposed message ID>, <proposer address>, <recipient address>, <value to transfer>, // <sender address of the approve msg>, <method to call in the proposed message>, <params to include in the proposed message> MsigApproveTxnHash(context.Context, address.Address, uint64, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (*MessagePrototype, error) //perm:sign // MsigCancel cancels a previously-proposed multisig message // It takes the following params: <multisig address>, <proposed transaction ID> <signer address> MsigCancel(context.Context, address.Address, uint64, address.Address) (*MessagePrototype, error) //perm:sign // MsigCancel cancels a previously-proposed multisig message // It takes the following params: <multisig address>, <proposed transaction ID>, <recipient address>, <value to transfer>, // <sender address of the cancel msg>, <method to call in the proposed message>, <params to include in the proposed message> MsigCancelTxnHash(context.Context, address.Address, uint64, address.Address, types.BigInt, address.Address, uint64, []byte) (*MessagePrototype, error) //perm:sign // MsigAddPropose proposes adding a signer in the multisig // It takes the following params: <multisig address>, <sender address of the propose msg>, // <new signer>, <whether the number of required signers should be increased> MsigAddPropose(context.Context, address.Address, address.Address, address.Address, bool) (*MessagePrototype, error) //perm:sign // MsigAddApprove approves a previously proposed AddSigner message // It takes the following params: <multisig address>, <sender address of the approve msg>, <proposed message ID>, // <proposer address>, <new signer>, <whether the number of required signers should be increased> MsigAddApprove(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, bool) (*MessagePrototype, error) //perm:sign // MsigAddCancel cancels a previously proposed AddSigner message // It takes the following params: <multisig address>, <sender address of the cancel msg>, <proposed message ID>, // <new signer>, <whether the number of required signers should be increased> MsigAddCancel(context.Context, address.Address, address.Address, uint64, address.Address, bool) (*MessagePrototype, error) //perm:sign // MsigSwapPropose proposes swapping 2 signers in the multisig // It takes the following params: <multisig address>, <sender address of the propose msg>, // <old signer>, <new signer> MsigSwapPropose(context.Context, address.Address, address.Address, address.Address, address.Address) (*MessagePrototype, error) //perm:sign // MsigSwapApprove approves a previously proposed SwapSigner // It takes the following params: <multisig address>, <sender address of the approve msg>, <proposed message ID>, // <proposer address>, <old signer>, <new signer> MsigSwapApprove(context.Context, address.Address, address.Address, uint64, address.Address, address.Address, address.Address) (*MessagePrototype, error) //perm:sign // MsigSwapCancel cancels a previously proposed SwapSigner message // It takes the following params: <multisig address>, <sender address of the cancel msg>, <proposed message ID>, // <old signer>, <new signer> MsigSwapCancel(context.Context, address.Address, address.Address, uint64, address.Address, address.Address) (*MessagePrototype, error) //perm:sign // MsigRemoveSigner proposes the removal of a signer from the multisig. // It accepts the multisig to make the change on, the proposer address to // send the message from, the address to be removed, and a boolean // indicating whether or not the signing threshold should be lowered by one // along with the address removal. MsigRemoveSigner(ctx context.Context, msig address.Address, proposer address.Address, toRemove address.Address, decrease bool) (*MessagePrototype, error) //perm:sign // MarketAddBalance adds funds to the market actor MarketAddBalance(ctx context.Context, wallet, addr address.Address, amt types.BigInt) (cid.Cid, error) //perm:sign // MarketGetReserved gets the amount of funds that are currently reserved for the address MarketGetReserved(ctx context.Context, addr address.Address) (types.BigInt, error) //perm:sign // MarketReserveFunds reserves funds for a deal MarketReserveFunds(ctx context.Context, wallet address.Address, addr address.Address, amt types.BigInt) (cid.Cid, error) //perm:sign // MarketReleaseFunds releases funds reserved by MarketReserveFunds MarketReleaseFunds(ctx context.Context, addr address.Address, amt types.BigInt) error //perm:sign // MarketWithdraw withdraws unlocked funds from the market actor MarketWithdraw(ctx context.Context, wallet, addr address.Address, amt types.BigInt) (cid.Cid, error) //perm:sign // PaychGet gets or creates a payment channel between address pair // The specified amount will be reserved for use. If there aren't enough non-reserved funds // available, funds will be added through an on-chain message. // - When opts.OffChain is true, this call will not cause any messages to be sent to the chain (no automatic // channel creation/funds adding). If the operation can't be performed without sending a message an error will be // returned. Note that even when this option is specified, this call can be blocked by previous operations on the // channel waiting for on-chain operations. PaychGet(ctx context.Context, from, to address.Address, amt types.BigInt, opts PaychGetOpts) (*ChannelInfo, error) //perm:sign // PaychFund gets or creates a payment channel between address pair. // The specified amount will be added to the channel through on-chain send for future use PaychFund(ctx context.Context, from, to address.Address, amt types.BigInt) (*ChannelInfo, error) //perm:sign PaychGetWaitReady(context.Context, cid.Cid) (address.Address, error) //perm:sign PaychAvailableFunds(ctx context.Context, ch address.Address) (*ChannelAvailableFunds, error) //perm:sign PaychAvailableFundsByFromTo(ctx context.Context, from, to address.Address) (*ChannelAvailableFunds, error) //perm:sign PaychList(context.Context) ([]address.Address, error) //perm:read PaychStatus(context.Context, address.Address) (*PaychStatus, error) //perm:read PaychSettle(context.Context, address.Address) (cid.Cid, error) //perm:sign PaychCollect(context.Context, address.Address) (cid.Cid, error) //perm:sign PaychAllocateLane(ctx context.Context, ch address.Address) (uint64, error) //perm:sign PaychNewPayment(ctx context.Context, from, to address.Address, vouchers []VoucherSpec) (*PaymentInfo, error) //perm:sign PaychVoucherCheckValid(context.Context, address.Address, *paych.SignedVoucher) error //perm:read PaychVoucherCheckSpendable(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) (bool, error) //perm:read PaychVoucherCreate(context.Context, address.Address, types.BigInt, uint64) (*VoucherCreateResult, error) //perm:sign PaychVoucherAdd(context.Context, address.Address, *paych.SignedVoucher, []byte, types.BigInt) (types.BigInt, error) //perm:write PaychVoucherList(context.Context, address.Address) ([]*paych.SignedVoucher, error) //perm:write PaychVoucherSubmit(context.Context, address.Address, *paych.SignedVoucher, []byte, []byte) (cid.Cid, error) //perm:sign NodeStatus(ctx context.Context, inclChainStatus bool) (NodeStatus, error) //perm:read // MethodGroup: Eth // These methods are used for Ethereum-compatible JSON-RPC calls // // EthAccounts will always return [] since we don't expect Lotus to manage private keys EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error) //perm:read // EthAddressToFilecoinAddress converts an EthAddress into an f410 Filecoin Address EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error) //perm:read // FilecoinAddressToEthAddress converts an f410 or f0 Filecoin Address to an EthAddress FilecoinAddressToEthAddress(ctx context.Context, filecoinAddress address.Address) (ethtypes.EthAddress, error) //perm:read // EthBlockNumber returns the height of the latest (heaviest) TipSet EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) //perm:read // EthGetBlockTransactionCountByNumber returns the number of messages in the TipSet EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum ethtypes.EthUint64) (ethtypes.EthUint64, error) //perm:read // EthGetBlockTransactionCountByHash returns the number of messages in the TipSet EthGetBlockTransactionCountByHash(ctx context.Context, blkHash ethtypes.EthHash) (ethtypes.EthUint64, error) //perm:read EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error) //perm:read EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error) //perm:read EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error) //perm:read EthGetTransactionByHashLimited(ctx context.Context, txHash *ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTx, error) //perm:read EthGetTransactionHashByCid(ctx context.Context, cid cid.Cid) (*ethtypes.EthHash, error) //perm:read EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error) //perm:read EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) //perm:read EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*EthTxReceipt, error) //perm:read EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*EthTxReceipt, error) //perm:read EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) //perm:read EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum ethtypes.EthUint64, txIndex ethtypes.EthUint64) (ethtypes.EthTx, error) //perm:read EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) //perm:read EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) //perm:read EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) //perm:read EthChainId(ctx context.Context) (ethtypes.EthUint64, error) //perm:read EthSyncing(ctx context.Context) (ethtypes.EthSyncingResult, error) //perm:read NetVersion(ctx context.Context) (string, error) //perm:read NetListening(ctx context.Context) (bool, error) //perm:read EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) //perm:read EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) //perm:read EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error) //perm:read EthEstimateGas(ctx context.Context, tx ethtypes.EthCall) (ethtypes.EthUint64, error) //perm:read EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) //perm:read EthSendRawTransaction(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error) //perm:read // Returns event logs matching given filter spec. EthGetLogs(ctx context.Context, filter *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) //perm:read // Polling method for a filter, returns event logs which occurred since last poll. // (requires write perm since timestamp of last filter execution will be written) EthGetFilterChanges(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) //perm:read // Returns event logs matching filter with given id. // (requires write perm since timestamp of last filter execution will be written) EthGetFilterLogs(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) //perm:read // Installs a persistent filter based on given filter spec. EthNewFilter(ctx context.Context, filter *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) //perm:read // Installs a persistent filter to notify when a new block arrives. EthNewBlockFilter(ctx context.Context) (ethtypes.EthFilterID, error) //perm:read // Installs a persistent filter to notify when new messages arrive in the message pool. EthNewPendingTransactionFilter(ctx context.Context) (ethtypes.EthFilterID, error) //perm:read // Uninstalls a filter with given id. EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error) //perm:read // Subscribe to different event types using websockets // eventTypes is one or more of: // - newHeads: notify when new blocks arrive. // - pendingTransactions: notify when new messages arrive in the message pool. // - logs: notify new event logs that match a criteria // params contains additional parameters used with the log event type // The client will receive a stream of EthSubscriptionResponse values until EthUnsubscribe is called. EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) //perm:read // Unsubscribe from a websocket subscription EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error) //perm:read // Returns the client version Web3ClientVersion(ctx context.Context) (string, error) //perm:read // CreateBackup creates node backup onder the specified file name. The // method requires that the lotus daemon is running with the // LOTUS_BACKUP_BASE_PATH environment variable set to some path, and that // the path specified when calling CreateBackup is within the base path CreateBackup(ctx context.Context, fpath string) error //perm:admin RaftState(ctx context.Context) (*RaftStateData, error) //perm:read RaftLeader(ctx context.Context) (peer.ID, error) //perm:read }
FullNode API is a low-level interface to the Filecoin network full node
func PermissionedFullAPI ¶ added in v1.9.0
type FullNodeMethods ¶ added in v1.20.0
type FullNodeMethods struct { ChainBlockstoreInfo func(p0 context.Context) (map[string]interface{}, error) `perm:"read"` ChainCheckBlockstore func(p0 context.Context) error `perm:"admin"` ChainDeleteObj func(p0 context.Context, p1 cid.Cid) error `perm:"admin"` ChainExport func(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error) `perm:"read"` ChainExportRangeInternal func(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey, p3 ChainExportConfig) error `perm:"admin"` ChainGetBlock func(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error) `perm:"read"` ChainGetBlockMessages func(p0 context.Context, p1 cid.Cid) (*BlockMessages, error) `perm:"read"` ChainGetEvents func(p0 context.Context, p1 cid.Cid) ([]types.Event, error) `perm:"read"` ChainGetGenesis func(p0 context.Context) (*types.TipSet, error) `perm:"read"` ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.Message, error) `perm:"read"` ChainGetMessagesInTipset func(p0 context.Context, p1 types.TipSetKey) ([]Message, error) `perm:"read"` ChainGetNode func(p0 context.Context, p1 string) (*IpldObject, error) `perm:"read"` ChainGetParentMessages func(p0 context.Context, p1 cid.Cid) ([]Message, error) `perm:"read"` ChainGetParentReceipts func(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error) `perm:"read"` ChainGetPath func(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error) `perm:"read"` ChainGetTipSet func(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error) `perm:"read"` ChainGetTipSetAfterHeight func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) `perm:"read"` ChainGetTipSetByHeight func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) `perm:"read"` ChainHasObj func(p0 context.Context, p1 cid.Cid) (bool, error) `perm:"read"` ChainHead func(p0 context.Context) (*types.TipSet, error) `perm:"read"` ChainHotGC func(p0 context.Context, p1 HotGCOpts) error `perm:"admin"` ChainNotify func(p0 context.Context) (<-chan []*HeadChange, error) `perm:"read"` ChainPrune func(p0 context.Context, p1 PruneOpts) error `perm:"admin"` ChainPutObj func(p0 context.Context, p1 blocks.Block) error `perm:"admin"` ChainReadObj func(p0 context.Context, p1 cid.Cid) ([]byte, error) `perm:"read"` ChainSetHead func(p0 context.Context, p1 types.TipSetKey) error `perm:"admin"` ChainStatObj func(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (ObjStat, error) `perm:"read"` ChainTipSetWeight func(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error) `perm:"read"` ClientCalcCommP func(p0 context.Context, p1 string) (*CommPRet, error) `perm:"write"` ClientCancelDataTransfer func(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error `perm:"write"` ClientCancelRetrievalDeal func(p0 context.Context, p1 retrievalmarket.DealID) error `perm:"write"` ClientDataTransferUpdates func(p0 context.Context) (<-chan DataTransferChannel, error) `perm:"write"` ClientDealPieceCID func(p0 context.Context, p1 cid.Cid) (DataCIDSize, error) `perm:"read"` ClientDealSize func(p0 context.Context, p1 cid.Cid) (DataSize, error) `perm:"read"` ClientExport func(p0 context.Context, p1 ExportRef, p2 FileRef) error `perm:"admin"` ClientFindData func(p0 context.Context, p1 cid.Cid, p2 *cid.Cid) ([]QueryOffer, error) `perm:"read"` ClientGenCar func(p0 context.Context, p1 FileRef, p2 string) error `perm:"write"` ClientGetDealInfo func(p0 context.Context, p1 cid.Cid) (*DealInfo, error) `perm:"read"` ClientGetDealStatus func(p0 context.Context, p1 uint64) (string, error) `perm:"read"` ClientGetDealUpdates func(p0 context.Context) (<-chan DealInfo, error) `perm:"write"` ClientGetRetrievalUpdates func(p0 context.Context) (<-chan RetrievalInfo, error) `perm:"write"` ClientHasLocal func(p0 context.Context, p1 cid.Cid) (bool, error) `perm:"write"` ClientImport func(p0 context.Context, p1 FileRef) (*ImportRes, error) `perm:"admin"` ClientListDataTransfers func(p0 context.Context) ([]DataTransferChannel, error) `perm:"write"` ClientListDeals func(p0 context.Context) ([]DealInfo, error) `perm:"write"` ClientListImports func(p0 context.Context) ([]Import, error) `perm:"write"` ClientListRetrievals func(p0 context.Context) ([]RetrievalInfo, error) `perm:"write"` ClientMinerQueryOffer func(p0 context.Context, p1 address.Address, p2 cid.Cid, p3 *cid.Cid) (QueryOffer, error) `perm:"read"` ClientQueryAsk func(p0 context.Context, p1 peer.ID, p2 address.Address) (*StorageAsk, error) `perm:"read"` ClientRemoveImport func(p0 context.Context, p1 imports.ID) error `perm:"admin"` ClientRestartDataTransfer func(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error `perm:"write"` ClientRetrieve func(p0 context.Context, p1 RetrievalOrder) (*RestrievalRes, error) `perm:"admin"` ClientRetrieveTryRestartInsufficientFunds func(p0 context.Context, p1 address.Address) error `perm:"write"` ClientRetrieveWait func(p0 context.Context, p1 retrievalmarket.DealID) error `perm:"admin"` ClientStartDeal func(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error) `perm:"admin"` ClientStatelessDeal func(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error) `perm:"write"` CreateBackup func(p0 context.Context, p1 string) error `perm:"admin"` EthAccounts func(p0 context.Context) ([]ethtypes.EthAddress, error) `perm:"read"` EthAddressToFilecoinAddress func(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) `perm:"read"` EthBlockNumber func(p0 context.Context) (ethtypes.EthUint64, error) `perm:"read"` EthCall func(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `perm:"read"` EthChainId func(p0 context.Context) (ethtypes.EthUint64, error) `perm:"read"` EthEstimateGas func(p0 context.Context, p1 ethtypes.EthCall) (ethtypes.EthUint64, error) `perm:"read"` EthFeeHistory func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) `perm:"read"` EthGasPrice func(p0 context.Context) (ethtypes.EthBigInt, error) `perm:"read"` EthGetBalance func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) `perm:"read"` EthGetBlockByHash func(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error) `perm:"read"` EthGetBlockByNumber func(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error) `perm:"read"` EthGetBlockTransactionCountByHash func(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) `perm:"read"` EthGetBlockTransactionCountByNumber func(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error) `perm:"read"` EthGetCode func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `perm:"read"` EthGetFilterChanges func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) `perm:"read"` EthGetFilterLogs func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) `perm:"read"` EthGetLogs func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) `perm:"read"` EthGetMessageCidByTransactionHash func(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error) `perm:"read"` EthGetStorageAt func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `perm:"read"` EthGetTransactionByBlockHashAndIndex func(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (ethtypes.EthTx, error) `perm:"read"` EthGetTransactionByBlockNumberAndIndex func(p0 context.Context, p1 ethtypes.EthUint64, p2 ethtypes.EthUint64) (ethtypes.EthTx, error) `perm:"read"` EthGetTransactionByHash func(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error) `perm:"read"` EthGetTransactionByHashLimited func(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error) `perm:"read"` EthGetTransactionCount func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) `perm:"read"` EthGetTransactionHashByCid func(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error) `perm:"read"` EthGetTransactionReceipt func(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error) `perm:"read"` EthGetTransactionReceiptLimited func(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error) `perm:"read"` EthMaxPriorityFeePerGas func(p0 context.Context) (ethtypes.EthBigInt, error) `perm:"read"` EthNewBlockFilter func(p0 context.Context) (ethtypes.EthFilterID, error) `perm:"read"` EthNewFilter func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) `perm:"read"` EthNewPendingTransactionFilter func(p0 context.Context) (ethtypes.EthFilterID, error) `perm:"read"` EthProtocolVersion func(p0 context.Context) (ethtypes.EthUint64, error) `perm:"read"` EthSendRawTransaction func(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) `perm:"read"` EthSubscribe func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) `perm:"read"` EthSyncing func(p0 context.Context) (ethtypes.EthSyncingResult, error) `perm:"read"` EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) `perm:"read"` EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) `perm:"read"` FilecoinAddressToEthAddress func(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error) `perm:"read"` GasEstimateFeeCap func(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, error) `perm:"read"` GasEstimateGasLimit func(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (int64, error) `perm:"read"` GasEstimateGasPremium func(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) `perm:"read"` GasEstimateMessageGas func(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error) `perm:"read"` MarketAddBalance func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) `perm:"sign"` MarketGetReserved func(p0 context.Context, p1 address.Address) (types.BigInt, error) `perm:"sign"` MarketReleaseFunds func(p0 context.Context, p1 address.Address, p2 types.BigInt) error `perm:"sign"` MarketReserveFunds func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) `perm:"sign"` MarketWithdraw func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) `perm:"sign"` MinerCreateBlock func(p0 context.Context, p1 *BlockTemplate) (*types.BlockMsg, error) `perm:"write"` MinerGetBaseInfo func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error) `perm:"read"` MpoolBatchPush func(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error) `perm:"write"` MpoolBatchPushMessage func(p0 context.Context, p1 []*types.Message, p2 *MessageSendSpec) ([]*types.SignedMessage, error) `perm:"sign"` MpoolBatchPushUntrusted func(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error) `perm:"write"` MpoolCheckMessages func(p0 context.Context, p1 []*MessagePrototype) ([][]MessageCheckStatus, error) `perm:"read"` MpoolCheckPendingMessages func(p0 context.Context, p1 address.Address) ([][]MessageCheckStatus, error) `perm:"read"` MpoolCheckReplaceMessages func(p0 context.Context, p1 []*types.Message) ([][]MessageCheckStatus, error) `perm:"read"` MpoolClear func(p0 context.Context, p1 bool) error `perm:"write"` MpoolGetConfig func(p0 context.Context) (*types.MpoolConfig, error) `perm:"read"` MpoolGetNonce func(p0 context.Context, p1 address.Address) (uint64, error) `perm:"read"` MpoolPending func(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error) `perm:"read"` MpoolPush func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) `perm:"write"` MpoolPushMessage func(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec) (*types.SignedMessage, error) `perm:"sign"` MpoolPushUntrusted func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) `perm:"write"` MpoolSelect func(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error) `perm:"read"` MpoolSetConfig func(p0 context.Context, p1 *types.MpoolConfig) error `perm:"admin"` MpoolSub func(p0 context.Context) (<-chan MpoolUpdate, error) `perm:"read"` MsigAddApprove func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*MessagePrototype, error) `perm:"sign"` MsigAddCancel func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*MessagePrototype, error) `perm:"sign"` MsigAddPropose func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error) `perm:"sign"` MsigApprove func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error) `perm:"sign"` MsigApproveTxnHash func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 address.Address, p5 types.BigInt, p6 address.Address, p7 uint64, p8 []byte) (*MessagePrototype, error) `perm:"sign"` MsigCancel func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error) `perm:"sign"` MsigCancelTxnHash func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*MessagePrototype, error) `perm:"sign"` MsigCreate func(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*MessagePrototype, error) `perm:"sign"` MsigGetAvailableBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error) `perm:"read"` MsigGetPending func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error) `perm:"read"` MsigGetVested func(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error) `perm:"read"` MsigGetVestingSchedule func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error) `perm:"read"` MsigPropose func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*MessagePrototype, error) `perm:"sign"` MsigRemoveSigner func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error) `perm:"sign"` MsigSwapApprove func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*MessagePrototype, error) `perm:"sign"` MsigSwapCancel func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*MessagePrototype, error) `perm:"sign"` MsigSwapPropose func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*MessagePrototype, error) `perm:"sign"` NetListening func(p0 context.Context) (bool, error) `perm:"read"` NetVersion func(p0 context.Context) (string, error) `perm:"read"` NodeStatus func(p0 context.Context, p1 bool) (NodeStatus, error) `perm:"read"` PaychAllocateLane func(p0 context.Context, p1 address.Address) (uint64, error) `perm:"sign"` PaychAvailableFunds func(p0 context.Context, p1 address.Address) (*ChannelAvailableFunds, error) `perm:"sign"` PaychAvailableFundsByFromTo func(p0 context.Context, p1 address.Address, p2 address.Address) (*ChannelAvailableFunds, error) `perm:"sign"` PaychCollect func(p0 context.Context, p1 address.Address) (cid.Cid, error) `perm:"sign"` PaychFund func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (*ChannelInfo, error) `perm:"sign"` PaychGet func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 PaychGetOpts) (*ChannelInfo, error) `perm:"sign"` PaychGetWaitReady func(p0 context.Context, p1 cid.Cid) (address.Address, error) `perm:"sign"` PaychList func(p0 context.Context) ([]address.Address, error) `perm:"read"` PaychNewPayment func(p0 context.Context, p1 address.Address, p2 address.Address, p3 []VoucherSpec) (*PaymentInfo, error) `perm:"sign"` PaychSettle func(p0 context.Context, p1 address.Address) (cid.Cid, error) `perm:"sign"` PaychStatus func(p0 context.Context, p1 address.Address) (*PaychStatus, error) `perm:"read"` PaychVoucherAdd func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 types.BigInt) (types.BigInt, error) `perm:"write"` PaychVoucherCheckSpendable func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error) `perm:"read"` PaychVoucherCheckValid func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error `perm:"read"` PaychVoucherCreate func(p0 context.Context, p1 address.Address, p2 types.BigInt, p3 uint64) (*VoucherCreateResult, error) `perm:"sign"` PaychVoucherList func(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error) `perm:"write"` PaychVoucherSubmit func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error) `perm:"sign"` RaftLeader func(p0 context.Context) (peer.ID, error) `perm:"read"` RaftState func(p0 context.Context) (*RaftStateData, error) `perm:"read"` StateAccountKey func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `perm:"read"` StateActorCodeCIDs func(p0 context.Context, p1 abinetwork.Version) (map[string]cid.Cid, error) `perm:"read"` StateActorManifestCID func(p0 context.Context, p1 abinetwork.Version) (cid.Cid, error) `perm:"read"` StateAllMinerFaults func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) ([]*Fault, error) `perm:"read"` StateCall func(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error) `perm:"read"` StateChangedActors func(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error) `perm:"read"` StateCirculatingSupply func(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error) `perm:"read"` StateCompute func(p0 context.Context, p1 abi.ChainEpoch, p2 []*types.Message, p3 types.TipSetKey) (*ComputeStateOutput, error) `perm:"read"` StateComputeDataCID func(p0 context.Context, p1 address.Address, p2 abi.RegisteredSealProof, p3 []abi.DealID, p4 types.TipSetKey) (cid.Cid, error) `perm:"read"` StateDealProviderCollateralBounds func(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error) `perm:"read"` StateDecodeParams func(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, p4 types.TipSetKey) (interface{}, error) `perm:"read"` StateEncodeParams func(p0 context.Context, p1 cid.Cid, p2 abi.MethodNum, p3 json.RawMessage) ([]byte, error) `perm:"read"` StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error) `perm:"read"` StateGetAllocation func(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error) `perm:"read"` StateGetAllocationForPendingDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error) `perm:"read"` StateGetAllocations func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error) `perm:"read"` StateGetBeaconEntry func(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error) `perm:"read"` StateGetClaim func(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error) `perm:"read"` StateGetClaims func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error) `perm:"read"` StateGetNetworkParams func(p0 context.Context) (*NetworkParams, error) `perm:"read"` StateGetRandomnessDigestFromBeacon func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error) `perm:"read"` StateGetRandomnessDigestFromTickets func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error) `perm:"read"` StateGetRandomnessFromBeacon func(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) `perm:"read"` StateGetRandomnessFromTickets func(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) `perm:"read"` StateListActors func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error) `perm:"read"` StateListMessages func(p0 context.Context, p1 *MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error) `perm:"read"` StateListMiners func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error) `perm:"read"` StateLookupID func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `perm:"read"` StateLookupRobustAddress func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `perm:"read"` StateMarketBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error) `perm:"read"` StateMarketDeals func(p0 context.Context, p1 types.TipSetKey) (map[string]*MarketDeal, error) `perm:"read"` StateMarketParticipants func(p0 context.Context, p1 types.TipSetKey) (map[string]MarketBalance, error) `perm:"read"` StateMarketStorageDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error) `perm:"read"` StateMinerActiveSectors func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) `perm:"read"` StateMinerAllocated func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error) `perm:"read"` StateMinerAvailableBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error) `perm:"read"` StateMinerDeadlines func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error) `perm:"read"` StateMinerFaults func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error) `perm:"read"` StateMinerInfo func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error) `perm:"read"` StateMinerInitialPledgeCollateral func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error) `perm:"read"` StateMinerPartitions func(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]Partition, error) `perm:"read"` StateMinerPower func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error) `perm:"read"` StateMinerPreCommitDepositForPower func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error) `perm:"read"` StateMinerProvingDeadline func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error) `perm:"read"` StateMinerRecoveries func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error) `perm:"read"` StateMinerSectorAllocated func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error) `perm:"read"` StateMinerSectorCount func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error) `perm:"read"` StateMinerSectors func(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) `perm:"read"` StateNetworkName func(p0 context.Context) (dtypes.NetworkName, error) `perm:"read"` StateNetworkVersion func(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error) `perm:"read"` StateReadState func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error) `perm:"read"` StateReplay func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error) `perm:"read"` StateSearchMsg func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error) `perm:"read"` StateSectorExpiration func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error) `perm:"read"` StateSectorGetInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error) `perm:"read"` StateSectorPartition func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error) `perm:"read"` StateSectorPreCommitInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) `perm:"read"` StateVMCirculatingSupplyInternal func(p0 context.Context, p1 types.TipSetKey) (CirculatingSupply, error) `perm:"read"` StateVerifiedClientStatus func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) `perm:"read"` StateVerifiedRegistryRootKey func(p0 context.Context, p1 types.TipSetKey) (address.Address, error) `perm:"read"` StateVerifierStatus func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) `perm:"read"` StateWaitMsg func(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error) `perm:"read"` SyncCheckBad func(p0 context.Context, p1 cid.Cid) (string, error) `perm:"read"` SyncCheckpoint func(p0 context.Context, p1 types.TipSetKey) error `perm:"admin"` SyncIncomingBlocks func(p0 context.Context) (<-chan *types.BlockHeader, error) `perm:"read"` SyncMarkBad func(p0 context.Context, p1 cid.Cid) error `perm:"admin"` SyncState func(p0 context.Context) (*SyncState, error) `perm:"read"` SyncSubmitBlock func(p0 context.Context, p1 *types.BlockMsg) error `perm:"write"` SyncUnmarkAllBad func(p0 context.Context) error `perm:"admin"` SyncUnmarkBad func(p0 context.Context, p1 cid.Cid) error `perm:"admin"` SyncValidateTipset func(p0 context.Context, p1 types.TipSetKey) (bool, error) `perm:"read"` WalletBalance func(p0 context.Context, p1 address.Address) (types.BigInt, error) `perm:"read"` WalletDefaultAddress func(p0 context.Context) (address.Address, error) `perm:"write"` WalletDelete func(p0 context.Context, p1 address.Address) error `perm:"admin"` WalletExport func(p0 context.Context, p1 address.Address) (*types.KeyInfo, error) `perm:"admin"` WalletHas func(p0 context.Context, p1 address.Address) (bool, error) `perm:"write"` WalletImport func(p0 context.Context, p1 *types.KeyInfo) (address.Address, error) `perm:"admin"` WalletList func(p0 context.Context) ([]address.Address, error) `perm:"write"` WalletNew func(p0 context.Context, p1 types.KeyType) (address.Address, error) `perm:"write"` WalletSetDefault func(p0 context.Context, p1 address.Address) error `perm:"write"` WalletSign func(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error) `perm:"sign"` WalletSignMessage func(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error) `perm:"sign"` WalletValidateAddress func(p0 context.Context, p1 string) (address.Address, error) `perm:"read"` WalletVerify func(p0 context.Context, p1 address.Address, p2 []byte, p3 *crypto.Signature) (bool, error) `perm:"read"` Web3ClientVersion func(p0 context.Context) (string, error) `perm:"read"` }
type FullNodeStruct ¶ added in v1.9.0
type FullNodeStruct struct { CommonStruct NetStruct Internal FullNodeMethods }
func (*FullNodeStruct) ChainBlockstoreInfo ¶ added in v1.11.1
func (s *FullNodeStruct) ChainBlockstoreInfo(p0 context.Context) (map[string]interface{}, error)
func (*FullNodeStruct) ChainCheckBlockstore ¶ added in v1.11.1
func (s *FullNodeStruct) ChainCheckBlockstore(p0 context.Context) error
func (*FullNodeStruct) ChainDeleteObj ¶ added in v1.9.0
func (s *FullNodeStruct) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error
func (*FullNodeStruct) ChainExport ¶ added in v1.9.0
func (s *FullNodeStruct) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)
func (*FullNodeStruct) ChainExportRangeInternal ¶ added in v1.23.0
func (s *FullNodeStruct) ChainExportRangeInternal(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey, p3 ChainExportConfig) error
func (*FullNodeStruct) ChainGetBlock ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*FullNodeStruct) ChainGetBlockMessages ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
func (*FullNodeStruct) ChainGetEvents ¶ added in v1.20.0
func (*FullNodeStruct) ChainGetGenesis ¶ added in v1.9.0
func (*FullNodeStruct) ChainGetMessage ¶ added in v1.9.0
func (*FullNodeStruct) ChainGetMessagesInTipset ¶ added in v1.11.1
func (*FullNodeStruct) ChainGetNode ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetNode(p0 context.Context, p1 string) (*IpldObject, error)
func (*FullNodeStruct) ChainGetParentMessages ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
func (*FullNodeStruct) ChainGetParentReceipts ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*FullNodeStruct) ChainGetPath ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
func (*FullNodeStruct) ChainGetTipSet ¶ added in v1.9.0
func (*FullNodeStruct) ChainGetTipSetAfterHeight ¶ added in v1.11.2
func (s *FullNodeStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*FullNodeStruct) ChainGetTipSetByHeight ¶ added in v1.9.0
func (s *FullNodeStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*FullNodeStruct) ChainHasObj ¶ added in v1.9.0
func (s *FullNodeStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*FullNodeStruct) ChainHotGC ¶ added in v1.23.0
func (s *FullNodeStruct) ChainHotGC(p0 context.Context, p1 HotGCOpts) error
func (*FullNodeStruct) ChainNotify ¶ added in v1.9.0
func (s *FullNodeStruct) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
func (*FullNodeStruct) ChainPrune ¶ added in v1.17.1
func (s *FullNodeStruct) ChainPrune(p0 context.Context, p1 PruneOpts) error
func (*FullNodeStruct) ChainPutObj ¶ added in v1.16.0
func (*FullNodeStruct) ChainReadObj ¶ added in v1.9.0
func (s *FullNodeStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*FullNodeStruct) ChainSetHead ¶ added in v1.9.0
func (*FullNodeStruct) ChainStatObj ¶ added in v1.9.0
func (s *FullNodeStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (ObjStat, error)
func (*FullNodeStruct) ChainTipSetWeight ¶ added in v1.9.0
func (*FullNodeStruct) ClientCalcCommP ¶ added in v1.9.0
func (*FullNodeStruct) ClientCancelDataTransfer ¶ added in v1.9.0
func (s *FullNodeStruct) ClientCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*FullNodeStruct) ClientCancelRetrievalDeal ¶ added in v1.9.0
func (s *FullNodeStruct) ClientCancelRetrievalDeal(p0 context.Context, p1 retrievalmarket.DealID) error
func (*FullNodeStruct) ClientDataTransferUpdates ¶ added in v1.9.0
func (s *FullNodeStruct) ClientDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
func (*FullNodeStruct) ClientDealPieceCID ¶ added in v1.9.0
func (s *FullNodeStruct) ClientDealPieceCID(p0 context.Context, p1 cid.Cid) (DataCIDSize, error)
func (*FullNodeStruct) ClientDealSize ¶ added in v1.9.0
func (s *FullNodeStruct) ClientDealSize(p0 context.Context, p1 cid.Cid) (DataSize, error)
func (*FullNodeStruct) ClientExport ¶ added in v1.13.2
func (*FullNodeStruct) ClientFindData ¶ added in v1.9.0
func (s *FullNodeStruct) ClientFindData(p0 context.Context, p1 cid.Cid, p2 *cid.Cid) ([]QueryOffer, error)
func (*FullNodeStruct) ClientGenCar ¶ added in v1.9.0
func (*FullNodeStruct) ClientGetDealInfo ¶ added in v1.9.0
func (s *FullNodeStruct) ClientGetDealInfo(p0 context.Context, p1 cid.Cid) (*DealInfo, error)
func (*FullNodeStruct) ClientGetDealStatus ¶ added in v1.9.0
func (*FullNodeStruct) ClientGetDealUpdates ¶ added in v1.9.0
func (s *FullNodeStruct) ClientGetDealUpdates(p0 context.Context) (<-chan DealInfo, error)
func (*FullNodeStruct) ClientGetRetrievalUpdates ¶ added in v1.11.0
func (s *FullNodeStruct) ClientGetRetrievalUpdates(p0 context.Context) (<-chan RetrievalInfo, error)
func (*FullNodeStruct) ClientHasLocal ¶ added in v1.9.0
func (s *FullNodeStruct) ClientHasLocal(p0 context.Context, p1 cid.Cid) (bool, error)
func (*FullNodeStruct) ClientImport ¶ added in v1.9.0
func (*FullNodeStruct) ClientListDataTransfers ¶ added in v1.9.0
func (s *FullNodeStruct) ClientListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
func (*FullNodeStruct) ClientListDeals ¶ added in v1.9.0
func (s *FullNodeStruct) ClientListDeals(p0 context.Context) ([]DealInfo, error)
func (*FullNodeStruct) ClientListImports ¶ added in v1.9.0
func (s *FullNodeStruct) ClientListImports(p0 context.Context) ([]Import, error)
func (*FullNodeStruct) ClientListRetrievals ¶ added in v1.11.0
func (s *FullNodeStruct) ClientListRetrievals(p0 context.Context) ([]RetrievalInfo, error)
func (*FullNodeStruct) ClientMinerQueryOffer ¶ added in v1.9.0
func (s *FullNodeStruct) ClientMinerQueryOffer(p0 context.Context, p1 address.Address, p2 cid.Cid, p3 *cid.Cid) (QueryOffer, error)
func (*FullNodeStruct) ClientQueryAsk ¶ added in v1.9.0
func (s *FullNodeStruct) ClientQueryAsk(p0 context.Context, p1 peer.ID, p2 address.Address) (*StorageAsk, error)
func (*FullNodeStruct) ClientRemoveImport ¶ added in v1.9.0
func (*FullNodeStruct) ClientRestartDataTransfer ¶ added in v1.9.0
func (s *FullNodeStruct) ClientRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*FullNodeStruct) ClientRetrieve ¶ added in v1.9.0
func (s *FullNodeStruct) ClientRetrieve(p0 context.Context, p1 RetrievalOrder) (*RestrievalRes, error)
func (*FullNodeStruct) ClientRetrieveTryRestartInsufficientFunds ¶ added in v1.9.0
func (s *FullNodeStruct) ClientRetrieveTryRestartInsufficientFunds(p0 context.Context, p1 address.Address) error
func (*FullNodeStruct) ClientRetrieveWait ¶ added in v1.13.2
func (s *FullNodeStruct) ClientRetrieveWait(p0 context.Context, p1 retrievalmarket.DealID) error
func (*FullNodeStruct) ClientStartDeal ¶ added in v1.9.0
func (s *FullNodeStruct) ClientStartDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
func (*FullNodeStruct) ClientStatelessDeal ¶ added in v1.11.0
func (s *FullNodeStruct) ClientStatelessDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
func (*FullNodeStruct) CreateBackup ¶ added in v1.9.0
func (s *FullNodeStruct) CreateBackup(p0 context.Context, p1 string) error
func (*FullNodeStruct) EthAccounts ¶ added in v1.20.0
func (s *FullNodeStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
func (*FullNodeStruct) EthAddressToFilecoinAddress ¶ added in v1.20.0
func (s *FullNodeStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)
func (*FullNodeStruct) EthBlockNumber ¶ added in v1.20.0
func (*FullNodeStruct) EthCall ¶ added in v1.20.0
func (s *FullNodeStruct) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*FullNodeStruct) EthChainId ¶ added in v1.20.0
func (*FullNodeStruct) EthEstimateGas ¶ added in v1.20.0
func (*FullNodeStruct) EthFeeHistory ¶ added in v1.20.0
func (s *FullNodeStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
func (*FullNodeStruct) EthGasPrice ¶ added in v1.20.0
func (*FullNodeStruct) EthGetBalance ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
func (*FullNodeStruct) EthGetBlockByHash ¶ added in v1.20.0
func (*FullNodeStruct) EthGetBlockByNumber ¶ added in v1.20.0
func (*FullNodeStruct) EthGetBlockTransactionCountByHash ¶ added in v1.20.0
func (*FullNodeStruct) EthGetBlockTransactionCountByNumber ¶ added in v1.20.0
func (*FullNodeStruct) EthGetCode ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*FullNodeStruct) EthGetFilterChanges ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*FullNodeStruct) EthGetFilterLogs ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*FullNodeStruct) EthGetLogs ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
func (*FullNodeStruct) EthGetMessageCidByTransactionHash ¶ added in v1.20.0
func (*FullNodeStruct) EthGetStorageAt ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*FullNodeStruct) EthGetTransactionByBlockHashAndIndex ¶ added in v1.20.0
func (*FullNodeStruct) EthGetTransactionByBlockNumberAndIndex ¶ added in v1.20.0
func (*FullNodeStruct) EthGetTransactionByHash ¶ added in v1.20.0
func (*FullNodeStruct) EthGetTransactionByHashLimited ¶ added in v1.23.0
func (s *FullNodeStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
func (*FullNodeStruct) EthGetTransactionCount ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
func (*FullNodeStruct) EthGetTransactionHashByCid ¶ added in v1.20.0
func (*FullNodeStruct) EthGetTransactionReceipt ¶ added in v1.20.0
func (s *FullNodeStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
func (*FullNodeStruct) EthGetTransactionReceiptLimited ¶ added in v1.23.0
func (s *FullNodeStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
func (*FullNodeStruct) EthMaxPriorityFeePerGas ¶ added in v1.20.0
func (*FullNodeStruct) EthNewBlockFilter ¶ added in v1.20.0
func (s *FullNodeStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*FullNodeStruct) EthNewFilter ¶ added in v1.20.0
func (s *FullNodeStruct) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
func (*FullNodeStruct) EthNewPendingTransactionFilter ¶ added in v1.20.0
func (s *FullNodeStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*FullNodeStruct) EthProtocolVersion ¶ added in v1.20.0
func (*FullNodeStruct) EthSendRawTransaction ¶ added in v1.20.0
func (*FullNodeStruct) EthSubscribe ¶ added in v1.20.0
func (s *FullNodeStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
func (*FullNodeStruct) EthSyncing ¶ added in v1.23.3
func (s *FullNodeStruct) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
func (*FullNodeStruct) EthUninstallFilter ¶ added in v1.20.0
func (s *FullNodeStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
func (*FullNodeStruct) EthUnsubscribe ¶ added in v1.20.0
func (s *FullNodeStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
func (*FullNodeStruct) FilecoinAddressToEthAddress ¶ added in v1.20.0
func (s *FullNodeStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error)
func (*FullNodeStruct) GasEstimateFeeCap ¶ added in v1.9.0
func (*FullNodeStruct) GasEstimateGasLimit ¶ added in v1.9.0
func (*FullNodeStruct) GasEstimateGasPremium ¶ added in v1.9.0
func (*FullNodeStruct) GasEstimateMessageGas ¶ added in v1.9.0
func (*FullNodeStruct) MarketAddBalance ¶ added in v1.9.0
func (*FullNodeStruct) MarketGetReserved ¶ added in v1.9.0
func (*FullNodeStruct) MarketReleaseFunds ¶ added in v1.9.0
func (*FullNodeStruct) MarketReserveFunds ¶ added in v1.9.0
func (*FullNodeStruct) MarketWithdraw ¶ added in v1.9.0
func (*FullNodeStruct) MinerCreateBlock ¶ added in v1.9.0
func (s *FullNodeStruct) MinerCreateBlock(p0 context.Context, p1 *BlockTemplate) (*types.BlockMsg, error)
func (*FullNodeStruct) MinerGetBaseInfo ¶ added in v1.9.0
func (s *FullNodeStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
func (*FullNodeStruct) MpoolBatchPush ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
func (*FullNodeStruct) MpoolBatchPushMessage ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolBatchPushMessage(p0 context.Context, p1 []*types.Message, p2 *MessageSendSpec) ([]*types.SignedMessage, error)
func (*FullNodeStruct) MpoolBatchPushUntrusted ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
func (*FullNodeStruct) MpoolCheckMessages ¶ added in v1.11.0
func (s *FullNodeStruct) MpoolCheckMessages(p0 context.Context, p1 []*MessagePrototype) ([][]MessageCheckStatus, error)
func (*FullNodeStruct) MpoolCheckPendingMessages ¶ added in v1.11.0
func (s *FullNodeStruct) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]MessageCheckStatus, error)
func (*FullNodeStruct) MpoolCheckReplaceMessages ¶ added in v1.11.0
func (s *FullNodeStruct) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]MessageCheckStatus, error)
func (*FullNodeStruct) MpoolClear ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolClear(p0 context.Context, p1 bool) error
func (*FullNodeStruct) MpoolGetConfig ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolGetConfig(p0 context.Context) (*types.MpoolConfig, error)
func (*FullNodeStruct) MpoolGetNonce ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*FullNodeStruct) MpoolPending ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
func (*FullNodeStruct) MpoolPush ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*FullNodeStruct) MpoolPushMessage ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec) (*types.SignedMessage, error)
func (*FullNodeStruct) MpoolPushUntrusted ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*FullNodeStruct) MpoolSelect ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
func (*FullNodeStruct) MpoolSetConfig ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolSetConfig(p0 context.Context, p1 *types.MpoolConfig) error
func (*FullNodeStruct) MpoolSub ¶ added in v1.9.0
func (s *FullNodeStruct) MpoolSub(p0 context.Context) (<-chan MpoolUpdate, error)
func (*FullNodeStruct) MsigAddApprove ¶ added in v1.9.0
func (s *FullNodeStruct) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*MessagePrototype, error)
func (*FullNodeStruct) MsigAddCancel ¶ added in v1.9.0
func (s *FullNodeStruct) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*MessagePrototype, error)
func (*FullNodeStruct) MsigAddPropose ¶ added in v1.9.0
func (s *FullNodeStruct) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error)
func (*FullNodeStruct) MsigApprove ¶ added in v1.9.0
func (s *FullNodeStruct) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
func (*FullNodeStruct) MsigApproveTxnHash ¶ added in v1.9.0
func (s *FullNodeStruct) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 address.Address, p5 types.BigInt, p6 address.Address, p7 uint64, p8 []byte) (*MessagePrototype, error)
func (*FullNodeStruct) MsigCancel ¶ added in v1.9.0
func (s *FullNodeStruct) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
func (*FullNodeStruct) MsigCancelTxnHash ¶ added in v1.13.2
func (s *FullNodeStruct) MsigCancelTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*MessagePrototype, error)
func (*FullNodeStruct) MsigCreate ¶ added in v1.9.0
func (s *FullNodeStruct) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*MessagePrototype, error)
func (*FullNodeStruct) MsigGetAvailableBalance ¶ added in v1.9.0
func (*FullNodeStruct) MsigGetPending ¶ added in v1.9.0
func (s *FullNodeStruct) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
func (*FullNodeStruct) MsigGetVested ¶ added in v1.9.0
func (*FullNodeStruct) MsigGetVestingSchedule ¶ added in v1.9.0
func (s *FullNodeStruct) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
func (*FullNodeStruct) MsigPropose ¶ added in v1.9.0
func (s *FullNodeStruct) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*MessagePrototype, error)
func (*FullNodeStruct) MsigRemoveSigner ¶ added in v1.9.0
func (s *FullNodeStruct) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error)
func (*FullNodeStruct) MsigSwapApprove ¶ added in v1.9.0
func (s *FullNodeStruct) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*MessagePrototype, error)
func (*FullNodeStruct) MsigSwapCancel ¶ added in v1.9.0
func (s *FullNodeStruct) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*MessagePrototype, error)
func (*FullNodeStruct) MsigSwapPropose ¶ added in v1.9.0
func (s *FullNodeStruct) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*MessagePrototype, error)
func (*FullNodeStruct) NetListening ¶ added in v1.20.0
func (s *FullNodeStruct) NetListening(p0 context.Context) (bool, error)
func (*FullNodeStruct) NetVersion ¶ added in v1.20.0
func (s *FullNodeStruct) NetVersion(p0 context.Context) (string, error)
func (*FullNodeStruct) NodeStatus ¶ added in v1.11.0
func (s *FullNodeStruct) NodeStatus(p0 context.Context, p1 bool) (NodeStatus, error)
func (*FullNodeStruct) PaychAllocateLane ¶ added in v1.9.0
func (s *FullNodeStruct) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)
func (*FullNodeStruct) PaychAvailableFunds ¶ added in v1.9.0
func (s *FullNodeStruct) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*ChannelAvailableFunds, error)
func (*FullNodeStruct) PaychAvailableFundsByFromTo ¶ added in v1.9.0
func (s *FullNodeStruct) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*ChannelAvailableFunds, error)
func (*FullNodeStruct) PaychCollect ¶ added in v1.9.0
func (s *FullNodeStruct) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)
func (*FullNodeStruct) PaychFund ¶ added in v1.15.1
func (s *FullNodeStruct) PaychFund(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (*ChannelInfo, error)
func (*FullNodeStruct) PaychGet ¶ added in v1.9.0
func (s *FullNodeStruct) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 PaychGetOpts) (*ChannelInfo, error)
func (*FullNodeStruct) PaychGetWaitReady ¶ added in v1.9.0
func (s *FullNodeStruct) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)
func (*FullNodeStruct) PaychList ¶ added in v1.9.0
func (s *FullNodeStruct) PaychList(p0 context.Context) ([]address.Address, error)
func (*FullNodeStruct) PaychNewPayment ¶ added in v1.9.0
func (s *FullNodeStruct) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []VoucherSpec) (*PaymentInfo, error)
func (*FullNodeStruct) PaychSettle ¶ added in v1.9.0
func (s *FullNodeStruct) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)
func (*FullNodeStruct) PaychStatus ¶ added in v1.9.0
func (s *FullNodeStruct) PaychStatus(p0 context.Context, p1 address.Address) (*PaychStatus, error)
func (*FullNodeStruct) PaychVoucherAdd ¶ added in v1.9.0
func (*FullNodeStruct) PaychVoucherCheckSpendable ¶ added in v1.9.0
func (s *FullNodeStruct) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error)
func (*FullNodeStruct) PaychVoucherCheckValid ¶ added in v1.9.0
func (s *FullNodeStruct) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error
func (*FullNodeStruct) PaychVoucherCreate ¶ added in v1.9.0
func (s *FullNodeStruct) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 types.BigInt, p3 uint64) (*VoucherCreateResult, error)
func (*FullNodeStruct) PaychVoucherList ¶ added in v1.9.0
func (s *FullNodeStruct) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)
func (*FullNodeStruct) PaychVoucherSubmit ¶ added in v1.9.0
func (s *FullNodeStruct) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error)
func (*FullNodeStruct) RaftLeader ¶ added in v1.19.0
func (*FullNodeStruct) RaftState ¶ added in v1.19.0
func (s *FullNodeStruct) RaftState(p0 context.Context) (*RaftStateData, error)
func (*FullNodeStruct) StateAccountKey ¶ added in v1.9.0
func (*FullNodeStruct) StateActorCodeCIDs ¶ added in v1.16.0
func (s *FullNodeStruct) StateActorCodeCIDs(p0 context.Context, p1 abinetwork.Version) (map[string]cid.Cid, error)
func (*FullNodeStruct) StateActorManifestCID ¶ added in v1.17.2
func (s *FullNodeStruct) StateActorManifestCID(p0 context.Context, p1 abinetwork.Version) (cid.Cid, error)
func (*FullNodeStruct) StateAllMinerFaults ¶ added in v1.9.0
func (s *FullNodeStruct) StateAllMinerFaults(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) ([]*Fault, error)
func (*FullNodeStruct) StateCall ¶ added in v1.9.0
func (s *FullNodeStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
func (*FullNodeStruct) StateChangedActors ¶ added in v1.9.0
func (*FullNodeStruct) StateCirculatingSupply ¶ added in v1.9.0
func (s *FullNodeStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)
func (*FullNodeStruct) StateCompute ¶ added in v1.9.0
func (s *FullNodeStruct) StateCompute(p0 context.Context, p1 abi.ChainEpoch, p2 []*types.Message, p3 types.TipSetKey) (*ComputeStateOutput, error)
func (*FullNodeStruct) StateComputeDataCID ¶ added in v1.17.0
func (s *FullNodeStruct) StateComputeDataCID(p0 context.Context, p1 address.Address, p2 abi.RegisteredSealProof, p3 []abi.DealID, p4 types.TipSetKey) (cid.Cid, error)
func (*FullNodeStruct) StateDealProviderCollateralBounds ¶ added in v1.9.0
func (s *FullNodeStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
func (*FullNodeStruct) StateDecodeParams ¶ added in v1.9.0
func (*FullNodeStruct) StateEncodeParams ¶ added in v1.11.2
func (s *FullNodeStruct) StateEncodeParams(p0 context.Context, p1 cid.Cid, p2 abi.MethodNum, p3 json.RawMessage) ([]byte, error)
func (*FullNodeStruct) StateGetActor ¶ added in v1.9.0
func (*FullNodeStruct) StateGetAllocation ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*FullNodeStruct) StateGetAllocationForPendingDeal ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*FullNodeStruct) StateGetAllocations ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
func (*FullNodeStruct) StateGetBeaconEntry ¶ added in v1.16.0
func (s *FullNodeStruct) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
func (*FullNodeStruct) StateGetClaim ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error)
func (*FullNodeStruct) StateGetClaims ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
func (*FullNodeStruct) StateGetNetworkParams ¶ added in v1.15.3
func (s *FullNodeStruct) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error)
func (*FullNodeStruct) StateGetRandomnessDigestFromBeacon ¶ added in v1.24.0
func (s *FullNodeStruct) StateGetRandomnessDigestFromBeacon(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStruct) StateGetRandomnessDigestFromTickets ¶ added in v1.24.0
func (s *FullNodeStruct) StateGetRandomnessDigestFromTickets(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStruct) StateGetRandomnessFromBeacon ¶ added in v1.12.0
func (s *FullNodeStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStruct) StateGetRandomnessFromTickets ¶ added in v1.12.0
func (s *FullNodeStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStruct) StateListActors ¶ added in v1.9.0
func (*FullNodeStruct) StateListMessages ¶ added in v1.9.0
func (s *FullNodeStruct) StateListMessages(p0 context.Context, p1 *MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error)
func (*FullNodeStruct) StateListMiners ¶ added in v1.9.0
func (*FullNodeStruct) StateLookupID ¶ added in v1.9.0
func (*FullNodeStruct) StateLookupRobustAddress ¶ added in v1.15.3
func (*FullNodeStruct) StateMarketBalance ¶ added in v1.9.0
func (s *FullNodeStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
func (*FullNodeStruct) StateMarketDeals ¶ added in v1.9.0
func (s *FullNodeStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]*MarketDeal, error)
func (*FullNodeStruct) StateMarketParticipants ¶ added in v1.9.0
func (s *FullNodeStruct) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]MarketBalance, error)
func (*FullNodeStruct) StateMarketStorageDeal ¶ added in v1.9.0
func (s *FullNodeStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
func (*FullNodeStruct) StateMinerActiveSectors ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*FullNodeStruct) StateMinerAllocated ¶ added in v1.17.2
func (*FullNodeStruct) StateMinerAvailableBalance ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerDeadlines ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerFaults ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerInfo ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerInitialPledgeCollateral ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error)
func (*FullNodeStruct) StateMinerPartitions ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerPower ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
func (*FullNodeStruct) StateMinerPreCommitDepositForPower ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error)
func (*FullNodeStruct) StateMinerProvingDeadline ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerRecoveries ¶ added in v1.9.0
func (*FullNodeStruct) StateMinerSectorAllocated ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)
func (*FullNodeStruct) StateMinerSectorCount ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
func (*FullNodeStruct) StateMinerSectors ¶ added in v1.9.0
func (s *FullNodeStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*FullNodeStruct) StateNetworkName ¶ added in v1.9.0
func (s *FullNodeStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*FullNodeStruct) StateNetworkVersion ¶ added in v1.9.0
func (s *FullNodeStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
func (*FullNodeStruct) StateReadState ¶ added in v1.9.0
func (s *FullNodeStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
func (*FullNodeStruct) StateReplay ¶ added in v1.9.0
func (s *FullNodeStruct) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
func (*FullNodeStruct) StateSearchMsg ¶ added in v1.9.0
func (s *FullNodeStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*FullNodeStruct) StateSectorExpiration ¶ added in v1.9.0
func (s *FullNodeStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error)
func (*FullNodeStruct) StateSectorGetInfo ¶ added in v1.9.0
func (s *FullNodeStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*FullNodeStruct) StateSectorPartition ¶ added in v1.9.0
func (s *FullNodeStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)
func (*FullNodeStruct) StateSectorPreCommitInfo ¶ added in v1.9.0
func (s *FullNodeStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
func (*FullNodeStruct) StateVMCirculatingSupplyInternal ¶ added in v1.9.0
func (s *FullNodeStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (CirculatingSupply, error)
func (*FullNodeStruct) StateVerifiedClientStatus ¶ added in v1.9.0
func (s *FullNodeStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*FullNodeStruct) StateVerifiedRegistryRootKey ¶ added in v1.9.0
func (*FullNodeStruct) StateVerifierStatus ¶ added in v1.9.0
func (s *FullNodeStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*FullNodeStruct) StateWaitMsg ¶ added in v1.9.0
func (s *FullNodeStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*FullNodeStruct) SyncCheckBad ¶ added in v1.9.0
func (s *FullNodeStruct) SyncCheckBad(p0 context.Context, p1 cid.Cid) (string, error)
func (*FullNodeStruct) SyncCheckpoint ¶ added in v1.9.0
func (*FullNodeStruct) SyncIncomingBlocks ¶ added in v1.9.0
func (s *FullNodeStruct) SyncIncomingBlocks(p0 context.Context) (<-chan *types.BlockHeader, error)
func (*FullNodeStruct) SyncMarkBad ¶ added in v1.9.0
func (s *FullNodeStruct) SyncMarkBad(p0 context.Context, p1 cid.Cid) error
func (*FullNodeStruct) SyncState ¶ added in v1.9.0
func (s *FullNodeStruct) SyncState(p0 context.Context) (*SyncState, error)
func (*FullNodeStruct) SyncSubmitBlock ¶ added in v1.9.0
func (*FullNodeStruct) SyncUnmarkAllBad ¶ added in v1.9.0
func (s *FullNodeStruct) SyncUnmarkAllBad(p0 context.Context) error
func (*FullNodeStruct) SyncUnmarkBad ¶ added in v1.9.0
func (s *FullNodeStruct) SyncUnmarkBad(p0 context.Context, p1 cid.Cid) error
func (*FullNodeStruct) SyncValidateTipset ¶ added in v1.9.0
func (*FullNodeStruct) WalletBalance ¶ added in v1.9.0
func (*FullNodeStruct) WalletDefaultAddress ¶ added in v1.9.0
func (s *FullNodeStruct) WalletDefaultAddress(p0 context.Context) (address.Address, error)
func (*FullNodeStruct) WalletDelete ¶ added in v1.9.0
func (s *FullNodeStruct) WalletDelete(p0 context.Context, p1 address.Address) error
func (*FullNodeStruct) WalletExport ¶ added in v1.9.0
func (*FullNodeStruct) WalletHas ¶ added in v1.9.0
func (s *FullNodeStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*FullNodeStruct) WalletImport ¶ added in v1.9.0
func (*FullNodeStruct) WalletList ¶ added in v1.9.0
func (s *FullNodeStruct) WalletList(p0 context.Context) ([]address.Address, error)
func (*FullNodeStruct) WalletSetDefault ¶ added in v1.9.0
func (s *FullNodeStruct) WalletSetDefault(p0 context.Context, p1 address.Address) error
func (*FullNodeStruct) WalletSign ¶ added in v1.9.0
func (*FullNodeStruct) WalletSignMessage ¶ added in v1.9.0
func (s *FullNodeStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
func (*FullNodeStruct) WalletValidateAddress ¶ added in v1.9.0
func (s *FullNodeStruct) WalletValidateAddress(p0 context.Context, p1 string) (address.Address, error)
func (*FullNodeStruct) WalletVerify ¶ added in v1.9.0
func (*FullNodeStruct) Web3ClientVersion ¶ added in v1.20.0
func (s *FullNodeStruct) Web3ClientVersion(p0 context.Context) (string, error)
type FullNodeStub ¶ added in v1.9.0
type FullNodeStub struct { CommonStub NetStub }
func (*FullNodeStub) ChainBlockstoreInfo ¶ added in v1.11.1
func (s *FullNodeStub) ChainBlockstoreInfo(p0 context.Context) (map[string]interface{}, error)
func (*FullNodeStub) ChainCheckBlockstore ¶ added in v1.11.1
func (s *FullNodeStub) ChainCheckBlockstore(p0 context.Context) error
func (*FullNodeStub) ChainDeleteObj ¶ added in v1.9.0
func (s *FullNodeStub) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error
func (*FullNodeStub) ChainExport ¶ added in v1.9.0
func (s *FullNodeStub) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)
func (*FullNodeStub) ChainExportRangeInternal ¶ added in v1.23.0
func (s *FullNodeStub) ChainExportRangeInternal(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey, p3 ChainExportConfig) error
func (*FullNodeStub) ChainGetBlock ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*FullNodeStub) ChainGetBlockMessages ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
func (*FullNodeStub) ChainGetEvents ¶ added in v1.20.0
func (*FullNodeStub) ChainGetGenesis ¶ added in v1.9.0
func (*FullNodeStub) ChainGetMessage ¶ added in v1.9.0
func (*FullNodeStub) ChainGetMessagesInTipset ¶ added in v1.11.1
func (*FullNodeStub) ChainGetNode ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetNode(p0 context.Context, p1 string) (*IpldObject, error)
func (*FullNodeStub) ChainGetParentMessages ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
func (*FullNodeStub) ChainGetParentReceipts ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*FullNodeStub) ChainGetPath ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
func (*FullNodeStub) ChainGetTipSet ¶ added in v1.9.0
func (*FullNodeStub) ChainGetTipSetAfterHeight ¶ added in v1.11.2
func (s *FullNodeStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*FullNodeStub) ChainGetTipSetByHeight ¶ added in v1.9.0
func (s *FullNodeStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*FullNodeStub) ChainHasObj ¶ added in v1.9.0
func (s *FullNodeStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*FullNodeStub) ChainHotGC ¶ added in v1.23.0
func (s *FullNodeStub) ChainHotGC(p0 context.Context, p1 HotGCOpts) error
func (*FullNodeStub) ChainNotify ¶ added in v1.9.0
func (s *FullNodeStub) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
func (*FullNodeStub) ChainPrune ¶ added in v1.17.1
func (s *FullNodeStub) ChainPrune(p0 context.Context, p1 PruneOpts) error
func (*FullNodeStub) ChainPutObj ¶ added in v1.16.0
func (*FullNodeStub) ChainReadObj ¶ added in v1.9.0
func (s *FullNodeStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*FullNodeStub) ChainSetHead ¶ added in v1.9.0
func (*FullNodeStub) ChainStatObj ¶ added in v1.9.0
func (s *FullNodeStub) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (ObjStat, error)
func (*FullNodeStub) ChainTipSetWeight ¶ added in v1.9.0
func (*FullNodeStub) ClientCalcCommP ¶ added in v1.9.0
func (*FullNodeStub) ClientCancelDataTransfer ¶ added in v1.9.0
func (s *FullNodeStub) ClientCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*FullNodeStub) ClientCancelRetrievalDeal ¶ added in v1.9.0
func (s *FullNodeStub) ClientCancelRetrievalDeal(p0 context.Context, p1 retrievalmarket.DealID) error
func (*FullNodeStub) ClientDataTransferUpdates ¶ added in v1.9.0
func (s *FullNodeStub) ClientDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
func (*FullNodeStub) ClientDealPieceCID ¶ added in v1.9.0
func (s *FullNodeStub) ClientDealPieceCID(p0 context.Context, p1 cid.Cid) (DataCIDSize, error)
func (*FullNodeStub) ClientDealSize ¶ added in v1.9.0
func (s *FullNodeStub) ClientDealSize(p0 context.Context, p1 cid.Cid) (DataSize, error)
func (*FullNodeStub) ClientExport ¶ added in v1.13.2
func (*FullNodeStub) ClientFindData ¶ added in v1.9.0
func (s *FullNodeStub) ClientFindData(p0 context.Context, p1 cid.Cid, p2 *cid.Cid) ([]QueryOffer, error)
func (*FullNodeStub) ClientGenCar ¶ added in v1.9.0
func (*FullNodeStub) ClientGetDealInfo ¶ added in v1.9.0
func (s *FullNodeStub) ClientGetDealInfo(p0 context.Context, p1 cid.Cid) (*DealInfo, error)
func (*FullNodeStub) ClientGetDealStatus ¶ added in v1.9.0
func (*FullNodeStub) ClientGetDealUpdates ¶ added in v1.9.0
func (s *FullNodeStub) ClientGetDealUpdates(p0 context.Context) (<-chan DealInfo, error)
func (*FullNodeStub) ClientGetRetrievalUpdates ¶ added in v1.11.0
func (s *FullNodeStub) ClientGetRetrievalUpdates(p0 context.Context) (<-chan RetrievalInfo, error)
func (*FullNodeStub) ClientHasLocal ¶ added in v1.9.0
func (s *FullNodeStub) ClientHasLocal(p0 context.Context, p1 cid.Cid) (bool, error)
func (*FullNodeStub) ClientImport ¶ added in v1.9.0
func (*FullNodeStub) ClientListDataTransfers ¶ added in v1.9.0
func (s *FullNodeStub) ClientListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
func (*FullNodeStub) ClientListDeals ¶ added in v1.9.0
func (s *FullNodeStub) ClientListDeals(p0 context.Context) ([]DealInfo, error)
func (*FullNodeStub) ClientListImports ¶ added in v1.9.0
func (s *FullNodeStub) ClientListImports(p0 context.Context) ([]Import, error)
func (*FullNodeStub) ClientListRetrievals ¶ added in v1.11.0
func (s *FullNodeStub) ClientListRetrievals(p0 context.Context) ([]RetrievalInfo, error)
func (*FullNodeStub) ClientMinerQueryOffer ¶ added in v1.9.0
func (s *FullNodeStub) ClientMinerQueryOffer(p0 context.Context, p1 address.Address, p2 cid.Cid, p3 *cid.Cid) (QueryOffer, error)
func (*FullNodeStub) ClientQueryAsk ¶ added in v1.9.0
func (s *FullNodeStub) ClientQueryAsk(p0 context.Context, p1 peer.ID, p2 address.Address) (*StorageAsk, error)
func (*FullNodeStub) ClientRemoveImport ¶ added in v1.9.0
func (*FullNodeStub) ClientRestartDataTransfer ¶ added in v1.9.0
func (s *FullNodeStub) ClientRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*FullNodeStub) ClientRetrieve ¶ added in v1.9.0
func (s *FullNodeStub) ClientRetrieve(p0 context.Context, p1 RetrievalOrder) (*RestrievalRes, error)
func (*FullNodeStub) ClientRetrieveTryRestartInsufficientFunds ¶ added in v1.9.0
func (s *FullNodeStub) ClientRetrieveTryRestartInsufficientFunds(p0 context.Context, p1 address.Address) error
func (*FullNodeStub) ClientRetrieveWait ¶ added in v1.13.2
func (s *FullNodeStub) ClientRetrieveWait(p0 context.Context, p1 retrievalmarket.DealID) error
func (*FullNodeStub) ClientStartDeal ¶ added in v1.9.0
func (s *FullNodeStub) ClientStartDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
func (*FullNodeStub) ClientStatelessDeal ¶ added in v1.11.0
func (s *FullNodeStub) ClientStatelessDeal(p0 context.Context, p1 *StartDealParams) (*cid.Cid, error)
func (*FullNodeStub) CreateBackup ¶ added in v1.9.0
func (s *FullNodeStub) CreateBackup(p0 context.Context, p1 string) error
func (*FullNodeStub) EthAccounts ¶ added in v1.20.0
func (s *FullNodeStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
func (*FullNodeStub) EthAddressToFilecoinAddress ¶ added in v1.20.0
func (s *FullNodeStub) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error)
func (*FullNodeStub) EthBlockNumber ¶ added in v1.20.0
func (*FullNodeStub) EthCall ¶ added in v1.20.0
func (s *FullNodeStub) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*FullNodeStub) EthChainId ¶ added in v1.20.0
func (*FullNodeStub) EthEstimateGas ¶ added in v1.20.0
func (*FullNodeStub) EthFeeHistory ¶ added in v1.20.0
func (s *FullNodeStub) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
func (*FullNodeStub) EthGasPrice ¶ added in v1.20.0
func (*FullNodeStub) EthGetBalance ¶ added in v1.20.0
func (s *FullNodeStub) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
func (*FullNodeStub) EthGetBlockByHash ¶ added in v1.20.0
func (*FullNodeStub) EthGetBlockByNumber ¶ added in v1.20.0
func (*FullNodeStub) EthGetBlockTransactionCountByHash ¶ added in v1.20.0
func (*FullNodeStub) EthGetBlockTransactionCountByNumber ¶ added in v1.20.0
func (*FullNodeStub) EthGetCode ¶ added in v1.20.0
func (s *FullNodeStub) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*FullNodeStub) EthGetFilterChanges ¶ added in v1.20.0
func (s *FullNodeStub) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*FullNodeStub) EthGetFilterLogs ¶ added in v1.20.0
func (s *FullNodeStub) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*FullNodeStub) EthGetLogs ¶ added in v1.20.0
func (s *FullNodeStub) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
func (*FullNodeStub) EthGetMessageCidByTransactionHash ¶ added in v1.20.0
func (*FullNodeStub) EthGetStorageAt ¶ added in v1.20.0
func (s *FullNodeStub) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*FullNodeStub) EthGetTransactionByBlockHashAndIndex ¶ added in v1.20.0
func (*FullNodeStub) EthGetTransactionByBlockNumberAndIndex ¶ added in v1.20.0
func (*FullNodeStub) EthGetTransactionByHash ¶ added in v1.20.0
func (*FullNodeStub) EthGetTransactionByHashLimited ¶ added in v1.23.0
func (s *FullNodeStub) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
func (*FullNodeStub) EthGetTransactionCount ¶ added in v1.20.0
func (s *FullNodeStub) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
func (*FullNodeStub) EthGetTransactionHashByCid ¶ added in v1.20.0
func (*FullNodeStub) EthGetTransactionReceipt ¶ added in v1.20.0
func (s *FullNodeStub) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
func (*FullNodeStub) EthGetTransactionReceiptLimited ¶ added in v1.23.0
func (s *FullNodeStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
func (*FullNodeStub) EthMaxPriorityFeePerGas ¶ added in v1.20.0
func (*FullNodeStub) EthNewBlockFilter ¶ added in v1.20.0
func (s *FullNodeStub) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*FullNodeStub) EthNewFilter ¶ added in v1.20.0
func (s *FullNodeStub) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
func (*FullNodeStub) EthNewPendingTransactionFilter ¶ added in v1.20.0
func (s *FullNodeStub) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*FullNodeStub) EthProtocolVersion ¶ added in v1.20.0
func (*FullNodeStub) EthSendRawTransaction ¶ added in v1.20.0
func (*FullNodeStub) EthSubscribe ¶ added in v1.20.0
func (s *FullNodeStub) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
func (*FullNodeStub) EthSyncing ¶ added in v1.23.3
func (s *FullNodeStub) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
func (*FullNodeStub) EthUninstallFilter ¶ added in v1.20.0
func (s *FullNodeStub) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
func (*FullNodeStub) EthUnsubscribe ¶ added in v1.20.0
func (s *FullNodeStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
func (*FullNodeStub) FilecoinAddressToEthAddress ¶ added in v1.20.0
func (s *FullNodeStub) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error)
func (*FullNodeStub) GasEstimateFeeCap ¶ added in v1.9.0
func (*FullNodeStub) GasEstimateGasLimit ¶ added in v1.9.0
func (*FullNodeStub) GasEstimateGasPremium ¶ added in v1.9.0
func (*FullNodeStub) GasEstimateMessageGas ¶ added in v1.9.0
func (*FullNodeStub) MarketAddBalance ¶ added in v1.9.0
func (*FullNodeStub) MarketGetReserved ¶ added in v1.9.0
func (*FullNodeStub) MarketReleaseFunds ¶ added in v1.9.0
func (*FullNodeStub) MarketReserveFunds ¶ added in v1.9.0
func (*FullNodeStub) MarketWithdraw ¶ added in v1.9.0
func (*FullNodeStub) MinerCreateBlock ¶ added in v1.9.0
func (s *FullNodeStub) MinerCreateBlock(p0 context.Context, p1 *BlockTemplate) (*types.BlockMsg, error)
func (*FullNodeStub) MinerGetBaseInfo ¶ added in v1.9.0
func (s *FullNodeStub) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
func (*FullNodeStub) MpoolBatchPush ¶ added in v1.9.0
func (s *FullNodeStub) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
func (*FullNodeStub) MpoolBatchPushMessage ¶ added in v1.9.0
func (s *FullNodeStub) MpoolBatchPushMessage(p0 context.Context, p1 []*types.Message, p2 *MessageSendSpec) ([]*types.SignedMessage, error)
func (*FullNodeStub) MpoolBatchPushUntrusted ¶ added in v1.9.0
func (s *FullNodeStub) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
func (*FullNodeStub) MpoolCheckMessages ¶ added in v1.11.0
func (s *FullNodeStub) MpoolCheckMessages(p0 context.Context, p1 []*MessagePrototype) ([][]MessageCheckStatus, error)
func (*FullNodeStub) MpoolCheckPendingMessages ¶ added in v1.11.0
func (s *FullNodeStub) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]MessageCheckStatus, error)
func (*FullNodeStub) MpoolCheckReplaceMessages ¶ added in v1.11.0
func (s *FullNodeStub) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]MessageCheckStatus, error)
func (*FullNodeStub) MpoolClear ¶ added in v1.9.0
func (s *FullNodeStub) MpoolClear(p0 context.Context, p1 bool) error
func (*FullNodeStub) MpoolGetConfig ¶ added in v1.9.0
func (s *FullNodeStub) MpoolGetConfig(p0 context.Context) (*types.MpoolConfig, error)
func (*FullNodeStub) MpoolGetNonce ¶ added in v1.9.0
func (s *FullNodeStub) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*FullNodeStub) MpoolPending ¶ added in v1.9.0
func (s *FullNodeStub) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
func (*FullNodeStub) MpoolPush ¶ added in v1.9.0
func (s *FullNodeStub) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*FullNodeStub) MpoolPushMessage ¶ added in v1.9.0
func (s *FullNodeStub) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec) (*types.SignedMessage, error)
func (*FullNodeStub) MpoolPushUntrusted ¶ added in v1.9.0
func (s *FullNodeStub) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*FullNodeStub) MpoolSelect ¶ added in v1.9.0
func (s *FullNodeStub) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
func (*FullNodeStub) MpoolSetConfig ¶ added in v1.9.0
func (s *FullNodeStub) MpoolSetConfig(p0 context.Context, p1 *types.MpoolConfig) error
func (*FullNodeStub) MpoolSub ¶ added in v1.9.0
func (s *FullNodeStub) MpoolSub(p0 context.Context) (<-chan MpoolUpdate, error)
func (*FullNodeStub) MsigAddApprove ¶ added in v1.9.0
func (s *FullNodeStub) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*MessagePrototype, error)
func (*FullNodeStub) MsigAddCancel ¶ added in v1.9.0
func (s *FullNodeStub) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*MessagePrototype, error)
func (*FullNodeStub) MsigAddPropose ¶ added in v1.9.0
func (s *FullNodeStub) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error)
func (*FullNodeStub) MsigApprove ¶ added in v1.9.0
func (s *FullNodeStub) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
func (*FullNodeStub) MsigApproveTxnHash ¶ added in v1.9.0
func (s *FullNodeStub) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 address.Address, p5 types.BigInt, p6 address.Address, p7 uint64, p8 []byte) (*MessagePrototype, error)
func (*FullNodeStub) MsigCancel ¶ added in v1.9.0
func (s *FullNodeStub) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error)
func (*FullNodeStub) MsigCancelTxnHash ¶ added in v1.13.2
func (s *FullNodeStub) MsigCancelTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*MessagePrototype, error)
func (*FullNodeStub) MsigCreate ¶ added in v1.9.0
func (s *FullNodeStub) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*MessagePrototype, error)
func (*FullNodeStub) MsigGetAvailableBalance ¶ added in v1.9.0
func (*FullNodeStub) MsigGetPending ¶ added in v1.9.0
func (s *FullNodeStub) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
func (*FullNodeStub) MsigGetVested ¶ added in v1.9.0
func (*FullNodeStub) MsigGetVestingSchedule ¶ added in v1.9.0
func (s *FullNodeStub) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
func (*FullNodeStub) MsigPropose ¶ added in v1.9.0
func (s *FullNodeStub) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*MessagePrototype, error)
func (*FullNodeStub) MsigRemoveSigner ¶ added in v1.9.0
func (s *FullNodeStub) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error)
func (*FullNodeStub) MsigSwapApprove ¶ added in v1.9.0
func (s *FullNodeStub) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*MessagePrototype, error)
func (*FullNodeStub) MsigSwapCancel ¶ added in v1.9.0
func (s *FullNodeStub) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*MessagePrototype, error)
func (*FullNodeStub) MsigSwapPropose ¶ added in v1.9.0
func (s *FullNodeStub) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*MessagePrototype, error)
func (*FullNodeStub) NetListening ¶ added in v1.20.0
func (s *FullNodeStub) NetListening(p0 context.Context) (bool, error)
func (*FullNodeStub) NetVersion ¶ added in v1.20.0
func (s *FullNodeStub) NetVersion(p0 context.Context) (string, error)
func (*FullNodeStub) NodeStatus ¶ added in v1.11.0
func (s *FullNodeStub) NodeStatus(p0 context.Context, p1 bool) (NodeStatus, error)
func (*FullNodeStub) PaychAllocateLane ¶ added in v1.9.0
func (s *FullNodeStub) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)
func (*FullNodeStub) PaychAvailableFunds ¶ added in v1.9.0
func (s *FullNodeStub) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*ChannelAvailableFunds, error)
func (*FullNodeStub) PaychAvailableFundsByFromTo ¶ added in v1.9.0
func (s *FullNodeStub) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*ChannelAvailableFunds, error)
func (*FullNodeStub) PaychCollect ¶ added in v1.9.0
func (s *FullNodeStub) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)
func (*FullNodeStub) PaychFund ¶ added in v1.15.1
func (s *FullNodeStub) PaychFund(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (*ChannelInfo, error)
func (*FullNodeStub) PaychGet ¶ added in v1.9.0
func (s *FullNodeStub) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 PaychGetOpts) (*ChannelInfo, error)
func (*FullNodeStub) PaychGetWaitReady ¶ added in v1.9.0
func (s *FullNodeStub) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)
func (*FullNodeStub) PaychList ¶ added in v1.9.0
func (s *FullNodeStub) PaychList(p0 context.Context) ([]address.Address, error)
func (*FullNodeStub) PaychNewPayment ¶ added in v1.9.0
func (s *FullNodeStub) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []VoucherSpec) (*PaymentInfo, error)
func (*FullNodeStub) PaychSettle ¶ added in v1.9.0
func (s *FullNodeStub) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)
func (*FullNodeStub) PaychStatus ¶ added in v1.9.0
func (s *FullNodeStub) PaychStatus(p0 context.Context, p1 address.Address) (*PaychStatus, error)
func (*FullNodeStub) PaychVoucherAdd ¶ added in v1.9.0
func (*FullNodeStub) PaychVoucherCheckSpendable ¶ added in v1.9.0
func (s *FullNodeStub) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error)
func (*FullNodeStub) PaychVoucherCheckValid ¶ added in v1.9.0
func (s *FullNodeStub) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error
func (*FullNodeStub) PaychVoucherCreate ¶ added in v1.9.0
func (s *FullNodeStub) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 types.BigInt, p3 uint64) (*VoucherCreateResult, error)
func (*FullNodeStub) PaychVoucherList ¶ added in v1.9.0
func (s *FullNodeStub) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)
func (*FullNodeStub) PaychVoucherSubmit ¶ added in v1.9.0
func (s *FullNodeStub) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error)
func (*FullNodeStub) RaftLeader ¶ added in v1.19.0
func (*FullNodeStub) RaftState ¶ added in v1.19.0
func (s *FullNodeStub) RaftState(p0 context.Context) (*RaftStateData, error)
func (*FullNodeStub) StateAccountKey ¶ added in v1.9.0
func (*FullNodeStub) StateActorCodeCIDs ¶ added in v1.16.0
func (s *FullNodeStub) StateActorCodeCIDs(p0 context.Context, p1 abinetwork.Version) (map[string]cid.Cid, error)
func (*FullNodeStub) StateActorManifestCID ¶ added in v1.17.2
func (s *FullNodeStub) StateActorManifestCID(p0 context.Context, p1 abinetwork.Version) (cid.Cid, error)
func (*FullNodeStub) StateAllMinerFaults ¶ added in v1.9.0
func (s *FullNodeStub) StateAllMinerFaults(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) ([]*Fault, error)
func (*FullNodeStub) StateCall ¶ added in v1.9.0
func (s *FullNodeStub) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
func (*FullNodeStub) StateChangedActors ¶ added in v1.9.0
func (*FullNodeStub) StateCirculatingSupply ¶ added in v1.9.0
func (s *FullNodeStub) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)
func (*FullNodeStub) StateCompute ¶ added in v1.9.0
func (s *FullNodeStub) StateCompute(p0 context.Context, p1 abi.ChainEpoch, p2 []*types.Message, p3 types.TipSetKey) (*ComputeStateOutput, error)
func (*FullNodeStub) StateComputeDataCID ¶ added in v1.17.0
func (s *FullNodeStub) StateComputeDataCID(p0 context.Context, p1 address.Address, p2 abi.RegisteredSealProof, p3 []abi.DealID, p4 types.TipSetKey) (cid.Cid, error)
func (*FullNodeStub) StateDealProviderCollateralBounds ¶ added in v1.9.0
func (s *FullNodeStub) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
func (*FullNodeStub) StateDecodeParams ¶ added in v1.9.0
func (*FullNodeStub) StateEncodeParams ¶ added in v1.11.2
func (s *FullNodeStub) StateEncodeParams(p0 context.Context, p1 cid.Cid, p2 abi.MethodNum, p3 json.RawMessage) ([]byte, error)
func (*FullNodeStub) StateGetActor ¶ added in v1.9.0
func (*FullNodeStub) StateGetAllocation ¶ added in v1.18.0
func (s *FullNodeStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*FullNodeStub) StateGetAllocationForPendingDeal ¶ added in v1.18.0
func (s *FullNodeStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*FullNodeStub) StateGetAllocations ¶ added in v1.18.0
func (s *FullNodeStub) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
func (*FullNodeStub) StateGetBeaconEntry ¶ added in v1.16.0
func (s *FullNodeStub) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
func (*FullNodeStub) StateGetClaim ¶ added in v1.18.0
func (s *FullNodeStub) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error)
func (*FullNodeStub) StateGetClaims ¶ added in v1.18.0
func (s *FullNodeStub) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
func (*FullNodeStub) StateGetNetworkParams ¶ added in v1.15.3
func (s *FullNodeStub) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error)
func (*FullNodeStub) StateGetRandomnessDigestFromBeacon ¶ added in v1.24.0
func (s *FullNodeStub) StateGetRandomnessDigestFromBeacon(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStub) StateGetRandomnessDigestFromTickets ¶ added in v1.24.0
func (s *FullNodeStub) StateGetRandomnessDigestFromTickets(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStub) StateGetRandomnessFromBeacon ¶ added in v1.12.0
func (s *FullNodeStub) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStub) StateGetRandomnessFromTickets ¶ added in v1.12.0
func (s *FullNodeStub) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*FullNodeStub) StateListActors ¶ added in v1.9.0
func (*FullNodeStub) StateListMessages ¶ added in v1.9.0
func (s *FullNodeStub) StateListMessages(p0 context.Context, p1 *MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error)
func (*FullNodeStub) StateListMiners ¶ added in v1.9.0
func (*FullNodeStub) StateLookupID ¶ added in v1.9.0
func (*FullNodeStub) StateLookupRobustAddress ¶ added in v1.15.3
func (*FullNodeStub) StateMarketBalance ¶ added in v1.9.0
func (s *FullNodeStub) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
func (*FullNodeStub) StateMarketDeals ¶ added in v1.9.0
func (s *FullNodeStub) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]*MarketDeal, error)
func (*FullNodeStub) StateMarketParticipants ¶ added in v1.9.0
func (s *FullNodeStub) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]MarketBalance, error)
func (*FullNodeStub) StateMarketStorageDeal ¶ added in v1.9.0
func (s *FullNodeStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
func (*FullNodeStub) StateMinerActiveSectors ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*FullNodeStub) StateMinerAllocated ¶ added in v1.17.2
func (*FullNodeStub) StateMinerAvailableBalance ¶ added in v1.9.0
func (*FullNodeStub) StateMinerDeadlines ¶ added in v1.9.0
func (*FullNodeStub) StateMinerFaults ¶ added in v1.9.0
func (*FullNodeStub) StateMinerInfo ¶ added in v1.9.0
func (*FullNodeStub) StateMinerInitialPledgeCollateral ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error)
func (*FullNodeStub) StateMinerPartitions ¶ added in v1.9.0
func (*FullNodeStub) StateMinerPower ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
func (*FullNodeStub) StateMinerPreCommitDepositForPower ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error)
func (*FullNodeStub) StateMinerProvingDeadline ¶ added in v1.9.0
func (*FullNodeStub) StateMinerRecoveries ¶ added in v1.9.0
func (*FullNodeStub) StateMinerSectorAllocated ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)
func (*FullNodeStub) StateMinerSectorCount ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
func (*FullNodeStub) StateMinerSectors ¶ added in v1.9.0
func (s *FullNodeStub) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*FullNodeStub) StateNetworkName ¶ added in v1.9.0
func (s *FullNodeStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*FullNodeStub) StateNetworkVersion ¶ added in v1.9.0
func (s *FullNodeStub) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
func (*FullNodeStub) StateReadState ¶ added in v1.9.0
func (s *FullNodeStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
func (*FullNodeStub) StateReplay ¶ added in v1.9.0
func (s *FullNodeStub) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
func (*FullNodeStub) StateSearchMsg ¶ added in v1.9.0
func (s *FullNodeStub) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*FullNodeStub) StateSectorExpiration ¶ added in v1.9.0
func (s *FullNodeStub) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error)
func (*FullNodeStub) StateSectorGetInfo ¶ added in v1.9.0
func (s *FullNodeStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*FullNodeStub) StateSectorPartition ¶ added in v1.9.0
func (s *FullNodeStub) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)
func (*FullNodeStub) StateSectorPreCommitInfo ¶ added in v1.9.0
func (s *FullNodeStub) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
func (*FullNodeStub) StateVMCirculatingSupplyInternal ¶ added in v1.9.0
func (s *FullNodeStub) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (CirculatingSupply, error)
func (*FullNodeStub) StateVerifiedClientStatus ¶ added in v1.9.0
func (s *FullNodeStub) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*FullNodeStub) StateVerifiedRegistryRootKey ¶ added in v1.9.0
func (*FullNodeStub) StateVerifierStatus ¶ added in v1.9.0
func (s *FullNodeStub) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*FullNodeStub) StateWaitMsg ¶ added in v1.9.0
func (s *FullNodeStub) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*FullNodeStub) SyncCheckBad ¶ added in v1.9.0
func (s *FullNodeStub) SyncCheckBad(p0 context.Context, p1 cid.Cid) (string, error)
func (*FullNodeStub) SyncCheckpoint ¶ added in v1.9.0
func (*FullNodeStub) SyncIncomingBlocks ¶ added in v1.9.0
func (s *FullNodeStub) SyncIncomingBlocks(p0 context.Context) (<-chan *types.BlockHeader, error)
func (*FullNodeStub) SyncMarkBad ¶ added in v1.9.0
func (s *FullNodeStub) SyncMarkBad(p0 context.Context, p1 cid.Cid) error
func (*FullNodeStub) SyncState ¶ added in v1.9.0
func (s *FullNodeStub) SyncState(p0 context.Context) (*SyncState, error)
func (*FullNodeStub) SyncSubmitBlock ¶ added in v1.9.0
func (*FullNodeStub) SyncUnmarkAllBad ¶ added in v1.9.0
func (s *FullNodeStub) SyncUnmarkAllBad(p0 context.Context) error
func (*FullNodeStub) SyncUnmarkBad ¶ added in v1.9.0
func (s *FullNodeStub) SyncUnmarkBad(p0 context.Context, p1 cid.Cid) error
func (*FullNodeStub) SyncValidateTipset ¶ added in v1.9.0
func (*FullNodeStub) WalletBalance ¶ added in v1.9.0
func (*FullNodeStub) WalletDefaultAddress ¶ added in v1.9.0
func (s *FullNodeStub) WalletDefaultAddress(p0 context.Context) (address.Address, error)
func (*FullNodeStub) WalletDelete ¶ added in v1.9.0
func (s *FullNodeStub) WalletDelete(p0 context.Context, p1 address.Address) error
func (*FullNodeStub) WalletExport ¶ added in v1.9.0
func (*FullNodeStub) WalletHas ¶ added in v1.9.0
func (s *FullNodeStub) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*FullNodeStub) WalletImport ¶ added in v1.9.0
func (*FullNodeStub) WalletList ¶ added in v1.9.0
func (s *FullNodeStub) WalletList(p0 context.Context) ([]address.Address, error)
func (*FullNodeStub) WalletSetDefault ¶ added in v1.9.0
func (s *FullNodeStub) WalletSetDefault(p0 context.Context, p1 address.Address) error
func (*FullNodeStub) WalletSign ¶ added in v1.9.0
func (*FullNodeStub) WalletSignMessage ¶ added in v1.9.0
func (s *FullNodeStub) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
func (*FullNodeStub) WalletValidateAddress ¶ added in v1.9.0
func (s *FullNodeStub) WalletValidateAddress(p0 context.Context, p1 string) (address.Address, error)
func (*FullNodeStub) WalletVerify ¶ added in v1.9.0
func (*FullNodeStub) Web3ClientVersion ¶ added in v1.20.0
func (s *FullNodeStub) Web3ClientVersion(p0 context.Context) (string, error)
type Gateway ¶ added in v1.9.0
type Gateway interface { MpoolPending(context.Context, types.TipSetKey) ([]*types.SignedMessage, error) ChainGetBlock(context.Context, cid.Cid) (*types.BlockHeader, error) MinerGetBaseInfo(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) (*MiningBaseInfo, error) StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (MinerSectors, error) GasEstimateGasPremium(context.Context, uint64, address.Address, int64, types.TipSetKey) (types.BigInt, error) StateReplay(context.Context, types.TipSetKey, cid.Cid) (*InvocResult, error) ChainHasObj(context.Context, cid.Cid) (bool, error) ChainPutObj(context.Context, blocks.Block) error ChainHead(ctx context.Context) (*types.TipSet, error) ChainGetParentMessages(context.Context, cid.Cid) ([]Message, error) ChainGetParentReceipts(context.Context, cid.Cid) ([]*types.MessageReceipt, error) ChainGetBlockMessages(context.Context, cid.Cid) (*BlockMessages, error) ChainGetMessage(ctx context.Context, mc cid.Cid) (*types.Message, error) ChainGetPath(ctx context.Context, from, to types.TipSetKey) ([]*HeadChange, error) ChainGetTipSet(ctx context.Context, tsk types.TipSetKey) (*types.TipSet, error) ChainGetTipSetByHeight(ctx context.Context, h abi.ChainEpoch, tsk types.TipSetKey) (*types.TipSet, error) ChainGetTipSetAfterHeight(ctx context.Context, h abi.ChainEpoch, tsk types.TipSetKey) (*types.TipSet, error) ChainNotify(context.Context) (<-chan []*HeadChange, error) ChainReadObj(context.Context, cid.Cid) ([]byte, error) ChainGetGenesis(context.Context) (*types.TipSet, error) GasEstimateMessageGas(ctx context.Context, msg *types.Message, spec *MessageSendSpec, tsk types.TipSetKey) (*types.Message, error) MpoolGetNonce(ctx context.Context, addr address.Address) (uint64, error) MpoolPush(ctx context.Context, sm *types.SignedMessage) (cid.Cid, error) MsigGetAvailableBalance(ctx context.Context, addr address.Address, tsk types.TipSetKey) (types.BigInt, error) MsigGetPending(context.Context, address.Address, types.TipSetKey) ([]*MsigTransaction, error) MsigGetVested(ctx context.Context, addr address.Address, start types.TipSetKey, end types.TipSetKey) (types.BigInt, error) MsigGetVestingSchedule(ctx context.Context, addr address.Address, tsk types.TipSetKey) (MsigVesting, error) StateAccountKey(ctx context.Context, addr address.Address, tsk types.TipSetKey) (address.Address, error) StateCall(ctx context.Context, msg *types.Message, tsk types.TipSetKey) (*InvocResult, error) StateDealProviderCollateralBounds(ctx context.Context, size abi.PaddedPieceSize, verified bool, tsk types.TipSetKey) (DealCollateralBounds, error) StateDecodeParams(ctx context.Context, toAddr address.Address, method abi.MethodNum, params []byte, tsk types.TipSetKey) (interface{}, error) StateGetActor(ctx context.Context, actor address.Address, ts types.TipSetKey) (*types.Actor, error) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*ActorState, error) StateListMiners(ctx context.Context, tsk types.TipSetKey) ([]address.Address, error) StateLookupID(ctx context.Context, addr address.Address, tsk types.TipSetKey) (address.Address, error) StateMarketBalance(ctx context.Context, addr address.Address, tsk types.TipSetKey) (MarketBalance, error) StateMarketStorageDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*MarketDeal, error) StateMinerInfo(ctx context.Context, actor address.Address, tsk types.TipSetKey) (MinerInfo, error) StateMinerProvingDeadline(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*dline.Info, error) StateMinerPower(context.Context, address.Address, types.TipSetKey) (*MinerPower, error) StateNetworkName(context.Context) (dtypes.NetworkName, error) StateNetworkVersion(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error) StateSectorGetInfo(ctx context.Context, maddr address.Address, n abi.SectorNumber, tsk types.TipSetKey) (*miner.SectorOnChainInfo, error) StateVerifierStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) StateVerifiedClientStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) StateSearchMsg(ctx context.Context, from types.TipSetKey, msg cid.Cid, limit abi.ChainEpoch, allowReplaced bool) (*MsgLookup, error) StateWaitMsg(ctx context.Context, cid cid.Cid, confidence uint64, limit abi.ChainEpoch, allowReplaced bool) (*MsgLookup, error) WalletBalance(context.Context, address.Address) (types.BigInt, error) Version(context.Context) (APIVersion, error) Discover(context.Context) (apitypes.OpenRPCDocument, error) EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error) EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error) EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum ethtypes.EthUint64) (ethtypes.EthUint64, error) EthGetBlockTransactionCountByHash(ctx context.Context, blkHash ethtypes.EthHash) (ethtypes.EthUint64, error) EthGetBlockByHash(ctx context.Context, blkHash ethtypes.EthHash, fullTxInfo bool) (ethtypes.EthBlock, error) EthGetBlockByNumber(ctx context.Context, blkNum string, fullTxInfo bool) (ethtypes.EthBlock, error) EthGetTransactionByHash(ctx context.Context, txHash *ethtypes.EthHash) (*ethtypes.EthTx, error) EthGetTransactionByHashLimited(ctx context.Context, txHash *ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTx, error) EthGetTransactionHashByCid(ctx context.Context, cid cid.Cid) (*ethtypes.EthHash, error) EthGetMessageCidByTransactionHash(ctx context.Context, txHash *ethtypes.EthHash) (*cid.Cid, error) EthGetTransactionCount(ctx context.Context, sender ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) EthGetTransactionReceipt(ctx context.Context, txHash ethtypes.EthHash) (*EthTxReceipt, error) EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*EthTxReceipt, error) EthGetCode(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) EthGetStorageAt(ctx context.Context, address ethtypes.EthAddress, position ethtypes.EthBytes, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) EthGetBalance(ctx context.Context, address ethtypes.EthAddress, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) EthChainId(ctx context.Context) (ethtypes.EthUint64, error) EthSyncing(ctx context.Context) (ethtypes.EthSyncingResult, error) NetVersion(ctx context.Context) (string, error) NetListening(ctx context.Context) (bool, error) EthProtocolVersion(ctx context.Context) (ethtypes.EthUint64, error) EthGasPrice(ctx context.Context) (ethtypes.EthBigInt, error) EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) EthMaxPriorityFeePerGas(ctx context.Context) (ethtypes.EthBigInt, error) EthEstimateGas(ctx context.Context, tx ethtypes.EthCall) (ethtypes.EthUint64, error) EthCall(ctx context.Context, tx ethtypes.EthCall, blkParam ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) EthSendRawTransaction(ctx context.Context, rawTx ethtypes.EthBytes) (ethtypes.EthHash, error) EthGetLogs(ctx context.Context, filter *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) EthGetFilterChanges(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) EthGetFilterLogs(ctx context.Context, id ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) EthNewFilter(ctx context.Context, filter *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) EthNewBlockFilter(ctx context.Context) (ethtypes.EthFilterID, error) EthNewPendingTransactionFilter(ctx context.Context) (ethtypes.EthFilterID, error) EthUninstallFilter(ctx context.Context, id ethtypes.EthFilterID) (bool, error) EthSubscribe(ctx context.Context, params jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) EthUnsubscribe(ctx context.Context, id ethtypes.EthSubscriptionID) (bool, error) Web3ClientVersion(ctx context.Context) (string, error) }
type GatewayMethods ¶ added in v1.20.0
type GatewayMethods struct { ChainGetBlock func(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error) `` ChainGetBlockMessages func(p0 context.Context, p1 cid.Cid) (*BlockMessages, error) `` ChainGetGenesis func(p0 context.Context) (*types.TipSet, error) `` ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.Message, error) `` ChainGetParentMessages func(p0 context.Context, p1 cid.Cid) ([]Message, error) `` ChainGetParentReceipts func(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error) `` ChainGetPath func(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error) `` ChainGetTipSet func(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error) `` ChainGetTipSetAfterHeight func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) `` ChainGetTipSetByHeight func(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) `` ChainHasObj func(p0 context.Context, p1 cid.Cid) (bool, error) `` ChainHead func(p0 context.Context) (*types.TipSet, error) `` ChainNotify func(p0 context.Context) (<-chan []*HeadChange, error) `` ChainPutObj func(p0 context.Context, p1 blocks.Block) error `` ChainReadObj func(p0 context.Context, p1 cid.Cid) ([]byte, error) `` Discover func(p0 context.Context) (apitypes.OpenRPCDocument, error) `` EthAccounts func(p0 context.Context) ([]ethtypes.EthAddress, error) `` EthBlockNumber func(p0 context.Context) (ethtypes.EthUint64, error) `` EthCall func(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `` EthChainId func(p0 context.Context) (ethtypes.EthUint64, error) `` EthEstimateGas func(p0 context.Context, p1 ethtypes.EthCall) (ethtypes.EthUint64, error) `` EthFeeHistory func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) `` EthGasPrice func(p0 context.Context) (ethtypes.EthBigInt, error) `` EthGetBalance func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) `` EthGetBlockByHash func(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error) `` EthGetBlockByNumber func(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error) `` EthGetBlockTransactionCountByHash func(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) `` EthGetBlockTransactionCountByNumber func(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error) `` EthGetCode func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `` EthGetFilterChanges func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) `` EthGetFilterLogs func(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) `` EthGetLogs func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) `` EthGetMessageCidByTransactionHash func(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error) `` EthGetStorageAt func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) `` EthGetTransactionByHash func(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error) `` EthGetTransactionByHashLimited func(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error) `` EthGetTransactionCount func(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) `` EthGetTransactionHashByCid func(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error) `` EthGetTransactionReceipt func(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error) `` EthGetTransactionReceiptLimited func(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error) `` EthMaxPriorityFeePerGas func(p0 context.Context) (ethtypes.EthBigInt, error) `` EthNewBlockFilter func(p0 context.Context) (ethtypes.EthFilterID, error) `` EthNewFilter func(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) `` EthNewPendingTransactionFilter func(p0 context.Context) (ethtypes.EthFilterID, error) `` EthProtocolVersion func(p0 context.Context) (ethtypes.EthUint64, error) `` EthSendRawTransaction func(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) `` EthSubscribe func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) `` EthSyncing func(p0 context.Context) (ethtypes.EthSyncingResult, error) `` EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) `` EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) `` GasEstimateGasPremium func(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) `` GasEstimateMessageGas func(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error) `` MinerGetBaseInfo func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error) `` MpoolGetNonce func(p0 context.Context, p1 address.Address) (uint64, error) `` MpoolPending func(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error) `` MpoolPush func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) `` MsigGetAvailableBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error) `` MsigGetPending func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error) `` MsigGetVested func(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error) `` MsigGetVestingSchedule func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error) `` NetListening func(p0 context.Context) (bool, error) `` NetVersion func(p0 context.Context) (string, error) `` StateAccountKey func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `` StateCall func(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error) `` StateDealProviderCollateralBounds func(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error) `` StateDecodeParams func(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, p4 types.TipSetKey) (interface{}, error) `` StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error) `` StateListMiners func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error) `` StateLookupID func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `` StateMarketBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error) `` StateMarketStorageDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error) `` StateMinerInfo func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error) `` StateMinerPower func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error) `` StateMinerProvingDeadline func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error) `` StateMinerSectorCount func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error) `` StateNetworkName func(p0 context.Context) (dtypes.NetworkName, error) `` StateNetworkVersion func(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error) `` StateReadState func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error) `` StateReplay func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error) `` StateSearchMsg func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error) `` StateSectorGetInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error) `` StateVerifiedClientStatus func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) `` StateVerifierStatus func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) `` StateWaitMsg func(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error) `` Version func(p0 context.Context) (APIVersion, error) `` WalletBalance func(p0 context.Context, p1 address.Address) (types.BigInt, error) `` Web3ClientVersion func(p0 context.Context) (string, error) `` }
type GatewayStruct ¶ added in v1.9.0
type GatewayStruct struct {
Internal GatewayMethods
}
func (*GatewayStruct) ChainGetBlock ¶ added in v1.23.3
func (s *GatewayStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*GatewayStruct) ChainGetBlockMessages ¶ added in v1.9.0
func (s *GatewayStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
func (*GatewayStruct) ChainGetGenesis ¶ added in v1.13.2
func (*GatewayStruct) ChainGetMessage ¶ added in v1.9.0
func (*GatewayStruct) ChainGetParentMessages ¶ added in v1.13.2
func (s *GatewayStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
func (*GatewayStruct) ChainGetParentReceipts ¶ added in v1.13.2
func (s *GatewayStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*GatewayStruct) ChainGetPath ¶ added in v1.11.3
func (s *GatewayStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
func (*GatewayStruct) ChainGetTipSet ¶ added in v1.9.0
func (*GatewayStruct) ChainGetTipSetAfterHeight ¶ added in v1.11.2
func (s *GatewayStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*GatewayStruct) ChainGetTipSetByHeight ¶ added in v1.9.0
func (s *GatewayStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*GatewayStruct) ChainHasObj ¶ added in v1.9.0
func (s *GatewayStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*GatewayStruct) ChainNotify ¶ added in v1.9.0
func (s *GatewayStruct) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
func (*GatewayStruct) ChainPutObj ¶ added in v1.16.0
func (*GatewayStruct) ChainReadObj ¶ added in v1.9.0
func (s *GatewayStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*GatewayStruct) Discover ¶ added in v1.17.0
func (s *GatewayStruct) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
func (*GatewayStruct) EthAccounts ¶ added in v1.20.0
func (s *GatewayStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
func (*GatewayStruct) EthBlockNumber ¶ added in v1.20.0
func (*GatewayStruct) EthCall ¶ added in v1.20.0
func (s *GatewayStruct) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*GatewayStruct) EthChainId ¶ added in v1.20.0
func (*GatewayStruct) EthEstimateGas ¶ added in v1.20.0
func (*GatewayStruct) EthFeeHistory ¶ added in v1.20.0
func (s *GatewayStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
func (*GatewayStruct) EthGasPrice ¶ added in v1.20.0
func (*GatewayStruct) EthGetBalance ¶ added in v1.20.0
func (s *GatewayStruct) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
func (*GatewayStruct) EthGetBlockByHash ¶ added in v1.20.0
func (*GatewayStruct) EthGetBlockByNumber ¶ added in v1.20.0
func (*GatewayStruct) EthGetBlockTransactionCountByHash ¶ added in v1.20.0
func (*GatewayStruct) EthGetBlockTransactionCountByNumber ¶ added in v1.20.0
func (*GatewayStruct) EthGetCode ¶ added in v1.20.0
func (s *GatewayStruct) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*GatewayStruct) EthGetFilterChanges ¶ added in v1.20.0
func (s *GatewayStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*GatewayStruct) EthGetFilterLogs ¶ added in v1.20.0
func (s *GatewayStruct) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*GatewayStruct) EthGetLogs ¶ added in v1.20.0
func (s *GatewayStruct) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
func (*GatewayStruct) EthGetMessageCidByTransactionHash ¶ added in v1.20.0
func (*GatewayStruct) EthGetStorageAt ¶ added in v1.20.0
func (s *GatewayStruct) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*GatewayStruct) EthGetTransactionByHash ¶ added in v1.20.0
func (*GatewayStruct) EthGetTransactionByHashLimited ¶ added in v1.23.0
func (s *GatewayStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
func (*GatewayStruct) EthGetTransactionCount ¶ added in v1.20.0
func (s *GatewayStruct) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
func (*GatewayStruct) EthGetTransactionHashByCid ¶ added in v1.20.0
func (*GatewayStruct) EthGetTransactionReceipt ¶ added in v1.20.0
func (s *GatewayStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
func (*GatewayStruct) EthGetTransactionReceiptLimited ¶ added in v1.23.0
func (s *GatewayStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
func (*GatewayStruct) EthMaxPriorityFeePerGas ¶ added in v1.20.0
func (*GatewayStruct) EthNewBlockFilter ¶ added in v1.20.0
func (s *GatewayStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*GatewayStruct) EthNewFilter ¶ added in v1.20.0
func (s *GatewayStruct) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
func (*GatewayStruct) EthNewPendingTransactionFilter ¶ added in v1.20.0
func (s *GatewayStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*GatewayStruct) EthProtocolVersion ¶ added in v1.20.0
func (*GatewayStruct) EthSendRawTransaction ¶ added in v1.20.0
func (*GatewayStruct) EthSubscribe ¶ added in v1.20.0
func (s *GatewayStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
func (*GatewayStruct) EthSyncing ¶ added in v1.23.3
func (s *GatewayStruct) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
func (*GatewayStruct) EthUninstallFilter ¶ added in v1.20.0
func (s *GatewayStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
func (*GatewayStruct) EthUnsubscribe ¶ added in v1.20.0
func (s *GatewayStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
func (*GatewayStruct) GasEstimateGasPremium ¶ added in v1.23.1
func (*GatewayStruct) GasEstimateMessageGas ¶ added in v1.9.0
func (*GatewayStruct) MinerGetBaseInfo ¶ added in v1.23.3
func (s *GatewayStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
func (*GatewayStruct) MpoolGetNonce ¶ added in v1.20.2
func (s *GatewayStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*GatewayStruct) MpoolPending ¶ added in v1.23.3
func (s *GatewayStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
func (*GatewayStruct) MpoolPush ¶ added in v1.9.0
func (s *GatewayStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*GatewayStruct) MsigGetAvailableBalance ¶ added in v1.9.0
func (*GatewayStruct) MsigGetPending ¶ added in v1.9.0
func (s *GatewayStruct) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
func (*GatewayStruct) MsigGetVested ¶ added in v1.9.0
func (*GatewayStruct) MsigGetVestingSchedule ¶ added in v1.15.1
func (s *GatewayStruct) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
func (*GatewayStruct) NetListening ¶ added in v1.20.0
func (s *GatewayStruct) NetListening(p0 context.Context) (bool, error)
func (*GatewayStruct) NetVersion ¶ added in v1.20.0
func (s *GatewayStruct) NetVersion(p0 context.Context) (string, error)
func (*GatewayStruct) StateAccountKey ¶ added in v1.9.0
func (*GatewayStruct) StateCall ¶ added in v1.20.2
func (s *GatewayStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
func (*GatewayStruct) StateDealProviderCollateralBounds ¶ added in v1.9.0
func (s *GatewayStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
func (*GatewayStruct) StateDecodeParams ¶ added in v1.20.2
func (*GatewayStruct) StateGetActor ¶ added in v1.9.0
func (*GatewayStruct) StateListMiners ¶ added in v1.9.0
func (*GatewayStruct) StateLookupID ¶ added in v1.9.0
func (*GatewayStruct) StateMarketBalance ¶ added in v1.9.0
func (s *GatewayStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
func (*GatewayStruct) StateMarketStorageDeal ¶ added in v1.9.0
func (s *GatewayStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
func (*GatewayStruct) StateMinerInfo ¶ added in v1.9.0
func (*GatewayStruct) StateMinerPower ¶ added in v1.9.0
func (s *GatewayStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
func (*GatewayStruct) StateMinerProvingDeadline ¶ added in v1.9.0
func (*GatewayStruct) StateMinerSectorCount ¶ added in v1.23.1
func (s *GatewayStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
func (*GatewayStruct) StateNetworkName ¶ added in v1.20.2
func (s *GatewayStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*GatewayStruct) StateNetworkVersion ¶ added in v1.9.0
func (s *GatewayStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
func (*GatewayStruct) StateReadState ¶ added in v1.11.1
func (s *GatewayStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
func (*GatewayStruct) StateReplay ¶ added in v1.23.1
func (s *GatewayStruct) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
func (*GatewayStruct) StateSearchMsg ¶ added in v1.9.0
func (s *GatewayStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*GatewayStruct) StateSectorGetInfo ¶ added in v1.9.0
func (s *GatewayStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*GatewayStruct) StateVerifiedClientStatus ¶ added in v1.9.0
func (s *GatewayStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*GatewayStruct) StateVerifierStatus ¶ added in v1.23.0
func (s *GatewayStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*GatewayStruct) StateWaitMsg ¶ added in v1.9.0
func (s *GatewayStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*GatewayStruct) Version ¶ added in v1.11.0
func (s *GatewayStruct) Version(p0 context.Context) (APIVersion, error)
func (*GatewayStruct) WalletBalance ¶ added in v1.9.0
func (*GatewayStruct) Web3ClientVersion ¶ added in v1.20.0
func (s *GatewayStruct) Web3ClientVersion(p0 context.Context) (string, error)
type GatewayStub ¶ added in v1.9.0
type GatewayStub struct { }
func (*GatewayStub) ChainGetBlock ¶ added in v1.23.3
func (s *GatewayStub) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*GatewayStub) ChainGetBlockMessages ¶ added in v1.9.0
func (s *GatewayStub) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error)
func (*GatewayStub) ChainGetGenesis ¶ added in v1.13.2
func (*GatewayStub) ChainGetMessage ¶ added in v1.9.0
func (*GatewayStub) ChainGetParentMessages ¶ added in v1.13.2
func (s *GatewayStub) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error)
func (*GatewayStub) ChainGetParentReceipts ¶ added in v1.13.2
func (s *GatewayStub) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*GatewayStub) ChainGetPath ¶ added in v1.11.3
func (s *GatewayStub) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error)
func (*GatewayStub) ChainGetTipSet ¶ added in v1.9.0
func (*GatewayStub) ChainGetTipSetAfterHeight ¶ added in v1.11.2
func (s *GatewayStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*GatewayStub) ChainGetTipSetByHeight ¶ added in v1.9.0
func (s *GatewayStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*GatewayStub) ChainHasObj ¶ added in v1.9.0
func (s *GatewayStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*GatewayStub) ChainNotify ¶ added in v1.9.0
func (s *GatewayStub) ChainNotify(p0 context.Context) (<-chan []*HeadChange, error)
func (*GatewayStub) ChainPutObj ¶ added in v1.16.0
func (*GatewayStub) ChainReadObj ¶ added in v1.9.0
func (s *GatewayStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*GatewayStub) Discover ¶ added in v1.17.0
func (s *GatewayStub) Discover(p0 context.Context) (apitypes.OpenRPCDocument, error)
func (*GatewayStub) EthAccounts ¶ added in v1.20.0
func (s *GatewayStub) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error)
func (*GatewayStub) EthBlockNumber ¶ added in v1.20.0
func (*GatewayStub) EthCall ¶ added in v1.20.0
func (s *GatewayStub) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*GatewayStub) EthChainId ¶ added in v1.20.0
func (*GatewayStub) EthEstimateGas ¶ added in v1.20.0
func (*GatewayStub) EthFeeHistory ¶ added in v1.20.0
func (s *GatewayStub) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error)
func (*GatewayStub) EthGasPrice ¶ added in v1.20.0
func (*GatewayStub) EthGetBalance ¶ added in v1.20.0
func (s *GatewayStub) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error)
func (*GatewayStub) EthGetBlockByHash ¶ added in v1.20.0
func (*GatewayStub) EthGetBlockByNumber ¶ added in v1.20.0
func (*GatewayStub) EthGetBlockTransactionCountByHash ¶ added in v1.20.0
func (*GatewayStub) EthGetBlockTransactionCountByNumber ¶ added in v1.20.0
func (*GatewayStub) EthGetCode ¶ added in v1.20.0
func (s *GatewayStub) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*GatewayStub) EthGetFilterChanges ¶ added in v1.20.0
func (s *GatewayStub) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*GatewayStub) EthGetFilterLogs ¶ added in v1.20.0
func (s *GatewayStub) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error)
func (*GatewayStub) EthGetLogs ¶ added in v1.20.0
func (s *GatewayStub) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error)
func (*GatewayStub) EthGetMessageCidByTransactionHash ¶ added in v1.20.0
func (*GatewayStub) EthGetStorageAt ¶ added in v1.20.0
func (s *GatewayStub) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error)
func (*GatewayStub) EthGetTransactionByHash ¶ added in v1.20.0
func (*GatewayStub) EthGetTransactionByHashLimited ¶ added in v1.23.0
func (s *GatewayStub) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error)
func (*GatewayStub) EthGetTransactionCount ¶ added in v1.20.0
func (s *GatewayStub) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error)
func (*GatewayStub) EthGetTransactionHashByCid ¶ added in v1.20.0
func (*GatewayStub) EthGetTransactionReceipt ¶ added in v1.20.0
func (s *GatewayStub) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error)
func (*GatewayStub) EthGetTransactionReceiptLimited ¶ added in v1.23.0
func (s *GatewayStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error)
func (*GatewayStub) EthMaxPriorityFeePerGas ¶ added in v1.20.0
func (*GatewayStub) EthNewBlockFilter ¶ added in v1.20.0
func (s *GatewayStub) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*GatewayStub) EthNewFilter ¶ added in v1.20.0
func (s *GatewayStub) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error)
func (*GatewayStub) EthNewPendingTransactionFilter ¶ added in v1.20.0
func (s *GatewayStub) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error)
func (*GatewayStub) EthProtocolVersion ¶ added in v1.20.0
func (*GatewayStub) EthSendRawTransaction ¶ added in v1.20.0
func (*GatewayStub) EthSubscribe ¶ added in v1.20.0
func (s *GatewayStub) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error)
func (*GatewayStub) EthSyncing ¶ added in v1.23.3
func (s *GatewayStub) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error)
func (*GatewayStub) EthUninstallFilter ¶ added in v1.20.0
func (s *GatewayStub) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error)
func (*GatewayStub) EthUnsubscribe ¶ added in v1.20.0
func (s *GatewayStub) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error)
func (*GatewayStub) GasEstimateGasPremium ¶ added in v1.23.1
func (*GatewayStub) GasEstimateMessageGas ¶ added in v1.9.0
func (*GatewayStub) MinerGetBaseInfo ¶ added in v1.23.3
func (s *GatewayStub) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error)
func (*GatewayStub) MpoolGetNonce ¶ added in v1.20.2
func (s *GatewayStub) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*GatewayStub) MpoolPending ¶ added in v1.23.3
func (s *GatewayStub) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
func (*GatewayStub) MpoolPush ¶ added in v1.9.0
func (s *GatewayStub) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*GatewayStub) MsigGetAvailableBalance ¶ added in v1.9.0
func (*GatewayStub) MsigGetPending ¶ added in v1.9.0
func (s *GatewayStub) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error)
func (*GatewayStub) MsigGetVested ¶ added in v1.9.0
func (*GatewayStub) MsigGetVestingSchedule ¶ added in v1.15.1
func (s *GatewayStub) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error)
func (*GatewayStub) NetListening ¶ added in v1.20.0
func (s *GatewayStub) NetListening(p0 context.Context) (bool, error)
func (*GatewayStub) NetVersion ¶ added in v1.20.0
func (s *GatewayStub) NetVersion(p0 context.Context) (string, error)
func (*GatewayStub) StateAccountKey ¶ added in v1.9.0
func (*GatewayStub) StateCall ¶ added in v1.20.2
func (s *GatewayStub) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error)
func (*GatewayStub) StateDealProviderCollateralBounds ¶ added in v1.9.0
func (s *GatewayStub) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error)
func (*GatewayStub) StateDecodeParams ¶ added in v1.20.2
func (*GatewayStub) StateGetActor ¶ added in v1.9.0
func (*GatewayStub) StateListMiners ¶ added in v1.9.0
func (*GatewayStub) StateLookupID ¶ added in v1.9.0
func (*GatewayStub) StateMarketBalance ¶ added in v1.9.0
func (s *GatewayStub) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error)
func (*GatewayStub) StateMarketStorageDeal ¶ added in v1.9.0
func (s *GatewayStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error)
func (*GatewayStub) StateMinerInfo ¶ added in v1.9.0
func (*GatewayStub) StateMinerPower ¶ added in v1.9.0
func (s *GatewayStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error)
func (*GatewayStub) StateMinerProvingDeadline ¶ added in v1.9.0
func (*GatewayStub) StateMinerSectorCount ¶ added in v1.23.1
func (s *GatewayStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error)
func (*GatewayStub) StateNetworkName ¶ added in v1.20.2
func (s *GatewayStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*GatewayStub) StateNetworkVersion ¶ added in v1.9.0
func (s *GatewayStub) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error)
func (*GatewayStub) StateReadState ¶ added in v1.11.1
func (s *GatewayStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error)
func (*GatewayStub) StateReplay ¶ added in v1.23.1
func (s *GatewayStub) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error)
func (*GatewayStub) StateSearchMsg ¶ added in v1.9.0
func (s *GatewayStub) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*GatewayStub) StateSectorGetInfo ¶ added in v1.9.0
func (s *GatewayStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*GatewayStub) StateVerifiedClientStatus ¶ added in v1.9.0
func (s *GatewayStub) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*GatewayStub) StateVerifierStatus ¶ added in v1.23.0
func (s *GatewayStub) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*GatewayStub) StateWaitMsg ¶ added in v1.9.0
func (s *GatewayStub) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error)
func (*GatewayStub) Version ¶ added in v1.11.0
func (s *GatewayStub) Version(p0 context.Context) (APIVersion, error)
func (*GatewayStub) WalletBalance ¶ added in v1.9.0
func (*GatewayStub) Web3ClientVersion ¶ added in v1.20.0
func (s *GatewayStub) Web3ClientVersion(p0 context.Context) (string, error)
type GraphSyncDataTransfer ¶ added in v1.14.0
type GraphSyncDataTransfer struct { // GraphSync request id for this transfer RequestID *graphsync.RequestID // Graphsync state for this transfer RequestState string // If a channel ID is present, indicates whether this is the current graphsync request for this channel // (could have changed in a restart) IsCurrentChannelRequest bool // Data transfer channel ID for this transfer ChannelID *datatransfer.ChannelID // Data transfer state for this transfer ChannelState *DataTransferChannel // Diagnostic information about this request -- and unexpected inconsistencies in // request state Diagnostics []string }
GraphSyncDataTransfer provides diagnostics on a data transfer happening over graphsync
type HeadChange ¶ added in v0.3.0
type Import ¶
type Import struct { Key imports.ID Err string Root *cid.Cid // Source is the provenance of the import, e.g. "import", "unknown", else. // Currently useless but may be used in the future. Source string // FilePath is the path of the original file. It is important that the file // is retained at this path, because it will be referenced during // the transfer (when we do the UnixFS chunking, we don't duplicate the // leaves, but rather point to chunks of the original data through // positional references). FilePath string // CARPath is the path of the CAR file containing the DAG for this import. CARPath string }
type InvocResult ¶ added in v0.3.0
type InvocResult struct { MsgCid cid.Cid Msg *types.Message MsgRct *types.MessageReceipt GasCost MsgGasCost ExecutionTrace types.ExecutionTrace Error string Duration time.Duration }
type IpldObject ¶ added in v0.3.0
type IpldObject struct { Cid cid.Cid Obj interface{} }
type MarketDeal ¶ added in v0.3.0
type MarketDeal struct { Proposal market.DealProposal State market.DealState }
type MessageCheckStatus ¶ added in v1.11.0
type MessageCheckStatus struct { Cid cid.Cid CheckStatus }
type MessageMatch ¶ added in v1.0.0
type MessageMatch struct { To address.Address From address.Address }
type MessagePrototype ¶ added in v1.11.0
type MessageSendSpec ¶ added in v0.5.0
type MessageSendSpec struct { MaxFee abi.TokenAmount MsgUuid uuid.UUID }
type MethodCall ¶ added in v0.2.6
type MethodCall struct { types.MessageReceipt Error string }
type MinerInfo ¶ added in v0.4.0
type MinerInfo struct { Owner address.Address // Must be an ID-address. Worker address.Address // Must be an ID-address. NewWorker address.Address // Must be an ID-address. ControlAddresses []address.Address // Must be an ID-addresses. WorkerChangeEpoch abi.ChainEpoch PeerId *peer.ID Multiaddrs []abi.Multiaddrs WindowPoStProofType abi.RegisteredPoStProof SectorSize abi.SectorSize WindowPoStPartitionSectors uint64 ConsensusFaultElapsed abi.ChainEpoch PendingOwnerAddress *address.Address Beneficiary address.Address BeneficiaryTerm *miner.BeneficiaryTerm PendingBeneficiaryTerm *miner.PendingBeneficiaryChange }
type MinerPower ¶
type MinerSectors ¶ added in v0.1.5
type MinerSubsystem ¶ added in v1.11.1
type MinerSubsystem int
MinerSubsystem represents a miner subsystem. Int and string values are not guaranteed to be stable over time is not guaranteed to be stable over time.
const ( // SubsystemUnknown is a placeholder for the zero value. It should never // be used. SubsystemUnknown MinerSubsystem = iota // SubsystemMarkets signifies the storage and retrieval // deal-making subsystem. SubsystemMarkets // SubsystemMining signifies the mining subsystem. SubsystemMining // SubsystemSealing signifies the sealing subsystem. SubsystemSealing // SubsystemSectorStorage signifies the sector storage subsystem. SubsystemSectorStorage )
func (MinerSubsystem) MarshalJSON ¶ added in v1.11.1
func (ms MinerSubsystem) MarshalJSON() ([]byte, error)
func (MinerSubsystem) String ¶ added in v1.11.1
func (ms MinerSubsystem) String() string
func (*MinerSubsystem) UnmarshalJSON ¶ added in v1.11.1
func (ms *MinerSubsystem) UnmarshalJSON(b []byte) error
type MinerSubsystems ¶ added in v1.11.1
type MinerSubsystems []MinerSubsystem
func (MinerSubsystems) Has ¶ added in v1.11.1
func (ms MinerSubsystems) Has(entry MinerSubsystem) bool
type MiningBaseInfo ¶ added in v0.3.0
type MiningBaseInfo struct { MinerPower types.BigInt NetworkPower types.BigInt Sectors []builtin.ExtendedSectorInfo WorkerKey address.Address SectorSize abi.SectorSize PrevBeaconEntry types.BeaconEntry BeaconEntries []types.BeaconEntry EligibleForMining bool }
type MpoolMessageWhole ¶ added in v1.19.0
type MpoolMessageWhole struct { Msg *types.Message Spec *MessageSendSpec }
type MpoolUpdate ¶
type MpoolUpdate struct { Type MpoolChange Message *types.SignedMessage }
type MsgGasCost ¶ added in v0.7.1
type MsgGasCost struct { Message cid.Cid // Can be different than requested, in case it was replaced, but only gas values changed GasUsed abi.TokenAmount BaseFeeBurn abi.TokenAmount OverEstimationBurn abi.TokenAmount MinerPenalty abi.TokenAmount MinerTip abi.TokenAmount Refund abi.TokenAmount TotalCost abi.TokenAmount }
type MsgLookup ¶ added in v0.3.0
type MsgLookup struct { Message cid.Cid // Can be different than requested, in case it was replaced, but only gas values changed Receipt types.MessageReceipt ReturnDec interface{} TipSet types.TipSetKey Height abi.ChainEpoch }
type MsgUuidMapType ¶ added in v1.19.0
type MsgUuidMapType map[uuid.UUID]*types.SignedMessage
func (*MsgUuidMapType) MarshalJSON ¶ added in v1.19.0
func (m *MsgUuidMapType) MarshalJSON() ([]byte, error)
func (*MsgUuidMapType) UnmarshalJSON ¶ added in v1.19.0
func (m *MsgUuidMapType) UnmarshalJSON(b []byte) error
type MsigProposeResponse ¶ added in v0.3.0
type MsigProposeResponse int
const ( MsigApprove MsigProposeResponse = iota MsigCancel )
type MsigTransaction ¶ added in v1.4.2
type MsigVesting ¶ added in v0.9.1
type MsigVesting struct { InitialBalance abi.TokenAmount StartEpoch abi.ChainEpoch UnlockDuration abi.ChainEpoch }
type MultiaddrSlice ¶
func (*MultiaddrSlice) UnmarshalJSON ¶
func (m *MultiaddrSlice) UnmarshalJSON(raw []byte) (err error)
type NatInfo ¶ added in v0.5.0
type NatInfo struct { Reachability network.Reachability PublicAddrs []string }
type Net ¶ added in v1.11.1
type Net interface { NetConnectedness(context.Context, peer.ID) (network.Connectedness, error) //perm:read NetPeers(context.Context) ([]peer.AddrInfo, error) //perm:read NetPing(context.Context, peer.ID) (time.Duration, error) //perm:read NetConnect(context.Context, peer.AddrInfo) error //perm:write NetAddrsListen(context.Context) (peer.AddrInfo, error) //perm:read NetDisconnect(context.Context, peer.ID) error //perm:write NetFindPeer(context.Context, peer.ID) (peer.AddrInfo, error) //perm:read NetPubsubScores(context.Context) ([]PubsubScore, error) //perm:read NetAutoNatStatus(context.Context) (NatInfo, error) //perm:read NetAgentVersion(ctx context.Context, p peer.ID) (string, error) //perm:read NetPeerInfo(context.Context, peer.ID) (*ExtendedPeerInfo, error) //perm:read // NetBandwidthStats returns statistics about the nodes total bandwidth // usage and current rate across all peers and protocols. NetBandwidthStats(ctx context.Context) (metrics.Stats, error) //perm:read // NetBandwidthStatsByPeer returns statistics about the nodes bandwidth // usage and current rate per peer NetBandwidthStatsByPeer(ctx context.Context) (map[string]metrics.Stats, error) //perm:read // NetBandwidthStatsByProtocol returns statistics about the nodes bandwidth // usage and current rate per protocol NetBandwidthStatsByProtocol(ctx context.Context) (map[protocol.ID]metrics.Stats, error) //perm:read // ConnectionGater API NetBlockAdd(ctx context.Context, acl NetBlockList) error //perm:admin NetBlockRemove(ctx context.Context, acl NetBlockList) error //perm:admin NetBlockList(ctx context.Context) (NetBlockList, error) //perm:read NetProtectAdd(ctx context.Context, acl []peer.ID) error //perm:admin NetProtectRemove(ctx context.Context, acl []peer.ID) error //perm:admin NetProtectList(ctx context.Context) ([]peer.ID, error) //perm:read // ResourceManager API NetStat(ctx context.Context, scope string) (NetStat, error) //perm:read NetLimit(ctx context.Context, scope string) (NetLimit, error) //perm:read NetSetLimit(ctx context.Context, scope string, limit NetLimit) error //perm:admin // ID returns peerID of libp2p node backing this API ID(context.Context) (peer.ID, error) //perm:read }
type NetBlockList ¶ added in v1.2.2
type NetMethods ¶ added in v1.20.0
type NetMethods struct { ID func(p0 context.Context) (peer.ID, error) `perm:"read"` NetAddrsListen func(p0 context.Context) (peer.AddrInfo, error) `perm:"read"` NetAgentVersion func(p0 context.Context, p1 peer.ID) (string, error) `perm:"read"` NetAutoNatStatus func(p0 context.Context) (NatInfo, error) `perm:"read"` NetBandwidthStats func(p0 context.Context) (metrics.Stats, error) `perm:"read"` NetBandwidthStatsByPeer func(p0 context.Context) (map[string]metrics.Stats, error) `perm:"read"` NetBandwidthStatsByProtocol func(p0 context.Context) (map[protocol.ID]metrics.Stats, error) `perm:"read"` NetBlockAdd func(p0 context.Context, p1 NetBlockList) error `perm:"admin"` NetBlockList func(p0 context.Context) (NetBlockList, error) `perm:"read"` NetBlockRemove func(p0 context.Context, p1 NetBlockList) error `perm:"admin"` NetConnect func(p0 context.Context, p1 peer.AddrInfo) error `perm:"write"` NetConnectedness func(p0 context.Context, p1 peer.ID) (network.Connectedness, error) `perm:"read"` NetDisconnect func(p0 context.Context, p1 peer.ID) error `perm:"write"` NetFindPeer func(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error) `perm:"read"` NetLimit func(p0 context.Context, p1 string) (NetLimit, error) `perm:"read"` NetPeerInfo func(p0 context.Context, p1 peer.ID) (*ExtendedPeerInfo, error) `perm:"read"` NetPeers func(p0 context.Context) ([]peer.AddrInfo, error) `perm:"read"` NetPing func(p0 context.Context, p1 peer.ID) (time.Duration, error) `perm:"read"` NetProtectAdd func(p0 context.Context, p1 []peer.ID) error `perm:"admin"` NetProtectList func(p0 context.Context) ([]peer.ID, error) `perm:"read"` NetProtectRemove func(p0 context.Context, p1 []peer.ID) error `perm:"admin"` NetPubsubScores func(p0 context.Context) ([]PubsubScore, error) `perm:"read"` NetSetLimit func(p0 context.Context, p1 string, p2 NetLimit) error `perm:"admin"` NetStat func(p0 context.Context, p1 string) (NetStat, error) `perm:"read"` }
type NetStruct ¶ added in v1.11.1
type NetStruct struct {
Internal NetMethods
}
func (*NetStruct) NetAddrsListen ¶ added in v1.11.1
func (*NetStruct) NetAgentVersion ¶ added in v1.11.1
func (*NetStruct) NetAutoNatStatus ¶ added in v1.11.1
func (*NetStruct) NetBandwidthStats ¶ added in v1.11.1
func (*NetStruct) NetBandwidthStatsByPeer ¶ added in v1.11.1
func (*NetStruct) NetBandwidthStatsByProtocol ¶ added in v1.11.1
func (*NetStruct) NetBlockAdd ¶ added in v1.11.1
func (s *NetStruct) NetBlockAdd(p0 context.Context, p1 NetBlockList) error
func (*NetStruct) NetBlockList ¶ added in v1.11.1
func (s *NetStruct) NetBlockList(p0 context.Context) (NetBlockList, error)
func (*NetStruct) NetBlockRemove ¶ added in v1.11.1
func (s *NetStruct) NetBlockRemove(p0 context.Context, p1 NetBlockList) error
func (*NetStruct) NetConnect ¶ added in v1.11.1
func (*NetStruct) NetConnectedness ¶ added in v1.11.1
func (*NetStruct) NetDisconnect ¶ added in v1.11.1
func (*NetStruct) NetFindPeer ¶ added in v1.11.1
func (*NetStruct) NetPeerInfo ¶ added in v1.11.1
func (*NetStruct) NetProtectAdd ¶ added in v1.15.1
func (*NetStruct) NetProtectList ¶ added in v1.15.1
func (*NetStruct) NetProtectRemove ¶ added in v1.15.1
func (*NetStruct) NetPubsubScores ¶ added in v1.11.1
func (s *NetStruct) NetPubsubScores(p0 context.Context) ([]PubsubScore, error)
func (*NetStruct) NetSetLimit ¶ added in v1.14.0
type NetStub ¶ added in v1.11.1
type NetStub struct { }
func (*NetStub) NetAddrsListen ¶ added in v1.11.1
func (*NetStub) NetAgentVersion ¶ added in v1.11.1
func (*NetStub) NetAutoNatStatus ¶ added in v1.11.1
func (*NetStub) NetBandwidthStats ¶ added in v1.11.1
func (*NetStub) NetBandwidthStatsByPeer ¶ added in v1.11.1
func (*NetStub) NetBandwidthStatsByProtocol ¶ added in v1.11.1
func (*NetStub) NetBlockAdd ¶ added in v1.11.1
func (s *NetStub) NetBlockAdd(p0 context.Context, p1 NetBlockList) error
func (*NetStub) NetBlockList ¶ added in v1.11.1
func (s *NetStub) NetBlockList(p0 context.Context) (NetBlockList, error)
func (*NetStub) NetBlockRemove ¶ added in v1.11.1
func (s *NetStub) NetBlockRemove(p0 context.Context, p1 NetBlockList) error
func (*NetStub) NetConnect ¶ added in v1.11.1
func (*NetStub) NetConnectedness ¶ added in v1.11.1
func (*NetStub) NetDisconnect ¶ added in v1.11.1
func (*NetStub) NetFindPeer ¶ added in v1.11.1
func (*NetStub) NetPeerInfo ¶ added in v1.11.1
func (*NetStub) NetProtectAdd ¶ added in v1.15.1
func (*NetStub) NetProtectList ¶ added in v1.15.1
func (*NetStub) NetProtectRemove ¶ added in v1.15.1
func (*NetStub) NetPubsubScores ¶ added in v1.11.1
func (s *NetStub) NetPubsubScores(p0 context.Context) ([]PubsubScore, error)
func (*NetStub) NetSetLimit ¶ added in v1.14.0
type NetworkParams ¶ added in v1.15.3
type NetworkParams struct { NetworkName dtypes.NetworkName BlockDelaySecs uint64 ConsensusMinerMinPower abi.StoragePower SupportedProofTypes []abi.RegisteredSealProof PreCommitChallengeDelay abi.ChainEpoch ForkUpgradeParams ForkUpgradeParams }
type NodeChainStatus ¶ added in v1.11.0
type NodePeerStatus ¶ added in v1.11.0
type NodeStatus ¶ added in v1.11.0
type NodeStatus struct { SyncStatus NodeSyncStatus PeerStatus NodePeerStatus ChainStatus NodeChainStatus }
type NodeSyncStatus ¶ added in v1.11.0
type NonceMapType ¶ added in v1.19.0
type NonceMapType map[address.Address]uint64
func (*NonceMapType) MarshalJSON ¶ added in v1.19.0
func (n *NonceMapType) MarshalJSON() ([]byte, error)
func (*NonceMapType) UnmarshalJSON ¶ added in v1.19.0
func (n *NonceMapType) UnmarshalJSON(b []byte) error
type NumAssignerMeta ¶ added in v1.17.2
type NumAssignerMeta struct { Reserved bitfield.BitField Allocated bitfield.BitField // ChainAllocated+Reserved+Allocated InUse bitfield.BitField Next abi.SectorNumber }
type Partition ¶ added in v0.7.2
type Partition struct { AllSectors bitfield.BitField FaultySectors bitfield.BitField RecoveringSectors bitfield.BitField LiveSectors bitfield.BitField ActiveSectors bitfield.BitField }
type PaychGetOpts ¶ added in v1.15.1
type PaychGetOpts struct {
OffChain bool
}
type PaychStatus ¶
type PaychStatus struct { ControlAddr address.Address Direction PCHDir }
type PaymentInfo ¶
type PaymentInfo struct { Channel address.Address WaitSentinel cid.Cid Vouchers []*paych.SignedVoucher }
func (*PaymentInfo) MarshalCBOR ¶
func (t *PaymentInfo) MarshalCBOR(w io.Writer) error
func (*PaymentInfo) UnmarshalCBOR ¶
func (t *PaymentInfo) UnmarshalCBOR(r io.Reader) (err error)
type PendingDealInfo ¶ added in v1.4.2
type PendingDealInfo struct { Deals []market.ClientDealProposal PublishPeriodStart time.Time PublishPeriod time.Duration }
PendingDealInfo has info about pending deals and when they are due to be published
type PieceDealInfo ¶ added in v1.11.1
type PieceDealInfo struct { // "Old" builtin-market deal info PublishCid *cid.Cid DealID abi.DealID DealProposal *market.DealProposal // Common deal info DealSchedule DealSchedule // Best-effort deal asks KeepUnsealed bool }
DealInfo is a tuple of deal identity and its schedule
func (*PieceDealInfo) MarshalCBOR ¶ added in v1.11.1
func (t *PieceDealInfo) MarshalCBOR(w io.Writer) error
func (*PieceDealInfo) UnmarshalCBOR ¶ added in v1.11.1
func (t *PieceDealInfo) UnmarshalCBOR(r io.Reader) (err error)
type PubsubScore ¶ added in v0.3.1
type PubsubScore struct { ID peer.ID Score *pubsub.PeerScoreSnapshot }
type QueryOffer ¶
type QueryOffer struct { Err string Root cid.Cid Piece *cid.Cid Size uint64 MinPrice types.BigInt UnsealPrice types.BigInt PricePerByte abi.TokenAmount PaymentInterval uint64 PaymentIntervalIncrease uint64 Miner address.Address MinerPeer retrievalmarket.RetrievalPeer }
func (*QueryOffer) Order ¶
func (o *QueryOffer) Order(client address.Address) RetrievalOrder
type RaftStateData ¶ added in v1.19.0
type RaftStateData struct { NonceMap NonceMapType MsgUuids MsgUuidMapType }
type RemoteCommit1Params ¶ added in v1.17.2
type RemoteCommit1Params struct {
Ticket, Seed []byte
Unsealed cid.Cid
Sealed cid.Cid
ProofType abi.RegisteredSealProof
}
type RemoteCommit2Params ¶ added in v1.17.2
type RemoteCommit2Params struct { Sector abi.SectorID ProofType abi.RegisteredSealProof // todo spec better Commit1Out storiface.Commit1Out }
type RemoteSealingDoneParams ¶ added in v1.17.2
type RemoteSectorMeta ¶ added in v1.17.2
type RemoteSectorMeta struct { // State specifies the first state the sector will enter after being imported // Must be one of the following states: // * Packing // * GetTicket // * PreCommitting // * SubmitCommit // * Proving/Available State SectorState Sector abi.SectorID Type abi.RegisteredSealProof // Required in Packing and later Pieces []SectorPiece // todo better type? // Required in PreCommitting and later TicketValue abi.SealRandomness TicketEpoch abi.ChainEpoch PreCommit1Out storiface.PreCommit1Out // todo specify better CommD *cid.Cid CommR *cid.Cid // SectorKey // Required in SubmitCommit and later PreCommitInfo *miner.SectorPreCommitInfo PreCommitDeposit *big.Int PreCommitMessage *cid.Cid PreCommitTipSet types.TipSetKey SeedValue abi.InteractiveSealRandomness SeedEpoch abi.ChainEpoch CommitProof []byte // Required in Proving/Available CommitMessage *cid.Cid // Optional sector metadata to import Log []SectorLog // Required in all states DataUnsealed *storiface.SectorLocation // Required in PreCommitting and later DataSealed *storiface.SectorLocation DataCache *storiface.SectorLocation // URL // RemoteCommit1Endpoint is an URL of POST endpoint which lotus will call requesting Commit1 (seal_commit_phase1) // request body will be json-serialized RemoteCommit1Params struct RemoteCommit1Endpoint string // RemoteCommit2Endpoint is an URL of POST endpoint which lotus will call requesting Commit2 (seal_commit_phase2) // request body will be json-serialized RemoteCommit2Params struct RemoteCommit2Endpoint string // RemoteSealingDoneEndpoint is called after the sector exists the sealing pipeline // request body will be json-serialized RemoteSealingDoneParams struct RemoteSealingDoneEndpoint string }
type RemoteStoreID ¶ added in v1.19.0
type RestrievalRes ¶ added in v1.13.2
type RestrievalRes struct {
DealID retrievalmarket.DealID
}
type RetrievalInfo ¶ added in v1.11.0
type RetrievalInfo struct { PayloadCID cid.Cid ID retrievalmarket.DealID PieceCID *cid.Cid PricePerByte abi.TokenAmount UnsealPrice abi.TokenAmount Status retrievalmarket.DealStatus Message string // more information about deal state, particularly errors Provider peer.ID BytesReceived uint64 BytesPaidFor uint64 TotalPaid abi.TokenAmount TransferChannelID *datatransfer.ChannelID DataTransfer *DataTransferChannel // optional event if part of ClientGetRetrievalUpdates Event *retrievalmarket.ClientEvent }
type RetrievalOrder ¶
type RetrievalOrder struct { Root cid.Cid Piece *cid.Cid DataSelector *Selector // todo: Size/Total are only used for calculating price per byte; we should let users just pass that Size uint64 Total types.BigInt UnsealPrice types.BigInt PaymentInterval uint64 PaymentIntervalIncrease uint64 Client address.Address Miner address.Address MinerPeer *retrievalmarket.RetrievalPeer RemoteStore *RemoteStoreID `json:"RemoteStore,omitempty"` }
type SealSeed ¶ added in v0.3.0
type SealSeed struct { Value abi.InteractiveSealRandomness Epoch abi.ChainEpoch }
type SealTicket ¶ added in v0.3.0
type SealTicket struct { Value abi.SealRandomness Epoch abi.ChainEpoch }
func (*SealTicket) Equals ¶ added in v0.3.0
func (st *SealTicket) Equals(ost *SealTicket) bool
func (*SealTicket) MarshalCBOR ¶ added in v0.3.0
func (t *SealTicket) MarshalCBOR(w io.Writer) error
func (*SealTicket) UnmarshalCBOR ¶ added in v0.3.0
func (t *SealTicket) UnmarshalCBOR(r io.Reader) (err error)
type SealedRef ¶
type SealedRef struct { SectorID abi.SectorNumber Offset abi.PaddedPieceSize Size abi.UnpaddedPieceSize }
type SealedRefs ¶
type SealedRefs struct {
Refs []SealedRef
}
func (*SealedRefs) MarshalCBOR ¶
func (t *SealedRefs) MarshalCBOR(w io.Writer) error
func (*SealedRefs) UnmarshalCBOR ¶
func (t *SealedRefs) UnmarshalCBOR(r io.Reader) (err error)
type SectorInfo ¶
type SectorInfo struct { SectorID abi.SectorNumber State SectorState CommD *cid.Cid CommR *cid.Cid Proof []byte Deals []abi.DealID Pieces []SectorPiece Ticket SealTicket Seed SealSeed PreCommitMsg *cid.Cid CommitMsg *cid.Cid Retries uint64 ToUpgrade bool ReplicaUpdateMessage *cid.Cid LastErr string Log []SectorLog // On Chain Info SealProof abi.RegisteredSealProof // The seal proof type implies the PoSt proof/s Activation abi.ChainEpoch // Epoch during which the sector proof was accepted Expiration abi.ChainEpoch // Epoch during which the sector expires DealWeight abi.DealWeight // Integral of active deals over sector lifetime VerifiedDealWeight abi.DealWeight // Integral of active verified deals over sector lifetime InitialPledge abi.TokenAmount // Pledge collected to commit this sector // Expiration Info OnTime abi.ChainEpoch // non-zero if sector is faulty, epoch at which it will be permanently // removed if it doesn't recover Early abi.ChainEpoch }
type SectorOffset ¶ added in v1.11.1
type SectorOffset struct { Sector abi.SectorNumber Offset abi.PaddedPieceSize }
type SectorPiece ¶ added in v1.11.3
type SectorPiece struct { Piece abi.PieceInfo DealInfo *PieceDealInfo // nil for pieces which do not appear in deals (e.g. filler pieces) }
func (*SectorPiece) MarshalCBOR ¶ added in v1.17.2
func (t *SectorPiece) MarshalCBOR(w io.Writer) error
func (*SectorPiece) UnmarshalCBOR ¶ added in v1.17.2
func (t *SectorPiece) UnmarshalCBOR(r io.Reader) (err error)
type SectorState ¶
type SectorState string
func (*SectorState) String ¶ added in v1.20.0
func (s *SectorState) String() string
type Selector ¶ added in v1.13.2
type Selector string
Selector specifies ipld selector string
- if the string starts with '{', it's interpreted as json selector string see https://ipld.io/specs/selectors/ and https://ipld.io/specs/selectors/fixtures/selector-fixtures-1/
- otherwise the string is interpreted as ipld-selector-text-lite (simple ipld path) see https://github.com/ipld/go-ipld-selector-text-lite
type SignableMethods ¶ added in v1.20.0
type SignableStruct ¶ added in v1.9.0
type SignableStruct struct {
Internal SignableMethods
}
type SignableStub ¶ added in v1.9.0
type SignableStub struct { }
type StartDealParams ¶ added in v0.3.0
type StartDealParams struct { Data *storagemarket.DataRef Wallet address.Address Miner address.Address EpochPrice types.BigInt MinBlocksDuration uint64 ProviderCollateral big.Int DealStartEpoch abi.ChainEpoch FastRetrieval bool VerifiedDeal bool }
func (*StartDealParams) UnmarshalJSON ¶ added in v1.2.2
func (s *StartDealParams) UnmarshalJSON(raw []byte) (err error)
type StorageAsk ¶ added in v1.15.2
type StorageAsk struct { Response *storagemarket.StorageAsk DealProtocols []string }
type StorageMiner ¶
type StorageMiner interface { Common Net ActorAddress(context.Context) (address.Address, error) //perm:read ActorSectorSize(context.Context, address.Address) (abi.SectorSize, error) //perm:read ActorAddressConfig(ctx context.Context) (AddressConfig, error) //perm:read // WithdrawBalance allows to withdraw balance from miner actor to owner address // Specify amount as "0" to withdraw full balance. This method returns a message CID // and does not wait for message execution ActorWithdrawBalance(ctx context.Context, amount abi.TokenAmount) (cid.Cid, error) //perm:admin // BeneficiaryWithdrawBalance allows the beneficiary of a miner to withdraw balance from miner actor // Specify amount as "0" to withdraw full balance. This method returns a message CID // and does not wait for message execution BeneficiaryWithdrawBalance(context.Context, abi.TokenAmount) (cid.Cid, error) //perm:admin MiningBase(context.Context) (*types.TipSet, error) //perm:read ComputeWindowPoSt(ctx context.Context, dlIdx uint64, tsk types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error) //perm:admin ComputeDataCid(ctx context.Context, pieceSize abi.UnpaddedPieceSize, pieceData storiface.Data) (abi.PieceInfo, error) //perm:admin // Temp api for testing PledgeSector(context.Context) (abi.SectorID, error) //perm:write // Get the status of a given sector by ID SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (SectorInfo, error) //perm:read // Add piece to an open sector. If no sectors with enough space are open, // either a new sector will be created, or this call will block until more // sectors can be created. SectorAddPieceToAny(ctx context.Context, size abi.UnpaddedPieceSize, r storiface.Data, d PieceDealInfo) (SectorOffset, error) //perm:admin SectorsUnsealPiece(ctx context.Context, sector storiface.SectorRef, offset storiface.UnpaddedByteIndex, size abi.UnpaddedPieceSize, randomness abi.SealRandomness, commd *cid.Cid) error //perm:admin // List all staged sectors SectorsList(context.Context) ([]abi.SectorNumber, error) //perm:read // Get summary info of sectors SectorsSummary(ctx context.Context) (map[SectorState]int, error) //perm:read // List sectors in particular states SectorsListInStates(context.Context, []SectorState) ([]abi.SectorNumber, error) //perm:read SectorsRefs(context.Context) (map[string][]SealedRef, error) //perm:read // SectorStartSealing can be called on sectors in Empty or WaitDeals states // to trigger sealing early SectorStartSealing(context.Context, abi.SectorNumber) error //perm:write // SectorSetSealDelay sets the time that a newly-created sector // waits for more deals before it starts sealing SectorSetSealDelay(context.Context, time.Duration) error //perm:write // SectorGetSealDelay gets the time that a newly-created sector // waits for more deals before it starts sealing SectorGetSealDelay(context.Context) (time.Duration, error) //perm:read // SectorSetExpectedSealDuration sets the expected time for a sector to seal SectorSetExpectedSealDuration(context.Context, time.Duration) error //perm:write // SectorGetExpectedSealDuration gets the expected time for a sector to seal SectorGetExpectedSealDuration(context.Context) (time.Duration, error) //perm:read SectorsUpdate(context.Context, abi.SectorNumber, SectorState) error //perm:admin // SectorRemove removes the sector from storage. It doesn't terminate it on-chain, which can // be done with SectorTerminate. Removing and not terminating live sectors will cause additional penalties. SectorRemove(context.Context, abi.SectorNumber) error //perm:admin SectorMarkForUpgrade(ctx context.Context, id abi.SectorNumber, snap bool) error //perm:admin // SectorTerminate terminates the sector on-chain (adding it to a termination batch first), then // automatically removes it from storage SectorTerminate(context.Context, abi.SectorNumber) error //perm:admin // SectorTerminateFlush immediately sends a terminate message with sectors batched for termination. // Returns null if message wasn't sent SectorTerminateFlush(ctx context.Context) (*cid.Cid, error) //perm:admin // SectorTerminatePending returns a list of pending sector terminations to be sent in the next batch message SectorTerminatePending(ctx context.Context) ([]abi.SectorID, error) //perm:admin // SectorPreCommitFlush immediately sends a PreCommit message with sectors batched for PreCommit. // Returns null if message wasn't sent SectorPreCommitFlush(ctx context.Context) ([]sealiface.PreCommitBatchRes, error) //perm:admin // SectorPreCommitPending returns a list of pending PreCommit sectors to be sent in the next batch message SectorPreCommitPending(ctx context.Context) ([]abi.SectorID, error) //perm:admin // SectorCommitFlush immediately sends a Commit message with sectors aggregated for Commit. // Returns null if message wasn't sent SectorCommitFlush(ctx context.Context) ([]sealiface.CommitBatchRes, error) //perm:admin // SectorCommitPending returns a list of pending Commit sectors to be sent in the next aggregate message SectorCommitPending(ctx context.Context) ([]abi.SectorID, error) //perm:admin SectorMatchPendingPiecesToOpenSectors(ctx context.Context) error //perm:admin // SectorAbortUpgrade can be called on sectors that are in the process of being upgraded to abort it SectorAbortUpgrade(context.Context, abi.SectorNumber) error //perm:admin // SectorUnseal unseals the provided sector SectorUnseal(ctx context.Context, number abi.SectorNumber) error //perm:admin // SectorNumAssignerMeta returns sector number assigner metadata - reserved/allocated SectorNumAssignerMeta(ctx context.Context) (NumAssignerMeta, error) //perm:read // SectorNumReservations returns a list of sector number reservations SectorNumReservations(ctx context.Context) (map[string]bitfield.BitField, error) //perm:read // SectorNumReserve creates a new sector number reservation. Will fail if any other reservation has colliding // numbers or name. Set force to true to override safety checks. // Valid characters for name: a-z, A-Z, 0-9, _, - SectorNumReserve(ctx context.Context, name string, sectors bitfield.BitField, force bool) error //perm:admin // SectorNumReserveCount creates a new sector number reservation for `count` sector numbers. // by default lotus will allocate lowest-available sector numbers to the reservation. // For restrictions on `name` see SectorNumReserve SectorNumReserveCount(ctx context.Context, name string, count uint64) (bitfield.BitField, error) //perm:admin // SectorNumFree drops a sector reservation SectorNumFree(ctx context.Context, name string) error //perm:admin SectorReceive(ctx context.Context, meta RemoteSectorMeta) error //perm:admin // WorkerConnect tells the node to connect to workers RPC WorkerConnect(context.Context, string) error //perm:admin retry:true WorkerStats(context.Context) (map[uuid.UUID]storiface.WorkerStats, error) //perm:admin WorkerJobs(context.Context) (map[uuid.UUID][]storiface.WorkerJob, error) //perm:admin // storiface.WorkerReturn ReturnDataCid(ctx context.Context, callID storiface.CallID, pi abi.PieceInfo, err *storiface.CallError) error //perm:admin retry:true ReturnAddPiece(ctx context.Context, callID storiface.CallID, pi abi.PieceInfo, err *storiface.CallError) error //perm:admin retry:true ReturnSealPreCommit1(ctx context.Context, callID storiface.CallID, p1o storiface.PreCommit1Out, err *storiface.CallError) error //perm:admin retry:true ReturnSealPreCommit2(ctx context.Context, callID storiface.CallID, sealed storiface.SectorCids, err *storiface.CallError) error //perm:admin retry:true ReturnSealCommit1(ctx context.Context, callID storiface.CallID, out storiface.Commit1Out, err *storiface.CallError) error //perm:admin retry:true ReturnSealCommit2(ctx context.Context, callID storiface.CallID, proof storiface.Proof, err *storiface.CallError) error //perm:admin retry:true ReturnFinalizeSector(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnReplicaUpdate(ctx context.Context, callID storiface.CallID, out storiface.ReplicaUpdateOut, err *storiface.CallError) error //perm:admin retry:true ReturnProveReplicaUpdate1(ctx context.Context, callID storiface.CallID, vanillaProofs storiface.ReplicaVanillaProofs, err *storiface.CallError) error //perm:admin retry:true ReturnProveReplicaUpdate2(ctx context.Context, callID storiface.CallID, proof storiface.ReplicaUpdateProof, err *storiface.CallError) error //perm:admin retry:true ReturnGenerateSectorKeyFromData(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnFinalizeReplicaUpdate(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnReleaseUnsealed(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnMoveStorage(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnUnsealPiece(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnReadPiece(ctx context.Context, callID storiface.CallID, ok bool, err *storiface.CallError) error //perm:admin retry:true ReturnDownloadSector(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true ReturnFetch(ctx context.Context, callID storiface.CallID, err *storiface.CallError) error //perm:admin retry:true // SealingSchedDiag dumps internal sealing scheduler state SealingSchedDiag(ctx context.Context, doSched bool) (interface{}, error) //perm:admin SealingAbort(ctx context.Context, call storiface.CallID) error //perm:admin // SealingSchedRemove removes a request from sealing pipeline SealingRemoveRequest(ctx context.Context, schedId uuid.UUID) error //perm:admin // paths.SectorIndex StorageAttach(context.Context, storiface.StorageInfo, fsutil.FsStat) error //perm:admin StorageDetach(ctx context.Context, id storiface.ID, url string) error //perm:admin StorageInfo(context.Context, storiface.ID) (storiface.StorageInfo, error) //perm:admin StorageReportHealth(context.Context, storiface.ID, storiface.HealthReport) error //perm:admin StorageDeclareSector(ctx context.Context, storageID storiface.ID, s abi.SectorID, ft storiface.SectorFileType, primary bool) error //perm:admin StorageDropSector(ctx context.Context, storageID storiface.ID, s abi.SectorID, ft storiface.SectorFileType) error //perm:admin // StorageFindSector returns list of paths where the specified sector files exist. // // If allowFetch is set, list of paths to which the sector can be fetched will also be returned. // - Paths which have sector files locally (don't require fetching) will be listed first. // - Paths which have sector files locally will not be filtered based on based on AllowTypes/DenyTypes. // - Paths which require fetching will be filtered based on AllowTypes/DenyTypes. If multiple // file types are specified, each type will be considered individually, and a union of all paths // which can accommodate each file type will be returned. StorageFindSector(ctx context.Context, sector abi.SectorID, ft storiface.SectorFileType, ssize abi.SectorSize, allowFetch bool) ([]storiface.SectorStorageInfo, error) //perm:admin // StorageBestAlloc returns list of paths where sector files of the specified type can be allocated, ordered by preference. // Paths with more weight and more % of free space are preferred. // Note: This method doesn't filter paths based on AllowTypes/DenyTypes. StorageBestAlloc(ctx context.Context, allocate storiface.SectorFileType, ssize abi.SectorSize, pathType storiface.PathType) ([]storiface.StorageInfo, error) //perm:admin StorageLock(ctx context.Context, sector abi.SectorID, read storiface.SectorFileType, write storiface.SectorFileType) error //perm:admin StorageTryLock(ctx context.Context, sector abi.SectorID, read storiface.SectorFileType, write storiface.SectorFileType) (bool, error) //perm:admin StorageList(ctx context.Context) (map[storiface.ID][]storiface.Decl, error) //perm:admin StorageGetLocks(ctx context.Context) (storiface.SectorLocks, error) //perm:admin StorageLocal(ctx context.Context) (map[storiface.ID]string, error) //perm:admin StorageStat(ctx context.Context, id storiface.ID) (fsutil.FsStat, error) //perm:admin StorageAuthVerify(ctx context.Context, token string) ([]auth.Permission, error) //perm:read StorageAddLocal(ctx context.Context, path string) error //perm:admin StorageDetachLocal(ctx context.Context, path string) error //perm:admin StorageRedeclareLocal(ctx context.Context, id *storiface.ID, dropMissing bool) error //perm:admin MarketImportDealData(ctx context.Context, propcid cid.Cid, path string) error //perm:write MarketListDeals(ctx context.Context) ([]*MarketDeal, error) //perm:read // MarketListRetrievalDeals is deprecated, returns empty list MarketListRetrievalDeals(ctx context.Context) ([]struct{}, error) //perm:read MarketGetDealUpdates(ctx context.Context) (<-chan storagemarket.MinerDeal, error) //perm:read MarketListIncompleteDeals(ctx context.Context) ([]storagemarket.MinerDeal, error) //perm:read MarketSetAsk(ctx context.Context, price types.BigInt, verifiedPrice types.BigInt, duration abi.ChainEpoch, minPieceSize abi.PaddedPieceSize, maxPieceSize abi.PaddedPieceSize) error //perm:admin MarketGetAsk(ctx context.Context) (*storagemarket.SignedStorageAsk, error) //perm:read MarketSetRetrievalAsk(ctx context.Context, rask *retrievalmarket.Ask) error //perm:admin MarketGetRetrievalAsk(ctx context.Context) (*retrievalmarket.Ask, error) //perm:read MarketListDataTransfers(ctx context.Context) ([]DataTransferChannel, error) //perm:write MarketDataTransferUpdates(ctx context.Context) (<-chan DataTransferChannel, error) //perm:write // MarketDataTransferDiagnostics generates debugging information about current data transfers over graphsync MarketDataTransferDiagnostics(ctx context.Context, p peer.ID) (*TransferDiagnostics, error) //perm:write // MarketRestartDataTransfer attempts to restart a data transfer with the given transfer ID and other peer MarketRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error //perm:write // MarketCancelDataTransfer cancels a data transfer with the given transfer ID and other peer MarketCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error //perm:write MarketPendingDeals(ctx context.Context) (PendingDealInfo, error) //perm:write MarketPublishPendingDeals(ctx context.Context) error //perm:admin MarketRetryPublishDeal(ctx context.Context, propcid cid.Cid) error //perm:admin // DagstoreListShards returns information about all shards known to the // DAG store. Only available on nodes running the markets subsystem. DagstoreListShards(ctx context.Context) ([]DagstoreShardInfo, error) //perm:read // DagstoreInitializeShard initializes an uninitialized shard. // // Initialization consists of fetching the shard's data (deal payload) from // the storage subsystem, generating an index, and persisting the index // to facilitate later retrievals, and/or to publish to external sources. // // This operation is intended to complement the initial migration. The // migration registers a shard for every unique piece CID, with lazy // initialization. Thus, shards are not initialized immediately to avoid // IO activity competing with proving. Instead, shard are initialized // when first accessed. This method forces the initialization of a shard by // accessing it and immediately releasing it. This is useful to warm up the // cache to facilitate subsequent retrievals, and to generate the indexes // to publish them externally. // // This operation fails if the shard is not in ShardStateNew state. // It blocks until initialization finishes. DagstoreInitializeShard(ctx context.Context, key string) error //perm:write // DagstoreRecoverShard attempts to recover a failed shard. // // This operation fails if the shard is not in ShardStateErrored state. // It blocks until recovery finishes. If recovery failed, it returns the // error. DagstoreRecoverShard(ctx context.Context, key string) error //perm:write // DagstoreInitializeAll initializes all uninitialized shards in bulk, // according to the policy passed in the parameters. // // It is recommended to set a maximum concurrency to avoid extreme // IO pressure if the storage subsystem has a large amount of deals. // // It returns a stream of events to report progress. DagstoreInitializeAll(ctx context.Context, params DagstoreInitializeAllParams) (<-chan DagstoreInitializeAllEvent, error) //perm:write // DagstoreGC runs garbage collection on the DAG store. DagstoreGC(ctx context.Context) ([]DagstoreShardResult, error) //perm:admin // DagstoreRegisterShard registers a shard manually with dagstore with given pieceCID DagstoreRegisterShard(ctx context.Context, key string) error //perm:admin // IndexerAnnounceDeal informs indexer nodes that a new deal was received, // so they can download its index IndexerAnnounceDeal(ctx context.Context, proposalCid cid.Cid) error //perm:admin // IndexerAnnounceAllDeals informs the indexer nodes aboutall active deals. IndexerAnnounceAllDeals(ctx context.Context) error //perm:admin // DagstoreLookupPieces returns information about shards that contain the given CID. DagstoreLookupPieces(ctx context.Context, cid cid.Cid) ([]DagstoreShardInfo, error) //perm:admin // RuntimeSubsystems returns the subsystems that are enabled // in this instance. RuntimeSubsystems(ctx context.Context) (MinerSubsystems, error) //perm:read DealsImportData(ctx context.Context, dealPropCid cid.Cid, file string) error //perm:admin DealsList(ctx context.Context) ([]*MarketDeal, error) //perm:admin DealsConsiderOnlineStorageDeals(context.Context) (bool, error) //perm:admin DealsSetConsiderOnlineStorageDeals(context.Context, bool) error //perm:admin DealsConsiderOnlineRetrievalDeals(context.Context) (bool, error) //perm:admin DealsSetConsiderOnlineRetrievalDeals(context.Context, bool) error //perm:admin DealsPieceCidBlocklist(context.Context) ([]cid.Cid, error) //perm:admin DealsSetPieceCidBlocklist(context.Context, []cid.Cid) error //perm:admin DealsConsiderOfflineStorageDeals(context.Context) (bool, error) //perm:admin DealsSetConsiderOfflineStorageDeals(context.Context, bool) error //perm:admin DealsConsiderOfflineRetrievalDeals(context.Context) (bool, error) //perm:admin DealsSetConsiderOfflineRetrievalDeals(context.Context, bool) error //perm:admin DealsConsiderVerifiedStorageDeals(context.Context) (bool, error) //perm:admin DealsSetConsiderVerifiedStorageDeals(context.Context, bool) error //perm:admin DealsConsiderUnverifiedStorageDeals(context.Context) (bool, error) //perm:admin DealsSetConsiderUnverifiedStorageDeals(context.Context, bool) error //perm:admin PiecesListPieces(ctx context.Context) ([]cid.Cid, error) //perm:read PiecesListCidInfos(ctx context.Context) ([]cid.Cid, error) //perm:read PiecesGetPieceInfo(ctx context.Context, pieceCid cid.Cid) (*piecestore.PieceInfo, error) //perm:read PiecesGetCIDInfo(ctx context.Context, payloadCid cid.Cid) (*piecestore.CIDInfo, error) //perm:read // CreateBackup creates node backup onder the specified file name. The // method requires that the lotus-miner is running with the // LOTUS_BACKUP_BASE_PATH environment variable set to some path, and that // the path specified when calling CreateBackup is within the base path CreateBackup(ctx context.Context, fpath string) error //perm:admin CheckProvable(ctx context.Context, pp abi.RegisteredPoStProof, sectors []storiface.SectorRef) (map[abi.SectorNumber]string, error) //perm:admin ComputeProof(ctx context.Context, ssi []builtinactors.ExtendedSectorInfo, rand abi.PoStRandomness, poStEpoch abi.ChainEpoch, nv abinetwork.Version) ([]builtinactors.PoStProof, error) //perm:read // RecoverFault can be used to declare recoveries manually. It sends messages // to the miner actor with details of recovered sectors and returns the CID of messages. It honors the // maxPartitionsPerRecoveryMessage from the config RecoverFault(ctx context.Context, sectors []abi.SectorNumber) ([]cid.Cid, error) //perm:admin }
StorageMiner is a low-level interface to the Filecoin network storage miner node
func PermissionedStorMinerAPI ¶ added in v1.9.0
func PermissionedStorMinerAPI(a StorageMiner) StorageMiner
type StorageMinerMethods ¶ added in v1.20.0
type StorageMinerMethods struct { ActorAddress func(p0 context.Context) (address.Address, error) `perm:"read"` ActorAddressConfig func(p0 context.Context) (AddressConfig, error) `perm:"read"` ActorSectorSize func(p0 context.Context, p1 address.Address) (abi.SectorSize, error) `perm:"read"` ActorWithdrawBalance func(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error) `perm:"admin"` BeneficiaryWithdrawBalance func(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error) `perm:"admin"` CheckProvable func(p0 context.Context, p1 abi.RegisteredPoStProof, p2 []storiface.SectorRef) (map[abi.SectorNumber]string, error) `perm:"admin"` ComputeDataCid func(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (abi.PieceInfo, error) `perm:"admin"` ComputeProof func(p0 context.Context, p1 []builtinactors.ExtendedSectorInfo, p2 abi.PoStRandomness, p3 abi.ChainEpoch, p4 abinetwork.Version) ([]builtinactors.PoStProof, error) `perm:"read"` ComputeWindowPoSt func(p0 context.Context, p1 uint64, p2 types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error) `perm:"admin"` CreateBackup func(p0 context.Context, p1 string) error `perm:"admin"` DagstoreGC func(p0 context.Context) ([]DagstoreShardResult, error) `perm:"admin"` DagstoreInitializeAll func(p0 context.Context, p1 DagstoreInitializeAllParams) (<-chan DagstoreInitializeAllEvent, error) `perm:"write"` DagstoreInitializeShard func(p0 context.Context, p1 string) error `perm:"write"` DagstoreListShards func(p0 context.Context) ([]DagstoreShardInfo, error) `perm:"read"` DagstoreLookupPieces func(p0 context.Context, p1 cid.Cid) ([]DagstoreShardInfo, error) `perm:"admin"` DagstoreRecoverShard func(p0 context.Context, p1 string) error `perm:"write"` DagstoreRegisterShard func(p0 context.Context, p1 string) error `perm:"admin"` DealsConsiderOfflineRetrievalDeals func(p0 context.Context) (bool, error) `perm:"admin"` DealsConsiderOfflineStorageDeals func(p0 context.Context) (bool, error) `perm:"admin"` DealsConsiderOnlineRetrievalDeals func(p0 context.Context) (bool, error) `perm:"admin"` DealsConsiderOnlineStorageDeals func(p0 context.Context) (bool, error) `perm:"admin"` DealsConsiderUnverifiedStorageDeals func(p0 context.Context) (bool, error) `perm:"admin"` DealsConsiderVerifiedStorageDeals func(p0 context.Context) (bool, error) `perm:"admin"` DealsImportData func(p0 context.Context, p1 cid.Cid, p2 string) error `perm:"admin"` DealsList func(p0 context.Context) ([]*MarketDeal, error) `perm:"admin"` DealsPieceCidBlocklist func(p0 context.Context) ([]cid.Cid, error) `perm:"admin"` DealsSetConsiderOfflineRetrievalDeals func(p0 context.Context, p1 bool) error `perm:"admin"` DealsSetConsiderOfflineStorageDeals func(p0 context.Context, p1 bool) error `perm:"admin"` DealsSetConsiderOnlineRetrievalDeals func(p0 context.Context, p1 bool) error `perm:"admin"` DealsSetConsiderOnlineStorageDeals func(p0 context.Context, p1 bool) error `perm:"admin"` DealsSetConsiderUnverifiedStorageDeals func(p0 context.Context, p1 bool) error `perm:"admin"` DealsSetConsiderVerifiedStorageDeals func(p0 context.Context, p1 bool) error `perm:"admin"` DealsSetPieceCidBlocklist func(p0 context.Context, p1 []cid.Cid) error `perm:"admin"` IndexerAnnounceAllDeals func(p0 context.Context) error `perm:"admin"` IndexerAnnounceDeal func(p0 context.Context, p1 cid.Cid) error `perm:"admin"` MarketCancelDataTransfer func(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error `perm:"write"` MarketDataTransferDiagnostics func(p0 context.Context, p1 peer.ID) (*TransferDiagnostics, error) `perm:"write"` MarketDataTransferUpdates func(p0 context.Context) (<-chan DataTransferChannel, error) `perm:"write"` MarketGetAsk func(p0 context.Context) (*storagemarket.SignedStorageAsk, error) `perm:"read"` MarketGetDealUpdates func(p0 context.Context) (<-chan storagemarket.MinerDeal, error) `perm:"read"` MarketGetRetrievalAsk func(p0 context.Context) (*retrievalmarket.Ask, error) `perm:"read"` MarketImportDealData func(p0 context.Context, p1 cid.Cid, p2 string) error `perm:"write"` MarketListDataTransfers func(p0 context.Context) ([]DataTransferChannel, error) `perm:"write"` MarketListDeals func(p0 context.Context) ([]*MarketDeal, error) `perm:"read"` MarketListIncompleteDeals func(p0 context.Context) ([]storagemarket.MinerDeal, error) `perm:"read"` MarketListRetrievalDeals func(p0 context.Context) ([]struct{}, error) `perm:"read"` MarketPendingDeals func(p0 context.Context) (PendingDealInfo, error) `perm:"write"` MarketPublishPendingDeals func(p0 context.Context) error `perm:"admin"` MarketRestartDataTransfer func(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error `perm:"write"` MarketRetryPublishDeal func(p0 context.Context, p1 cid.Cid) error `perm:"admin"` MarketSetAsk func(p0 context.Context, p1 types.BigInt, p2 types.BigInt, p3 abi.ChainEpoch, p4 abi.PaddedPieceSize, p5 abi.PaddedPieceSize) error `perm:"admin"` MarketSetRetrievalAsk func(p0 context.Context, p1 *retrievalmarket.Ask) error `perm:"admin"` MiningBase func(p0 context.Context) (*types.TipSet, error) `perm:"read"` PiecesGetCIDInfo func(p0 context.Context, p1 cid.Cid) (*piecestore.CIDInfo, error) `perm:"read"` PiecesGetPieceInfo func(p0 context.Context, p1 cid.Cid) (*piecestore.PieceInfo, error) `perm:"read"` PiecesListCidInfos func(p0 context.Context) ([]cid.Cid, error) `perm:"read"` PiecesListPieces func(p0 context.Context) ([]cid.Cid, error) `perm:"read"` PledgeSector func(p0 context.Context) (abi.SectorID, error) `perm:"write"` RecoverFault func(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error) `perm:"admin"` ReturnAddPiece func(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, p3 *storiface.CallError) error `perm:"admin"` ReturnDataCid func(p0 context.Context, p1 storiface.CallID, p2 abi.PieceInfo, p3 *storiface.CallError) error `perm:"admin"` ReturnDownloadSector func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnFetch func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnFinalizeReplicaUpdate func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnFinalizeSector func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnGenerateSectorKeyFromData func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnMoveStorage func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnProveReplicaUpdate1 func(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaVanillaProofs, p3 *storiface.CallError) error `perm:"admin"` ReturnProveReplicaUpdate2 func(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateProof, p3 *storiface.CallError) error `perm:"admin"` ReturnReadPiece func(p0 context.Context, p1 storiface.CallID, p2 bool, p3 *storiface.CallError) error `perm:"admin"` ReturnReleaseUnsealed func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` ReturnReplicaUpdate func(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateOut, p3 *storiface.CallError) error `perm:"admin"` ReturnSealCommit1 func(p0 context.Context, p1 storiface.CallID, p2 storiface.Commit1Out, p3 *storiface.CallError) error `perm:"admin"` ReturnSealCommit2 func(p0 context.Context, p1 storiface.CallID, p2 storiface.Proof, p3 *storiface.CallError) error `perm:"admin"` ReturnSealPreCommit1 func(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, p3 *storiface.CallError) error `perm:"admin"` ReturnSealPreCommit2 func(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, p3 *storiface.CallError) error `perm:"admin"` ReturnUnsealPiece func(p0 context.Context, p1 storiface.CallID, p2 *storiface.CallError) error `perm:"admin"` RuntimeSubsystems func(p0 context.Context) (MinerSubsystems, error) `perm:"read"` SealingAbort func(p0 context.Context, p1 storiface.CallID) error `perm:"admin"` SealingRemoveRequest func(p0 context.Context, p1 uuid.UUID) error `perm:"admin"` SealingSchedDiag func(p0 context.Context, p1 bool) (interface{}, error) `perm:"admin"` SectorAbortUpgrade func(p0 context.Context, p1 abi.SectorNumber) error `perm:"admin"` SectorAddPieceToAny func(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data, p3 PieceDealInfo) (SectorOffset, error) `perm:"admin"` SectorCommitFlush func(p0 context.Context) ([]sealiface.CommitBatchRes, error) `perm:"admin"` SectorCommitPending func(p0 context.Context) ([]abi.SectorID, error) `perm:"admin"` SectorGetExpectedSealDuration func(p0 context.Context) (time.Duration, error) `perm:"read"` SectorGetSealDelay func(p0 context.Context) (time.Duration, error) `perm:"read"` SectorMarkForUpgrade func(p0 context.Context, p1 abi.SectorNumber, p2 bool) error `perm:"admin"` SectorMatchPendingPiecesToOpenSectors func(p0 context.Context) error `perm:"admin"` SectorNumAssignerMeta func(p0 context.Context) (NumAssignerMeta, error) `perm:"read"` SectorNumFree func(p0 context.Context, p1 string) error `perm:"admin"` SectorNumReservations func(p0 context.Context) (map[string]bitfield.BitField, error) `perm:"read"` SectorNumReserve func(p0 context.Context, p1 string, p2 bitfield.BitField, p3 bool) error `perm:"admin"` SectorNumReserveCount func(p0 context.Context, p1 string, p2 uint64) (bitfield.BitField, error) `perm:"admin"` SectorPreCommitFlush func(p0 context.Context) ([]sealiface.PreCommitBatchRes, error) `perm:"admin"` SectorPreCommitPending func(p0 context.Context) ([]abi.SectorID, error) `perm:"admin"` SectorReceive func(p0 context.Context, p1 RemoteSectorMeta) error `perm:"admin"` SectorRemove func(p0 context.Context, p1 abi.SectorNumber) error `perm:"admin"` SectorSetExpectedSealDuration func(p0 context.Context, p1 time.Duration) error `perm:"write"` SectorSetSealDelay func(p0 context.Context, p1 time.Duration) error `perm:"write"` SectorStartSealing func(p0 context.Context, p1 abi.SectorNumber) error `perm:"write"` SectorTerminate func(p0 context.Context, p1 abi.SectorNumber) error `perm:"admin"` SectorTerminateFlush func(p0 context.Context) (*cid.Cid, error) `perm:"admin"` SectorTerminatePending func(p0 context.Context) ([]abi.SectorID, error) `perm:"admin"` SectorUnseal func(p0 context.Context, p1 abi.SectorNumber) error `perm:"admin"` SectorsList func(p0 context.Context) ([]abi.SectorNumber, error) `perm:"read"` SectorsListInStates func(p0 context.Context, p1 []SectorState) ([]abi.SectorNumber, error) `perm:"read"` SectorsRefs func(p0 context.Context) (map[string][]SealedRef, error) `perm:"read"` SectorsStatus func(p0 context.Context, p1 abi.SectorNumber, p2 bool) (SectorInfo, error) `perm:"read"` SectorsSummary func(p0 context.Context) (map[SectorState]int, error) `perm:"read"` SectorsUnsealPiece func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 *cid.Cid) error `perm:"admin"` SectorsUpdate func(p0 context.Context, p1 abi.SectorNumber, p2 SectorState) error `perm:"admin"` StorageAddLocal func(p0 context.Context, p1 string) error `perm:"admin"` StorageAttach func(p0 context.Context, p1 storiface.StorageInfo, p2 fsutil.FsStat) error `perm:"admin"` StorageAuthVerify func(p0 context.Context, p1 string) ([]auth.Permission, error) `perm:"read"` StorageBestAlloc func(p0 context.Context, p1 storiface.SectorFileType, p2 abi.SectorSize, p3 storiface.PathType) ([]storiface.StorageInfo, error) `perm:"admin"` StorageDeclareSector func(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, p3 storiface.SectorFileType, p4 bool) error `perm:"admin"` StorageDetach func(p0 context.Context, p1 storiface.ID, p2 string) error `perm:"admin"` StorageDetachLocal func(p0 context.Context, p1 string) error `perm:"admin"` StorageDropSector func(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, p3 storiface.SectorFileType) error `perm:"admin"` StorageFindSector func(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error) `perm:"admin"` StorageGetLocks func(p0 context.Context) (storiface.SectorLocks, error) `perm:"admin"` StorageInfo func(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error) `perm:"admin"` StorageList func(p0 context.Context) (map[storiface.ID][]storiface.Decl, error) `perm:"admin"` StorageLocal func(p0 context.Context) (map[storiface.ID]string, error) `perm:"admin"` StorageLock func(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) error `perm:"admin"` StorageRedeclareLocal func(p0 context.Context, p1 *storiface.ID, p2 bool) error `perm:"admin"` StorageReportHealth func(p0 context.Context, p1 storiface.ID, p2 storiface.HealthReport) error `perm:"admin"` StorageStat func(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error) `perm:"admin"` StorageTryLock func(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) (bool, error) `perm:"admin"` WorkerConnect func(p0 context.Context, p1 string) error `perm:"admin"` WorkerJobs func(p0 context.Context) (map[uuid.UUID][]storiface.WorkerJob, error) `perm:"admin"` WorkerStats func(p0 context.Context) (map[uuid.UUID]storiface.WorkerStats, error) `perm:"admin"` }
type StorageMinerStruct ¶ added in v1.9.0
type StorageMinerStruct struct { CommonStruct NetStruct Internal StorageMinerMethods }
func (*StorageMinerStruct) ActorAddress ¶ added in v1.9.0
func (s *StorageMinerStruct) ActorAddress(p0 context.Context) (address.Address, error)
func (*StorageMinerStruct) ActorAddressConfig ¶ added in v1.9.0
func (s *StorageMinerStruct) ActorAddressConfig(p0 context.Context) (AddressConfig, error)
func (*StorageMinerStruct) ActorSectorSize ¶ added in v1.9.0
func (s *StorageMinerStruct) ActorSectorSize(p0 context.Context, p1 address.Address) (abi.SectorSize, error)
func (*StorageMinerStruct) ActorWithdrawBalance ¶ added in v1.17.1
func (s *StorageMinerStruct) ActorWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
func (*StorageMinerStruct) BeneficiaryWithdrawBalance ¶ added in v1.17.2
func (s *StorageMinerStruct) BeneficiaryWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
func (*StorageMinerStruct) CheckProvable ¶ added in v1.9.0
func (s *StorageMinerStruct) CheckProvable(p0 context.Context, p1 abi.RegisteredPoStProof, p2 []storiface.SectorRef) (map[abi.SectorNumber]string, error)
func (*StorageMinerStruct) ComputeDataCid ¶ added in v1.15.3
func (s *StorageMinerStruct) ComputeDataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (abi.PieceInfo, error)
func (*StorageMinerStruct) ComputeProof ¶ added in v1.9.0
func (s *StorageMinerStruct) ComputeProof(p0 context.Context, p1 []builtinactors.ExtendedSectorInfo, p2 abi.PoStRandomness, p3 abi.ChainEpoch, p4 abinetwork.Version) ([]builtinactors.PoStProof, error)
func (*StorageMinerStruct) ComputeWindowPoSt ¶ added in v1.15.2
func (s *StorageMinerStruct) ComputeWindowPoSt(p0 context.Context, p1 uint64, p2 types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error)
func (*StorageMinerStruct) CreateBackup ¶ added in v1.9.0
func (s *StorageMinerStruct) CreateBackup(p0 context.Context, p1 string) error
func (*StorageMinerStruct) DagstoreGC ¶ added in v1.11.2
func (s *StorageMinerStruct) DagstoreGC(p0 context.Context) ([]DagstoreShardResult, error)
func (*StorageMinerStruct) DagstoreInitializeAll ¶ added in v1.11.2
func (s *StorageMinerStruct) DagstoreInitializeAll(p0 context.Context, p1 DagstoreInitializeAllParams) (<-chan DagstoreInitializeAllEvent, error)
func (*StorageMinerStruct) DagstoreInitializeShard ¶ added in v1.11.2
func (s *StorageMinerStruct) DagstoreInitializeShard(p0 context.Context, p1 string) error
func (*StorageMinerStruct) DagstoreListShards ¶ added in v1.11.2
func (s *StorageMinerStruct) DagstoreListShards(p0 context.Context) ([]DagstoreShardInfo, error)
func (*StorageMinerStruct) DagstoreLookupPieces ¶ added in v1.15.1
func (s *StorageMinerStruct) DagstoreLookupPieces(p0 context.Context, p1 cid.Cid) ([]DagstoreShardInfo, error)
func (*StorageMinerStruct) DagstoreRecoverShard ¶ added in v1.11.2
func (s *StorageMinerStruct) DagstoreRecoverShard(p0 context.Context, p1 string) error
func (*StorageMinerStruct) DagstoreRegisterShard ¶ added in v1.17.0
func (s *StorageMinerStruct) DagstoreRegisterShard(p0 context.Context, p1 string) error
func (*StorageMinerStruct) DealsConsiderOfflineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsConsiderOfflineRetrievalDeals(p0 context.Context) (bool, error)
func (*StorageMinerStruct) DealsConsiderOfflineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsConsiderOfflineStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStruct) DealsConsiderOnlineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsConsiderOnlineRetrievalDeals(p0 context.Context) (bool, error)
func (*StorageMinerStruct) DealsConsiderOnlineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsConsiderOnlineStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStruct) DealsConsiderUnverifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsConsiderUnverifiedStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStruct) DealsConsiderVerifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsConsiderVerifiedStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStruct) DealsImportData ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsImportData(p0 context.Context, p1 cid.Cid, p2 string) error
func (*StorageMinerStruct) DealsList ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsList(p0 context.Context) ([]*MarketDeal, error)
func (*StorageMinerStruct) DealsPieceCidBlocklist ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsPieceCidBlocklist(p0 context.Context) ([]cid.Cid, error)
func (*StorageMinerStruct) DealsSetConsiderOfflineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetConsiderOfflineRetrievalDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStruct) DealsSetConsiderOfflineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetConsiderOfflineStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStruct) DealsSetConsiderOnlineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetConsiderOnlineRetrievalDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStruct) DealsSetConsiderOnlineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetConsiderOnlineStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStruct) DealsSetConsiderUnverifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetConsiderUnverifiedStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStruct) DealsSetConsiderVerifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetConsiderVerifiedStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStruct) DealsSetPieceCidBlocklist ¶ added in v1.9.0
func (s *StorageMinerStruct) DealsSetPieceCidBlocklist(p0 context.Context, p1 []cid.Cid) error
func (*StorageMinerStruct) IndexerAnnounceAllDeals ¶ added in v1.15.1
func (s *StorageMinerStruct) IndexerAnnounceAllDeals(p0 context.Context) error
func (*StorageMinerStruct) IndexerAnnounceDeal ¶ added in v1.15.1
func (s *StorageMinerStruct) IndexerAnnounceDeal(p0 context.Context, p1 cid.Cid) error
func (*StorageMinerStruct) MarketCancelDataTransfer ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*StorageMinerStruct) MarketDataTransferDiagnostics ¶ added in v1.14.0
func (s *StorageMinerStruct) MarketDataTransferDiagnostics(p0 context.Context, p1 peer.ID) (*TransferDiagnostics, error)
func (*StorageMinerStruct) MarketDataTransferUpdates ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
func (*StorageMinerStruct) MarketGetAsk ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketGetAsk(p0 context.Context) (*storagemarket.SignedStorageAsk, error)
func (*StorageMinerStruct) MarketGetDealUpdates ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketGetDealUpdates(p0 context.Context) (<-chan storagemarket.MinerDeal, error)
func (*StorageMinerStruct) MarketGetRetrievalAsk ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketGetRetrievalAsk(p0 context.Context) (*retrievalmarket.Ask, error)
func (*StorageMinerStruct) MarketImportDealData ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketImportDealData(p0 context.Context, p1 cid.Cid, p2 string) error
func (*StorageMinerStruct) MarketListDataTransfers ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
func (*StorageMinerStruct) MarketListDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
func (*StorageMinerStruct) MarketListIncompleteDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketListIncompleteDeals(p0 context.Context) ([]storagemarket.MinerDeal, error)
func (*StorageMinerStruct) MarketListRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketListRetrievalDeals(p0 context.Context) ([]struct{}, error)
func (*StorageMinerStruct) MarketPendingDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketPendingDeals(p0 context.Context) (PendingDealInfo, error)
func (*StorageMinerStruct) MarketPublishPendingDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketPublishPendingDeals(p0 context.Context) error
func (*StorageMinerStruct) MarketRestartDataTransfer ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*StorageMinerStruct) MarketRetryPublishDeal ¶ added in v1.13.1
func (s *StorageMinerStruct) MarketRetryPublishDeal(p0 context.Context, p1 cid.Cid) error
func (*StorageMinerStruct) MarketSetAsk ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketSetAsk(p0 context.Context, p1 types.BigInt, p2 types.BigInt, p3 abi.ChainEpoch, p4 abi.PaddedPieceSize, p5 abi.PaddedPieceSize) error
func (*StorageMinerStruct) MarketSetRetrievalAsk ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketSetRetrievalAsk(p0 context.Context, p1 *retrievalmarket.Ask) error
func (*StorageMinerStruct) MiningBase ¶ added in v1.9.0
func (*StorageMinerStruct) PiecesGetCIDInfo ¶ added in v1.9.0
func (s *StorageMinerStruct) PiecesGetCIDInfo(p0 context.Context, p1 cid.Cid) (*piecestore.CIDInfo, error)
func (*StorageMinerStruct) PiecesGetPieceInfo ¶ added in v1.9.0
func (s *StorageMinerStruct) PiecesGetPieceInfo(p0 context.Context, p1 cid.Cid) (*piecestore.PieceInfo, error)
func (*StorageMinerStruct) PiecesListCidInfos ¶ added in v1.9.0
func (s *StorageMinerStruct) PiecesListCidInfos(p0 context.Context) ([]cid.Cid, error)
func (*StorageMinerStruct) PiecesListPieces ¶ added in v1.9.0
func (s *StorageMinerStruct) PiecesListPieces(p0 context.Context) ([]cid.Cid, error)
func (*StorageMinerStruct) PledgeSector ¶ added in v1.9.0
func (*StorageMinerStruct) RecoverFault ¶ added in v1.17.2
func (s *StorageMinerStruct) RecoverFault(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error)
func (*StorageMinerStruct) ReturnAddPiece ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnDataCid ¶ added in v1.15.3
func (*StorageMinerStruct) ReturnDownloadSector ¶ added in v1.17.2
func (*StorageMinerStruct) ReturnFetch ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnFinalizeReplicaUpdate ¶ added in v1.14.0
func (*StorageMinerStruct) ReturnFinalizeSector ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnGenerateSectorKeyFromData ¶ added in v1.14.0
func (*StorageMinerStruct) ReturnMoveStorage ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnProveReplicaUpdate1 ¶ added in v1.14.0
func (s *StorageMinerStruct) ReturnProveReplicaUpdate1(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaVanillaProofs, p3 *storiface.CallError) error
func (*StorageMinerStruct) ReturnProveReplicaUpdate2 ¶ added in v1.14.0
func (s *StorageMinerStruct) ReturnProveReplicaUpdate2(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateProof, p3 *storiface.CallError) error
func (*StorageMinerStruct) ReturnReadPiece ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnReleaseUnsealed ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnReplicaUpdate ¶ added in v1.14.0
func (s *StorageMinerStruct) ReturnReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateOut, p3 *storiface.CallError) error
func (*StorageMinerStruct) ReturnSealCommit1 ¶ added in v1.9.0
func (s *StorageMinerStruct) ReturnSealCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.Commit1Out, p3 *storiface.CallError) error
func (*StorageMinerStruct) ReturnSealCommit2 ¶ added in v1.9.0
func (*StorageMinerStruct) ReturnSealPreCommit1 ¶ added in v1.9.0
func (s *StorageMinerStruct) ReturnSealPreCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, p3 *storiface.CallError) error
func (*StorageMinerStruct) ReturnSealPreCommit2 ¶ added in v1.9.0
func (s *StorageMinerStruct) ReturnSealPreCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, p3 *storiface.CallError) error
func (*StorageMinerStruct) ReturnUnsealPiece ¶ added in v1.9.0
func (*StorageMinerStruct) RuntimeSubsystems ¶ added in v1.11.1
func (s *StorageMinerStruct) RuntimeSubsystems(p0 context.Context) (MinerSubsystems, error)
func (*StorageMinerStruct) SealingAbort ¶ added in v1.9.0
func (*StorageMinerStruct) SealingRemoveRequest ¶ added in v1.17.1
func (*StorageMinerStruct) SealingSchedDiag ¶ added in v1.9.0
func (s *StorageMinerStruct) SealingSchedDiag(p0 context.Context, p1 bool) (interface{}, error)
func (*StorageMinerStruct) SectorAbortUpgrade ¶ added in v1.14.0
func (s *StorageMinerStruct) SectorAbortUpgrade(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStruct) SectorAddPieceToAny ¶ added in v1.11.1
func (s *StorageMinerStruct) SectorAddPieceToAny(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data, p3 PieceDealInfo) (SectorOffset, error)
func (*StorageMinerStruct) SectorCommitFlush ¶ added in v1.10.0
func (s *StorageMinerStruct) SectorCommitFlush(p0 context.Context) ([]sealiface.CommitBatchRes, error)
func (*StorageMinerStruct) SectorCommitPending ¶ added in v1.10.0
func (*StorageMinerStruct) SectorGetExpectedSealDuration ¶ added in v1.9.0
func (*StorageMinerStruct) SectorGetSealDelay ¶ added in v1.9.0
func (*StorageMinerStruct) SectorMarkForUpgrade ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorMarkForUpgrade(p0 context.Context, p1 abi.SectorNumber, p2 bool) error
func (*StorageMinerStruct) SectorMatchPendingPiecesToOpenSectors ¶ added in v1.14.0
func (s *StorageMinerStruct) SectorMatchPendingPiecesToOpenSectors(p0 context.Context) error
func (*StorageMinerStruct) SectorNumAssignerMeta ¶ added in v1.17.2
func (s *StorageMinerStruct) SectorNumAssignerMeta(p0 context.Context) (NumAssignerMeta, error)
func (*StorageMinerStruct) SectorNumFree ¶ added in v1.17.2
func (s *StorageMinerStruct) SectorNumFree(p0 context.Context, p1 string) error
func (*StorageMinerStruct) SectorNumReservations ¶ added in v1.17.2
func (s *StorageMinerStruct) SectorNumReservations(p0 context.Context) (map[string]bitfield.BitField, error)
func (*StorageMinerStruct) SectorNumReserve ¶ added in v1.17.2
func (*StorageMinerStruct) SectorNumReserveCount ¶ added in v1.17.2
func (*StorageMinerStruct) SectorPreCommitFlush ¶ added in v1.10.0
func (s *StorageMinerStruct) SectorPreCommitFlush(p0 context.Context) ([]sealiface.PreCommitBatchRes, error)
func (*StorageMinerStruct) SectorPreCommitPending ¶ added in v1.10.0
func (*StorageMinerStruct) SectorReceive ¶ added in v1.17.2
func (s *StorageMinerStruct) SectorReceive(p0 context.Context, p1 RemoteSectorMeta) error
func (*StorageMinerStruct) SectorRemove ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorRemove(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStruct) SectorSetExpectedSealDuration ¶ added in v1.9.0
func (*StorageMinerStruct) SectorSetSealDelay ¶ added in v1.9.0
func (*StorageMinerStruct) SectorStartSealing ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorStartSealing(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStruct) SectorTerminate ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorTerminate(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStruct) SectorTerminateFlush ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorTerminateFlush(p0 context.Context) (*cid.Cid, error)
func (*StorageMinerStruct) SectorTerminatePending ¶ added in v1.9.0
func (*StorageMinerStruct) SectorUnseal ¶ added in v1.23.1
func (s *StorageMinerStruct) SectorUnseal(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStruct) SectorsList ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorsList(p0 context.Context) ([]abi.SectorNumber, error)
func (*StorageMinerStruct) SectorsListInStates ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorsListInStates(p0 context.Context, p1 []SectorState) ([]abi.SectorNumber, error)
func (*StorageMinerStruct) SectorsRefs ¶ added in v1.9.0
func (*StorageMinerStruct) SectorsStatus ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorsStatus(p0 context.Context, p1 abi.SectorNumber, p2 bool) (SectorInfo, error)
func (*StorageMinerStruct) SectorsSummary ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorsSummary(p0 context.Context) (map[SectorState]int, error)
func (*StorageMinerStruct) SectorsUnsealPiece ¶ added in v1.11.1
func (s *StorageMinerStruct) SectorsUnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 *cid.Cid) error
func (*StorageMinerStruct) SectorsUpdate ¶ added in v1.9.0
func (s *StorageMinerStruct) SectorsUpdate(p0 context.Context, p1 abi.SectorNumber, p2 SectorState) error
func (*StorageMinerStruct) StorageAddLocal ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageAddLocal(p0 context.Context, p1 string) error
func (*StorageMinerStruct) StorageAttach ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageAttach(p0 context.Context, p1 storiface.StorageInfo, p2 fsutil.FsStat) error
func (*StorageMinerStruct) StorageAuthVerify ¶ added in v1.17.0
func (s *StorageMinerStruct) StorageAuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
func (*StorageMinerStruct) StorageBestAlloc ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageBestAlloc(p0 context.Context, p1 storiface.SectorFileType, p2 abi.SectorSize, p3 storiface.PathType) ([]storiface.StorageInfo, error)
func (*StorageMinerStruct) StorageDeclareSector ¶ added in v1.9.0
func (*StorageMinerStruct) StorageDetach ¶ added in v1.17.1
func (*StorageMinerStruct) StorageDetachLocal ¶ added in v1.17.1
func (s *StorageMinerStruct) StorageDetachLocal(p0 context.Context, p1 string) error
func (*StorageMinerStruct) StorageDropSector ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageDropSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, p3 storiface.SectorFileType) error
func (*StorageMinerStruct) StorageFindSector ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error)
func (*StorageMinerStruct) StorageGetLocks ¶ added in v1.14.0
func (s *StorageMinerStruct) StorageGetLocks(p0 context.Context) (storiface.SectorLocks, error)
func (*StorageMinerStruct) StorageInfo ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
func (*StorageMinerStruct) StorageList ¶ added in v1.9.0
func (*StorageMinerStruct) StorageLocal ¶ added in v1.9.0
func (*StorageMinerStruct) StorageLock ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) error
func (*StorageMinerStruct) StorageRedeclareLocal ¶ added in v1.17.1
func (*StorageMinerStruct) StorageReportHealth ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageReportHealth(p0 context.Context, p1 storiface.ID, p2 storiface.HealthReport) error
func (*StorageMinerStruct) StorageStat ¶ added in v1.9.0
func (*StorageMinerStruct) StorageTryLock ¶ added in v1.9.0
func (s *StorageMinerStruct) StorageTryLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) (bool, error)
func (*StorageMinerStruct) WorkerConnect ¶ added in v1.9.0
func (s *StorageMinerStruct) WorkerConnect(p0 context.Context, p1 string) error
func (*StorageMinerStruct) WorkerJobs ¶ added in v1.9.0
func (*StorageMinerStruct) WorkerStats ¶ added in v1.9.0
func (s *StorageMinerStruct) WorkerStats(p0 context.Context) (map[uuid.UUID]storiface.WorkerStats, error)
type StorageMinerStub ¶ added in v1.9.0
type StorageMinerStub struct { CommonStub NetStub }
func (*StorageMinerStub) ActorAddress ¶ added in v1.9.0
func (s *StorageMinerStub) ActorAddress(p0 context.Context) (address.Address, error)
func (*StorageMinerStub) ActorAddressConfig ¶ added in v1.9.0
func (s *StorageMinerStub) ActorAddressConfig(p0 context.Context) (AddressConfig, error)
func (*StorageMinerStub) ActorSectorSize ¶ added in v1.9.0
func (s *StorageMinerStub) ActorSectorSize(p0 context.Context, p1 address.Address) (abi.SectorSize, error)
func (*StorageMinerStub) ActorWithdrawBalance ¶ added in v1.17.1
func (s *StorageMinerStub) ActorWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
func (*StorageMinerStub) BeneficiaryWithdrawBalance ¶ added in v1.17.2
func (s *StorageMinerStub) BeneficiaryWithdrawBalance(p0 context.Context, p1 abi.TokenAmount) (cid.Cid, error)
func (*StorageMinerStub) CheckProvable ¶ added in v1.9.0
func (s *StorageMinerStub) CheckProvable(p0 context.Context, p1 abi.RegisteredPoStProof, p2 []storiface.SectorRef) (map[abi.SectorNumber]string, error)
func (*StorageMinerStub) ComputeDataCid ¶ added in v1.15.3
func (s *StorageMinerStub) ComputeDataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (abi.PieceInfo, error)
func (*StorageMinerStub) ComputeProof ¶ added in v1.9.0
func (s *StorageMinerStub) ComputeProof(p0 context.Context, p1 []builtinactors.ExtendedSectorInfo, p2 abi.PoStRandomness, p3 abi.ChainEpoch, p4 abinetwork.Version) ([]builtinactors.PoStProof, error)
func (*StorageMinerStub) ComputeWindowPoSt ¶ added in v1.15.2
func (s *StorageMinerStub) ComputeWindowPoSt(p0 context.Context, p1 uint64, p2 types.TipSetKey) ([]miner.SubmitWindowedPoStParams, error)
func (*StorageMinerStub) CreateBackup ¶ added in v1.9.0
func (s *StorageMinerStub) CreateBackup(p0 context.Context, p1 string) error
func (*StorageMinerStub) DagstoreGC ¶ added in v1.11.2
func (s *StorageMinerStub) DagstoreGC(p0 context.Context) ([]DagstoreShardResult, error)
func (*StorageMinerStub) DagstoreInitializeAll ¶ added in v1.11.2
func (s *StorageMinerStub) DagstoreInitializeAll(p0 context.Context, p1 DagstoreInitializeAllParams) (<-chan DagstoreInitializeAllEvent, error)
func (*StorageMinerStub) DagstoreInitializeShard ¶ added in v1.11.2
func (s *StorageMinerStub) DagstoreInitializeShard(p0 context.Context, p1 string) error
func (*StorageMinerStub) DagstoreListShards ¶ added in v1.11.2
func (s *StorageMinerStub) DagstoreListShards(p0 context.Context) ([]DagstoreShardInfo, error)
func (*StorageMinerStub) DagstoreLookupPieces ¶ added in v1.15.1
func (s *StorageMinerStub) DagstoreLookupPieces(p0 context.Context, p1 cid.Cid) ([]DagstoreShardInfo, error)
func (*StorageMinerStub) DagstoreRecoverShard ¶ added in v1.11.2
func (s *StorageMinerStub) DagstoreRecoverShard(p0 context.Context, p1 string) error
func (*StorageMinerStub) DagstoreRegisterShard ¶ added in v1.17.0
func (s *StorageMinerStub) DagstoreRegisterShard(p0 context.Context, p1 string) error
func (*StorageMinerStub) DealsConsiderOfflineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsConsiderOfflineRetrievalDeals(p0 context.Context) (bool, error)
func (*StorageMinerStub) DealsConsiderOfflineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsConsiderOfflineStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStub) DealsConsiderOnlineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsConsiderOnlineRetrievalDeals(p0 context.Context) (bool, error)
func (*StorageMinerStub) DealsConsiderOnlineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsConsiderOnlineStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStub) DealsConsiderUnverifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsConsiderUnverifiedStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStub) DealsConsiderVerifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsConsiderVerifiedStorageDeals(p0 context.Context) (bool, error)
func (*StorageMinerStub) DealsImportData ¶ added in v1.9.0
func (s *StorageMinerStub) DealsImportData(p0 context.Context, p1 cid.Cid, p2 string) error
func (*StorageMinerStub) DealsList ¶ added in v1.9.0
func (s *StorageMinerStub) DealsList(p0 context.Context) ([]*MarketDeal, error)
func (*StorageMinerStub) DealsPieceCidBlocklist ¶ added in v1.9.0
func (s *StorageMinerStub) DealsPieceCidBlocklist(p0 context.Context) ([]cid.Cid, error)
func (*StorageMinerStub) DealsSetConsiderOfflineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetConsiderOfflineRetrievalDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStub) DealsSetConsiderOfflineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetConsiderOfflineStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStub) DealsSetConsiderOnlineRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetConsiderOnlineRetrievalDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStub) DealsSetConsiderOnlineStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetConsiderOnlineStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStub) DealsSetConsiderUnverifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetConsiderUnverifiedStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStub) DealsSetConsiderVerifiedStorageDeals ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetConsiderVerifiedStorageDeals(p0 context.Context, p1 bool) error
func (*StorageMinerStub) DealsSetPieceCidBlocklist ¶ added in v1.9.0
func (s *StorageMinerStub) DealsSetPieceCidBlocklist(p0 context.Context, p1 []cid.Cid) error
func (*StorageMinerStub) IndexerAnnounceAllDeals ¶ added in v1.15.1
func (s *StorageMinerStub) IndexerAnnounceAllDeals(p0 context.Context) error
func (*StorageMinerStub) IndexerAnnounceDeal ¶ added in v1.15.1
func (s *StorageMinerStub) IndexerAnnounceDeal(p0 context.Context, p1 cid.Cid) error
func (*StorageMinerStub) MarketCancelDataTransfer ¶ added in v1.9.0
func (s *StorageMinerStub) MarketCancelDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*StorageMinerStub) MarketDataTransferDiagnostics ¶ added in v1.14.0
func (s *StorageMinerStub) MarketDataTransferDiagnostics(p0 context.Context, p1 peer.ID) (*TransferDiagnostics, error)
func (*StorageMinerStub) MarketDataTransferUpdates ¶ added in v1.9.0
func (s *StorageMinerStub) MarketDataTransferUpdates(p0 context.Context) (<-chan DataTransferChannel, error)
func (*StorageMinerStub) MarketGetAsk ¶ added in v1.9.0
func (s *StorageMinerStub) MarketGetAsk(p0 context.Context) (*storagemarket.SignedStorageAsk, error)
func (*StorageMinerStub) MarketGetDealUpdates ¶ added in v1.9.0
func (s *StorageMinerStub) MarketGetDealUpdates(p0 context.Context) (<-chan storagemarket.MinerDeal, error)
func (*StorageMinerStub) MarketGetRetrievalAsk ¶ added in v1.9.0
func (s *StorageMinerStub) MarketGetRetrievalAsk(p0 context.Context) (*retrievalmarket.Ask, error)
func (*StorageMinerStub) MarketImportDealData ¶ added in v1.9.0
func (s *StorageMinerStub) MarketImportDealData(p0 context.Context, p1 cid.Cid, p2 string) error
func (*StorageMinerStub) MarketListDataTransfers ¶ added in v1.9.0
func (s *StorageMinerStub) MarketListDataTransfers(p0 context.Context) ([]DataTransferChannel, error)
func (*StorageMinerStub) MarketListDeals ¶ added in v1.9.0
func (s *StorageMinerStub) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
func (*StorageMinerStub) MarketListIncompleteDeals ¶ added in v1.9.0
func (s *StorageMinerStub) MarketListIncompleteDeals(p0 context.Context) ([]storagemarket.MinerDeal, error)
func (*StorageMinerStub) MarketListRetrievalDeals ¶ added in v1.9.0
func (s *StorageMinerStub) MarketListRetrievalDeals(p0 context.Context) ([]struct{}, error)
func (*StorageMinerStub) MarketPendingDeals ¶ added in v1.9.0
func (s *StorageMinerStub) MarketPendingDeals(p0 context.Context) (PendingDealInfo, error)
func (*StorageMinerStub) MarketPublishPendingDeals ¶ added in v1.9.0
func (s *StorageMinerStub) MarketPublishPendingDeals(p0 context.Context) error
func (*StorageMinerStub) MarketRestartDataTransfer ¶ added in v1.9.0
func (s *StorageMinerStub) MarketRestartDataTransfer(p0 context.Context, p1 datatransfer.TransferID, p2 peer.ID, p3 bool) error
func (*StorageMinerStub) MarketRetryPublishDeal ¶ added in v1.13.1
func (s *StorageMinerStub) MarketRetryPublishDeal(p0 context.Context, p1 cid.Cid) error
func (*StorageMinerStub) MarketSetAsk ¶ added in v1.9.0
func (s *StorageMinerStub) MarketSetAsk(p0 context.Context, p1 types.BigInt, p2 types.BigInt, p3 abi.ChainEpoch, p4 abi.PaddedPieceSize, p5 abi.PaddedPieceSize) error
func (*StorageMinerStub) MarketSetRetrievalAsk ¶ added in v1.9.0
func (s *StorageMinerStub) MarketSetRetrievalAsk(p0 context.Context, p1 *retrievalmarket.Ask) error
func (*StorageMinerStub) MiningBase ¶ added in v1.9.0
func (*StorageMinerStub) PiecesGetCIDInfo ¶ added in v1.9.0
func (s *StorageMinerStub) PiecesGetCIDInfo(p0 context.Context, p1 cid.Cid) (*piecestore.CIDInfo, error)
func (*StorageMinerStub) PiecesGetPieceInfo ¶ added in v1.9.0
func (s *StorageMinerStub) PiecesGetPieceInfo(p0 context.Context, p1 cid.Cid) (*piecestore.PieceInfo, error)
func (*StorageMinerStub) PiecesListCidInfos ¶ added in v1.9.0
func (s *StorageMinerStub) PiecesListCidInfos(p0 context.Context) ([]cid.Cid, error)
func (*StorageMinerStub) PiecesListPieces ¶ added in v1.9.0
func (s *StorageMinerStub) PiecesListPieces(p0 context.Context) ([]cid.Cid, error)
func (*StorageMinerStub) PledgeSector ¶ added in v1.9.0
func (*StorageMinerStub) RecoverFault ¶ added in v1.17.2
func (s *StorageMinerStub) RecoverFault(p0 context.Context, p1 []abi.SectorNumber) ([]cid.Cid, error)
func (*StorageMinerStub) ReturnAddPiece ¶ added in v1.9.0
func (*StorageMinerStub) ReturnDataCid ¶ added in v1.15.3
func (*StorageMinerStub) ReturnDownloadSector ¶ added in v1.17.2
func (*StorageMinerStub) ReturnFetch ¶ added in v1.9.0
func (*StorageMinerStub) ReturnFinalizeReplicaUpdate ¶ added in v1.14.0
func (*StorageMinerStub) ReturnFinalizeSector ¶ added in v1.9.0
func (*StorageMinerStub) ReturnGenerateSectorKeyFromData ¶ added in v1.14.0
func (*StorageMinerStub) ReturnMoveStorage ¶ added in v1.9.0
func (*StorageMinerStub) ReturnProveReplicaUpdate1 ¶ added in v1.14.0
func (s *StorageMinerStub) ReturnProveReplicaUpdate1(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaVanillaProofs, p3 *storiface.CallError) error
func (*StorageMinerStub) ReturnProveReplicaUpdate2 ¶ added in v1.14.0
func (s *StorageMinerStub) ReturnProveReplicaUpdate2(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateProof, p3 *storiface.CallError) error
func (*StorageMinerStub) ReturnReadPiece ¶ added in v1.9.0
func (*StorageMinerStub) ReturnReleaseUnsealed ¶ added in v1.9.0
func (*StorageMinerStub) ReturnReplicaUpdate ¶ added in v1.14.0
func (s *StorageMinerStub) ReturnReplicaUpdate(p0 context.Context, p1 storiface.CallID, p2 storiface.ReplicaUpdateOut, p3 *storiface.CallError) error
func (*StorageMinerStub) ReturnSealCommit1 ¶ added in v1.9.0
func (s *StorageMinerStub) ReturnSealCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.Commit1Out, p3 *storiface.CallError) error
func (*StorageMinerStub) ReturnSealCommit2 ¶ added in v1.9.0
func (*StorageMinerStub) ReturnSealPreCommit1 ¶ added in v1.9.0
func (s *StorageMinerStub) ReturnSealPreCommit1(p0 context.Context, p1 storiface.CallID, p2 storiface.PreCommit1Out, p3 *storiface.CallError) error
func (*StorageMinerStub) ReturnSealPreCommit2 ¶ added in v1.9.0
func (s *StorageMinerStub) ReturnSealPreCommit2(p0 context.Context, p1 storiface.CallID, p2 storiface.SectorCids, p3 *storiface.CallError) error
func (*StorageMinerStub) ReturnUnsealPiece ¶ added in v1.9.0
func (*StorageMinerStub) RuntimeSubsystems ¶ added in v1.11.1
func (s *StorageMinerStub) RuntimeSubsystems(p0 context.Context) (MinerSubsystems, error)
func (*StorageMinerStub) SealingAbort ¶ added in v1.9.0
func (*StorageMinerStub) SealingRemoveRequest ¶ added in v1.17.1
func (*StorageMinerStub) SealingSchedDiag ¶ added in v1.9.0
func (s *StorageMinerStub) SealingSchedDiag(p0 context.Context, p1 bool) (interface{}, error)
func (*StorageMinerStub) SectorAbortUpgrade ¶ added in v1.14.0
func (s *StorageMinerStub) SectorAbortUpgrade(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStub) SectorAddPieceToAny ¶ added in v1.11.1
func (s *StorageMinerStub) SectorAddPieceToAny(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data, p3 PieceDealInfo) (SectorOffset, error)
func (*StorageMinerStub) SectorCommitFlush ¶ added in v1.10.0
func (s *StorageMinerStub) SectorCommitFlush(p0 context.Context) ([]sealiface.CommitBatchRes, error)
func (*StorageMinerStub) SectorCommitPending ¶ added in v1.10.0
func (*StorageMinerStub) SectorGetExpectedSealDuration ¶ added in v1.9.0
func (*StorageMinerStub) SectorGetSealDelay ¶ added in v1.9.0
func (*StorageMinerStub) SectorMarkForUpgrade ¶ added in v1.9.0
func (s *StorageMinerStub) SectorMarkForUpgrade(p0 context.Context, p1 abi.SectorNumber, p2 bool) error
func (*StorageMinerStub) SectorMatchPendingPiecesToOpenSectors ¶ added in v1.14.0
func (s *StorageMinerStub) SectorMatchPendingPiecesToOpenSectors(p0 context.Context) error
func (*StorageMinerStub) SectorNumAssignerMeta ¶ added in v1.17.2
func (s *StorageMinerStub) SectorNumAssignerMeta(p0 context.Context) (NumAssignerMeta, error)
func (*StorageMinerStub) SectorNumFree ¶ added in v1.17.2
func (s *StorageMinerStub) SectorNumFree(p0 context.Context, p1 string) error
func (*StorageMinerStub) SectorNumReservations ¶ added in v1.17.2
func (s *StorageMinerStub) SectorNumReservations(p0 context.Context) (map[string]bitfield.BitField, error)
func (*StorageMinerStub) SectorNumReserve ¶ added in v1.17.2
func (*StorageMinerStub) SectorNumReserveCount ¶ added in v1.17.2
func (*StorageMinerStub) SectorPreCommitFlush ¶ added in v1.10.0
func (s *StorageMinerStub) SectorPreCommitFlush(p0 context.Context) ([]sealiface.PreCommitBatchRes, error)
func (*StorageMinerStub) SectorPreCommitPending ¶ added in v1.10.0
func (*StorageMinerStub) SectorReceive ¶ added in v1.17.2
func (s *StorageMinerStub) SectorReceive(p0 context.Context, p1 RemoteSectorMeta) error
func (*StorageMinerStub) SectorRemove ¶ added in v1.9.0
func (s *StorageMinerStub) SectorRemove(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStub) SectorSetExpectedSealDuration ¶ added in v1.9.0
func (*StorageMinerStub) SectorSetSealDelay ¶ added in v1.9.0
func (*StorageMinerStub) SectorStartSealing ¶ added in v1.9.0
func (s *StorageMinerStub) SectorStartSealing(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStub) SectorTerminate ¶ added in v1.9.0
func (s *StorageMinerStub) SectorTerminate(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStub) SectorTerminateFlush ¶ added in v1.9.0
func (s *StorageMinerStub) SectorTerminateFlush(p0 context.Context) (*cid.Cid, error)
func (*StorageMinerStub) SectorTerminatePending ¶ added in v1.9.0
func (*StorageMinerStub) SectorUnseal ¶ added in v1.23.1
func (s *StorageMinerStub) SectorUnseal(p0 context.Context, p1 abi.SectorNumber) error
func (*StorageMinerStub) SectorsList ¶ added in v1.9.0
func (s *StorageMinerStub) SectorsList(p0 context.Context) ([]abi.SectorNumber, error)
func (*StorageMinerStub) SectorsListInStates ¶ added in v1.9.0
func (s *StorageMinerStub) SectorsListInStates(p0 context.Context, p1 []SectorState) ([]abi.SectorNumber, error)
func (*StorageMinerStub) SectorsRefs ¶ added in v1.9.0
func (*StorageMinerStub) SectorsStatus ¶ added in v1.9.0
func (s *StorageMinerStub) SectorsStatus(p0 context.Context, p1 abi.SectorNumber, p2 bool) (SectorInfo, error)
func (*StorageMinerStub) SectorsSummary ¶ added in v1.9.0
func (s *StorageMinerStub) SectorsSummary(p0 context.Context) (map[SectorState]int, error)
func (*StorageMinerStub) SectorsUnsealPiece ¶ added in v1.11.1
func (s *StorageMinerStub) SectorsUnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 *cid.Cid) error
func (*StorageMinerStub) SectorsUpdate ¶ added in v1.9.0
func (s *StorageMinerStub) SectorsUpdate(p0 context.Context, p1 abi.SectorNumber, p2 SectorState) error
func (*StorageMinerStub) StorageAddLocal ¶ added in v1.9.0
func (s *StorageMinerStub) StorageAddLocal(p0 context.Context, p1 string) error
func (*StorageMinerStub) StorageAttach ¶ added in v1.9.0
func (s *StorageMinerStub) StorageAttach(p0 context.Context, p1 storiface.StorageInfo, p2 fsutil.FsStat) error
func (*StorageMinerStub) StorageAuthVerify ¶ added in v1.17.0
func (s *StorageMinerStub) StorageAuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
func (*StorageMinerStub) StorageBestAlloc ¶ added in v1.9.0
func (s *StorageMinerStub) StorageBestAlloc(p0 context.Context, p1 storiface.SectorFileType, p2 abi.SectorSize, p3 storiface.PathType) ([]storiface.StorageInfo, error)
func (*StorageMinerStub) StorageDeclareSector ¶ added in v1.9.0
func (*StorageMinerStub) StorageDetach ¶ added in v1.17.1
func (*StorageMinerStub) StorageDetachLocal ¶ added in v1.17.1
func (s *StorageMinerStub) StorageDetachLocal(p0 context.Context, p1 string) error
func (*StorageMinerStub) StorageDropSector ¶ added in v1.9.0
func (s *StorageMinerStub) StorageDropSector(p0 context.Context, p1 storiface.ID, p2 abi.SectorID, p3 storiface.SectorFileType) error
func (*StorageMinerStub) StorageFindSector ¶ added in v1.9.0
func (s *StorageMinerStub) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error)
func (*StorageMinerStub) StorageGetLocks ¶ added in v1.14.0
func (s *StorageMinerStub) StorageGetLocks(p0 context.Context) (storiface.SectorLocks, error)
func (*StorageMinerStub) StorageInfo ¶ added in v1.9.0
func (s *StorageMinerStub) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
func (*StorageMinerStub) StorageList ¶ added in v1.9.0
func (*StorageMinerStub) StorageLocal ¶ added in v1.9.0
func (*StorageMinerStub) StorageLock ¶ added in v1.9.0
func (s *StorageMinerStub) StorageLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) error
func (*StorageMinerStub) StorageRedeclareLocal ¶ added in v1.17.1
func (*StorageMinerStub) StorageReportHealth ¶ added in v1.9.0
func (s *StorageMinerStub) StorageReportHealth(p0 context.Context, p1 storiface.ID, p2 storiface.HealthReport) error
func (*StorageMinerStub) StorageStat ¶ added in v1.9.0
func (*StorageMinerStub) StorageTryLock ¶ added in v1.9.0
func (s *StorageMinerStub) StorageTryLock(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 storiface.SectorFileType) (bool, error)
func (*StorageMinerStub) WorkerConnect ¶ added in v1.9.0
func (s *StorageMinerStub) WorkerConnect(p0 context.Context, p1 string) error
func (*StorageMinerStub) WorkerJobs ¶ added in v1.9.0
func (*StorageMinerStub) WorkerStats ¶ added in v1.9.0
func (s *StorageMinerStub) WorkerStats(p0 context.Context) (map[uuid.UUID]storiface.WorkerStats, error)
type SyncState ¶
type SyncState struct { ActiveSyncs []ActiveSync VMApplied uint64 }
type SyncStateStage ¶
type SyncStateStage int
func (SyncStateStage) String ¶ added in v0.6.2
func (v SyncStateStage) String() string
type TransferDiagnostics ¶ added in v1.14.0
type TransferDiagnostics struct { ReceivingTransfers []*GraphSyncDataTransfer SendingTransfers []*GraphSyncDataTransfer }
TransferDiagnostics give current information about transfers going over graphsync that may be helpful for debugging
type Version ¶
type Version uint32
func VersionForType ¶ added in v1.5.1
func (Version) EqMajorMinor ¶ added in v1.5.1
type VoucherCreateResult ¶ added in v0.6.0
type VoucherCreateResult struct { // Voucher that was created, or nil if there was an error or if there // were insufficient funds in the channel Voucher *paych.SignedVoucher // Shortfall is the additional amount that would be needed in the channel // in order to be able to create the voucher Shortfall types.BigInt }
VoucherCreateResult is the response to calling PaychVoucherCreate
type VoucherSpec ¶
type VoucherSpec struct { Amount types.BigInt TimeLockMin abi.ChainEpoch TimeLockMax abi.ChainEpoch MinSettle abi.ChainEpoch Extra *paych.ModVerifyParams }
type Wallet ¶ added in v1.9.0
type Wallet interface { WalletNew(context.Context, types.KeyType) (address.Address, error) //perm:admin WalletHas(context.Context, address.Address) (bool, error) //perm:admin WalletList(context.Context) ([]address.Address, error) //perm:admin WalletSign(ctx context.Context, signer address.Address, toSign []byte, meta MsgMeta) (*crypto.Signature, error) //perm:admin WalletExport(context.Context, address.Address) (*types.KeyInfo, error) //perm:admin WalletImport(context.Context, *types.KeyInfo) (address.Address, error) //perm:admin WalletDelete(context.Context, address.Address) error //perm:admin }
func PermissionedWalletAPI ¶ added in v1.9.0
type WalletMethods ¶ added in v1.20.0
type WalletMethods struct { WalletDelete func(p0 context.Context, p1 address.Address) error `perm:"admin"` WalletExport func(p0 context.Context, p1 address.Address) (*types.KeyInfo, error) `perm:"admin"` WalletHas func(p0 context.Context, p1 address.Address) (bool, error) `perm:"admin"` WalletImport func(p0 context.Context, p1 *types.KeyInfo) (address.Address, error) `perm:"admin"` WalletList func(p0 context.Context) ([]address.Address, error) `perm:"admin"` WalletNew func(p0 context.Context, p1 types.KeyType) (address.Address, error) `perm:"admin"` WalletSign func(p0 context.Context, p1 address.Address, p2 []byte, p3 MsgMeta) (*crypto.Signature, error) `perm:"admin"` }
type WalletStruct ¶ added in v1.9.0
type WalletStruct struct {
Internal WalletMethods
}
func (*WalletStruct) WalletDelete ¶ added in v1.9.0
func (s *WalletStruct) WalletDelete(p0 context.Context, p1 address.Address) error
func (*WalletStruct) WalletExport ¶ added in v1.9.0
func (*WalletStruct) WalletHas ¶ added in v1.9.0
func (s *WalletStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*WalletStruct) WalletImport ¶ added in v1.9.0
func (*WalletStruct) WalletList ¶ added in v1.9.0
func (s *WalletStruct) WalletList(p0 context.Context) ([]address.Address, error)
func (*WalletStruct) WalletSign ¶ added in v1.9.0
type WalletStub ¶ added in v1.9.0
type WalletStub struct { }
func (*WalletStub) WalletDelete ¶ added in v1.9.0
func (s *WalletStub) WalletDelete(p0 context.Context, p1 address.Address) error
func (*WalletStub) WalletExport ¶ added in v1.9.0
func (*WalletStub) WalletHas ¶ added in v1.9.0
func (s *WalletStub) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*WalletStub) WalletImport ¶ added in v1.9.0
func (*WalletStub) WalletList ¶ added in v1.9.0
func (s *WalletStub) WalletList(p0 context.Context) ([]address.Address, error)
func (*WalletStub) WalletSign ¶ added in v1.9.0
type Worker ¶ added in v1.9.0
type Worker interface { Version(context.Context) (Version, error) //perm:admin // TaskType -> Weight TaskTypes(context.Context) (map[sealtasks.TaskType]struct{}, error) //perm:admin Paths(context.Context) ([]storiface.StoragePath, error) //perm:admin Info(context.Context) (storiface.WorkerInfo, error) //perm:admin // storiface.WorkerCalls DataCid(ctx context.Context, pieceSize abi.UnpaddedPieceSize, pieceData storiface.Data) (storiface.CallID, error) //perm:admin AddPiece(ctx context.Context, sector storiface.SectorRef, pieceSizes []abi.UnpaddedPieceSize, newPieceSize abi.UnpaddedPieceSize, pieceData storiface.Data) (storiface.CallID, error) //perm:admin SealPreCommit1(ctx context.Context, sector storiface.SectorRef, ticket abi.SealRandomness, pieces []abi.PieceInfo) (storiface.CallID, error) //perm:admin SealPreCommit2(ctx context.Context, sector storiface.SectorRef, pc1o storiface.PreCommit1Out) (storiface.CallID, error) //perm:admin SealCommit1(ctx context.Context, sector storiface.SectorRef, ticket abi.SealRandomness, seed abi.InteractiveSealRandomness, pieces []abi.PieceInfo, cids storiface.SectorCids) (storiface.CallID, error) //perm:admin SealCommit2(ctx context.Context, sector storiface.SectorRef, c1o storiface.Commit1Out) (storiface.CallID, error) //perm:admin FinalizeSector(ctx context.Context, sector storiface.SectorRef) (storiface.CallID, error) //perm:admin FinalizeReplicaUpdate(ctx context.Context, sector storiface.SectorRef) (storiface.CallID, error) //perm:admin ReplicaUpdate(ctx context.Context, sector storiface.SectorRef, pieces []abi.PieceInfo) (storiface.CallID, error) //perm:admin ProveReplicaUpdate1(ctx context.Context, sector storiface.SectorRef, sectorKey, newSealed, newUnsealed cid.Cid) (storiface.CallID, error) //perm:admin ProveReplicaUpdate2(ctx context.Context, sector storiface.SectorRef, sectorKey, newSealed, newUnsealed cid.Cid, vanillaProofs storiface.ReplicaVanillaProofs) (storiface.CallID, error) //perm:admin GenerateSectorKeyFromData(ctx context.Context, sector storiface.SectorRef, commD cid.Cid) (storiface.CallID, error) //perm:admin ReleaseUnsealed(ctx context.Context, sector storiface.SectorRef, keepUnsealed []storiface.Range) (storiface.CallID, error) //perm:admin MoveStorage(ctx context.Context, sector storiface.SectorRef, types storiface.SectorFileType) (storiface.CallID, error) //perm:admin UnsealPiece(context.Context, storiface.SectorRef, storiface.UnpaddedByteIndex, abi.UnpaddedPieceSize, abi.SealRandomness, cid.Cid) (storiface.CallID, error) //perm:admin Fetch(context.Context, storiface.SectorRef, storiface.SectorFileType, storiface.PathType, storiface.AcquireMode) (storiface.CallID, error) //perm:admin DownloadSectorData(ctx context.Context, sector storiface.SectorRef, finalized bool, src map[storiface.SectorFileType]storiface.SectorLocation) (storiface.CallID, error) //perm:admin GenerateWinningPoSt(ctx context.Context, ppt abi.RegisteredPoStProof, mid abi.ActorID, sectors []storiface.PostSectorChallenge, randomness abi.PoStRandomness) ([]proof.PoStProof, error) //perm:admin GenerateWindowPoSt(ctx context.Context, ppt abi.RegisteredPoStProof, mid abi.ActorID, sectors []storiface.PostSectorChallenge, partitionIdx int, randomness abi.PoStRandomness) (storiface.WindowPoStResult, error) //perm:admin TaskDisable(ctx context.Context, tt sealtasks.TaskType) error //perm:admin TaskEnable(ctx context.Context, tt sealtasks.TaskType) error //perm:admin // Storage / Other Remove(ctx context.Context, sector abi.SectorID) error //perm:admin StorageLocal(ctx context.Context) (map[storiface.ID]string, error) //perm:admin StorageAddLocal(ctx context.Context, path string) error //perm:admin StorageDetachLocal(ctx context.Context, path string) error //perm:admin StorageDetachAll(ctx context.Context) error //perm:admin StorageRedeclareLocal(ctx context.Context, id *storiface.ID, dropMissing bool) error //perm:admin // SetEnabled marks the worker as enabled/disabled. Not that this setting // may take a few seconds to propagate to task scheduler SetEnabled(ctx context.Context, enabled bool) error //perm:admin Enabled(ctx context.Context) (bool, error) //perm:admin // WaitQuiet blocks until there are no tasks running WaitQuiet(ctx context.Context) error //perm:admin // returns a random UUID of worker session, generated randomly when worker // process starts ProcessSession(context.Context) (uuid.UUID, error) //perm:admin // Like ProcessSession, but returns an error when worker is disabled Session(context.Context) (uuid.UUID, error) //perm:admin // Trigger shutdown Shutdown(context.Context) error //perm:admin }
func PermissionedWorkerAPI ¶ added in v1.9.0
type WorkerMethods ¶ added in v1.20.0
type WorkerMethods struct { AddPiece func(p0 context.Context, p1 storiface.SectorRef, p2 []abi.UnpaddedPieceSize, p3 abi.UnpaddedPieceSize, p4 storiface.Data) (storiface.CallID, error) `perm:"admin"` DataCid func(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (storiface.CallID, error) `perm:"admin"` DownloadSectorData func(p0 context.Context, p1 storiface.SectorRef, p2 bool, p3 map[storiface.SectorFileType]storiface.SectorLocation) (storiface.CallID, error) `perm:"admin"` Enabled func(p0 context.Context) (bool, error) `perm:"admin"` Fetch func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType, p3 storiface.PathType, p4 storiface.AcquireMode) (storiface.CallID, error) `perm:"admin"` FinalizeReplicaUpdate func(p0 context.Context, p1 storiface.SectorRef) (storiface.CallID, error) `perm:"admin"` FinalizeSector func(p0 context.Context, p1 storiface.SectorRef) (storiface.CallID, error) `perm:"admin"` GenerateSectorKeyFromData func(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid) (storiface.CallID, error) `perm:"admin"` GenerateWindowPoSt func(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, p3 []storiface.PostSectorChallenge, p4 int, p5 abi.PoStRandomness) (storiface.WindowPoStResult, error) `perm:"admin"` GenerateWinningPoSt func(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, p3 []storiface.PostSectorChallenge, p4 abi.PoStRandomness) ([]proof.PoStProof, error) `perm:"admin"` Info func(p0 context.Context) (storiface.WorkerInfo, error) `perm:"admin"` MoveStorage func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType) (storiface.CallID, error) `perm:"admin"` Paths func(p0 context.Context) ([]storiface.StoragePath, error) `perm:"admin"` ProcessSession func(p0 context.Context) (uuid.UUID, error) `perm:"admin"` ProveReplicaUpdate1 func(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid) (storiface.CallID, error) `perm:"admin"` ProveReplicaUpdate2 func(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid, p5 storiface.ReplicaVanillaProofs) (storiface.CallID, error) `perm:"admin"` ReleaseUnsealed func(p0 context.Context, p1 storiface.SectorRef, p2 []storiface.Range) (storiface.CallID, error) `perm:"admin"` Remove func(p0 context.Context, p1 abi.SectorID) error `perm:"admin"` ReplicaUpdate func(p0 context.Context, p1 storiface.SectorRef, p2 []abi.PieceInfo) (storiface.CallID, error) `perm:"admin"` SealCommit1 func(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, p3 abi.InteractiveSealRandomness, p4 []abi.PieceInfo, p5 storiface.SectorCids) (storiface.CallID, error) `perm:"admin"` SealCommit2 func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error) `perm:"admin"` SealPreCommit1 func(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, p3 []abi.PieceInfo) (storiface.CallID, error) `perm:"admin"` SealPreCommit2 func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.PreCommit1Out) (storiface.CallID, error) `perm:"admin"` Session func(p0 context.Context) (uuid.UUID, error) `perm:"admin"` SetEnabled func(p0 context.Context, p1 bool) error `perm:"admin"` Shutdown func(p0 context.Context) error `perm:"admin"` StorageAddLocal func(p0 context.Context, p1 string) error `perm:"admin"` StorageDetachAll func(p0 context.Context) error `perm:"admin"` StorageDetachLocal func(p0 context.Context, p1 string) error `perm:"admin"` StorageLocal func(p0 context.Context) (map[storiface.ID]string, error) `perm:"admin"` StorageRedeclareLocal func(p0 context.Context, p1 *storiface.ID, p2 bool) error `perm:"admin"` TaskDisable func(p0 context.Context, p1 sealtasks.TaskType) error `perm:"admin"` TaskEnable func(p0 context.Context, p1 sealtasks.TaskType) error `perm:"admin"` TaskTypes func(p0 context.Context) (map[sealtasks.TaskType]struct{}, error) `perm:"admin"` UnsealPiece func(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 cid.Cid) (storiface.CallID, error) `perm:"admin"` Version func(p0 context.Context) (Version, error) `perm:"admin"` WaitQuiet func(p0 context.Context) error `perm:"admin"` }
type WorkerStruct ¶ added in v1.9.0
type WorkerStruct struct {
Internal WorkerMethods
}
func (*WorkerStruct) AddPiece ¶ added in v1.9.0
func (s *WorkerStruct) AddPiece(p0 context.Context, p1 storiface.SectorRef, p2 []abi.UnpaddedPieceSize, p3 abi.UnpaddedPieceSize, p4 storiface.Data) (storiface.CallID, error)
func (*WorkerStruct) DataCid ¶ added in v1.15.3
func (s *WorkerStruct) DataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (storiface.CallID, error)
func (*WorkerStruct) DownloadSectorData ¶ added in v1.17.2
func (s *WorkerStruct) DownloadSectorData(p0 context.Context, p1 storiface.SectorRef, p2 bool, p3 map[storiface.SectorFileType]storiface.SectorLocation) (storiface.CallID, error)
func (*WorkerStruct) Enabled ¶ added in v1.9.0
func (s *WorkerStruct) Enabled(p0 context.Context) (bool, error)
func (*WorkerStruct) Fetch ¶ added in v1.9.0
func (s *WorkerStruct) Fetch(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType, p3 storiface.PathType, p4 storiface.AcquireMode) (storiface.CallID, error)
func (*WorkerStruct) FinalizeReplicaUpdate ¶ added in v1.14.0
func (*WorkerStruct) FinalizeSector ¶ added in v1.9.0
func (*WorkerStruct) GenerateSectorKeyFromData ¶ added in v1.14.0
func (*WorkerStruct) GenerateWindowPoSt ¶ added in v1.15.2
func (s *WorkerStruct) GenerateWindowPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, p3 []storiface.PostSectorChallenge, p4 int, p5 abi.PoStRandomness) (storiface.WindowPoStResult, error)
func (*WorkerStruct) GenerateWinningPoSt ¶ added in v1.15.2
func (s *WorkerStruct) GenerateWinningPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, p3 []storiface.PostSectorChallenge, p4 abi.PoStRandomness) ([]proof.PoStProof, error)
func (*WorkerStruct) Info ¶ added in v1.9.0
func (s *WorkerStruct) Info(p0 context.Context) (storiface.WorkerInfo, error)
func (*WorkerStruct) MoveStorage ¶ added in v1.9.0
func (s *WorkerStruct) MoveStorage(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType) (storiface.CallID, error)
func (*WorkerStruct) Paths ¶ added in v1.9.0
func (s *WorkerStruct) Paths(p0 context.Context) ([]storiface.StoragePath, error)
func (*WorkerStruct) ProcessSession ¶ added in v1.9.0
func (*WorkerStruct) ProveReplicaUpdate1 ¶ added in v1.14.0
func (*WorkerStruct) ProveReplicaUpdate2 ¶ added in v1.14.0
func (s *WorkerStruct) ProveReplicaUpdate2(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid, p5 storiface.ReplicaVanillaProofs) (storiface.CallID, error)
func (*WorkerStruct) ReleaseUnsealed ¶ added in v1.9.0
func (*WorkerStruct) ReplicaUpdate ¶ added in v1.14.0
func (*WorkerStruct) SealCommit1 ¶ added in v1.9.0
func (s *WorkerStruct) SealCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, p3 abi.InteractiveSealRandomness, p4 []abi.PieceInfo, p5 storiface.SectorCids) (storiface.CallID, error)
func (*WorkerStruct) SealCommit2 ¶ added in v1.9.0
func (s *WorkerStruct) SealCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error)
func (*WorkerStruct) SealPreCommit1 ¶ added in v1.9.0
func (*WorkerStruct) SealPreCommit2 ¶ added in v1.9.0
func (s *WorkerStruct) SealPreCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.PreCommit1Out) (storiface.CallID, error)
func (*WorkerStruct) SetEnabled ¶ added in v1.9.0
func (s *WorkerStruct) SetEnabled(p0 context.Context, p1 bool) error
func (*WorkerStruct) Shutdown ¶ added in v1.17.1
func (s *WorkerStruct) Shutdown(p0 context.Context) error
func (*WorkerStruct) StorageAddLocal ¶ added in v1.9.0
func (s *WorkerStruct) StorageAddLocal(p0 context.Context, p1 string) error
func (*WorkerStruct) StorageDetachAll ¶ added in v1.17.1
func (s *WorkerStruct) StorageDetachAll(p0 context.Context) error
func (*WorkerStruct) StorageDetachLocal ¶ added in v1.17.1
func (s *WorkerStruct) StorageDetachLocal(p0 context.Context, p1 string) error
func (*WorkerStruct) StorageLocal ¶ added in v1.17.1
func (*WorkerStruct) StorageRedeclareLocal ¶ added in v1.17.1
func (*WorkerStruct) TaskDisable ¶ added in v1.9.0
func (*WorkerStruct) TaskEnable ¶ added in v1.9.0
func (*WorkerStruct) UnsealPiece ¶ added in v1.9.0
func (s *WorkerStruct) UnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 cid.Cid) (storiface.CallID, error)
type WorkerStub ¶ added in v1.9.0
type WorkerStub struct { }
func (*WorkerStub) AddPiece ¶ added in v1.9.0
func (s *WorkerStub) AddPiece(p0 context.Context, p1 storiface.SectorRef, p2 []abi.UnpaddedPieceSize, p3 abi.UnpaddedPieceSize, p4 storiface.Data) (storiface.CallID, error)
func (*WorkerStub) DataCid ¶ added in v1.15.3
func (s *WorkerStub) DataCid(p0 context.Context, p1 abi.UnpaddedPieceSize, p2 storiface.Data) (storiface.CallID, error)
func (*WorkerStub) DownloadSectorData ¶ added in v1.17.2
func (s *WorkerStub) DownloadSectorData(p0 context.Context, p1 storiface.SectorRef, p2 bool, p3 map[storiface.SectorFileType]storiface.SectorLocation) (storiface.CallID, error)
func (*WorkerStub) Enabled ¶ added in v1.9.0
func (s *WorkerStub) Enabled(p0 context.Context) (bool, error)
func (*WorkerStub) Fetch ¶ added in v1.9.0
func (s *WorkerStub) Fetch(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType, p3 storiface.PathType, p4 storiface.AcquireMode) (storiface.CallID, error)
func (*WorkerStub) FinalizeReplicaUpdate ¶ added in v1.14.0
func (*WorkerStub) FinalizeSector ¶ added in v1.9.0
func (*WorkerStub) GenerateSectorKeyFromData ¶ added in v1.14.0
func (*WorkerStub) GenerateWindowPoSt ¶ added in v1.15.2
func (s *WorkerStub) GenerateWindowPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, p3 []storiface.PostSectorChallenge, p4 int, p5 abi.PoStRandomness) (storiface.WindowPoStResult, error)
func (*WorkerStub) GenerateWinningPoSt ¶ added in v1.15.2
func (s *WorkerStub) GenerateWinningPoSt(p0 context.Context, p1 abi.RegisteredPoStProof, p2 abi.ActorID, p3 []storiface.PostSectorChallenge, p4 abi.PoStRandomness) ([]proof.PoStProof, error)
func (*WorkerStub) Info ¶ added in v1.9.0
func (s *WorkerStub) Info(p0 context.Context) (storiface.WorkerInfo, error)
func (*WorkerStub) MoveStorage ¶ added in v1.9.0
func (s *WorkerStub) MoveStorage(p0 context.Context, p1 storiface.SectorRef, p2 storiface.SectorFileType) (storiface.CallID, error)
func (*WorkerStub) Paths ¶ added in v1.9.0
func (s *WorkerStub) Paths(p0 context.Context) ([]storiface.StoragePath, error)
func (*WorkerStub) ProcessSession ¶ added in v1.9.0
func (*WorkerStub) ProveReplicaUpdate1 ¶ added in v1.14.0
func (*WorkerStub) ProveReplicaUpdate2 ¶ added in v1.14.0
func (s *WorkerStub) ProveReplicaUpdate2(p0 context.Context, p1 storiface.SectorRef, p2 cid.Cid, p3 cid.Cid, p4 cid.Cid, p5 storiface.ReplicaVanillaProofs) (storiface.CallID, error)
func (*WorkerStub) ReleaseUnsealed ¶ added in v1.9.0
func (*WorkerStub) ReplicaUpdate ¶ added in v1.14.0
func (*WorkerStub) SealCommit1 ¶ added in v1.9.0
func (s *WorkerStub) SealCommit1(p0 context.Context, p1 storiface.SectorRef, p2 abi.SealRandomness, p3 abi.InteractiveSealRandomness, p4 []abi.PieceInfo, p5 storiface.SectorCids) (storiface.CallID, error)
func (*WorkerStub) SealCommit2 ¶ added in v1.9.0
func (s *WorkerStub) SealCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.Commit1Out) (storiface.CallID, error)
func (*WorkerStub) SealPreCommit1 ¶ added in v1.9.0
func (*WorkerStub) SealPreCommit2 ¶ added in v1.9.0
func (s *WorkerStub) SealPreCommit2(p0 context.Context, p1 storiface.SectorRef, p2 storiface.PreCommit1Out) (storiface.CallID, error)
func (*WorkerStub) SetEnabled ¶ added in v1.9.0
func (s *WorkerStub) SetEnabled(p0 context.Context, p1 bool) error
func (*WorkerStub) Shutdown ¶ added in v1.17.1
func (s *WorkerStub) Shutdown(p0 context.Context) error
func (*WorkerStub) StorageAddLocal ¶ added in v1.9.0
func (s *WorkerStub) StorageAddLocal(p0 context.Context, p1 string) error
func (*WorkerStub) StorageDetachAll ¶ added in v1.17.1
func (s *WorkerStub) StorageDetachAll(p0 context.Context) error
func (*WorkerStub) StorageDetachLocal ¶ added in v1.17.1
func (s *WorkerStub) StorageDetachLocal(p0 context.Context, p1 string) error
func (*WorkerStub) StorageLocal ¶ added in v1.17.1
func (*WorkerStub) StorageRedeclareLocal ¶ added in v1.17.1
func (*WorkerStub) TaskDisable ¶ added in v1.9.0
func (*WorkerStub) TaskEnable ¶ added in v1.9.0
func (*WorkerStub) UnsealPiece ¶ added in v1.9.0
func (s *WorkerStub) UnsealPiece(p0 context.Context, p1 storiface.SectorRef, p2 storiface.UnpaddedByteIndex, p3 abi.UnpaddedPieceSize, p4 abi.SealRandomness, p5 cid.Cid) (storiface.CallID, error)