Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DealProtocolv110 is the deal protocol version name for the legacy // deal proposal protocol. DealProtocolv110 = "/fil/storage/mk/1.1.0" // DealProtocolv120 is the deal protocol version name for Boost. DealProtocolv120 = "/fil/storage/mk/1.2.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides access to Lotus for importing deal data.
func New ¶
func New(maddr string, authToken string, marketMaddr string, marketAuthToken string, connRetries int, fakeMode bool, finalizeEarly bool) (*Client, error)
New returns a new *LotusClient.
func (*Client) CurrentSealingSectors ¶ added in v0.0.5
CurrentSealingSectors returns the total number of sectors considered to be in sealing.
func (*Client) HealthCheck ¶
HealthCheck checks if the lotus client is healthy enough so bidbot can participate in bidding.
func (*Client) ImportData ¶
ImportData imports deal data into Lotus.
Click to show internal directories.
Click to hide internal directories.