gateway

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0, MIT Imports: 7 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 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
	Miner    address.Address
	Sid      abi.SectorNumber
	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