Documentation
¶
Index ¶
- Constants
- Variables
- func CreateEthRPCAliases(as apitypes.Aliaser)
- func ErrorIsIn(err error, errorTypes []error) bool
- func GetInternalStructs(in interface{}) []interface{}
- func PermissionedAPI[T, P any](a T) *P
- 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 Common
- type CommonMethods
- 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 Deadline
- type DealCollateralBounds
- type DealSchedule
- type ErrActorNotFound
- type ErrExecutionReverted
- type ErrNullRound
- type ErrOutOfGas
- type EthSubscriber
- type EthSubscriberMethods
- type EthSubscriberStruct
- type EthSubscriberStub
- type EthTxReceipt
- type ExtendedPeerInfo
- type F3Participant
- type F3ParticipationLease
- type F3ParticipationTicket
- type Fault
- 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) ChainGetFinalizedTipSet(p0 context.Context) (*types.TipSet, 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) ChainValidateIndex(p0 context.Context, p1 abi.ChainEpoch, p2 bool) (*types.IndexValidation, 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 jsonrpc.RawParams) (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) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
- func (s *FullNodeStruct) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)
- func (s *FullNodeStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *FullNodeStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (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 string, 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) (*ethtypes.EthTxReceipt, error)
- func (s *FullNodeStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.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) EthSendRawTransactionUntrusted(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) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
- func (s *FullNodeStruct) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
- func (s *FullNodeStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
- func (s *FullNodeStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
- func (s *FullNodeStruct) F3GetECPowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
- func (s *FullNodeStruct) F3GetF3PowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
- func (s *FullNodeStruct) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
- func (s *FullNodeStruct) F3GetManifest(p0 context.Context) (*manifest.Manifest, error)
- func (s *FullNodeStruct) F3GetOrRenewParticipationTicket(p0 context.Context, p1 address.Address, p2 F3ParticipationTicket, p3 uint64) (F3ParticipationTicket, error)
- func (s *FullNodeStruct) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
- func (s *FullNodeStruct) F3GetProgress(p0 context.Context) (gpbft.InstanceProgress, error)
- func (s *FullNodeStruct) F3IsRunning(p0 context.Context) (bool, error)
- func (s *FullNodeStruct) F3ListParticipants(p0 context.Context) ([]F3Participant, error)
- func (s *FullNodeStruct) F3Participate(p0 context.Context, p1 F3ParticipationTicket) (F3ParticipationLease, error)
- func (s *FullNodeStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (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) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, 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) 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) StateGetAllAllocations(p0 context.Context, p1 types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error)
- func (s *FullNodeStruct) StateGetAllClaims(p0 context.Context, p1 types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error)
- func (s *FullNodeStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifreg.AllocationId, ...) (*verifreg.Allocation, error)
- func (s *FullNodeStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifreg.Allocation, error)
- func (s *FullNodeStruct) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifreg.AllocationId, error)
- func (s *FullNodeStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.AllocationId]verifreg.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 verifreg.ClaimId, ...) (*verifreg.Claim, error)
- func (s *FullNodeStruct) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.ClaimId]verifreg.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) StateMarketProposalPending(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (bool, 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) StateMinerCreationDeposit(p0 context.Context, p1 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) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, ...) (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) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetFinalizedTipSet(p0 context.Context) (*types.TipSet, 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) ChainValidateIndex(p0 context.Context, p1 abi.ChainEpoch, p2 bool) (*types.IndexValidation, 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 jsonrpc.RawParams) (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) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
- func (s *FullNodeStub) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)
- func (s *FullNodeStub) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *FullNodeStub) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (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 string, 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) (*ethtypes.EthTxReceipt, error)
- func (s *FullNodeStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.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) EthSendRawTransactionUntrusted(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) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
- func (s *FullNodeStub) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
- func (s *FullNodeStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
- func (s *FullNodeStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
- func (s *FullNodeStub) F3GetECPowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
- func (s *FullNodeStub) F3GetF3PowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
- func (s *FullNodeStub) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
- func (s *FullNodeStub) F3GetManifest(p0 context.Context) (*manifest.Manifest, error)
- func (s *FullNodeStub) F3GetOrRenewParticipationTicket(p0 context.Context, p1 address.Address, p2 F3ParticipationTicket, p3 uint64) (F3ParticipationTicket, error)
- func (s *FullNodeStub) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
- func (s *FullNodeStub) F3GetProgress(p0 context.Context) (gpbft.InstanceProgress, error)
- func (s *FullNodeStub) F3IsRunning(p0 context.Context) (bool, error)
- func (s *FullNodeStub) F3ListParticipants(p0 context.Context) ([]F3Participant, error)
- func (s *FullNodeStub) F3Participate(p0 context.Context, p1 F3ParticipationTicket) (F3ParticipationLease, error)
- func (s *FullNodeStub) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (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) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, 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) 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) StateGetAllAllocations(p0 context.Context, p1 types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error)
- func (s *FullNodeStub) StateGetAllClaims(p0 context.Context, p1 types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error)
- func (s *FullNodeStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifreg.AllocationId, ...) (*verifreg.Allocation, error)
- func (s *FullNodeStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifreg.Allocation, error)
- func (s *FullNodeStub) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifreg.AllocationId, error)
- func (s *FullNodeStub) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.AllocationId]verifreg.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 verifreg.ClaimId, ...) (*verifreg.Claim, error)
- func (s *FullNodeStub) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.ClaimId]verifreg.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) StateMarketProposalPending(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (bool, 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) StateMinerCreationDeposit(p0 context.Context, p1 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) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, ...) (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) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error)
- func (s *GatewayStruct) ChainGetFinalizedTipSet(p0 context.Context) (*types.TipSet, 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) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]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) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, 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 jsonrpc.RawParams) (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) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
- func (s *GatewayStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *GatewayStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (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) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)
- func (s *GatewayStruct) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)
- func (s *GatewayStruct) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*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) (*ethtypes.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) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
- func (s *GatewayStruct) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
- func (s *GatewayStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
- func (s *GatewayStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
- func (s *GatewayStruct) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
- func (s *GatewayStruct) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
- func (s *GatewayStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, 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) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, 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) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, ...) (*verifregtypes.Allocation, error)
- func (s *GatewayStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
- func (s *GatewayStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
- func (s *GatewayStruct) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, ...) (*verifregtypes.Claim, error)
- func (s *GatewayStruct) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
- func (s *GatewayStruct) StateGetNetworkParams(p0 context.Context) (*NetworkParams, 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) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, 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) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error)
- func (s *GatewayStub) ChainGetFinalizedTipSet(p0 context.Context) (*types.TipSet, 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) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]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) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, 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 jsonrpc.RawParams) (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) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
- func (s *GatewayStub) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error)
- func (s *GatewayStub) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 string) (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) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)
- func (s *GatewayStub) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error)
- func (s *GatewayStub) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*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) (*ethtypes.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) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
- func (s *GatewayStub) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
- func (s *GatewayStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
- func (s *GatewayStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
- func (s *GatewayStub) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
- func (s *GatewayStub) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
- func (s *GatewayStub) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, 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) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, 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) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, ...) (*verifregtypes.Allocation, error)
- func (s *GatewayStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
- func (s *GatewayStub) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
- func (s *GatewayStub) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, ...) (*verifregtypes.Claim, error)
- func (s *GatewayStub) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
- func (s *GatewayStub) StateGetNetworkParams(p0 context.Context) (*NetworkParams, 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) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, 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) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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 HeadChange
- type HotGCOpts
- type InvocResult
- type IpldObject
- type MarketBalance
- type MarketDeal
- type MarketDealState
- type Message
- type MessageCheckStatus
- type MessageMatch
- type MessagePrototype
- type MessageSendSpec
- type MinerInfo
- type MinerPower
- type MinerSectors
- type MinerSubsystem
- type MinerSubsystems
- type MiningBaseInfo
- type MpoolChange
- type MpoolUpdate
- type MsgGasCost
- type MsgLookup
- type MsgMeta
- type MsgType
- type MsigProposeResponse
- type MsigTransaction
- type MsigVesting
- 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 NumAssignerMeta
- type ObjStat
- type PCHDir
- type Partition
- type PaychGetOpts
- type PaychStatus
- type PaymentInfo
- type PendingDealInfo
- type PieceDealInfo
- type PruneOpts
- type PubsubScore
- type RemoteCommit1Params
- type RemoteCommit2Params
- type RemoteSealingDoneParams
- type RemoteSectorMeta
- type SealRes
- type SealSeed
- type SealTicket
- type SealedRef
- type SealedRefs
- type SectorInfo
- type SectorLog
- type SectorOffset
- type SectorPiece
- type SectorState
- type SignFunc
- type Signable
- type SignableMethods
- type SignableStruct
- type SignableStub
- type Signer
- 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) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
- func (s *StorageMinerStruct) MiningBase(p0 context.Context) (*types.TipSet, 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) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
- func (s *StorageMinerStub) MiningBase(p0 context.Context) (*types.TipSet, 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 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 EF3Disabled EF3ParticipationTicketInvalid EF3ParticipationTicketExpired EF3ParticipationIssuerMismatch EF3ParticipationTooManyInstances EF3ParticipationTicketStartBeforeExisting EF3NotReady EExecutionReverted ENullRound )
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 ( RPCErrors = jsonrpc.NewErrors() // ErrF3Disabled signals that F3 consensus process is disabled. ErrF3Disabled = &errF3Disabled{} // ErrF3ParticipationTicketInvalid signals that F3ParticipationTicket cannot be decoded. ErrF3ParticipationTicketInvalid = &errF3ParticipationTicketInvalid{} // ErrF3ParticipationTicketExpired signals that the current GPBFT instance as surpassed the expiry of the ticket. ErrF3ParticipationTicketExpired = &errF3ParticipationTicketExpired{} // ErrF3ParticipationIssuerMismatch signals that the ticket is not issued by the current node. ErrF3ParticipationIssuerMismatch = &errF3ParticipationIssuerMismatch{} // ErrF3ParticipationTooManyInstances signals that participation ticket cannot be // issued because it asks for too many instances. ErrF3ParticipationTooManyInstances = &errF3ParticipationTooManyInstances{} // ErrF3ParticipationTicketStartBeforeExisting signals that participation ticket // is before the start instance of an existing lease held by the miner. ErrF3ParticipationTicketStartBeforeExisting = &errF3ParticipationTicketStartBeforeExisting{} // ErrF3NotReady signals that the F3 instance isn't ready for participation yet. The caller // should back off and try again later. ErrF3NotReady = &errF3NotReady{} )
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, "Mining": SubsystemMining, "Sealing": SubsystemSealing, "SectorStorage": SubsystemSectorStorage, }
var MinerSubsystemToString = map[MinerSubsystem]string{ SubsystemUnknown: "Unknown", SubsystemMining: "Mining", SubsystemSealing: "Sealing", SubsystemSectorStorage: "SectorStorage", }
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
func PermissionedAPI ¶ added in v1.25.2
func PermissionedAPI[T, P any](a T) *P
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
// Agent type, as reported to other nodes, e.g. "lotus"
Agent string
}
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 // BlsMessages [x].cid = Cids[x]
SecpkMessages []*types.SignedMessage // SecpkMessages [y].cid = Cids[BlsMessages.length + y]
Cids []cid.Cid
}
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
// VoucherReedeemedAmt 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 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 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 Deadline ¶ added in v0.7.2
type Deadline struct {
PostSubmissions bitfield.BitField
DisputableProofCount uint64
DailyFee abi.TokenAmount
}
type DealCollateralBounds ¶ added in v0.5.0
type DealCollateralBounds struct {
Min abi.TokenAmount
Max abi.TokenAmount
}
type DealSchedule ¶ added in v1.11.1
type DealSchedule = piece.DealSchedule
DealSchedule is deprecated
DEPRECATED: Use piece.DealSchedule instead
type ErrActorNotFound ¶ added in v1.18.0
type ErrActorNotFound struct{}
ErrActorNotFound signals that the actor is not found.
func (ErrActorNotFound) Error ¶ added in v1.18.0
func (ErrActorNotFound) Error() string
type ErrExecutionReverted ¶ added in v1.31.0
ErrExecutionReverted is used to return execution reverted with a reason for a revert in the `data` field.
func NewErrExecutionReverted ¶ added in v1.31.0
func NewErrExecutionReverted(exitCode exitcode.ExitCode, error, reason string, data []byte) *ErrExecutionReverted
NewErrExecutionReverted creates a new ErrExecutionReverted with the given reason.
func (*ErrExecutionReverted) Error ¶ added in v1.31.0
func (e *ErrExecutionReverted) Error() string
Error returns the error message.
func (*ErrExecutionReverted) FromJSONRPCError ¶ added in v1.31.0
func (e *ErrExecutionReverted) FromJSONRPCError(jerr jsonrpc.JSONRPCError) error
FromJSONRPCError converts a JSONRPCError to ErrExecutionReverted.
func (*ErrExecutionReverted) ToJSONRPCError ¶ added in v1.31.0
func (e *ErrExecutionReverted) ToJSONRPCError() (jsonrpc.JSONRPCError, error)
ToJSONRPCError converts ErrExecutionReverted to a JSONRPCError.
type ErrNullRound ¶ added in v1.31.0
type ErrNullRound struct {
Epoch abi.ChainEpoch
Message string
}
func NewErrNullRound ¶ added in v1.31.0
func NewErrNullRound(epoch abi.ChainEpoch) *ErrNullRound
func (*ErrNullRound) Error ¶ added in v1.31.0
func (e *ErrNullRound) Error() string
func (*ErrNullRound) FromJSONRPCError ¶ added in v1.31.0
func (e *ErrNullRound) FromJSONRPCError(jerr jsonrpc.JSONRPCError) error
func (*ErrNullRound) Is ¶ added in v1.31.0
func (e *ErrNullRound) Is(target error) bool
Is performs a non-strict type check, we only care if the target is an ErrNullRound and will ignore the contents (specifically there is no matching on Epoch).
func (*ErrNullRound) ToJSONRPCError ¶ added in v1.31.0
func (e *ErrNullRound) ToJSONRPCError() (jsonrpc.JSONRPCError, error)
type ErrOutOfGas ¶ added in v1.18.0
type ErrOutOfGas struct{}
ErrOutOfGas signals that a call failed due to insufficient gas.
func (ErrOutOfGas) Error ¶ added in v1.18.0
func (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
}
EthSubscriber is the 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 = ethtypes.EthTxReceipt // Deprecated: use ethtypes.EthTxReceipt instead
type ExtendedPeerInfo ¶ added in v1.5.1
type F3Participant ¶ added in v1.30.0
type F3Participant struct {
// MinerID is the actor ID of the miner that is
MinerID uint64
// FromInstance specifies the instance ID from which this lease is valid.
FromInstance uint64
// ValidityTerm specifies the number of instances for which the lease remains
// valid from the FromInstance.
ValidityTerm uint64
}
F3Participant captures information about the miners that are currently participating in F3, along with the number of instances for which their lease is valid.
type F3ParticipationLease ¶ added in v1.30.0
type F3ParticipationLease struct {
// Network is the name of the network this lease belongs to.
Network gpbft.NetworkName
// Issuer is the identity of the node that issued the lease, encoded as base58.
Issuer string
// MinerID is the actor ID of the miner that holds the lease.
MinerID uint64
// FromInstance specifies the instance ID from which this lease is valid.
FromInstance uint64
// ValidityTerm specifies the number of instances for which the lease remains
// valid from the FromInstance.
ValidityTerm uint64
}
F3ParticipationLease defines the lease granted to a storage provider for participating in F3 consensus, detailing the session identifier, issuer, subject, and the expiration instance.
func (*F3ParticipationLease) MarshalCBOR ¶ added in v1.30.0
func (t *F3ParticipationLease) MarshalCBOR(w io.Writer) error
func (*F3ParticipationLease) ToInstance ¶ added in v1.30.0
func (l *F3ParticipationLease) ToInstance() uint64
func (*F3ParticipationLease) UnmarshalCBOR ¶ added in v1.30.0
func (t *F3ParticipationLease) UnmarshalCBOR(r io.Reader) (err error)
type F3ParticipationTicket ¶ added in v1.30.0
type F3ParticipationTicket []byte
F3ParticipationTicket represents a ticket that authorizes a miner to participate in the F3 consensus.
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
UpgradeDragonHeight abi.ChainEpoch
UpgradePhoenixHeight abi.ChainEpoch
UpgradeWaffleHeight abi.ChainEpoch
UpgradeTuktukHeight abi.ChainEpoch
UpgradeTeepHeight abi.ChainEpoch
UpgradeTockHeight abi.ChainEpoch
UpgradeGoldenWeekHeight abi.ChainEpoch
}
type FullNode ¶
type FullNode interface {
Common
Net
// ChainValidateIndex validates the integrity of and optionally backfills
// the chain index at a specific epoch.
//
// It can be used to:
//
// 1. Validate the chain index at a specific epoch:
// - Ensures consistency between indexed data and actual chain state
// - Reports any errors found during validation (i.e. the indexed data does not match the actual chain state, missing data, etc.)
//
// 2. Optionally backfill missing data:
// - Backfills data if the index is missing information for the specified epoch
// - Backfilling only occurs when the `backfill` parameter is set to `true`
//
// 3. Detect "holes" in the index:
// - If `backfill` is `false` and the index lacks data for the specified epoch, the API returns an error indicating missing data
//
// Parameters:
// - epoch: The specific chain epoch for which to validate/backfill the index.
// - backfill: A boolean flag indicating whether to attempt backfilling of missing data if the index does not have data for the
// specified epoch.
//
// Returns:
// - *types.IndexValidation: A pointer to an IndexValidation struct containing the results of the validation/backfill.
// - error: An error object if the validation/backfill fails. The error message will contain details about the index
// corruption if the call fails because of an inconsistency between indexed data and the actual chain state.
// Note: The API returns an error if the index does not have data for the specified epoch and backfill is set to false.
ChainValidateIndex(ctx context.Context, epoch abi.ChainEpoch, backfill bool) (*types.IndexValidation, error) //perm:write
// 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
// ChainGetFinalizedTipSet returns the latest finalized tipset. It uses the
// current F3 instance to determine the finalized tipset.
// This is the tipset at the end of the last finalized round and can be used
// for follow-up querying of the chain state with the assurance that the
// state will not change.
// If F3 is operational and finalizing in this node. If not, it will fall back
// to the Expected Consensus (EC) finality definition of head - 900 epochs.
ChainGetFinalizedTipSet(ctx context.Context) (*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 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
// 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
// StateMinerPreCommitDepositForPower returns the precommit deposit for the specified miner's sector
// Note: The value returned is overestimated by 10% (multiplied by 110/100).
// See: node/impl/full/state.go StateMinerPreCommitDepositForPower implementation.
StateMinerPreCommitDepositForPower(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (types.BigInt, error) //perm:read
// StateMinerInitialPledgeCollateral attempts to calculate the initial pledge collateral based on a SectorPreCommitInfo.
// This method uses the DealIDs field in SectorPreCommitInfo to determine the amount of verified
// deal space in the sector in order to perform a QAP calculation. Since network version 22 and
// the introduction of DDO, the DealIDs field can no longer be used to reliably determine verified
// deal space; therefore, this method is deprecated. Use StateMinerInitialPledgeForSector instead
// and pass in the verified deal space directly.
// Note: The value returned is overestimated by 10% (multiplied by 110/100).
// See: node/impl/full/state.go StateMinerInitialPledgeCollateral implementation.
//
// Deprecated: Use StateMinerInitialPledgeForSector instead.
StateMinerInitialPledgeCollateral(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (types.BigInt, error) //perm:read
// StateMinerInitialPledgeForSector returns the initial pledge collateral for a given sector
// duration, size, and combined size of any verified pieces within the sector. This calculation
// depends on current network conditions (total power, total pledge and current rewards) at the
// given tipset.
// Note: The value returned is overestimated by 10% (multiplied by 110/100).
// See: node/impl/full/state.go StateMinerInitialPledgeForSector implementation.
StateMinerInitialPledgeForSector(ctx context.Context, sectorDuration abi.ChainEpoch, sectorSize abi.SectorSize, verifiedSize uint64, tsk types.TipSetKey) (types.BigInt, error) //perm:read
// StateMinerCreationDeposit calculates the deposit required for creating a new miner
// according to FIP-0077 specification. This deposit is based on the network's current
// economic parameters including circulating supply, network power, and pledge collateral.
//
// See: node/impl/full/state.go StateMinerCreationDeposit implementation.
StateMinerCreationDeposit(ctx context.Context, tsk types.TipSetKey) (types.BigInt, error) //perm:read
// StateMinerAvailableBalance returns the portion of a miner's balance that can be withdrawn or
// spent. It is calculated by subtracting the following from the miner actor's balance:
// * Locked vesting funds (accounting for vesting funds that should already be unlocked)
// * PreCommit deposits
// * Initial pledge collateral
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
// StateMarketProposalPending returns whether a given proposal CID is marked as pending in the market actor
StateMarketProposalPending(ctx context.Context, proposalCid cid.Cid, tsk types.TipSetKey) (bool, 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) (*verifreg.Allocation, error) //perm:read
// StateGetAllocationIdForPendingDeal is like StateGetAllocationForPendingDeal except it returns the allocation ID
StateGetAllocationIdForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (verifreg.AllocationId, error) //perm:read
// StateGetAllocation returns the allocation for a given address and allocation ID.
StateGetAllocation(ctx context.Context, clientAddr address.Address, allocationId verifreg.AllocationId, tsk types.TipSetKey) (*verifreg.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[verifreg.AllocationId]verifreg.Allocation, error) //perm:read
// StateGetAllAllocations returns the all the allocations available in verified registry actor.
StateGetAllAllocations(ctx context.Context, tsk types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error) //perm:read
// StateGetClaim returns the claim for a given address and claim ID.
StateGetClaim(ctx context.Context, providerAddr address.Address, claimId verifreg.ClaimId, tsk types.TipSetKey) (*verifreg.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[verifreg.ClaimId]verifreg.Claim, error) //perm:read
// StateGetAllClaims returns the all the claims available in verified registry actor.
StateGetAllClaims(ctx context.Context, tsk types.TipSetKey) (map[verifreg.ClaimId]verifreg.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.
// Note: The min value returned is overestimated by 10% (multiplied by 110/100).
// See: node/impl/full/state.go StateDealProviderCollateralBounds implementation.
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
// by using the recorded entries on the chain. If the entry for the requested
// epoch 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
// MsigCancelTxnHash 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
// 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 any Filecoin address to an EthAddress.
//
// This method supports all Filecoin address types:
// - "f0" and "f4" addresses: Converted directly.
// - "f1", "f2", and "f3" addresses: First converted to their corresponding "f0" ID address, then to an EthAddress.
//
// Requirements:
// - For "f1", "f2", and "f3" addresses, they must be instantiated on-chain, as "f0" ID addresses are only assigned to actors when they are created on-chain.
// The simplest way to instantiate an address on chain is to send a transaction to the address.
//
// Note on chain reorganizations:
// "f0" ID addresses are not permanent and can be affected by chain reorganizations. To account for this,
// the API includes a `blkNum` parameter, which specifies the block number that is used to determine the tipset state to use for converting an
// "f1"/"f2"/"f3" address to an "f0" address. This parameter functions similarly to the `blkNum` parameter in the existing `EthGetBlockByNumber` API.
// See https://docs.alchemy.com/reference/eth-getblockbynumber for more details.
//
// Parameters:
// - ctx: The context for the API call.
// - filecoinAddress: The Filecoin address to convert.
// - blkNum: The block number or state for the conversion. Defaults to "finalized" for maximum safety.
// Possible values: "pending", "latest", "finalized", "safe", or a specific block number represented as hex.
//
// Returns:
// - The corresponding EthAddress.
// - An error if the conversion fails.
FilecoinAddressToEthAddress(ctx context.Context, p jsonrpc.RawParams) (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 string) (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) (*ethtypes.EthTxReceipt, error) //perm:read
EthGetBlockReceipts(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error) //perm:read
EthGetBlockReceiptsLimited(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash, limit abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error) //perm:read
EthGetTransactionReceiptLimited(ctx context.Context, txHash ethtypes.EthHash, limit abi.ChainEpoch) (*ethtypes.EthTxReceipt, error) //perm:read
EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, txIndex ethtypes.EthUint64) (*ethtypes.EthTx, error) //perm:read
EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum string, 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, p jsonrpc.RawParams) (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
// EthSendRawTransactionUntrusted sends a transaction from and untrusted source, using MpoolPushUntrusted to submit the message.
EthSendRawTransactionUntrusted(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
// Returns an OpenEthereum-compatible trace of the given block (implementing `trace_block`),
// translating Filecoin semantics into Ethereum semantics and tracing both EVM and FVM calls.
//
// Features:
//
// - FVM actor create events, calls, etc. show up as if they were EVM smart contract events.
// - Native FVM call inputs are ABI-encoded (Solidity ABI) as if they were calls to a
// `handle_filecoin_method(uint64 method, uint64 codec, bytes params)` function
// (where `codec` is the IPLD codec of `params`).
// - Native FVM call outputs (return values) are ABI-encoded as `(uint32 exit_code, uint64
// codec, bytes output)` where `codec` is the IPLD codec of `output`.
//
// Limitations (for now):
//
// 1. Block rewards are not included in the trace.
// 2. SELFDESTRUCT operations are not included in the trace.
// 3. EVM smart contract "create" events always specify `0xfe` as the "code" for newly created EVM smart contracts.
EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error) //perm:read
// Replays all transactions in a block returning the requested traces for each transaction
EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) //perm:read
// Implmements OpenEthereum-compatible API method trace_transaction
EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error) //perm:read
// Implements OpenEthereum-compatible API method trace_filter
EthTraceFilter(ctx context.Context, filter ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, 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
// GetActorEventsRaw returns all user-programmed and built-in actor events that match the given
// filter.
// This is a request/response API.
// Results available from this API may be limited by the MaxFilterResults and MaxFilterHeightRange
// configuration options and also the amount of historical data available in the node.
//
// This is an EXPERIMENTAL API and may be subject to change.
GetActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error) //perm:read
// SubscribeActorEventsRaw returns a long-lived stream of all user-programmed and built-in actor
// events that match the given filter.
// Events that match the given filter are written to the stream in real-time as they are emitted
// from the FVM.
// The response stream is closed when the client disconnects, when a ToHeight is specified and is
// reached, or if there is an error while writing an event to the stream.
// This API also allows clients to read all historical events matching the given filter before any
// real-time events are written to the response stream if the filter specifies an earlier
// FromHeight.
// Results available from this API may be limited by the MaxFilterResults and MaxFilterHeightRange
// configuration options and also the amount of historical data available in the node.
//
// Note: this API is only available via websocket connections.
// This is an EXPERIMENTAL API and may be subject to change.
SubscribeActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error) //perm:read
// F3GetOrRenewParticipationTicket retrieves or renews a participation ticket
// necessary for a miner to engage in the F3 consensus process for the given
// number of instances.
//
// This function accepts an optional previous ticket. If provided, a new ticket
// will be issued only under one the following conditions:
// 1. The previous ticket has expired.
// 2. The issuer of the previous ticket matches the node processing this
// request.
//
// If there is an issuer mismatch (ErrF3ParticipationIssuerMismatch), the miner
// must retry obtaining a new ticket to ensure it is only participating in one F3
// instance at any time. The number of instances must be at least 1. If the
// number of instances is beyond the maximum leasable participation instances
// accepted by the node ErrF3ParticipationTooManyInstances is returned.
//
// Note: Successfully acquiring a ticket alone does not constitute participation.
// The retrieved ticket must be used to invoke F3Participate to actively engage
// in the F3 consensus process.
F3GetOrRenewParticipationTicket(ctx context.Context, minerID address.Address, previous F3ParticipationTicket, instances uint64) (F3ParticipationTicket, error) //perm:sign
// F3Participate enrolls a storage provider in the F3 consensus process using a
// provided participation ticket. This ticket grants a temporary lease that enables
// the provider to sign transactions as part of the F3 consensus.
//
// The function verifies the ticket's validity and checks if the ticket's issuer
// aligns with the current node. If there is an issuer mismatch
// (ErrF3ParticipationIssuerMismatch), the provider should retry with the same
// ticket, assuming the issue is due to transient network problems or operational
// deployment conditions. If the ticket is invalid
// (ErrF3ParticipationTicketInvalid) or has expired
// (ErrF3ParticipationTicketExpired), the provider must obtain a new ticket by
// calling F3GetOrRenewParticipationTicket.
//
// The start instance associated to the given ticket cannot be less than the
// start instance of any existing lease held by the miner. Otherwise,
// ErrF3ParticipationTicketStartBeforeExisting is returned. In this case, the
// miner should acquire a new ticket before attempting to participate again.
//
// For details on obtaining or renewing a ticket, see F3GetOrRenewParticipationTicket.
F3Participate(ctx context.Context, ticket F3ParticipationTicket) (F3ParticipationLease, error) //perm:sign
// F3GetCertificate returns a finality certificate at given instance.
F3GetCertificate(ctx context.Context, instance uint64) (*certs.FinalityCertificate, error) //perm:read
// F3GetLatestCertificate returns the latest finality certificate.
F3GetLatestCertificate(ctx context.Context) (*certs.FinalityCertificate, error) //perm:read
// F3GetManifest returns the current manifest being used for F3 operations.
F3GetManifest(ctx context.Context) (*manifest.Manifest, error) //perm:read
// F3GetECPowerTable returns a F3 specific power table for use in standalone F3 nodes.
F3GetECPowerTable(ctx context.Context, tsk types.TipSetKey) (gpbft.PowerEntries, error) //perm:read
// F3GetF3PowerTable returns a F3 specific power table.
F3GetF3PowerTable(ctx context.Context, tsk types.TipSetKey) (gpbft.PowerEntries, error) //perm:read
// F3GetPowerTableByInstance returns the power table (committee) used to validate the specified instance.
F3GetPowerTableByInstance(ctx context.Context, instance uint64) (gpbft.PowerEntries, error) //perm:read
// F3IsRunning returns true if the F3 instance is running, false if it's not running but
// it's enabled, and an error when disabled entirely.
F3IsRunning(ctx context.Context) (bool, error) //perm:read
// F3GetProgress returns the progress of the current F3 instance in terms of instance ID, round and phase.
F3GetProgress(ctx context.Context) (gpbft.InstanceProgress, error) //perm:read
// F3ListParticipants returns the list of miners that are currently participating in F3 via this node.
F3ListParticipants(ctx context.Context) ([]F3Participant, error) //perm:read
}
FullNode API is a low-level interface to the Filecoin network full node. This represents the Lotus v1 API, which is stable and maintains backward compatibility.
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"`
ChainGetFinalizedTipSet func(p0 context.Context) (*types.TipSet, 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"`
ChainValidateIndex func(p0 context.Context, p1 abi.ChainEpoch, p2 bool) (*types.IndexValidation, 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 jsonrpc.RawParams) (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"`
EthGetBlockReceipts func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error) `perm:"read"`
EthGetBlockReceiptsLimited func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error) `perm:"read"`
EthGetBlockTransactionCountByHash func(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) `perm:"read"`
EthGetBlockTransactionCountByNumber func(p0 context.Context, p1 string) (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 string, 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) (*ethtypes.EthTxReceipt, error) `perm:"read"`
EthGetTransactionReceiptLimited func(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.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"`
EthSendRawTransactionUntrusted 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"`
EthTraceBlock func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error) `perm:"read"`
EthTraceFilter func(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error) `perm:"read"`
EthTraceReplayBlockTransactions func(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) `perm:"read"`
EthTraceTransaction func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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"`
F3GetCertificate func(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error) `perm:"read"`
F3GetECPowerTable func(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error) `perm:"read"`
F3GetF3PowerTable func(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error) `perm:"read"`
F3GetLatestCertificate func(p0 context.Context) (*certs.FinalityCertificate, error) `perm:"read"`
F3GetManifest func(p0 context.Context) (*manifest.Manifest, error) `perm:"read"`
F3GetOrRenewParticipationTicket func(p0 context.Context, p1 address.Address, p2 F3ParticipationTicket, p3 uint64) (F3ParticipationTicket, error) `perm:"sign"`
F3GetPowerTableByInstance func(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error) `perm:"read"`
F3GetProgress func(p0 context.Context) (gpbft.InstanceProgress, error) `perm:"read"`
F3IsRunning func(p0 context.Context) (bool, error) `perm:"read"`
F3ListParticipants func(p0 context.Context) ([]F3Participant, error) `perm:"read"`
F3Participate func(p0 context.Context, p1 F3ParticipationTicket) (F3ParticipationLease, error) `perm:"sign"`
FilecoinAddressToEthAddress func(p0 context.Context, p1 jsonrpc.RawParams) (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"`
GetActorEventsRaw func(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, 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"`
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"`
StateGetAllAllocations func(p0 context.Context, p1 types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error) `perm:"read"`
StateGetAllClaims func(p0 context.Context, p1 types.TipSetKey) (map[verifreg.ClaimId]verifreg.Claim, error) `perm:"read"`
StateGetAllocation func(p0 context.Context, p1 address.Address, p2 verifreg.AllocationId, p3 types.TipSetKey) (*verifreg.Allocation, error) `perm:"read"`
StateGetAllocationForPendingDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifreg.Allocation, error) `perm:"read"`
StateGetAllocationIdForPendingDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifreg.AllocationId, error) `perm:"read"`
StateGetAllocations func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.AllocationId]verifreg.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 verifreg.ClaimId, p3 types.TipSetKey) (*verifreg.Claim, error) `perm:"read"`
StateGetClaims func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.ClaimId]verifreg.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"`
StateMarketProposalPending func(p0 context.Context, p1 cid.Cid, p2 types.TipSetKey) (bool, 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"`
StateMinerCreationDeposit func(p0 context.Context, p1 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"`
StateMinerInitialPledgeForSector func(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, p4 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"`
SubscribeActorEventsRaw func(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetFinalizedTipSet ¶ added in v1.34.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) ChainValidateIndex ¶ added in v1.31.0
func (s *FullNodeStruct) ChainValidateIndex(p0 context.Context, p1 abi.ChainEpoch, p2 bool) (*types.IndexValidation, 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) EthGetBlockReceipts ¶ added in v1.29.2
func (s *FullNodeStruct) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
func (*FullNodeStruct) EthGetBlockReceiptsLimited ¶ added in v1.29.2
func (s *FullNodeStruct) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)
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) (*ethtypes.EthTxReceipt, error)
func (*FullNodeStruct) EthGetTransactionReceiptLimited ¶ added in v1.23.0
func (s *FullNodeStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.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) EthSendRawTransactionUntrusted ¶ added in v1.30.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) EthTraceBlock ¶ added in v1.25.0
func (s *FullNodeStruct) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
func (*FullNodeStruct) EthTraceFilter ¶ added in v1.29.0
func (s *FullNodeStruct) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
func (*FullNodeStruct) EthTraceReplayBlockTransactions ¶ added in v1.25.0
func (s *FullNodeStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
func (*FullNodeStruct) EthTraceTransaction ¶ added in v1.27.1
func (s *FullNodeStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate ¶ added in v1.28.0
func (s *FullNodeStruct) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
func (*FullNodeStruct) F3GetECPowerTable ¶ added in v1.28.0
func (s *FullNodeStruct) F3GetECPowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
func (*FullNodeStruct) F3GetF3PowerTable ¶ added in v1.28.0
func (s *FullNodeStruct) F3GetF3PowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
func (*FullNodeStruct) F3GetLatestCertificate ¶ added in v1.28.0
func (s *FullNodeStruct) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
func (*FullNodeStruct) F3GetManifest ¶ added in v1.30.0
func (*FullNodeStruct) F3GetOrRenewParticipationTicket ¶ added in v1.30.0
func (s *FullNodeStruct) F3GetOrRenewParticipationTicket(p0 context.Context, p1 address.Address, p2 F3ParticipationTicket, p3 uint64) (F3ParticipationTicket, error)
func (*FullNodeStruct) F3GetPowerTableByInstance ¶ added in v1.33.1
func (s *FullNodeStruct) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
func (*FullNodeStruct) F3GetProgress ¶ added in v1.30.0
func (s *FullNodeStruct) F3GetProgress(p0 context.Context) (gpbft.InstanceProgress, error)
func (*FullNodeStruct) F3IsRunning ¶ added in v1.30.0
func (s *FullNodeStruct) F3IsRunning(p0 context.Context) (bool, error)
func (*FullNodeStruct) F3ListParticipants ¶ added in v1.30.0
func (s *FullNodeStruct) F3ListParticipants(p0 context.Context) ([]F3Participant, error)
func (*FullNodeStruct) F3Participate ¶ added in v1.28.0
func (s *FullNodeStruct) F3Participate(p0 context.Context, p1 F3ParticipationTicket) (F3ParticipationLease, error)
func (*FullNodeStruct) FilecoinAddressToEthAddress ¶ added in v1.20.0
func (s *FullNodeStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (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) GetActorEventsRaw ¶ added in v1.26.0
func (s *FullNodeStruct) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, error)
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) 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) StateGetAllAllocations ¶ added in v1.26.0
func (s *FullNodeStruct) StateGetAllAllocations(p0 context.Context, p1 types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error)
func (*FullNodeStruct) StateGetAllClaims ¶ added in v1.26.0
func (*FullNodeStruct) StateGetAllocation ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifreg.AllocationId, p3 types.TipSetKey) (*verifreg.Allocation, error)
func (*FullNodeStruct) StateGetAllocationForPendingDeal ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifreg.Allocation, error)
func (*FullNodeStruct) StateGetAllocationIdForPendingDeal ¶ added in v1.26.0
func (s *FullNodeStruct) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifreg.AllocationId, error)
func (*FullNodeStruct) StateGetAllocations ¶ added in v1.18.0
func (s *FullNodeStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.AllocationId]verifreg.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 (*FullNodeStruct) StateGetClaims ¶ added in v1.18.0
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) StateMarketProposalPending ¶ added in v1.31.1
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) StateMinerCreationDeposit ¶ added in v1.34.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) StateMinerInitialPledgeForSector ¶ added in v1.30.0
func (s *FullNodeStruct) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, p4 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) SubscribeActorEventsRaw ¶ added in v1.26.0
func (s *FullNodeStruct) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetFinalizedTipSet ¶ added in v1.34.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) ChainValidateIndex ¶ added in v1.31.0
func (s *FullNodeStub) ChainValidateIndex(p0 context.Context, p1 abi.ChainEpoch, p2 bool) (*types.IndexValidation, 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) EthGetBlockReceipts ¶ added in v1.29.2
func (s *FullNodeStub) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
func (*FullNodeStub) EthGetBlockReceiptsLimited ¶ added in v1.29.2
func (s *FullNodeStub) EthGetBlockReceiptsLimited(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash, p2 abi.ChainEpoch) ([]*ethtypes.EthTxReceipt, error)
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) (*ethtypes.EthTxReceipt, error)
func (*FullNodeStub) EthGetTransactionReceiptLimited ¶ added in v1.23.0
func (s *FullNodeStub) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.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) EthSendRawTransactionUntrusted ¶ added in v1.30.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) EthTraceBlock ¶ added in v1.25.0
func (s *FullNodeStub) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
func (*FullNodeStub) EthTraceFilter ¶ added in v1.29.0
func (s *FullNodeStub) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
func (*FullNodeStub) EthTraceReplayBlockTransactions ¶ added in v1.25.0
func (s *FullNodeStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
func (*FullNodeStub) EthTraceTransaction ¶ added in v1.27.1
func (s *FullNodeStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate ¶ added in v1.28.0
func (s *FullNodeStub) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
func (*FullNodeStub) F3GetECPowerTable ¶ added in v1.28.0
func (s *FullNodeStub) F3GetECPowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
func (*FullNodeStub) F3GetF3PowerTable ¶ added in v1.28.0
func (s *FullNodeStub) F3GetF3PowerTable(p0 context.Context, p1 types.TipSetKey) (gpbft.PowerEntries, error)
func (*FullNodeStub) F3GetLatestCertificate ¶ added in v1.28.0
func (s *FullNodeStub) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
func (*FullNodeStub) F3GetManifest ¶ added in v1.30.0
func (*FullNodeStub) F3GetOrRenewParticipationTicket ¶ added in v1.30.0
func (s *FullNodeStub) F3GetOrRenewParticipationTicket(p0 context.Context, p1 address.Address, p2 F3ParticipationTicket, p3 uint64) (F3ParticipationTicket, error)
func (*FullNodeStub) F3GetPowerTableByInstance ¶ added in v1.33.1
func (s *FullNodeStub) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
func (*FullNodeStub) F3GetProgress ¶ added in v1.30.0
func (s *FullNodeStub) F3GetProgress(p0 context.Context) (gpbft.InstanceProgress, error)
func (*FullNodeStub) F3IsRunning ¶ added in v1.30.0
func (s *FullNodeStub) F3IsRunning(p0 context.Context) (bool, error)
func (*FullNodeStub) F3ListParticipants ¶ added in v1.30.0
func (s *FullNodeStub) F3ListParticipants(p0 context.Context) ([]F3Participant, error)
func (*FullNodeStub) F3Participate ¶ added in v1.28.0
func (s *FullNodeStub) F3Participate(p0 context.Context, p1 F3ParticipationTicket) (F3ParticipationLease, error)
func (*FullNodeStub) FilecoinAddressToEthAddress ¶ added in v1.20.0
func (s *FullNodeStub) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (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) GetActorEventsRaw ¶ added in v1.26.0
func (s *FullNodeStub) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, error)
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) 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) StateGetAllAllocations ¶ added in v1.26.0
func (s *FullNodeStub) StateGetAllAllocations(p0 context.Context, p1 types.TipSetKey) (map[verifreg.AllocationId]verifreg.Allocation, error)
func (*FullNodeStub) StateGetAllClaims ¶ added in v1.26.0
func (*FullNodeStub) StateGetAllocation ¶ added in v1.18.0
func (s *FullNodeStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifreg.AllocationId, p3 types.TipSetKey) (*verifreg.Allocation, error)
func (*FullNodeStub) StateGetAllocationForPendingDeal ¶ added in v1.18.0
func (s *FullNodeStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifreg.Allocation, error)
func (*FullNodeStub) StateGetAllocationIdForPendingDeal ¶ added in v1.26.0
func (s *FullNodeStub) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifreg.AllocationId, error)
func (*FullNodeStub) StateGetAllocations ¶ added in v1.18.0
func (s *FullNodeStub) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifreg.AllocationId]verifreg.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 (*FullNodeStub) StateGetClaims ¶ added in v1.18.0
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) StateMarketProposalPending ¶ added in v1.31.1
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) StateMinerCreationDeposit ¶ added in v1.34.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) StateMinerInitialPledgeForSector ¶ added in v1.30.0
func (s *FullNodeStub) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, p4 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) SubscribeActorEventsRaw ¶ added in v1.26.0
func (s *FullNodeStub) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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 {
ChainGetBlock(context.Context, cid.Cid) (*types.BlockHeader, error)
ChainHasObj(context.Context, cid.Cid) (bool, error)
ChainPutObj(context.Context, blocks.Block) error
ChainHead(ctx context.Context) (*types.TipSet, error)
ChainGetEvents(context.Context, cid.Cid) ([]types.Event, error)
ChainGetParentMessages(context.Context, cid.Cid) ([]Message, error)
ChainGetParentReceipts(context.Context, cid.Cid) ([]*types.MessageReceipt, error)
ChainGetMessagesInTipset(context.Context, types.TipSetKey) ([]Message, 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)
ChainGetFinalizedTipSet(ctx context.Context) (*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)
GasEstimateGasPremium(context.Context, uint64, address.Address, int64, types.TipSetKey) (types.BigInt, 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)
MpoolPending(context.Context, types.TipSetKey) ([]*types.SignedMessage, 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)
StateReplay(context.Context, types.TipSetKey, cid.Cid) (*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)
StateGetAllocationForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*verifregtypes.Allocation, error)
StateGetAllocation(ctx context.Context, clientAddr address.Address, allocationId verifregtypes.AllocationId, tsk types.TipSetKey) (*verifregtypes.Allocation, error)
StateGetAllocations(ctx context.Context, clientAddr address.Address, tsk types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
StateGetClaim(ctx context.Context, providerAddr address.Address, claimId verifregtypes.ClaimId, tsk types.TipSetKey) (*verifregtypes.Claim, error)
StateGetClaims(ctx context.Context, providerAddr address.Address, tsk types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
StateGetNetworkParams(ctx context.Context) (*NetworkParams, 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)
StateMinerDeadlines(context.Context, address.Address, types.TipSetKey) ([]Deadline, error)
StateMinerProvingDeadline(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*dline.Info, error)
StateMinerPower(context.Context, address.Address, types.TipSetKey) (*MinerPower, error)
StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (MinerSectors, 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)
MinerGetBaseInfo(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) (*MiningBaseInfo, error)
WalletBalance(context.Context, address.Address) (types.BigInt, error)
EthAddressToFilecoinAddress(ctx context.Context, ethAddress ethtypes.EthAddress) (address.Address, error)
FilecoinAddressToEthAddress(ctx context.Context, p jsonrpc.RawParams) (ethtypes.EthAddress, error)
EthAccounts(ctx context.Context) ([]ethtypes.EthAddress, error)
EthBlockNumber(ctx context.Context) (ethtypes.EthUint64, error)
EthGetBlockTransactionCountByNumber(ctx context.Context, blkNum string) (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)
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) (*ethtypes.EthTxReceipt, error)
EthGetBlockReceipts(ctx context.Context, blkParam ethtypes.EthBlockNumberOrHash) ([]*ethtypes.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, p jsonrpc.RawParams) (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)
EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error)
EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error)
EthTraceFilter(ctx context.Context, filter ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
EthGetTransactionByBlockNumberAndIndex(ctx context.Context, blkNum string, index ethtypes.EthUint64) (*ethtypes.EthTx, error)
EthGetTransactionByBlockHashAndIndex(ctx context.Context, blkHash ethtypes.EthHash, index ethtypes.EthUint64) (*ethtypes.EthTx, error)
GetActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error)
SubscribeActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error)
F3GetCertificate(ctx context.Context, instance uint64) (*certs.FinalityCertificate, error)
F3GetLatestCertificate(ctx context.Context) (*certs.FinalityCertificate, error)
F3GetPowerTableByInstance(ctx context.Context, instance uint64) (gpbft.PowerEntries, error)
Version(context.Context) (APIVersion, error)
Discover(context.Context) (apitypes.OpenRPCDocument, error)
}
Gateway provides a secure, limited interface to the Filecoin network for public-facing services. It exposes a carefully curated subset of the FullNode API that excludes administrative operations, wallet management, and other sensitive functionality that should not be accessible through public endpoints.
This API is ideal for:
- Public RPC endpoints and infrastructure providers
- Applications that need read-only access to chain data
- Services requiring basic transaction submission without node administration
- Load balancers and proxy services in front of full nodes
This represents the Lotus v1 API, which is stable and maintains backward compatibility.
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) ``
ChainGetEvents func(p0 context.Context, p1 cid.Cid) ([]types.Event, error) ``
ChainGetFinalizedTipSet func(p0 context.Context) (*types.TipSet, error) ``
ChainGetGenesis func(p0 context.Context) (*types.TipSet, error) ``
ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.Message, error) ``
ChainGetMessagesInTipset func(p0 context.Context, p1 types.TipSetKey) ([]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) ``
EthAddressToFilecoinAddress func(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, 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 jsonrpc.RawParams) (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) ``
EthGetBlockReceipts func(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error) ``
EthGetBlockTransactionCountByHash func(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) ``
EthGetBlockTransactionCountByNumber func(p0 context.Context, p1 string) (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) ``
EthGetTransactionByBlockHashAndIndex func(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error) ``
EthGetTransactionByBlockNumberAndIndex func(p0 context.Context, p1 string, p2 ethtypes.EthUint64) (*ethtypes.EthTx, error) ``
EthGetTransactionByHash func(p0 context.Context, p1 *ethtypes.EthHash) (*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) (*ethtypes.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) ``
EthTraceBlock func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error) ``
EthTraceFilter func(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error) ``
EthTraceReplayBlockTransactions func(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) ``
EthTraceTransaction func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) ``
EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) ``
EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) ``
F3GetCertificate func(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error) ``
F3GetLatestCertificate func(p0 context.Context) (*certs.FinalityCertificate, error) ``
F3GetPowerTableByInstance func(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error) ``
FilecoinAddressToEthAddress func(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, 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) ``
GetActorEventsRaw func(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, 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) ``
StateGetAllocation func(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error) ``
StateGetAllocationForPendingDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error) ``
StateGetAllocations func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error) ``
StateGetClaim func(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error) ``
StateGetClaims func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error) ``
StateGetNetworkParams func(p0 context.Context) (*NetworkParams, 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) ``
StateMinerDeadlines func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, 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) ``
SubscribeActorEventsRaw func(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetEvents ¶ added in v1.26.0
func (*GatewayStruct) ChainGetFinalizedTipSet ¶ added in v1.34.0
func (*GatewayStruct) ChainGetGenesis ¶ added in v1.13.2
func (*GatewayStruct) ChainGetMessage ¶ added in v1.9.0
func (*GatewayStruct) ChainGetMessagesInTipset ¶ added in v1.32.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) EthAddressToFilecoinAddress ¶ added in v1.27.0
func (s *GatewayStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, 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) EthGetBlockReceipts ¶ added in v1.29.2
func (s *GatewayStruct) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
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) EthGetTransactionByBlockHashAndIndex ¶ added in v1.20.0
func (*GatewayStruct) EthGetTransactionByBlockNumberAndIndex ¶ added in v1.20.0
func (*GatewayStruct) EthGetTransactionByHash ¶ added in v1.20.0
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) (*ethtypes.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) EthTraceBlock ¶ added in v1.25.0
func (s *GatewayStruct) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
func (*GatewayStruct) EthTraceFilter ¶ added in v1.29.0
func (s *GatewayStruct) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
func (*GatewayStruct) EthTraceReplayBlockTransactions ¶ added in v1.25.0
func (s *GatewayStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
func (*GatewayStruct) EthTraceTransaction ¶ added in v1.27.1
func (s *GatewayStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate ¶ added in v1.31.1
func (s *GatewayStruct) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
func (*GatewayStruct) F3GetLatestCertificate ¶ added in v1.31.1
func (s *GatewayStruct) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
func (*GatewayStruct) F3GetPowerTableByInstance ¶ added in v1.33.1
func (s *GatewayStruct) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
func (*GatewayStruct) FilecoinAddressToEthAddress ¶ added in v1.27.0
func (s *GatewayStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error)
func (*GatewayStruct) GasEstimateGasPremium ¶ added in v1.23.1
func (*GatewayStruct) GasEstimateMessageGas ¶ added in v1.9.0
func (*GatewayStruct) GetActorEventsRaw ¶ added in v1.26.0
func (s *GatewayStruct) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, error)
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) StateGetAllocation ¶ added in v1.25.0
func (s *GatewayStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*GatewayStruct) StateGetAllocationForPendingDeal ¶ added in v1.25.0
func (s *GatewayStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*GatewayStruct) StateGetAllocations ¶ added in v1.25.0
func (s *GatewayStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
func (*GatewayStruct) StateGetClaim ¶ added in v1.25.0
func (s *GatewayStruct) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error)
func (*GatewayStruct) StateGetClaims ¶ added in v1.25.0
func (s *GatewayStruct) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
func (*GatewayStruct) StateGetNetworkParams ¶ added in v1.32.0
func (s *GatewayStruct) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error)
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) StateMinerDeadlines ¶ added in v1.27.0
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) SubscribeActorEventsRaw ¶ added in v1.26.0
func (s *GatewayStruct) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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) ChainGetEvents ¶ added in v1.26.0
func (*GatewayStub) ChainGetFinalizedTipSet ¶ added in v1.34.0
func (*GatewayStub) ChainGetGenesis ¶ added in v1.13.2
func (*GatewayStub) ChainGetMessage ¶ added in v1.9.0
func (*GatewayStub) ChainGetMessagesInTipset ¶ added in v1.32.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) EthAddressToFilecoinAddress ¶ added in v1.27.0
func (s *GatewayStub) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, 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) EthGetBlockReceipts ¶ added in v1.29.2
func (s *GatewayStub) EthGetBlockReceipts(p0 context.Context, p1 ethtypes.EthBlockNumberOrHash) ([]*ethtypes.EthTxReceipt, error)
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) EthGetTransactionByBlockHashAndIndex ¶ added in v1.20.0
func (*GatewayStub) EthGetTransactionByBlockNumberAndIndex ¶ added in v1.20.0
func (*GatewayStub) EthGetTransactionByHash ¶ added in v1.20.0
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) (*ethtypes.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) EthTraceBlock ¶ added in v1.25.0
func (s *GatewayStub) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error)
func (*GatewayStub) EthTraceFilter ¶ added in v1.29.0
func (s *GatewayStub) EthTraceFilter(p0 context.Context, p1 ethtypes.EthTraceFilterCriteria) ([]*ethtypes.EthTraceFilterResult, error)
func (*GatewayStub) EthTraceReplayBlockTransactions ¶ added in v1.25.0
func (s *GatewayStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
func (*GatewayStub) EthTraceTransaction ¶ added in v1.27.1
func (s *GatewayStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, 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) F3GetCertificate ¶ added in v1.31.1
func (s *GatewayStub) F3GetCertificate(p0 context.Context, p1 uint64) (*certs.FinalityCertificate, error)
func (*GatewayStub) F3GetLatestCertificate ¶ added in v1.31.1
func (s *GatewayStub) F3GetLatestCertificate(p0 context.Context) (*certs.FinalityCertificate, error)
func (*GatewayStub) F3GetPowerTableByInstance ¶ added in v1.33.1
func (s *GatewayStub) F3GetPowerTableByInstance(p0 context.Context, p1 uint64) (gpbft.PowerEntries, error)
func (*GatewayStub) FilecoinAddressToEthAddress ¶ added in v1.27.0
func (s *GatewayStub) FilecoinAddressToEthAddress(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthAddress, error)
func (*GatewayStub) GasEstimateGasPremium ¶ added in v1.23.1
func (*GatewayStub) GasEstimateMessageGas ¶ added in v1.9.0
func (*GatewayStub) GetActorEventsRaw ¶ added in v1.26.0
func (s *GatewayStub) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, error)
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) StateGetAllocation ¶ added in v1.25.0
func (s *GatewayStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*GatewayStub) StateGetAllocationForPendingDeal ¶ added in v1.25.0
func (s *GatewayStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*GatewayStub) StateGetAllocations ¶ added in v1.25.0
func (s *GatewayStub) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error)
func (*GatewayStub) StateGetClaim ¶ added in v1.25.0
func (s *GatewayStub) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error)
func (*GatewayStub) StateGetClaims ¶ added in v1.25.0
func (s *GatewayStub) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error)
func (*GatewayStub) StateGetNetworkParams ¶ added in v1.32.0
func (s *GatewayStub) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error)
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) StateMinerDeadlines ¶ added in v1.27.0
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) SubscribeActorEventsRaw ¶ added in v1.26.0
func (s *GatewayStub) SubscribeActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) (<-chan *types.ActorEvent, 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 HeadChange ¶ added in v0.3.0
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 MarketDealState
}
type MarketDealState ¶ added in v1.26.0
type MarketDealState struct {
SectorNumber abi.SectorNumber // 0 if not yet included in proven sector (0 is also a valid sector number).
SectorStartEpoch abi.ChainEpoch // -1 if not yet included in proven sector
LastUpdatedEpoch abi.ChainEpoch // -1 if deal state never updated
SlashEpoch abi.ChainEpoch // -1 if deal never slashed
}
func MakeDealState ¶ added in v1.26.0
func MakeDealState(mds market.DealState) MarketDealState
func (MarketDealState) Iface ¶ added in v1.26.0
func (m MarketDealState) Iface() 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 specifies a cap on network fees related to this message
MaxFee abi.TokenAmount
// MsgUuid specifies a unique message identifier which can be used on node (or node cluster)
// level to prevent double-sends of messages even when nonce generation is not handled by sender
MsgUuid uuid.UUID
// MaximizeFeeCap makes message FeeCap be based entirely on MaxFee
MaximizeFeeCap bool
}
MessageSendSpec contains optional fields which modify message sending behavior
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 // 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 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 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 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
PreCommitChallengeDelay abi.ChainEpoch
ForkUpgradeParams ForkUpgradeParams
Eip155ChainID int
GenesisTimestamp uint64
}
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 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 = piece.PieceDealInfo
PieceDealInfo is deprecated
DEPRECATED: Use piece.PieceDealInfo instead
type PubsubScore ¶ added in v0.3.1
type PubsubScore struct {
ID peer.ID
Score *pubsub.PeerScoreSnapshot
}
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 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 is nil for pieces which do not appear in deals (e.g. filler pieces)
// NOTE: DDO pieces which aren't associated with a market deal and have no
// verified allocation will still have a non-nil DealInfo.
// nil DealInfo indicates that the piece is a filler, and has zero piece commitment.
DealInfo *piece.PieceDealInfo
}
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 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 StorageMiner ¶
type StorageMiner interface {
Common
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
// ActorWithdrawBalance 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 piece.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
// SealingRemoveRequest 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 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, miner abi.ActorID) ([]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
MarketListDeals(ctx context.Context) ([]*MarketDeal, error) //perm:read
// RuntimeSubsystems returns the subsystems that are enabled
// in this instance.
RuntimeSubsystems(ctx context.Context) (MinerSubsystems, error) //perm:read
// CreateBackup creates node backup under 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"`
MarketListDeals func(p0 context.Context) ([]*MarketDeal, error) `perm:"read"`
MiningBase func(p0 context.Context) (*types.TipSet, 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 piece.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, p4 abi.ActorID) ([]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
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) MarketListDeals ¶ added in v1.9.0
func (s *StorageMinerStruct) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
func (*StorageMinerStruct) MiningBase ¶ added in v1.9.0
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 piece.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, p4 abi.ActorID) ([]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
}
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) MarketListDeals ¶ added in v1.9.0
func (s *StorageMinerStub) MarketListDeals(p0 context.Context) ([]*MarketDeal, error)
func (*StorageMinerStub) MiningBase ¶ added in v1.9.0
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 piece.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, p4 abi.ActorID) ([]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 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)
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
command
|
|
|
cmd
command
|
|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
v0mocks
Package v0mocks is a generated GoMock package.
|
Package v0mocks is a generated GoMock package. |
|
Package v2api provides an interface for interacting with the v2 full node APIs within the Filecoin network.
|
Package v2api provides an interface for interacting with the v2 full node APIs within the Filecoin network. |
|
v2mocks
Package v2mocks is a generated GoMock package.
|
Package v2mocks is a generated GoMock package. |