gateway

package
v1.6.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: Apache-2.0, MIT Imports: 8 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeProofRequest

type ComputeProofRequest struct {
	SectorInfos []builtin.ExtendedSectorInfo
	Rand        abi.PoStRandomness
	Height      abi.ChainEpoch
	NWVersion   network.Version
}

type ConnectState

type ConnectState struct {
	Addrs        []address.Address
	ChannelID    types.UUID `json:"ChannelId"`
	IP           string     `json:"Ip"`
	RequestCount int
	CreateTime   time.Time
}

type ConnectedCompleted

type ConnectedCompleted struct {
	ChannelId types.UUID // nolint
}

type ConnectionStates

type ConnectionStates struct {
	Connections     []*ConnectState
	ConnectionCount int
}

type IsUnsealRequest

type IsUnsealRequest struct {
	PieceCid cid.Cid
	Sector   storage.SectorRef
	Offset   types.PaddedByteIndex
	Size     abi.PaddedPieceSize
}

type IsUnsealResponse

type IsUnsealResponse struct {
}

type MarketConnectionState

type MarketConnectionState struct {
	Addr address.Address
	Conn ConnectionStates
}

type MarketRegisterPolicy

type MarketRegisterPolicy struct {
	Miner address.Address
}

type MinerState

type MinerState struct {
	Connections     []*ConnectState
	ConnectionCount int
}

type ProofRegisterPolicy

type ProofRegisterPolicy struct {
	MinerAddress address.Address
}

type RequestEvent

type RequestEvent struct {
	ID         types.UUID `json:"Id"`
	Method     string
	Payload    []byte
	CreateTime time.Time           `json:"-"`
	Result     chan *ResponseEvent `json:"-"`
}

type ResponseEvent

type ResponseEvent struct {
	ID      types.UUID `json:"Id"`
	Payload []byte
	Error   string
}

type UnsealRequest

type UnsealRequest struct {
	PieceCid cid.Cid
	Sector   storage.SectorRef
	Offset   types.PaddedByteIndex
	Size     abi.PaddedPieceSize
	Dest     string
}

type UnsealResponse

type UnsealResponse struct {
}

type WalletDetail

type WalletDetail struct {
	Account         string
	SupportAccounts []string
	ConnectStates   []ConnectState
}

type WalletRegisterPolicy

type WalletRegisterPolicy struct {
	SupportAccounts []string
	// a slice byte provide by wallet, using to verify address is really exist
	SignBytes []byte
}

type WalletSignRequest

type WalletSignRequest struct {
	Signer address.Address
	ToSign []byte
	Meta   types.MsgMeta
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL