Documentation
¶
Index ¶
- Variables
- func GetInternalStructs(in interface{}) []interface{}
- type Chain
- type ChainStruct
- type Curio
- type CurioChainRPC
- type CurioChainRPCMethods
- type CurioChainRPCStruct
- func (s *CurioChainRPCStruct) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
- func (s *CurioChainRPCStruct) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
- func (s *CurioChainRPCStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)
- func (s *CurioChainRPCStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *CurioChainRPCStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *CurioChainRPCStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *CurioChainRPCStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *CurioChainRPCStruct) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *CurioChainRPCStruct) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
- func (s *CurioChainRPCStruct) ChainPutObj(p0 context.Context, p1 blocks.Block) error
- func (s *CurioChainRPCStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *CurioChainRPCStruct) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStruct) GasEstimateFeeCap(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (types.BigInt, error)
- func (s *CurioChainRPCStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec, ...) (*types.Message, error)
- func (s *CurioChainRPCStruct) MarketAddBalance(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *CurioChainRPCStruct) MinerCreateBlock(p0 context.Context, p1 *api.BlockTemplate) (*types.BlockMsg, error)
- func (s *CurioChainRPCStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*api.MiningBaseInfo, error)
- func (s *CurioChainRPCStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *CurioChainRPCStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *CurioChainRPCStruct) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec) (*types.SignedMessage, error)
- func (s *CurioChainRPCStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
- func (s *CurioChainRPCStruct) Session(p0 context.Context) (uuid.UUID, error)
- func (s *CurioChainRPCStruct) Shutdown(p0 context.Context) error
- func (s *CurioChainRPCStruct) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *CurioChainRPCStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*api.InvocResult, error)
- func (s *CurioChainRPCStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (big.Int, error)
- func (s *CurioChainRPCStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (api.DealCollateralBounds, error)
- func (s *CurioChainRPCStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *CurioChainRPCStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, ...) (*verifregtypes.Allocation, error)
- func (s *CurioChainRPCStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
- func (s *CurioChainRPCStruct) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifregtypes.AllocationId, error)
- func (s *CurioChainRPCStruct) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
- func (s *CurioChainRPCStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *CurioChainRPCStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *CurioChainRPCStruct) StateListMessages(p0 context.Context, p1 *api.MessageMatch, p2 types.TipSetKey, ...) ([]cid.Cid, error)
- func (s *CurioChainRPCStruct) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *CurioChainRPCStruct) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *CurioChainRPCStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MarketBalance, error)
- func (s *CurioChainRPCStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*api.MarketDeal, error)
- func (s *CurioChainRPCStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
- func (s *CurioChainRPCStruct) StateMinerAllocated(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error)
- func (s *CurioChainRPCStruct) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStruct) StateMinerCreationDeposit(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error)
- func (s *CurioChainRPCStruct) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *CurioChainRPCStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerInfo, error)
- func (s *CurioChainRPCStruct) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, ...) (types.BigInt, error)
- func (s *CurioChainRPCStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error)
- func (s *CurioChainRPCStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
- func (s *CurioChainRPCStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (s *CurioChainRPCStruct) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *CurioChainRPCStruct) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *CurioChainRPCStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
- func (s *CurioChainRPCStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, ...) ([]*miner.SectorOnChainInfo, error)
- func (s *CurioChainRPCStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *CurioChainRPCStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (network.Version, error)
- func (s *CurioChainRPCStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
- func (s *CurioChainRPCStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error)
- func (s *CurioChainRPCStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *CurioChainRPCStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorLocation, error)
- func (s *CurioChainRPCStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- func (s *CurioChainRPCStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
- func (s *CurioChainRPCStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *CurioChainRPCStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error)
- func (s *CurioChainRPCStruct) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error
- func (s *CurioChainRPCStruct) Version(p0 context.Context) (api.APIVersion, error)
- func (s *CurioChainRPCStruct) WalletBalance(p0 context.Context, p1 address.Address) (big.Int, error)
- func (s *CurioChainRPCStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *CurioChainRPCStruct) WalletSign(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error)
- func (s *CurioChainRPCStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
- type CurioChainRPCStub
- func (s *CurioChainRPCStub) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
- func (s *CurioChainRPCStub) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
- func (s *CurioChainRPCStub) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error)
- func (s *CurioChainRPCStub) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error)
- func (s *CurioChainRPCStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *CurioChainRPCStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
- func (s *CurioChainRPCStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
- func (s *CurioChainRPCStub) ChainHead(p0 context.Context) (*types.TipSet, error)
- func (s *CurioChainRPCStub) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
- func (s *CurioChainRPCStub) ChainPutObj(p0 context.Context, p1 blocks.Block) error
- func (s *CurioChainRPCStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
- func (s *CurioChainRPCStub) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStub) GasEstimateFeeCap(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStub) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, ...) (types.BigInt, error)
- func (s *CurioChainRPCStub) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec, ...) (*types.Message, error)
- func (s *CurioChainRPCStub) MarketAddBalance(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error)
- func (s *CurioChainRPCStub) MinerCreateBlock(p0 context.Context, p1 *api.BlockTemplate) (*types.BlockMsg, error)
- func (s *CurioChainRPCStub) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*api.MiningBaseInfo, error)
- func (s *CurioChainRPCStub) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
- func (s *CurioChainRPCStub) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
- func (s *CurioChainRPCStub) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec) (*types.SignedMessage, error)
- func (s *CurioChainRPCStub) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
- func (s *CurioChainRPCStub) Session(p0 context.Context) (uuid.UUID, error)
- func (s *CurioChainRPCStub) Shutdown(p0 context.Context) error
- func (s *CurioChainRPCStub) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *CurioChainRPCStub) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*api.InvocResult, error)
- func (s *CurioChainRPCStub) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (big.Int, error)
- func (s *CurioChainRPCStub) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (api.DealCollateralBounds, error)
- func (s *CurioChainRPCStub) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error)
- func (s *CurioChainRPCStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, ...) (*verifregtypes.Allocation, error)
- func (s *CurioChainRPCStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
- func (s *CurioChainRPCStub) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifregtypes.AllocationId, error)
- func (s *CurioChainRPCStub) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
- func (s *CurioChainRPCStub) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *CurioChainRPCStub) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (s *CurioChainRPCStub) StateListMessages(p0 context.Context, p1 *api.MessageMatch, p2 types.TipSetKey, ...) ([]cid.Cid, error)
- func (s *CurioChainRPCStub) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error)
- func (s *CurioChainRPCStub) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error)
- func (s *CurioChainRPCStub) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MarketBalance, error)
- func (s *CurioChainRPCStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*api.MarketDeal, error)
- func (s *CurioChainRPCStub) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
- func (s *CurioChainRPCStub) StateMinerAllocated(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error)
- func (s *CurioChainRPCStub) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStub) StateMinerCreationDeposit(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error)
- func (s *CurioChainRPCStub) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error)
- func (s *CurioChainRPCStub) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *CurioChainRPCStub) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerInfo, error)
- func (s *CurioChainRPCStub) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, ...) (types.BigInt, error)
- func (s *CurioChainRPCStub) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error)
- func (s *CurioChainRPCStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
- func (s *CurioChainRPCStub) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (s *CurioChainRPCStub) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error)
- func (s *CurioChainRPCStub) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error)
- func (s *CurioChainRPCStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
- func (s *CurioChainRPCStub) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, ...) ([]*miner.SectorOnChainInfo, error)
- func (s *CurioChainRPCStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
- func (s *CurioChainRPCStub) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (network.Version, error)
- func (s *CurioChainRPCStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
- func (s *CurioChainRPCStub) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error)
- func (s *CurioChainRPCStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (s *CurioChainRPCStub) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorLocation, error)
- func (s *CurioChainRPCStub) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- func (s *CurioChainRPCStub) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
- func (s *CurioChainRPCStub) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
- func (s *CurioChainRPCStub) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error)
- func (s *CurioChainRPCStub) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error
- func (s *CurioChainRPCStub) Version(p0 context.Context) (api.APIVersion, error)
- func (s *CurioChainRPCStub) WalletBalance(p0 context.Context, p1 address.Address) (big.Int, error)
- func (s *CurioChainRPCStub) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
- func (s *CurioChainRPCStub) WalletSign(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error)
- func (s *CurioChainRPCStub) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
- type CurioMethods
- type CurioStruct
- func (s *CurioStruct) AllocatePieceToSector(p0 context.Context, p1 address.Address, p2 lpiece.PieceDealInfo, p3 int64, ...) (api.SectorOffset, error)
- func (s *CurioStruct) Cordon(p0 context.Context) error
- func (s *CurioStruct) IndexSamples(p0 context.Context, p1 cid.Cid) ([]multihash.Multihash, error)
- func (s *CurioStruct) Info(p0 context.Context) (*ltypes.NodeInfo, error)
- func (s *CurioStruct) LogList(p0 context.Context) ([]string, error)
- func (s *CurioStruct) LogSetLevel(p0 context.Context, p1 string, p2 string) error
- func (s *CurioStruct) Shutdown(p0 context.Context) error
- func (s *CurioStruct) StorageAddLocal(p0 context.Context, p1 string) error
- func (s *CurioStruct) StorageDetachLocal(p0 context.Context, p1 string) error
- func (s *CurioStruct) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) ([]storiface.SectorStorageInfo, error)
- func (s *CurioStruct) StorageGenerateVanillaProof(p0 context.Context, p1 address.Address, p2 abi.SectorNumber) ([]byte, error)
- func (s *CurioStruct) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
- func (s *CurioStruct) StorageInit(p0 context.Context, p1 string, p2 storiface.LocalStorageMeta) error
- func (s *CurioStruct) StorageList(p0 context.Context) (map[storiface.ID][]storiface.Decl, error)
- func (s *CurioStruct) StorageLocal(p0 context.Context) (map[storiface.ID]string, error)
- func (s *CurioStruct) StorageRedeclare(p0 context.Context, p1 *storiface.ID, p2 bool) error
- func (s *CurioStruct) StorageStat(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error)
- func (s *CurioStruct) Uncordon(p0 context.Context) error
- func (s *CurioStruct) Version(p0 context.Context) ([]int, error)
- type CurioStub
- func (s *CurioStub) AllocatePieceToSector(p0 context.Context, p1 address.Address, p2 lpiece.PieceDealInfo, p3 int64, ...) (api.SectorOffset, error)
- func (s *CurioStub) Cordon(p0 context.Context) error
- func (s *CurioStub) IndexSamples(p0 context.Context, p1 cid.Cid) ([]multihash.Multihash, error)
- func (s *CurioStub) Info(p0 context.Context) (*ltypes.NodeInfo, error)
- func (s *CurioStub) LogList(p0 context.Context) ([]string, error)
- func (s *CurioStub) LogSetLevel(p0 context.Context, p1 string, p2 string) error
- func (s *CurioStub) Shutdown(p0 context.Context) error
- func (s *CurioStub) StorageAddLocal(p0 context.Context, p1 string) error
- func (s *CurioStub) StorageDetachLocal(p0 context.Context, p1 string) error
- func (s *CurioStub) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, ...) ([]storiface.SectorStorageInfo, error)
- func (s *CurioStub) StorageGenerateVanillaProof(p0 context.Context, p1 address.Address, p2 abi.SectorNumber) ([]byte, error)
- func (s *CurioStub) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
- func (s *CurioStub) StorageInit(p0 context.Context, p1 string, p2 storiface.LocalStorageMeta) error
- func (s *CurioStub) StorageList(p0 context.Context) (map[storiface.ID][]storiface.Decl, error)
- func (s *CurioStub) StorageLocal(p0 context.Context) (map[storiface.ID]string, error)
- func (s *CurioStub) StorageRedeclare(p0 context.Context, p1 *storiface.ID, p2 bool) error
- func (s *CurioStub) StorageStat(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error)
- func (s *CurioStub) Uncordon(p0 context.Context) error
- func (s *CurioStub) Version(p0 context.Context) ([]int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotSupported = xerrors.New("method not supported")
Functions ¶
func GetInternalStructs ¶
func GetInternalStructs(in interface{}) []interface{}
GetInternalStructs extracts all pointers to 'Internal' sub-structs from the provided pointer to a proxy struct
Types ¶
type ChainStruct ¶ added in v1.22.1
type ChainStruct = api.FullNodeStruct
type Curio ¶
type Curio interface {
Version(context.Context) ([]int, error) //perm:admin
Shutdown(context.Context) error //perm:admin
Cordon(context.Context) error //perm:admin
Uncordon(context.Context) error //perm:admin
Info(ctx context.Context) (*ltypes.NodeInfo, error) //perm:read
IndexSamples(ctx context.Context, pcid cid.Cid) ([]multihash.Multihash, error) //perm:admin
AllocatePieceToSector(ctx context.Context, maddr address.Address, piece lpiece.PieceDealInfo, rawSize int64, source url.URL, header http.Header) (api.SectorOffset, error) //perm:write
StorageInit(ctx context.Context, path string, opts storiface.LocalStorageMeta) error //perm:admin
StorageAddLocal(ctx context.Context, path string) error //perm:admin
StorageDetachLocal(ctx context.Context, path string) error //perm:admin
StorageList(ctx context.Context) (map[storiface.ID][]storiface.Decl, 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
StorageInfo(context.Context, storiface.ID) (storiface.StorageInfo, error) //perm:admin
StorageFindSector(ctx context.Context, sector abi.SectorID, ft storiface.SectorFileType, ssize abi.SectorSize, allowFetch bool) ([]storiface.SectorStorageInfo, error) //perm:admin
StorageGenerateVanillaProof(ctx context.Context, maddr address.Address, sector abi.SectorNumber) ([]byte, error) //perm:admin
StorageRedeclare(ctx context.Context, filterId *storiface.ID, dropMissing bool) error //perm:admin
LogList(ctx context.Context) ([]string, error) //perm:read
LogSetLevel(ctx context.Context, subsystem, level string) error //perm:admin
}
type CurioChainRPC ¶ added in v1.22.1
type CurioChainRPC interface {
// ...
AuthVerify(ctx context.Context, token string) ([]auth.Permission, error) //perm:read
AuthNew(ctx context.Context, perms []auth.Permission) ([]byte, error) //perm:admin
Version(context.Context) (api.APIVersion, error) //perm:read
Shutdown(context.Context) error //perm:admin
Session(context.Context) (uuid.UUID, error) //perm:read
// Chain
ChainHead(context.Context) (*types.TipSet, error)
ChainNotify(context.Context) (<-chan []*api.HeadChange, error)
StateMinerInfo(context.Context, address.Address, types.TipSetKey) (api.MinerInfo, error)
StateWaitMsg(ctx context.Context, cid cid.Cid, confidence uint64, limit abi.ChainEpoch, allowReplaced bool) (*api.MsgLookup, error) //perm:read
StateMinerAvailableBalance(context.Context, address.Address, types.TipSetKey) (types.BigInt, error) //perm:read
StateNetworkVersion(context.Context, types.TipSetKey) (network.Version, error)
StateAccountKey(ctx context.Context, addr address.Address, tsk types.TipSetKey) (address.Address, error)
GasEstimateMessageGas(ctx context.Context, msg *types.Message, spec *api.MessageSendSpec, tsk types.TipSetKey) (*types.Message, error)
WalletBalance(ctx context.Context, addr address.Address) (big.Int, error)
MpoolGetNonce(context.Context, address.Address) (uint64, error)
MpoolPush(context.Context, *types.SignedMessage) (cid.Cid, error)
WalletSignMessage(context.Context, address.Address, *types.Message) (*types.SignedMessage, error)
ChainGetTipSet(context.Context, types.TipSetKey) (*types.TipSet, error)
StateMinerProvingDeadline(context.Context, address.Address, types.TipSetKey) (*dline.Info, error)
ChainGetTipSetAfterHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error)
StateMinerPartitions(context.Context, address.Address, uint64, types.TipSetKey) ([]api.Partition, error)
StateGetRandomnessFromBeacon(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk types.TipSetKey) (abi.Randomness, error)
StateMinerSectors(context.Context, address.Address, *bitfield.BitField, types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
WalletHas(context.Context, address.Address) (bool, error)
StateLookupID(context.Context, address.Address, types.TipSetKey) (address.Address, error)
StateGetRandomnessFromTickets(ctx context.Context, personalization crypto.DomainSeparationTag, randEpoch abi.ChainEpoch, entropy []byte, tsk types.TipSetKey) (abi.Randomness, error)
GasEstimateFeeCap(context.Context, *types.Message, int64, types.TipSetKey) (types.BigInt, error)
GasEstimateGasPremium(_ context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk types.TipSetKey) (types.BigInt, error)
ChainTipSetWeight(context.Context, types.TipSetKey) (types.BigInt, error)
StateGetBeaconEntry(context.Context, abi.ChainEpoch) (*types.BeaconEntry, error)
SyncSubmitBlock(context.Context, *types.BlockMsg) error
MinerGetBaseInfo(context.Context, address.Address, abi.ChainEpoch, types.TipSetKey) (*api.MiningBaseInfo, error)
MinerCreateBlock(context.Context, *api.BlockTemplate) (*types.BlockMsg, error)
MpoolSelect(context.Context, types.TipSetKey, float64) ([]*types.SignedMessage, error)
WalletSign(context.Context, address.Address, []byte) (*crypto.Signature, error)
StateSectorPreCommitInfo(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
StateSectorGetInfo(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tsk types.TipSetKey) (*miner.SectorOnChainInfo, error)
StateMinerPreCommitDepositForPower(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (big.Int, error)
StateMinerInitialPledgeForSector(ctx context.Context, sectorDuration abi.ChainEpoch, sectorSize abi.SectorSize, verifiedSize uint64, tsk types.TipSetKey) (types.BigInt, error)
StateMinerPower(context.Context, address.Address, types.TipSetKey) (*api.MinerPower, error) //perm:read
StateMinerDeadlines(context.Context, address.Address, types.TipSetKey) ([]api.Deadline, error) //perm:read
StateGetAllocation(ctx context.Context, clientAddr address.Address, allocationId verifregtypes.AllocationId, tsk types.TipSetKey) (*verifregtypes.Allocation, error)
StateGetAllocationIdForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (verifregtypes.AllocationId, error)
StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error)
ChainGetTipSetByHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error)
StateSearchMsg(ctx context.Context, from types.TipSetKey, msg cid.Cid, limit abi.ChainEpoch, allowReplaced bool) (*api.MsgLookup, error)
ChainGetMessage(ctx context.Context, mc cid.Cid) (*types.Message, error)
StateMinerAllocated(ctx context.Context, a address.Address, key types.TipSetKey) (*bitfield.BitField, error)
StateGetAllocationForPendingDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*verifregtypes.Allocation, error)
ChainReadObj(context.Context, cid.Cid) ([]byte, error)
ChainHasObj(context.Context, cid.Cid) (bool, error)
ChainPutObj(context.Context, blocks.Block) error
MpoolPushMessage(ctx context.Context, msg *types.Message, spec *api.MessageSendSpec) (*types.SignedMessage, error)
StateMinerActiveSectors(ctx context.Context, maddr address.Address, tsk types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tsk types.TipSetKey) (*miner.SectorLocation, error)
StateDealProviderCollateralBounds(context.Context, abi.PaddedPieceSize, bool, types.TipSetKey) (api.DealCollateralBounds, error)
StateListMessages(context.Context, *api.MessageMatch, types.TipSetKey, abi.ChainEpoch) ([]cid.Cid, error)
StateListMiners(context.Context, types.TipSetKey) ([]address.Address, error)
StateMarketBalance(context.Context, address.Address, types.TipSetKey) (api.MarketBalance, error)
StateMarketStorageDeal(context.Context, abi.DealID, types.TipSetKey) (*api.MarketDeal, error)
StateMinerFaults(context.Context, address.Address, types.TipSetKey) (bitfield.BitField, error)
StateMinerRecoveries(context.Context, address.Address, types.TipSetKey) (bitfield.BitField, error)
StateNetworkName(context.Context) (dtypes.NetworkName, error)
StateReadState(context.Context, address.Address, types.TipSetKey) (*api.ActorState, error)
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (api.CirculatingSupply, error)
StateVerifiedClientStatus(context.Context, address.Address, types.TipSetKey) (*abi.StoragePower, error)
StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (api.MinerSectors, error)
StateCirculatingSupply(context.Context, types.TipSetKey) (big.Int, error)
StateCall(context.Context, *types.Message, types.TipSetKey) (*api.InvocResult, error)
MarketAddBalance(ctx context.Context, wallet, addr address.Address, amt types.BigInt) (cid.Cid, error)
StateMinerCreationDeposit(ctx context.Context, tsk types.TipSetKey) (types.BigInt, error)
}
CurioChainRPC is a subset of the Filecoin API that is supported by Forest. Complete list is available at github.com/orgs/ChainSafe/projects/29/views/1
type CurioChainRPCMethods ¶ added in v1.22.1
type CurioChainRPCMethods 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"`
ChainGetMessage func(p0 context.Context, p1 cid.Cid) (*types.Message, 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 []*api.HeadChange, error) ``
ChainPutObj func(p0 context.Context, p1 blocks.Block) error ``
ChainReadObj func(p0 context.Context, p1 cid.Cid) ([]byte, error) ``
ChainTipSetWeight func(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error) ``
GasEstimateFeeCap func(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, 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 *api.MessageSendSpec, p3 types.TipSetKey) (*types.Message, error) ``
MarketAddBalance func(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) ``
MinerCreateBlock func(p0 context.Context, p1 *api.BlockTemplate) (*types.BlockMsg, error) ``
MinerGetBaseInfo func(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*api.MiningBaseInfo, error) ``
MpoolGetNonce func(p0 context.Context, p1 address.Address) (uint64, error) ``
MpoolPush func(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) ``
MpoolPushMessage func(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec) (*types.SignedMessage, error) ``
MpoolSelect func(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error) ``
Session func(p0 context.Context) (uuid.UUID, error) `perm:"read"`
Shutdown func(p0 context.Context) error `perm:"admin"`
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) (*api.InvocResult, error) ``
StateCirculatingSupply func(p0 context.Context, p1 types.TipSetKey) (big.Int, error) ``
StateDealProviderCollateralBounds func(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (api.DealCollateralBounds, 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) ``
StateGetAllocationIdForPendingDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifregtypes.AllocationId, error) ``
StateGetBeaconEntry func(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error) ``
StateGetRandomnessFromBeacon func(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) ``
StateGetRandomnessFromTickets func(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) ``
StateListMessages func(p0 context.Context, p1 *api.MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, 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) (api.MarketBalance, error) ``
StateMarketStorageDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*api.MarketDeal, error) ``
StateMinerActiveSectors func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) ``
StateMinerAllocated func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error) ``
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) ``
StateMinerDeadlines func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]api.Deadline, error) `perm:"read"`
StateMinerFaults func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error) ``
StateMinerInfo func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerInfo, error) ``
StateMinerInitialPledgeForSector func(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, p4 types.TipSetKey) (types.BigInt, error) ``
StateMinerPartitions func(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]api.Partition, error) ``
StateMinerPower func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error) `perm:"read"`
StateMinerPreCommitDepositForPower func(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error) ``
StateMinerProvingDeadline func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error) ``
StateMinerRecoveries func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error) ``
StateMinerSectorCount func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error) ``
StateMinerSectors func(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) ``
StateNetworkName func(p0 context.Context) (dtypes.NetworkName, error) ``
StateNetworkVersion func(p0 context.Context, p1 types.TipSetKey) (network.Version, error) ``
StateReadState func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error) ``
StateSearchMsg func(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error) ``
StateSectorGetInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error) ``
StateSectorPartition func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error) ``
StateSectorPreCommitInfo func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) ``
StateVMCirculatingSupplyInternal func(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error) ``
StateVerifiedClientStatus 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) (*api.MsgLookup, error) `perm:"read"`
SyncSubmitBlock func(p0 context.Context, p1 *types.BlockMsg) error ``
Version func(p0 context.Context) (api.APIVersion, error) `perm:"read"`
WalletBalance func(p0 context.Context, p1 address.Address) (big.Int, error) ``
WalletHas func(p0 context.Context, p1 address.Address) (bool, error) ``
WalletSign func(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error) ``
WalletSignMessage func(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error) ``
}
type CurioChainRPCStruct ¶ added in v1.22.1
type CurioChainRPCStruct struct {
Internal CurioChainRPCMethods
}
func (*CurioChainRPCStruct) AuthNew ¶ added in v1.23.0
func (s *CurioChainRPCStruct) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
func (*CurioChainRPCStruct) AuthVerify ¶ added in v1.23.0
func (s *CurioChainRPCStruct) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
func (*CurioChainRPCStruct) ChainGetMessage ¶ added in v1.22.1
func (*CurioChainRPCStruct) ChainGetTipSet ¶ added in v1.22.1
func (*CurioChainRPCStruct) ChainGetTipSetAfterHeight ¶ added in v1.22.1
func (s *CurioChainRPCStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*CurioChainRPCStruct) ChainGetTipSetByHeight ¶ added in v1.22.1
func (s *CurioChainRPCStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*CurioChainRPCStruct) ChainHasObj ¶ added in v1.22.1
func (s *CurioChainRPCStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*CurioChainRPCStruct) ChainNotify ¶ added in v1.22.1
func (s *CurioChainRPCStruct) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
func (*CurioChainRPCStruct) ChainPutObj ¶ added in v1.22.1
func (*CurioChainRPCStruct) ChainReadObj ¶ added in v1.22.1
func (s *CurioChainRPCStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*CurioChainRPCStruct) ChainTipSetWeight ¶ added in v1.22.1
func (*CurioChainRPCStruct) GasEstimateFeeCap ¶ added in v1.22.1
func (*CurioChainRPCStruct) GasEstimateGasPremium ¶ added in v1.22.1
func (*CurioChainRPCStruct) GasEstimateMessageGas ¶ added in v1.22.1
func (*CurioChainRPCStruct) MarketAddBalance ¶ added in v1.24.3
func (*CurioChainRPCStruct) MinerCreateBlock ¶ added in v1.22.1
func (s *CurioChainRPCStruct) MinerCreateBlock(p0 context.Context, p1 *api.BlockTemplate) (*types.BlockMsg, error)
func (*CurioChainRPCStruct) MinerGetBaseInfo ¶ added in v1.22.1
func (s *CurioChainRPCStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*api.MiningBaseInfo, error)
func (*CurioChainRPCStruct) MpoolGetNonce ¶ added in v1.22.1
func (s *CurioChainRPCStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*CurioChainRPCStruct) MpoolPush ¶ added in v1.22.1
func (s *CurioChainRPCStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*CurioChainRPCStruct) MpoolPushMessage ¶ added in v1.22.1
func (s *CurioChainRPCStruct) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec) (*types.SignedMessage, error)
func (*CurioChainRPCStruct) MpoolSelect ¶ added in v1.22.1
func (s *CurioChainRPCStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
func (*CurioChainRPCStruct) Shutdown ¶ added in v1.23.0
func (s *CurioChainRPCStruct) Shutdown(p0 context.Context) error
func (*CurioChainRPCStruct) StateAccountKey ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateCall ¶ added in v1.24.3
func (s *CurioChainRPCStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*api.InvocResult, error)
func (*CurioChainRPCStruct) StateCirculatingSupply ¶ added in v1.23.0
func (*CurioChainRPCStruct) StateDealProviderCollateralBounds ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (api.DealCollateralBounds, error)
func (*CurioChainRPCStruct) StateGetActor ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateGetAllocation ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*CurioChainRPCStruct) StateGetAllocationForPendingDeal ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*CurioChainRPCStruct) StateGetAllocationIdForPendingDeal ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifregtypes.AllocationId, error)
func (*CurioChainRPCStruct) StateGetBeaconEntry ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
func (*CurioChainRPCStruct) StateGetRandomnessFromBeacon ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*CurioChainRPCStruct) StateGetRandomnessFromTickets ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*CurioChainRPCStruct) StateListMessages ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateListMessages(p0 context.Context, p1 *api.MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error)
func (*CurioChainRPCStruct) StateListMiners ¶ added in v1.23.0
func (*CurioChainRPCStruct) StateLookupID ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMarketBalance ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MarketBalance, error)
func (*CurioChainRPCStruct) StateMarketStorageDeal ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*api.MarketDeal, error)
func (*CurioChainRPCStruct) StateMinerActiveSectors ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*CurioChainRPCStruct) StateMinerAllocated ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMinerAvailableBalance ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMinerCreationDeposit ¶ added in v1.27.1
func (*CurioChainRPCStruct) StateMinerDeadlines ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMinerFaults ¶ added in v1.23.0
func (*CurioChainRPCStruct) StateMinerInfo ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMinerInitialPledgeForSector ¶ added in v1.24.0
func (s *CurioChainRPCStruct) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, p4 types.TipSetKey) (types.BigInt, error)
func (*CurioChainRPCStruct) StateMinerPartitions ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMinerPower ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
func (*CurioChainRPCStruct) StateMinerPreCommitDepositForPower ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)
func (*CurioChainRPCStruct) StateMinerProvingDeadline ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateMinerRecoveries ¶ added in v1.23.0
func (*CurioChainRPCStruct) StateMinerSectorCount ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
func (*CurioChainRPCStruct) StateMinerSectors ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*CurioChainRPCStruct) StateNetworkName ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*CurioChainRPCStruct) StateNetworkVersion ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateReadState ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
func (*CurioChainRPCStruct) StateSearchMsg ¶ added in v1.22.1
func (*CurioChainRPCStruct) StateSectorGetInfo ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*CurioChainRPCStruct) StateSectorPartition ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)
func (*CurioChainRPCStruct) StateSectorPreCommitInfo ¶ added in v1.22.1
func (s *CurioChainRPCStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
func (*CurioChainRPCStruct) StateVMCirculatingSupplyInternal ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
func (*CurioChainRPCStruct) StateVerifiedClientStatus ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*CurioChainRPCStruct) StateWaitMsg ¶ added in v1.23.0
func (s *CurioChainRPCStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error)
func (*CurioChainRPCStruct) SyncSubmitBlock ¶ added in v1.22.1
func (*CurioChainRPCStruct) Version ¶ added in v1.22.1
func (s *CurioChainRPCStruct) Version(p0 context.Context) (api.APIVersion, error)
func (*CurioChainRPCStruct) WalletBalance ¶ added in v1.22.1
func (*CurioChainRPCStruct) WalletHas ¶ added in v1.22.1
func (s *CurioChainRPCStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*CurioChainRPCStruct) WalletSign ¶ added in v1.22.1
func (*CurioChainRPCStruct) WalletSignMessage ¶ added in v1.22.1
func (s *CurioChainRPCStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
type CurioChainRPCStub ¶ added in v1.22.1
type CurioChainRPCStub struct {
}
func (*CurioChainRPCStub) AuthNew ¶ added in v1.23.0
func (s *CurioChainRPCStub) AuthNew(p0 context.Context, p1 []auth.Permission) ([]byte, error)
func (*CurioChainRPCStub) AuthVerify ¶ added in v1.23.0
func (s *CurioChainRPCStub) AuthVerify(p0 context.Context, p1 string) ([]auth.Permission, error)
func (*CurioChainRPCStub) ChainGetMessage ¶ added in v1.22.1
func (*CurioChainRPCStub) ChainGetTipSet ¶ added in v1.22.1
func (*CurioChainRPCStub) ChainGetTipSetAfterHeight ¶ added in v1.22.1
func (s *CurioChainRPCStub) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*CurioChainRPCStub) ChainGetTipSetByHeight ¶ added in v1.22.1
func (s *CurioChainRPCStub) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error)
func (*CurioChainRPCStub) ChainHasObj ¶ added in v1.22.1
func (s *CurioChainRPCStub) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error)
func (*CurioChainRPCStub) ChainNotify ¶ added in v1.22.1
func (s *CurioChainRPCStub) ChainNotify(p0 context.Context) (<-chan []*api.HeadChange, error)
func (*CurioChainRPCStub) ChainPutObj ¶ added in v1.22.1
func (*CurioChainRPCStub) ChainReadObj ¶ added in v1.22.1
func (s *CurioChainRPCStub) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error)
func (*CurioChainRPCStub) ChainTipSetWeight ¶ added in v1.22.1
func (*CurioChainRPCStub) GasEstimateFeeCap ¶ added in v1.22.1
func (*CurioChainRPCStub) GasEstimateGasPremium ¶ added in v1.22.1
func (*CurioChainRPCStub) GasEstimateMessageGas ¶ added in v1.22.1
func (*CurioChainRPCStub) MarketAddBalance ¶ added in v1.24.3
func (*CurioChainRPCStub) MinerCreateBlock ¶ added in v1.22.1
func (s *CurioChainRPCStub) MinerCreateBlock(p0 context.Context, p1 *api.BlockTemplate) (*types.BlockMsg, error)
func (*CurioChainRPCStub) MinerGetBaseInfo ¶ added in v1.22.1
func (s *CurioChainRPCStub) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*api.MiningBaseInfo, error)
func (*CurioChainRPCStub) MpoolGetNonce ¶ added in v1.22.1
func (s *CurioChainRPCStub) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error)
func (*CurioChainRPCStub) MpoolPush ¶ added in v1.22.1
func (s *CurioChainRPCStub) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error)
func (*CurioChainRPCStub) MpoolPushMessage ¶ added in v1.22.1
func (s *CurioChainRPCStub) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *api.MessageSendSpec) (*types.SignedMessage, error)
func (*CurioChainRPCStub) MpoolSelect ¶ added in v1.22.1
func (s *CurioChainRPCStub) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error)
func (*CurioChainRPCStub) Shutdown ¶ added in v1.23.0
func (s *CurioChainRPCStub) Shutdown(p0 context.Context) error
func (*CurioChainRPCStub) StateAccountKey ¶ added in v1.22.1
func (*CurioChainRPCStub) StateCall ¶ added in v1.24.3
func (s *CurioChainRPCStub) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*api.InvocResult, error)
func (*CurioChainRPCStub) StateCirculatingSupply ¶ added in v1.23.0
func (*CurioChainRPCStub) StateDealProviderCollateralBounds ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (api.DealCollateralBounds, error)
func (*CurioChainRPCStub) StateGetActor ¶ added in v1.22.1
func (*CurioChainRPCStub) StateGetAllocation ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*CurioChainRPCStub) StateGetAllocationForPendingDeal ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error)
func (*CurioChainRPCStub) StateGetAllocationIdForPendingDeal ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifregtypes.AllocationId, error)
func (*CurioChainRPCStub) StateGetBeaconEntry ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error)
func (*CurioChainRPCStub) StateGetRandomnessFromBeacon ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*CurioChainRPCStub) StateGetRandomnessFromTickets ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error)
func (*CurioChainRPCStub) StateListMessages ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateListMessages(p0 context.Context, p1 *api.MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error)
func (*CurioChainRPCStub) StateListMiners ¶ added in v1.23.0
func (*CurioChainRPCStub) StateLookupID ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMarketBalance ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MarketBalance, error)
func (*CurioChainRPCStub) StateMarketStorageDeal ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*api.MarketDeal, error)
func (*CurioChainRPCStub) StateMinerActiveSectors ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*CurioChainRPCStub) StateMinerAllocated ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMinerAvailableBalance ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMinerCreationDeposit ¶ added in v1.27.1
func (*CurioChainRPCStub) StateMinerDeadlines ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMinerFaults ¶ added in v1.23.0
func (*CurioChainRPCStub) StateMinerInfo ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMinerInitialPledgeForSector ¶ added in v1.24.0
func (s *CurioChainRPCStub) StateMinerInitialPledgeForSector(p0 context.Context, p1 abi.ChainEpoch, p2 abi.SectorSize, p3 uint64, p4 types.TipSetKey) (types.BigInt, error)
func (*CurioChainRPCStub) StateMinerPartitions ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMinerPower ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.MinerPower, error)
func (*CurioChainRPCStub) StateMinerPreCommitDepositForPower ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (big.Int, error)
func (*CurioChainRPCStub) StateMinerProvingDeadline ¶ added in v1.22.1
func (*CurioChainRPCStub) StateMinerRecoveries ¶ added in v1.23.0
func (*CurioChainRPCStub) StateMinerSectorCount ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (api.MinerSectors, error)
func (*CurioChainRPCStub) StateMinerSectors ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error)
func (*CurioChainRPCStub) StateNetworkName ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error)
func (*CurioChainRPCStub) StateNetworkVersion ¶ added in v1.22.1
func (*CurioChainRPCStub) StateReadState ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*api.ActorState, error)
func (*CurioChainRPCStub) StateSearchMsg ¶ added in v1.22.1
func (*CurioChainRPCStub) StateSectorGetInfo ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
func (*CurioChainRPCStub) StateSectorPartition ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error)
func (*CurioChainRPCStub) StateSectorPreCommitInfo ¶ added in v1.22.1
func (s *CurioChainRPCStub) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
func (*CurioChainRPCStub) StateVMCirculatingSupplyInternal ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (api.CirculatingSupply, error)
func (*CurioChainRPCStub) StateVerifiedClientStatus ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error)
func (*CurioChainRPCStub) StateWaitMsg ¶ added in v1.23.0
func (s *CurioChainRPCStub) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*api.MsgLookup, error)
func (*CurioChainRPCStub) SyncSubmitBlock ¶ added in v1.22.1
func (*CurioChainRPCStub) Version ¶ added in v1.22.1
func (s *CurioChainRPCStub) Version(p0 context.Context) (api.APIVersion, error)
func (*CurioChainRPCStub) WalletBalance ¶ added in v1.22.1
func (*CurioChainRPCStub) WalletHas ¶ added in v1.22.1
func (s *CurioChainRPCStub) WalletHas(p0 context.Context, p1 address.Address) (bool, error)
func (*CurioChainRPCStub) WalletSign ¶ added in v1.22.1
func (*CurioChainRPCStub) WalletSignMessage ¶ added in v1.22.1
func (s *CurioChainRPCStub) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error)
type CurioMethods ¶
type CurioMethods struct {
AllocatePieceToSector func(p0 context.Context, p1 address.Address, p2 lpiece.PieceDealInfo, p3 int64, p4 url.URL, p5 http.Header) (api.SectorOffset, error) `perm:"write"`
Cordon func(p0 context.Context) error `perm:"admin"`
IndexSamples func(p0 context.Context, p1 cid.Cid) ([]multihash.Multihash, error) `perm:"admin"`
Info func(p0 context.Context) (*ltypes.NodeInfo, error) `perm:"read"`
LogList func(p0 context.Context) ([]string, error) `perm:"read"`
LogSetLevel func(p0 context.Context, p1 string, p2 string) error `perm:"admin"`
Shutdown func(p0 context.Context) error `perm:"admin"`
StorageAddLocal func(p0 context.Context, p1 string) error `perm:"admin"`
StorageDetachLocal func(p0 context.Context, p1 string) error `perm:"admin"`
StorageFindSector func(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error) `perm:"admin"`
StorageGenerateVanillaProof func(p0 context.Context, p1 address.Address, p2 abi.SectorNumber) ([]byte, error) `perm:"admin"`
StorageInfo func(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error) `perm:"admin"`
StorageInit func(p0 context.Context, p1 string, p2 storiface.LocalStorageMeta) 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"`
StorageRedeclare func(p0 context.Context, p1 *storiface.ID, p2 bool) error `perm:"admin"`
StorageStat func(p0 context.Context, p1 storiface.ID) (fsutil.FsStat, error) `perm:"admin"`
Uncordon func(p0 context.Context) error `perm:"admin"`
Version func(p0 context.Context) ([]int, error) `perm:"admin"`
}
type CurioStruct ¶
type CurioStruct struct {
Internal CurioMethods
}
func (*CurioStruct) AllocatePieceToSector ¶
func (s *CurioStruct) AllocatePieceToSector(p0 context.Context, p1 address.Address, p2 lpiece.PieceDealInfo, p3 int64, p4 url.URL, p5 http.Header) (api.SectorOffset, error)
func (*CurioStruct) Cordon ¶ added in v1.24.4
func (s *CurioStruct) Cordon(p0 context.Context) error
func (*CurioStruct) IndexSamples ¶ added in v1.25.0
func (s *CurioStruct) IndexSamples(p0 context.Context, p1 cid.Cid) ([]multihash.Multihash, error)
func (*CurioStruct) LogSetLevel ¶
func (*CurioStruct) StorageAddLocal ¶
func (s *CurioStruct) StorageAddLocal(p0 context.Context, p1 string) error
func (*CurioStruct) StorageDetachLocal ¶
func (s *CurioStruct) StorageDetachLocal(p0 context.Context, p1 string) error
func (*CurioStruct) StorageFindSector ¶
func (s *CurioStruct) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error)
func (*CurioStruct) StorageGenerateVanillaProof ¶ added in v1.24.5
func (s *CurioStruct) StorageGenerateVanillaProof(p0 context.Context, p1 address.Address, p2 abi.SectorNumber) ([]byte, error)
func (*CurioStruct) StorageInfo ¶
func (s *CurioStruct) StorageInfo(p0 context.Context, p1 storiface.ID) (storiface.StorageInfo, error)
func (*CurioStruct) StorageInit ¶
func (s *CurioStruct) StorageInit(p0 context.Context, p1 string, p2 storiface.LocalStorageMeta) error
func (*CurioStruct) StorageList ¶
func (*CurioStruct) StorageLocal ¶
func (*CurioStruct) StorageRedeclare ¶ added in v1.24.5
func (*CurioStruct) StorageStat ¶
type CurioStub ¶
type CurioStub struct {
}
func (*CurioStub) AllocatePieceToSector ¶
func (*CurioStub) IndexSamples ¶ added in v1.25.0
func (*CurioStub) LogSetLevel ¶
func (*CurioStub) StorageAddLocal ¶
func (*CurioStub) StorageDetachLocal ¶
func (*CurioStub) StorageFindSector ¶
func (s *CurioStub) StorageFindSector(p0 context.Context, p1 abi.SectorID, p2 storiface.SectorFileType, p3 abi.SectorSize, p4 bool) ([]storiface.SectorStorageInfo, error)
func (*CurioStub) StorageGenerateVanillaProof ¶ added in v1.24.5
func (*CurioStub) StorageInfo ¶
func (*CurioStub) StorageInit ¶
func (*CurioStub) StorageList ¶
func (*CurioStub) StorageLocal ¶
func (*CurioStub) StorageRedeclare ¶ added in v1.24.5
func (*CurioStub) StorageStat ¶
Click to show internal directories.
Click to hide internal directories.