Documentation ¶
Index ¶
- type BlsMessages
- type CID
- type ChainDataResult
- type Error
- type FilRPC
- func (e *FilRPC) FilGetActor(to address.Address, ts chaintypes.TipSetKey) (*chaintypes.Actor, error)
- func (e *FilRPC) FilGetDealStatus(miner address.Address, propCid cid.Cid, dealUUID *uuid.UUID) (*storagemarket.ProviderDealState, error)
- func (e *FilRPC) FilGetMarketListIncompleteDeals() (*[]storagemarket.MinerDeal, error)
- func (e *FilRPC) FilGetMessages(blockcid cid.Cid) (*chaintypes.Message, error)
- func (e *FilRPC) FilGetMessagesByCID(blockcid string) (Messages, error)
- func (e *FilRPC) FilGetMinerVersion(m address.Address) (string, error)
- func (e *FilRPC) FilGetOriTipsetByHeight(number int) (*chaintypes.TipSet, error)
- func (e *FilRPC) FilGetStateNetworkVersion() (uint, error)
- func (e *FilRPC) FilGetStateSearchMsg(number cid.Cid, ts chaintypes.TipSetKey) (*api.MsgLookup, error)
- func (e *FilRPC) FilGetTipsetByHeight(number int) (*chaintypes.ExpTipSet, error)
- func (e *FilRPC) FilGetWorkerStats() (*map[uuid.UUID]storiface.WorkerStats, error)
- func (e *FilRPC) FilMinerGetBaseInfo(params ...interface{}) error
- func (e *FilRPC) FilPostStartApi(payload []byte) error
- func (e *FilRPC) FilPostStartC1(payload []byte) error
- func (e *FilRPC) FilPostStartP1(payload []byte) error
- func (e *FilRPC) FilPostWriteBack(payload []byte) error
- func (e *FilRPC) FilWalletSign(params ...interface{}) error
- type HTTPRpc
- func (rpc *HTTPRpc) Call(method string, params ...interface{}) (json.RawMessage, error)
- func (rpc *HTTPRpc) CallDo(method string, params ...interface{}) (json.RawMessage, error)
- func (rpc *HTTPRpc) CallDoBody(method string, body []byte) (json.RawMessage, error)
- func (rpc *HTTPRpc) CallWithResult(method string, target interface{}, params ...interface{}) error
- func (rpc *HTTPRpc) URL() string
- type Messages
- type Request
- type Response
- type SecpkMessages
- type Tipset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlsMessages ¶
type ChainDataResult ¶
type FilRPC ¶
type FilRPC struct {
// contains filtered or unexported fields
}
func (*FilRPC) FilGetActor ¶
func (e *FilRPC) FilGetActor(to address.Address, ts chaintypes.TipSetKey) (*chaintypes.Actor, error)
func (*FilRPC) FilGetDealStatus ¶
func (e *FilRPC) FilGetDealStatus(miner address.Address, propCid cid.Cid, dealUUID *uuid.UUID) (*storagemarket.ProviderDealState, error)
func (*FilRPC) FilGetMarketListIncompleteDeals ¶
func (e *FilRPC) FilGetMarketListIncompleteDeals() (*[]storagemarket.MinerDeal, error)
func (*FilRPC) FilGetMessages ¶
func (e *FilRPC) FilGetMessages(blockcid cid.Cid) (*chaintypes.Message, error)
func (*FilRPC) FilGetMessagesByCID ¶
func (*FilRPC) FilGetMinerVersion ¶
func (*FilRPC) FilGetOriTipsetByHeight ¶
func (e *FilRPC) FilGetOriTipsetByHeight(number int) (*chaintypes.TipSet, error)
func (*FilRPC) FilGetStateNetworkVersion ¶
func (*FilRPC) FilGetStateSearchMsg ¶
func (*FilRPC) FilGetTipsetByHeight ¶
func (e *FilRPC) FilGetTipsetByHeight(number int) (*chaintypes.ExpTipSet, error)
func (*FilRPC) FilGetWorkerStats ¶
func (*FilRPC) FilMinerGetBaseInfo ¶
func (*FilRPC) FilPostStartApi ¶
func (*FilRPC) FilPostStartC1 ¶
func (*FilRPC) FilPostStartP1 ¶
func (*FilRPC) FilPostWriteBack ¶
func (*FilRPC) FilWalletSign ¶
type HTTPRpc ¶
type HTTPRpc struct { Url string Token string Client httpClient Log *zap.SugaredLogger }
func (*HTTPRpc) Call ¶
func (rpc *HTTPRpc) Call(method string, params ...interface{}) (json.RawMessage, error)
func (*HTTPRpc) CallDo ¶
func (rpc *HTTPRpc) CallDo(method string, params ...interface{}) (json.RawMessage, error)
func (*HTTPRpc) CallDoBody ¶
func (*HTTPRpc) CallWithResult ¶
type Messages ¶
type Messages struct { Blockcid string api.BlockMessages }
type Response ¶
type Response struct { ID int `json:"id"` JSONRPC string `json:"jsonrpc"` Result json.RawMessage `json:"result"` Error *Error `json:"error"` }
type SecpkMessages ¶
Click to show internal directories.
Click to hide internal directories.