Documentation ¶
Index ¶
- type FullNodeStruct
- type IAccountStruct
- type IActorStruct
- type IBeaconStruct
- type IBlockStoreStruct
- func (s *IBlockStoreStruct) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error
- func (s *IBlockStoreStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *IBlockStoreStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *IBlockStoreStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (apitypes.ObjStat, error)
- type IChainInfoStruct
- func (s *IChainInfoStruct) BlockTime(p0 context.Context) time.Duration
- func (s *IChainInfoStruct) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)
- func (s *IChainInfoStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
- func (s *IChainInfoStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*apitypes.BlockMessages, error)
- func (s *IChainInfoStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.UnsignedMessage, error)
- func (s *IChainInfoStruct) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]apitypes.Message, error)
- func (s *IChainInfoStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]apitypes.Message, error)
- func (s *IChainInfoStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
- func (s *IChainInfoStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*chain.HeadChange, error)
- func (s *IChainInfoStruct) ChainGetRandomnessFromBeacon(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, ...) (abi.Randomness, error)
- func (s *IChainInfoStruct) ChainGetRandomnessFromTickets(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, ...) (abi.Randomness, error)
- func (s *IChainInfoStruct) ChainGetReceipts(p0 context.Context, p1 cid.Cid) ([]types.MessageReceipt, error)
- func (s *IChainInfoStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *IChainInfoStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *IChainInfoStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *IChainInfoStruct) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *IChainInfoStruct) ChainList(p0 context.Context, p1 types.TipSetKey, p2 int) ([]types.TipSetKey, error)
- func (s *IChainInfoStruct) ChainNotify(p0 context.Context) <-chan []*chain.HeadChange
- func (s *IChainInfoStruct) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error
- func (s *IChainInfoStruct) GetActor(p0 context.Context, p1 address.Address) (*types.Actor, error)
- func (s *IChainInfoStruct) GetEntry(p0 context.Context, p1 abi.ChainEpoch, p2 uint64) (*types.BeaconEntry, error)
- func (s *IChainInfoStruct) GetFullBlock(p0 context.Context, p1 cid.Cid) (*types.FullBlock, error)
- func (s *IChainInfoStruct) GetParentStateRootActor(p0 context.Context, p1 *types.TipSet, p2 address.Address) (*types.Actor, error)
- func (s *IChainInfoStruct) MessageWait(p0 context.Context, p1 cid.Cid, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*chain.ChainMessage, error)
- func (s *IChainInfoStruct) ProtocolParameters(p0 context.Context) (*apitypes.ProtocolParams, error)
- func (s *IChainInfoStruct) ResolveToKeyAddr(p0 context.Context, p1 address.Address, p2 *types.TipSet) (address.Address, error)
- func (s *IChainInfoStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *IChainInfoStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *IChainInfoStruct) StateNetworkName(p0 context.Context) (apitypes.NetworkName, error)
- func (s *IChainInfoStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (network.Version, error)
- func (s *IChainInfoStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*apitypes.MsgLookup, error)
- func (s *IChainInfoStruct) StateVerifiedRegistryRootKey(p0 context.Context, p1 types.TipSetKey) (address.Address, error)
- func (s *IChainInfoStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *IChainInfoStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*apitypes.MsgLookup, error)
- func (s *IChainInfoStruct) VerifyEntry(p0 *types.BeaconEntry, p1 *types.BeaconEntry, p2 abi.ChainEpoch) bool
- type IChainStruct
- type IConfigStruct
- type IDagServiceStruct
- func (s *IDagServiceStruct) DAGCat(p0 context.Context, p1 cid.Cid) (io.Reader, error)
- func (s *IDagServiceStruct) DAGGetFileSize(p0 context.Context, p1 cid.Cid) (uint64, error)
- func (s *IDagServiceStruct) DAGGetNode(p0 context.Context, p1 string) (interface{}, error)
- func (s *IDagServiceStruct) DAGImportData(p0 context.Context, p1 io.Reader) (ipld.Node, error)
- type IDiscoveryStruct
- type IJwtAuthAPIStruct
- type IMarketStruct
- type IMessagePoolStruct
- func (s *IMessagePoolStruct) GasBatchEstimateMessageGas(p0 context.Context, p1 []*types.EstimateMessage, p2 uint64, p3 types.TipSetKey) ([]*types.EstimateResult, error)
- func (s *IMessagePoolStruct) GasEstimateFeeCap(p0 context.Context, p1 *types.UnsignedMessage, p2 int64, p3 types.TipSetKey) (big.Int, error)
- func (s *IMessagePoolStruct) GasEstimateGasLimit(p0 context.Context, p1 *types.UnsignedMessage, p2 types.TipSetKey) (int64, error)
- func (s *IMessagePoolStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (big.Int, error)
- func (s *IMessagePoolStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.UnsignedMessage, p2 *types.MessageSendSpec, ...) (*types.UnsignedMessage, error)
- func (s *IMessagePoolStruct) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
- func (s *IMessagePoolStruct) MpoolBatchPushMessage(p0 context.Context, p1 []*types.UnsignedMessage, p2 *types.MessageSendSpec) ([]*types.SignedMessage, error)
- func (s *IMessagePoolStruct) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
- func (s *IMessagePoolStruct) MpoolCheckMessages(p0 context.Context, p1 []*apitypes.MessagePrototype) ([][]apitypes.MessageCheckStatus, error)
- func (s *IMessagePoolStruct) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]apitypes.MessageCheckStatus, error)
- func (s *IMessagePoolStruct) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]apitypes.MessageCheckStatus, error)
- func (s *IMessagePoolStruct) MpoolClear(p0 context.Context, p1 bool) error
- func (s *IMessagePoolStruct) MpoolDeleteByAdress(p0 context.Context, p1 address.Address) error
- func (s *IMessagePoolStruct) MpoolGetConfig(p0 context.Context) (*messagepool.MpoolConfig, error)
- func (s *IMessagePoolStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *IMessagePoolStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
- func (s *IMessagePoolStruct) MpoolPublishByAddr(p0 context.Context, p1 address.Address) error
- func (s *IMessagePoolStruct) MpoolPublishMessage(p0 context.Context, p1 *types.SignedMessage) error
- func (s *IMessagePoolStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *IMessagePoolStruct) MpoolPushMessage(p0 context.Context, p1 *types.UnsignedMessage, p2 *types.MessageSendSpec) (*types.SignedMessage, error)
- func (s *IMessagePoolStruct) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *IMessagePoolStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
- func (s *IMessagePoolStruct) MpoolSelects(p0 context.Context, p1 types.TipSetKey, p2 []float64) ([][]*types.SignedMessage, error)
- func (s *IMessagePoolStruct) MpoolSetConfig(p0 context.Context, p1 *messagepool.MpoolConfig) error
- func (s *IMessagePoolStruct) MpoolSub(p0 context.Context) (<-chan messagepool.MpoolUpdate, error)
- type IMinerStateStruct
- func (s *IMinerStateStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)
- func (s *IMinerStateStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (apitypes.DealCollateralBounds, error)
- func (s *IMinerStateStruct) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *IMinerStateStruct) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *IMinerStateStruct) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *IMinerStateStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (apitypes.MarketBalance, error)
- func (s *IMinerStateStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketDeal, error)
- func (s *IMinerStateStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*apitypes.MarketDeal, error)
- func (s *IMinerStateStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
- func (s *IMinerStateStruct) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (big.Int, error)
- func (s *IMinerStateStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]apitypes.Deadline, error)
- func (s *IMinerStateStruct) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *IMinerStateStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (miner.MinerInfo, error)
- func (s *IMinerStateStruct) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (s *IMinerStateStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]apitypes.Partition, error)
- func (s *IMinerStateStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*apitypes.MinerPower, error)
- func (s *IMinerStateStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (s *IMinerStateStruct) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *IMinerStateStruct) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *IMinerStateStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (bool, error)
- func (s *IMinerStateStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (apitypes.MinerSectors, error)
- func (s *IMinerStateStruct) StateMinerSectorSize(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (abi.SectorSize, error)
- func (s *IMinerStateStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, ...) ([]*miner.SectorOnChainInfo, error)
- func (s *IMinerStateStruct) StateMinerWorkerAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *IMinerStateStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorExpiration, error)
- func (s *IMinerStateStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *IMinerStateStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorLocation, error)
- func (s *IMinerStateStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (miner.SectorPreCommitOnChainInfo, error)
- func (s *IMinerStateStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (chain.CirculatingSupply, error)
- func (s *IMinerStateStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- type IMiningStruct
- type IMultiSigStruct
- func (s *IMultiSigStruct) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error)
- func (s *IMultiSigStruct) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, ...) (*apitypes.MessagePrototype, error)
- func (s *IMultiSigStruct) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, ...) (*apitypes.MessagePrototype, error)
- type INetworkStruct
- func (s *INetworkStruct) NetAddrsListen(p0 context.Context) (peer.AddrInfo, error)
- func (s *INetworkStruct) NetworkConnect(p0 context.Context, p1 []string) (<-chan net.ConnectionResult, error)
- func (s *INetworkStruct) NetworkFindPeer(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error)
- func (s *INetworkStruct) NetworkFindProvidersAsync(p0 context.Context, p1 cid.Cid, p2 int) <-chan peer.AddrInfo
- func (s *INetworkStruct) NetworkGetBandwidthStats(p0 context.Context) metrics.Stats
- func (s *INetworkStruct) NetworkGetClosestPeers(p0 context.Context, p1 string) (<-chan peer.ID, error)
- func (s *INetworkStruct) NetworkGetPeerAddresses(p0 context.Context) []ma.Multiaddr
- func (s *INetworkStruct) NetworkGetPeerID(p0 context.Context) peer.ID
- func (s *INetworkStruct) NetworkPeers(p0 context.Context, p1 bool, p2 bool, p3 bool) (*net.SwarmConnInfos, error)
- func (s *INetworkStruct) Version(p0 context.Context) (apitypes.Version, error)
- type IPaychanStruct
- func (s *IPaychanStruct) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *IPaychanStruct) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*paychmgr.ChannelAvailableFunds, error)
- func (s *IPaychanStruct) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*paychmgr.ChannelAvailableFunds, error)
- func (s *IPaychanStruct) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)
- func (s *IPaychanStruct) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 big.Int) (*apitypes.ChannelInfo, error)
- func (s *IPaychanStruct) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)
- func (s *IPaychanStruct) PaychList(p0 context.Context) ([]address.Address, error)
- func (s *IPaychanStruct) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, ...) (*apitypes.PaymentInfo, error)
- func (s *IPaychanStruct) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)
- func (s *IPaychanStruct) PaychStatus(p0 context.Context, p1 address.Address) (*types.PaychStatus, error)
- func (s *IPaychanStruct) PaychVoucherAdd(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (big.Int, error)
- func (s *IPaychanStruct) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (bool, error)
- func (s *IPaychanStruct) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error
- func (s *IPaychanStruct) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 big.Int, p3 uint64) (*paychmgr.VoucherCreateResult, error)
- func (s *IPaychanStruct) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)
- func (s *IPaychanStruct) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, ...) (cid.Cid, error)
- type ISyncerStruct
- func (s *ISyncerStruct) ChainSyncHandleNewTipSet(p0 context.Context, p1 *types.ChainInfo) error
- func (s *ISyncerStruct) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (big.Int, error)
- func (s *ISyncerStruct) Concurrent(p0 context.Context) int64
- func (s *ISyncerStruct) SetConcurrent(p0 context.Context, p1 int64) error
- func (s *ISyncerStruct) StateCall(p0 context.Context, p1 *types.UnsignedMessage, p2 types.TipSetKey) (*types.InvocResult, error)
- func (s *ISyncerStruct) SyncState(p0 context.Context) (*apitypes.SyncState, error)
- func (s *ISyncerStruct) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error
- func (s *ISyncerStruct) SyncerTracker(p0 context.Context) *syncTypes.TargetTracker
- type IWalletStruct
- func (s *IWalletStruct) HasPassword(p0 context.Context) bool
- func (s *IWalletStruct) LockWallet(p0 context.Context) error
- func (s *IWalletStruct) SetPassword(p0 context.Context, p1 []byte) error
- func (s *IWalletStruct) UnLockWallet(p0 context.Context, p1 []byte) error
- func (s *IWalletStruct) WalletAddresses(p0 context.Context) []address.Address
- func (s *IWalletStruct) WalletBalance(p0 context.Context, p1 address.Address) (abi.TokenAmount, error)
- func (s *IWalletStruct) WalletDefaultAddress(p0 context.Context) (address.Address, error)
- func (s *IWalletStruct) WalletExport(p0 address.Address, p1 string) (*crypto.KeyInfo, error)
- func (s *IWalletStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *IWalletStruct) WalletImport(p0 *crypto.KeyInfo) (address.Address, error)
- func (s *IWalletStruct) WalletNewAddress(p0 address.Protocol) (address.Address, error)
- func (s *IWalletStruct) WalletSetDefault(p0 context.Context, p1 address.Address) error
- func (s *IWalletStruct) WalletSign(p0 context.Context, p1 address.Address, p2 []byte, p3 wallet.MsgMeta) (*crypto.Signature, error)
- func (s *IWalletStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.UnsignedMessage) (*types.SignedMessage, error)
- func (s *IWalletStruct) WalletState(p0 context.Context) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullNodeStruct ¶ added in v0.9.7
type FullNodeStruct struct { IDagServiceStruct IBlockStoreStruct IChainStruct IConfigStruct IDiscoveryStruct IMarketStruct IMiningStruct IMessagePoolStruct IMultiSigStruct INetworkStruct IPaychanStruct ISyncerStruct IWalletStruct IJwtAuthAPIStruct }
func GetFullNodeAPI ¶ added in v0.9.7
func GetFullNodeAPI(ctx context.Context, version string) (FullNodeStruct, jsonrpc.ClientCloser, error)
NewFullNode It is used to construct a full node access client. The API can be obtained from ~ /. Venus / API file, read from ~ /. Venus / token in local JWT mode, and obtained from Venus auth service in central authorization mode.
type IAccountStruct ¶ added in v0.9.7
type IAccountStruct struct { Internal struct { StateAccountKey func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `perm:"read"` } }
func (*IAccountStruct) StateAccountKey ¶ added in v0.9.7
type IActorStruct ¶ added in v0.9.7
type IActorStruct struct { Internal struct { ListActor func(p0 context.Context) (map[address.Address]*types.Actor, error) `perm:"read"` StateGetActor func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error) `perm:"read"` } }
func (*IActorStruct) StateGetActor ¶ added in v0.9.7
type IBeaconStruct ¶ added in v0.9.7
type IBeaconStruct struct { Internal struct { BeaconGetEntry func(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error) `perm:"read"` } }
func (*IBeaconStruct) BeaconGetEntry ¶ added in v0.9.7
func (s *IBeaconStruct) BeaconGetEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
type IBlockStoreStruct ¶ added in v0.9.7
type IBlockStoreStruct struct { Internal struct { ChainDeleteObj func(p0 context.Context, p1 cid.Cid) error `perm:"read"` ChainHasObj func(p0 context.Context, p1 cid.Cid) (bool, error) `perm:"read"` ChainReadObj func(p0 context.Context, p1 cid.Cid) ([]byte, error) `perm:"read"` ChainStatObj func(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (apitypes.ObjStat, error) `perm:"read"` } }
func (*IBlockStoreStruct) ChainDeleteObj ¶ added in v0.9.7
func (s *IBlockStoreStruct) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error
func (*IBlockStoreStruct) ChainHasObj ¶ added in v0.9.7
func (s *IBlockStoreStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*IBlockStoreStruct) ChainReadObj ¶ added in v0.9.7
func (s *IBlockStoreStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*IBlockStoreStruct) ChainStatObj ¶ added in v0.9.7
type IChainInfoStruct ¶ added in v0.9.7
type IChainInfoStruct struct { Internal struct { BlockTime func(p0 context.Context) time.Duration `perm:"read"` ChainExport func(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error) `perm:"read"` ChainGetBlock func(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error) `perm:"read"` ChainGetBlockMessages func(p0 context.Context, p1 cid.Cid) (*apitypes.BlockMessages, error) `perm:"read"` ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.UnsignedMessage, error) `perm:"read"` ChainGetMessagesInTipset func(p0 context.Context, p1 types.TipSetKey) ([]apitypes.Message, error) `perm:"read"` ChainGetParentMessages func(p0 context.Context, p1 cid.Cid) ([]apitypes.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) ([]*chain.HeadChange, error) `perm:"read"` ChainGetRandomnessFromBeacon func(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error) `perm:"read"` ChainGetRandomnessFromTickets func(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error) `perm:"read"` ChainGetReceipts func(p0 context.Context, p1 cid.Cid) ([]types.MessageReceipt, 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"` ChainHead func(p0 context.Context) (*types.TipSet, error) `perm:"read"` ChainList func(p0 context.Context, p1 types.TipSetKey, p2 int) ([]types.TipSetKey, error) `perm:"read"` ChainNotify func(p0 context.Context) <-chan []*chain.HeadChange `perm:"read"` ChainSetHead func(p0 context.Context, p1 types.TipSetKey) error `perm:"read"` GetActor func(p0 context.Context, p1 address.Address) (*types.Actor, error) `perm:"read"` GetEntry func(p0 context.Context, p1 abi.ChainEpoch, p2 uint64) (*types.BeaconEntry, error) `perm:"read"` GetFullBlock func(p0 context.Context, p1 cid.Cid) (*types.FullBlock, error) `perm:"read"` GetParentStateRootActor func(p0 context.Context, p1 *types.TipSet, p2 address.Address) (*types.Actor, error) `perm:"read"` MessageWait func(p0 context.Context, p1 cid.Cid, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*chain.ChainMessage, error) `perm:"read"` ProtocolParameters func(p0 context.Context) (*apitypes.ProtocolParams, error) `perm:"read"` ResolveToKeyAddr func(p0 context.Context, p1 address.Address, p2 *types.TipSet) (address.Address, error) `perm:"read"` StateGetRandomnessFromBeacon func(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) `perm:"read"` StateGetRandomnessFromTickets func(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) `perm:"read"` StateNetworkName func(p0 context.Context) (apitypes.NetworkName, error) `perm:"read"` StateNetworkVersion func(p0 context.Context, p1 types.TipSetKey) (network.Version, error) `perm:"read"` StateSearchMsg func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*apitypes.MsgLookup, 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) (*apitypes.MsgLookup, error) `perm:"read"` VerifyEntry func(p0 *types.BeaconEntry, p1 *types.BeaconEntry, p2 abi.ChainEpoch) bool `perm:"read"` } }
func (*IChainInfoStruct) BlockTime ¶ added in v0.9.7
func (s *IChainInfoStruct) BlockTime(p0 context.Context) time.Duration
func (*IChainInfoStruct) ChainExport ¶ added in v1.1.0
func (s *IChainInfoStruct) ChainExport(p0 context.Context, p1 abi.ChainEpoch, p2 bool, p3 types.TipSetKey) (<-chan []byte, error)
func (*IChainInfoStruct) ChainGetBlock ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error)
func (*IChainInfoStruct) ChainGetBlockMessages ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*apitypes.BlockMessages, error)
func (*IChainInfoStruct) ChainGetMessage ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.UnsignedMessage, error)
func (*IChainInfoStruct) ChainGetMessagesInTipset ¶ added in v1.0.1
func (*IChainInfoStruct) ChainGetParentMessages ¶ added in v0.9.7
func (*IChainInfoStruct) ChainGetParentReceipts ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error)
func (*IChainInfoStruct) ChainGetPath ¶ added in v1.1.0
func (s *IChainInfoStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*chain.HeadChange, error)
func (*IChainInfoStruct) ChainGetRandomnessFromBeacon ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetRandomnessFromBeacon(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error)
func (*IChainInfoStruct) ChainGetRandomnessFromTickets ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetRandomnessFromTickets(p0 context.Context, p1 types.TipSetKey, p2 acrypto.DomainSeparationTag, p3 abi.ChainEpoch, p4 []byte) (abi.Randomness, error)
func (*IChainInfoStruct) ChainGetReceipts ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetReceipts(p0 context.Context, p1 cid.Cid) ([]types.MessageReceipt, error)
func (*IChainInfoStruct) ChainGetTipSet ¶ added in v0.9.7
func (*IChainInfoStruct) ChainGetTipSetAfterHeight ¶ added in v1.1.0
func (s *IChainInfoStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*IChainInfoStruct) ChainGetTipSetByHeight ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*IChainInfoStruct) ChainNotify ¶ added in v0.9.7
func (s *IChainInfoStruct) ChainNotify(p0 context.Context) <-chan []*chain.HeadChange
func (*IChainInfoStruct) ChainSetHead ¶ added in v0.9.7
func (*IChainInfoStruct) GetEntry ¶ added in v0.9.7
func (s *IChainInfoStruct) GetEntry(p0 context.Context, p1 abi.ChainEpoch, p2 uint64) (*types.BeaconEntry, error)
func (*IChainInfoStruct) GetFullBlock ¶ added in v0.9.7
func (*IChainInfoStruct) GetParentStateRootActor ¶ added in v0.9.7
func (*IChainInfoStruct) MessageWait ¶ added in v0.9.7
func (s *IChainInfoStruct) MessageWait(p0 context.Context, p1 cid.Cid, p2 abi.ChainEpoch, p3 abi.ChainEpoch) (*chain.ChainMessage, error)
func (*IChainInfoStruct) ProtocolParameters ¶ added in v0.9.7
func (s *IChainInfoStruct) ProtocolParameters(p0 context.Context) (*apitypes.ProtocolParams, error)
func (*IChainInfoStruct) ResolveToKeyAddr ¶ added in v0.9.7
func (*IChainInfoStruct) StateGetRandomnessFromBeacon ¶ added in v1.1.0
func (s *IChainInfoStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*IChainInfoStruct) StateGetRandomnessFromTickets ¶ added in v1.1.0
func (s *IChainInfoStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 acrypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*IChainInfoStruct) StateNetworkName ¶ added in v0.9.7
func (s *IChainInfoStruct) StateNetworkName(p0 context.Context) (apitypes.NetworkName, error)
func (*IChainInfoStruct) StateNetworkVersion ¶ added in v0.9.7
func (*IChainInfoStruct) StateSearchMsg ¶ added in v0.9.7
func (*IChainInfoStruct) StateVerifiedRegistryRootKey ¶ added in v1.1.0
func (*IChainInfoStruct) StateVerifierStatus ¶ added in v1.1.0
func (s *IChainInfoStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*IChainInfoStruct) StateWaitMsg ¶ added in v0.9.7
func (s *IChainInfoStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*apitypes.MsgLookup, error)
func (*IChainInfoStruct) VerifyEntry ¶ added in v0.9.7
func (s *IChainInfoStruct) VerifyEntry(p0 *types.BeaconEntry, p1 *types.BeaconEntry, p2 abi.ChainEpoch) bool
type IChainStruct ¶ added in v0.9.7
type IChainStruct struct { IAccountStruct IActorStruct IBeaconStruct IMinerStateStruct IChainInfoStruct }
type IConfigStruct ¶ added in v0.9.7
type IConfigStruct struct { Internal struct { ConfigGet func(p0 context.Context, p1 string) (interface{}, error) `perm:"read"` ConfigSet func(p0 context.Context, p1 string, p2 string) error `perm:"read"` } }
type IDagServiceStruct ¶ added in v1.1.0
type IDagServiceStruct struct { Internal struct { DAGCat func(p0 context.Context, p1 cid.Cid) (io.Reader, error) `perm:"read"` DAGGetFileSize func(p0 context.Context, p1 cid.Cid) (uint64, error) `perm:"read"` DAGGetNode func(p0 context.Context, p1 string) (interface{}, error) `perm:"read"` DAGImportData func(p0 context.Context, p1 io.Reader) (ipld.Node, error) `perm:"read"` } }
func (*IDagServiceStruct) DAGGetFileSize ¶ added in v1.1.0
func (s *IDagServiceStruct) DAGGetFileSize(p0 context.Context, p1 cid.Cid) (uint64, error)
func (*IDagServiceStruct) DAGGetNode ¶ added in v1.1.0
func (s *IDagServiceStruct) DAGGetNode(p0 context.Context, p1 string) (interface{}, error)
func (*IDagServiceStruct) DAGImportData ¶ added in v1.1.0
type IDiscoveryStruct ¶ added in v0.9.7
type IDiscoveryStruct struct { }
type IJwtAuthAPIStruct ¶ added in v0.9.7
type IJwtAuthAPIStruct struct { Internal struct { AuthNew func(p0 context.Context, p1 []auth.Permission) ([]byte, error) `perm:"read"` Verify func(p0 context.Context, p1 string, p2 string) ([]auth.Permission, error) `perm:"read"` } }
func (*IJwtAuthAPIStruct) AuthNew ¶ added in v0.9.7
func (s *IJwtAuthAPIStruct) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
func (*IJwtAuthAPIStruct) Verify ¶ added in v0.9.7
func (s *IJwtAuthAPIStruct) Verify(p0 context.Context, p1 string, p2 string) ([]auth.Permission, error)
type IMarketStruct ¶ added in v0.9.7
type IMarketStruct struct { Internal struct { StateMarketParticipants func(p0 context.Context, p1 types.TipSetKey) (map[string]apitypes.MarketBalance, error) `perm:"read"` } }
func (*IMarketStruct) StateMarketParticipants ¶ added in v0.9.7
func (s *IMarketStruct) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]apitypes.MarketBalance, error)
type IMessagePoolStruct ¶ added in v0.9.7
type IMessagePoolStruct struct { Internal struct { GasBatchEstimateMessageGas func(p0 context.Context, p1 []*types.EstimateMessage, p2 uint64, p3 types.TipSetKey) ([]*types.EstimateResult, error) `perm:"read"` GasEstimateFeeCap func(p0 context.Context, p1 *types.UnsignedMessage, p2 int64, p3 types.TipSetKey) (big.Int, error) `perm:"read"` GasEstimateGasLimit func(p0 context.Context, p1 *types.UnsignedMessage, p2 types.TipSetKey) (int64, error) `perm:"read"` GasEstimateGasPremium func(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (big.Int, error) `perm:"read"` GasEstimateMessageGas func(p0 context.Context, p1 *types.UnsignedMessage, p2 *types.MessageSendSpec, p3 types.TipSetKey) (*types.UnsignedMessage, error) `perm:"read"` MpoolBatchPush func(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error) `perm:"read"` MpoolBatchPushMessage func(p0 context.Context, p1 []*types.UnsignedMessage, p2 *types.MessageSendSpec) ([]*types.SignedMessage, error) `perm:"read"` MpoolBatchPushUntrusted func(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error) `perm:"read"` MpoolCheckMessages func(p0 context.Context, p1 []*apitypes.MessagePrototype) ([][]apitypes.MessageCheckStatus, error) `perm:"read"` MpoolCheckPendingMessages func(p0 context.Context, p1 address.Address) ([][]apitypes.MessageCheckStatus, error) `perm:"read"` MpoolCheckReplaceMessages func(p0 context.Context, p1 []*types.Message) ([][]apitypes.MessageCheckStatus, error) `perm:"read"` MpoolClear func(p0 context.Context, p1 bool) error `perm:"read"` MpoolDeleteByAdress func(p0 context.Context, p1 address.Address) error `perm:"read"` MpoolGetConfig func(p0 context.Context) (*messagepool.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"` MpoolPublishByAddr func(p0 context.Context, p1 address.Address) error `perm:"read"` MpoolPublishMessage func(p0 context.Context, p1 *types.SignedMessage) error `perm:"read"` MpoolPush func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) `perm:"read"` MpoolPushMessage func(p0 context.Context, p1 *types.UnsignedMessage, p2 *types.MessageSendSpec) (*types.SignedMessage, error) `perm:"read"` MpoolPushUntrusted func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) `perm:"read"` MpoolSelect func(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error) `perm:"read"` MpoolSelects func(p0 context.Context, p1 types.TipSetKey, p2 []float64) ([][]*types.SignedMessage, error) `perm:"read"` MpoolSetConfig func(p0 context.Context, p1 *messagepool.MpoolConfig) error `perm:"read"` MpoolSub func(p0 context.Context) (<-chan messagepool.MpoolUpdate, error) `perm:"read"` } }
func (*IMessagePoolStruct) GasBatchEstimateMessageGas ¶ added in v0.9.7
func (s *IMessagePoolStruct) GasBatchEstimateMessageGas(p0 context.Context, p1 []*types.EstimateMessage, p2 uint64, p3 types.TipSetKey) ([]*types.EstimateResult, error)
func (*IMessagePoolStruct) GasEstimateFeeCap ¶ added in v0.9.7
func (*IMessagePoolStruct) GasEstimateGasLimit ¶ added in v0.9.7
func (s *IMessagePoolStruct) GasEstimateGasLimit(p0 context.Context, p1 *types.UnsignedMessage, p2 types.TipSetKey) (int64, error)
func (*IMessagePoolStruct) GasEstimateGasPremium ¶ added in v0.9.7
func (*IMessagePoolStruct) GasEstimateMessageGas ¶ added in v0.9.7
func (s *IMessagePoolStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.UnsignedMessage, p2 *types.MessageSendSpec, p3 types.TipSetKey) (*types.UnsignedMessage, error)
func (*IMessagePoolStruct) MpoolBatchPush ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
func (*IMessagePoolStruct) MpoolBatchPushMessage ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolBatchPushMessage(p0 context.Context, p1 []*types.UnsignedMessage, p2 *types.MessageSendSpec) ([]*types.SignedMessage, error)
func (*IMessagePoolStruct) MpoolBatchPushUntrusted ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error)
func (*IMessagePoolStruct) MpoolCheckMessages ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolCheckMessages(p0 context.Context, p1 []*apitypes.MessagePrototype) ([][]apitypes.MessageCheckStatus, error)
func (*IMessagePoolStruct) MpoolCheckPendingMessages ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]apitypes.MessageCheckStatus, error)
func (*IMessagePoolStruct) MpoolCheckReplaceMessages ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]apitypes.MessageCheckStatus, error)
func (*IMessagePoolStruct) MpoolClear ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolClear(p0 context.Context, p1 bool) error
func (*IMessagePoolStruct) MpoolDeleteByAdress ¶ added in v1.0.1
func (s *IMessagePoolStruct) MpoolDeleteByAdress(p0 context.Context, p1 address.Address) error
func (*IMessagePoolStruct) MpoolGetConfig ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolGetConfig(p0 context.Context) (*messagepool.MpoolConfig, error)
func (*IMessagePoolStruct) MpoolGetNonce ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*IMessagePoolStruct) MpoolPending ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error)
func (*IMessagePoolStruct) MpoolPublishByAddr ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolPublishByAddr(p0 context.Context, p1 address.Address) error
func (*IMessagePoolStruct) MpoolPublishMessage ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolPublishMessage(p0 context.Context, p1 *types.SignedMessage) error
func (*IMessagePoolStruct) MpoolPush ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*IMessagePoolStruct) MpoolPushMessage ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolPushMessage(p0 context.Context, p1 *types.UnsignedMessage, p2 *types.MessageSendSpec) (*types.SignedMessage, error)
func (*IMessagePoolStruct) MpoolPushUntrusted ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*IMessagePoolStruct) MpoolSelect ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
func (*IMessagePoolStruct) MpoolSelects ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolSelects(p0 context.Context, p1 types.TipSetKey, p2 []float64) ([][]*types.SignedMessage, error)
func (*IMessagePoolStruct) MpoolSetConfig ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolSetConfig(p0 context.Context, p1 *messagepool.MpoolConfig) error
func (*IMessagePoolStruct) MpoolSub ¶ added in v0.9.7
func (s *IMessagePoolStruct) MpoolSub(p0 context.Context) (<-chan messagepool.MpoolUpdate, error)
type IMinerStateStruct ¶ added in v0.9.7
type IMinerStateStruct struct { Internal struct { StateCirculatingSupply func(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error) `perm:"read"` StateDealProviderCollateralBounds func(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (apitypes.DealCollateralBounds, error) `perm:"read"` StateListActors func(p0 context.Context, p1 types.TipSetKey) ([]address.Address, 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"` StateMarketBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (apitypes.MarketBalance, error) `perm:"read"` StateMarketDeals func(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketDeal, error) `perm:"read"` StateMarketStorageDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*apitypes.MarketDeal, error) `perm:"read"` StateMinerActiveSectors func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) `perm:"read"` StateMinerAvailableBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (big.Int, error) `perm:"read"` StateMinerDeadlines func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]apitypes.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) (miner.MinerInfo, error) `perm:"read"` StateMinerInitialPledgeCollateral func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error) `perm:"read"` StateMinerPartitions func(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]apitypes.Partition, error) `perm:"read"` StateMinerPower func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*apitypes.MinerPower, error) `perm:"read"` StateMinerPreCommitDepositForPower func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, 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) (apitypes.MinerSectors, error) `perm:"read"` StateMinerSectorSize func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (abi.SectorSize, error) `perm:"read"` StateMinerSectors func(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) `perm:"read"` StateMinerWorkerAddress func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, 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) (chain.CirculatingSupply, error) `perm:"read"` StateVerifiedClientStatus func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) `perm:"read"` } }
func (*IMinerStateStruct) StateCirculatingSupply ¶ added in v0.9.7
func (s *IMinerStateStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error)
func (*IMinerStateStruct) StateDealProviderCollateralBounds ¶ added in v1.1.0
func (s *IMinerStateStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (apitypes.DealCollateralBounds, error)
func (*IMinerStateStruct) StateListActors ¶ added in v0.9.7
func (*IMinerStateStruct) StateListMiners ¶ added in v0.9.7
func (*IMinerStateStruct) StateLookupID ¶ added in v0.9.7
func (*IMinerStateStruct) StateMarketBalance ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (apitypes.MarketBalance, error)
func (*IMinerStateStruct) StateMarketDeals ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]types.MarketDeal, error)
func (*IMinerStateStruct) StateMarketStorageDeal ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*apitypes.MarketDeal, error)
func (*IMinerStateStruct) StateMinerActiveSectors ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*IMinerStateStruct) StateMinerAvailableBalance ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerDeadlines ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerFaults ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerInfo ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerInitialPledgeCollateral ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)
func (*IMinerStateStruct) StateMinerPartitions ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerPower ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*apitypes.MinerPower, error)
func (*IMinerStateStruct) StateMinerPreCommitDepositForPower ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)
func (*IMinerStateStruct) StateMinerProvingDeadline ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerRecoveries ¶ added in v0.9.7
func (*IMinerStateStruct) StateMinerSectorAllocated ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error)
func (*IMinerStateStruct) StateMinerSectorCount ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (apitypes.MinerSectors, error)
func (*IMinerStateStruct) StateMinerSectorSize ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerSectorSize(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (abi.SectorSize, error)
func (*IMinerStateStruct) StateMinerSectors ¶ added in v0.9.7
func (s *IMinerStateStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*IMinerStateStruct) StateMinerWorkerAddress ¶ added in v0.9.7
func (*IMinerStateStruct) StateSectorExpiration ¶ added in v0.9.7
func (s *IMinerStateStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error)
func (*IMinerStateStruct) StateSectorGetInfo ¶ added in v0.9.7
func (s *IMinerStateStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*IMinerStateStruct) StateSectorPartition ¶ added in v0.9.7
func (s *IMinerStateStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)
func (*IMinerStateStruct) StateSectorPreCommitInfo ¶ added in v0.9.7
func (s *IMinerStateStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (miner.SectorPreCommitOnChainInfo, error)
func (*IMinerStateStruct) StateVMCirculatingSupplyInternal ¶ added in v0.9.7
func (s *IMinerStateStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (chain.CirculatingSupply, error)
func (*IMinerStateStruct) StateVerifiedClientStatus ¶ added in v1.1.0
func (s *IMinerStateStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
type IMiningStruct ¶ added in v0.9.7
type IMiningStruct struct { Internal struct { MinerCreateBlock func(p0 context.Context, p1 *apitypes.BlockTemplate) (*types.BlockMsg, error) `perm:"read"` MinerGetBaseInfo func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*apitypes.MiningBaseInfo, error) `perm:"read"` } }
func (*IMiningStruct) MinerCreateBlock ¶ added in v0.9.7
func (s *IMiningStruct) MinerCreateBlock(p0 context.Context, p1 *apitypes.BlockTemplate) (*types.BlockMsg, error)
func (*IMiningStruct) MinerGetBaseInfo ¶ added in v0.9.7
func (s *IMiningStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*apitypes.MiningBaseInfo, error)
type IMultiSigStruct ¶ added in v0.9.7
type IMultiSigStruct struct { Internal struct { MsigAddApprove func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*apitypes.MessagePrototype, error) `perm:"read"` MsigAddCancel func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*apitypes.MessagePrototype, error) `perm:"read"` MsigAddPropose func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*apitypes.MessagePrototype, error) `perm:"read"` MsigApprove func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*apitypes.MessagePrototype, error) `perm:"read"` 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) (*apitypes.MessagePrototype, error) `perm:"read"` MsigCancel func(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*apitypes.MessagePrototype, error) `perm:"read"` MsigCreate func(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*apitypes.MessagePrototype, error) `perm:"read"` MsigGetVested func(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error) `perm:"read"` MsigPropose func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*apitypes.MessagePrototype, error) `perm:"read"` MsigRemoveSigner func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*apitypes.MessagePrototype, error) `perm:"read"` MsigSwapApprove func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*apitypes.MessagePrototype, error) `perm:"read"` MsigSwapCancel func(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*apitypes.MessagePrototype, error) `perm:"read"` MsigSwapPropose func(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*apitypes.MessagePrototype, error) `perm:"read"` } }
func (*IMultiSigStruct) MsigAddApprove ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigAddCancel ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigAddPropose ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigApprove ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigApproveTxnHash ¶ added in v0.9.7
func (*IMultiSigStruct) MsigCancel ¶ added in v0.9.7
func (*IMultiSigStruct) MsigCreate ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigGetVested ¶ added in v0.9.7
func (*IMultiSigStruct) MsigPropose ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigRemoveSigner ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigSwapApprove ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigSwapCancel ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*apitypes.MessagePrototype, error)
func (*IMultiSigStruct) MsigSwapPropose ¶ added in v0.9.7
func (s *IMultiSigStruct) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*apitypes.MessagePrototype, error)
type INetworkStruct ¶ added in v0.9.7
type INetworkStruct struct { Internal struct { NetAddrsListen func(p0 context.Context) (peer.AddrInfo, error) `perm:"read"` NetworkConnect func(p0 context.Context, p1 []string) (<-chan net.ConnectionResult, error) `perm:"read"` NetworkFindPeer func(p0 context.Context, p1 peer.ID) (peer.AddrInfo, error) `perm:"read"` NetworkFindProvidersAsync func(p0 context.Context, p1 cid.Cid, p2 int) <-chan peer.AddrInfo `perm:"read"` NetworkGetBandwidthStats func(p0 context.Context) metrics.Stats `perm:"admin"` NetworkGetClosestPeers func(p0 context.Context, p1 string) (<-chan peer.ID, error) `perm:"read"` NetworkGetPeerAddresses func(p0 context.Context) []ma.Multiaddr `perm:"admin"` NetworkGetPeerID func(p0 context.Context) peer.ID `perm:"admin"` NetworkPeers func(p0 context.Context, p1 bool, p2 bool, p3 bool) (*net.SwarmConnInfos, error) `perm:"read"` Version func(p0 context.Context) (apitypes.Version, error) `perm:"read"` } }
func (*INetworkStruct) NetAddrsListen ¶ added in v0.9.7
func (*INetworkStruct) NetworkConnect ¶ added in v0.9.7
func (s *INetworkStruct) NetworkConnect(p0 context.Context, p1 []string) (<-chan net.ConnectionResult, error)
func (*INetworkStruct) NetworkFindPeer ¶ added in v0.9.7
func (*INetworkStruct) NetworkFindProvidersAsync ¶ added in v0.9.7
func (*INetworkStruct) NetworkGetBandwidthStats ¶ added in v0.9.7
func (s *INetworkStruct) NetworkGetBandwidthStats(p0 context.Context) metrics.Stats
func (*INetworkStruct) NetworkGetClosestPeers ¶ added in v0.9.7
func (*INetworkStruct) NetworkGetPeerAddresses ¶ added in v0.9.7
func (s *INetworkStruct) NetworkGetPeerAddresses(p0 context.Context) []ma.Multiaddr
func (*INetworkStruct) NetworkGetPeerID ¶ added in v0.9.7
func (s *INetworkStruct) NetworkGetPeerID(p0 context.Context) peer.ID
func (*INetworkStruct) NetworkPeers ¶ added in v0.9.7
func (s *INetworkStruct) NetworkPeers(p0 context.Context, p1 bool, p2 bool, p3 bool) (*net.SwarmConnInfos, error)
type IPaychanStruct ¶ added in v0.9.7
type IPaychanStruct struct { Internal struct { PaychAllocateLane func(p0 context.Context, p1 address.Address) (uint64, error) `perm:"read"` PaychAvailableFunds func(p0 context.Context, p1 address.Address) (*paychmgr.ChannelAvailableFunds, error) `perm:"read"` PaychAvailableFundsByFromTo func(p0 context.Context, p1 address.Address, p2 address.Address) (*paychmgr.ChannelAvailableFunds, error) `perm:"read"` PaychCollect func(p0 context.Context, p1 address.Address) (cid.Cid, error) `perm:"read"` PaychGet func(p0 context.Context, p1 address.Address, p2 address.Address, p3 big.Int) (*apitypes.ChannelInfo, error) `perm:"read"` PaychGetWaitReady func(p0 context.Context, p1 cid.Cid) (address.Address, error) `perm:"read"` PaychList func(p0 context.Context) ([]address.Address, error) `perm:"read"` PaychNewPayment func(p0 context.Context, p1 address.Address, p2 address.Address, p3 []apitypes.VoucherSpec) (*apitypes.PaymentInfo, error) `perm:"read"` PaychSettle func(p0 context.Context, p1 address.Address) (cid.Cid, error) `perm:"read"` PaychStatus func(p0 context.Context, p1 address.Address) (*types.PaychStatus, error) `perm:"read"` PaychVoucherAdd func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 big.Int) (big.Int, error) `perm:"read"` 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 big.Int, p3 uint64) (*paychmgr.VoucherCreateResult, error) `perm:"read"` PaychVoucherList func(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error) `perm:"read"` PaychVoucherSubmit func(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error) `perm:"read"` } }
func (*IPaychanStruct) PaychAllocateLane ¶ added in v0.9.7
func (s *IPaychanStruct) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error)
func (*IPaychanStruct) PaychAvailableFunds ¶ added in v0.9.7
func (s *IPaychanStruct) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*paychmgr.ChannelAvailableFunds, error)
func (*IPaychanStruct) PaychAvailableFundsByFromTo ¶ added in v0.9.7
func (s *IPaychanStruct) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*paychmgr.ChannelAvailableFunds, error)
func (*IPaychanStruct) PaychCollect ¶ added in v0.9.7
func (s *IPaychanStruct) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error)
func (*IPaychanStruct) PaychGet ¶ added in v0.9.7
func (s *IPaychanStruct) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 big.Int) (*apitypes.ChannelInfo, error)
func (*IPaychanStruct) PaychGetWaitReady ¶ added in v0.9.7
func (s *IPaychanStruct) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error)
func (*IPaychanStruct) PaychList ¶ added in v0.9.7
func (s *IPaychanStruct) PaychList(p0 context.Context) ([]address.Address, error)
func (*IPaychanStruct) PaychNewPayment ¶ added in v0.9.7
func (s *IPaychanStruct) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []apitypes.VoucherSpec) (*apitypes.PaymentInfo, error)
func (*IPaychanStruct) PaychSettle ¶ added in v0.9.7
func (s *IPaychanStruct) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error)
func (*IPaychanStruct) PaychStatus ¶ added in v0.9.7
func (s *IPaychanStruct) PaychStatus(p0 context.Context, p1 address.Address) (*types.PaychStatus, error)
func (*IPaychanStruct) PaychVoucherAdd ¶ added in v0.9.7
func (*IPaychanStruct) PaychVoucherCheckSpendable ¶ added in v0.9.7
func (s *IPaychanStruct) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error)
func (*IPaychanStruct) PaychVoucherCheckValid ¶ added in v0.9.7
func (s *IPaychanStruct) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error
func (*IPaychanStruct) PaychVoucherCreate ¶ added in v0.9.7
func (s *IPaychanStruct) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 big.Int, p3 uint64) (*paychmgr.VoucherCreateResult, error)
func (*IPaychanStruct) PaychVoucherList ¶ added in v0.9.7
func (s *IPaychanStruct) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error)
func (*IPaychanStruct) PaychVoucherSubmit ¶ added in v0.9.7
func (s *IPaychanStruct) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error)
type ISyncerStruct ¶ added in v0.9.7
type ISyncerStruct struct { Internal struct { ChainSyncHandleNewTipSet func(p0 context.Context, p1 *types.ChainInfo) error `perm:"read"` ChainTipSetWeight func(p0 context.Context, p1 types.TipSetKey) (big.Int, error) `perm:"read"` Concurrent func(p0 context.Context) int64 `perm:"read"` SetConcurrent func(p0 context.Context, p1 int64) error `perm:"read"` StateCall func(p0 context.Context, p1 *types.UnsignedMessage, p2 types.TipSetKey) (*types.InvocResult, error) `perm:"read"` SyncState func(p0 context.Context) (*apitypes.SyncState, error) `perm:"read"` SyncSubmitBlock func(p0 context.Context, p1 *types.BlockMsg) error `perm:"read"` SyncerTracker func(p0 context.Context) *syncTypes.TargetTracker `perm:"read"` } }
func (*ISyncerStruct) ChainSyncHandleNewTipSet ¶ added in v0.9.7
func (*ISyncerStruct) ChainTipSetWeight ¶ added in v0.9.7
func (*ISyncerStruct) Concurrent ¶ added in v0.9.7
func (s *ISyncerStruct) Concurrent(p0 context.Context) int64
func (*ISyncerStruct) SetConcurrent ¶ added in v0.9.7
func (s *ISyncerStruct) SetConcurrent(p0 context.Context, p1 int64) error
func (*ISyncerStruct) StateCall ¶ added in v0.9.7
func (s *ISyncerStruct) StateCall(p0 context.Context, p1 *types.UnsignedMessage, p2 types.TipSetKey) (*types.InvocResult, error)
func (*ISyncerStruct) SyncSubmitBlock ¶ added in v0.9.7
func (*ISyncerStruct) SyncerTracker ¶ added in v0.9.7
func (s *ISyncerStruct) SyncerTracker(p0 context.Context) *syncTypes.TargetTracker
type IWalletStruct ¶ added in v0.9.7
type IWalletStruct struct { Internal struct { HasPassword func(p0 context.Context) bool `perm:"admin"` LockWallet func(p0 context.Context) error `perm:"admin"` SetPassword func(p0 context.Context, p1 []byte) error `perm:"admin"` UnLockWallet func(p0 context.Context, p1 []byte) error `perm:"admin"` WalletAddresses func(p0 context.Context) []address.Address `perm:"admin"` WalletBalance func(p0 context.Context, p1 address.Address) (abi.TokenAmount, error) `perm:"read"` WalletDefaultAddress func(p0 context.Context) (address.Address, error) `perm:"write"` WalletExport func(p0 address.Address, p1 string) (*crypto.KeyInfo, error) `perm:"admin"` WalletHas func(p0 context.Context, p1 address.Address) (bool, error) `perm:"write"` WalletImport func(p0 *crypto.KeyInfo) (address.Address, error) `perm:"admin"` WalletNewAddress func(p0 address.Protocol) (address.Address, error) `perm:"write"` WalletSetDefault func(p0 context.Context, p1 address.Address) error `perm:"admin"` WalletSign func(p0 context.Context, p1 address.Address, p2 []byte, p3 wallet.MsgMeta) (*crypto.Signature, error) `perm:"sign"` WalletSignMessage func(p0 context.Context, p1 address.Address, p2 *types.UnsignedMessage) (*types.SignedMessage, error) `perm:"sign"` WalletState func(p0 context.Context) int `perm:"admin"` } }
func (*IWalletStruct) HasPassword ¶ added in v0.9.7
func (s *IWalletStruct) HasPassword(p0 context.Context) bool
func (*IWalletStruct) LockWallet ¶ added in v0.9.7
func (s *IWalletStruct) LockWallet(p0 context.Context) error
func (*IWalletStruct) SetPassword ¶ added in v0.9.7
func (s *IWalletStruct) SetPassword(p0 context.Context, p1 []byte) error
func (*IWalletStruct) UnLockWallet ¶ added in v0.9.7
func (s *IWalletStruct) UnLockWallet(p0 context.Context, p1 []byte) error
func (*IWalletStruct) WalletAddresses ¶ added in v0.9.7
func (s *IWalletStruct) WalletAddresses(p0 context.Context) []address.Address
func (*IWalletStruct) WalletBalance ¶ added in v0.9.7
func (s *IWalletStruct) WalletBalance(p0 context.Context, p1 address.Address) (abi.TokenAmount, error)
func (*IWalletStruct) WalletDefaultAddress ¶ added in v0.9.7
func (s *IWalletStruct) WalletDefaultAddress(p0 context.Context) (address.Address, error)
func (*IWalletStruct) WalletExport ¶ added in v0.9.7
func (s *IWalletStruct) WalletExport(p0 address.Address, p1 string) (*crypto.KeyInfo, error)
func (*IWalletStruct) WalletHas ¶ added in v0.9.7
func (s *IWalletStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*IWalletStruct) WalletImport ¶ added in v0.9.7
func (s *IWalletStruct) WalletImport(p0 *crypto.KeyInfo) (address.Address, error)
func (*IWalletStruct) WalletNewAddress ¶ added in v0.9.7
func (s *IWalletStruct) WalletNewAddress(p0 address.Protocol) (address.Address, error)
func (*IWalletStruct) WalletSetDefault ¶ added in v0.9.7
func (s *IWalletStruct) WalletSetDefault(p0 context.Context, p1 address.Address) error
func (*IWalletStruct) WalletSign ¶ added in v0.9.7
func (*IWalletStruct) WalletSignMessage ¶ added in v0.9.7
func (s *IWalletStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.UnsignedMessage) (*types.SignedMessage, error)
func (*IWalletStruct) WalletState ¶ added in v0.9.7
func (s *IWalletStruct) WalletState(p0 context.Context) int
Directories ¶
Path | Synopsis |
---|---|
in api interface, you can add comment tags to the function Note: Rule[perm:admin,ignore:true] perm: read,write,sign,admin jwt token permission check ignore: bool the func in the api whether needs to be added to the client for external exposure TODO: 1.
|
in api interface, you can add comment tags to the function Note: Rule[perm:admin,ignore:true] perm: read,write,sign,admin jwt token permission check ignore: bool the func in the api whether needs to be added to the client for external exposure TODO: 1. |
Click to show internal directories.
Click to hide internal directories.