Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asks ¶
type Asks struct { }
Asks stub
type Client ¶
type Client struct { Asks *Asks Miners *Miners Slashing *Slashing Deals *Deals Wallet *Wallet Reputation *Reputation }
Client provides the client api
type Deals ¶
type Deals struct { }
Deals provides an API for managing deals and storing data
type Reputation ¶
type Reputation struct { }
Reputation provides an API for viewing reputation data
func (*Reputation) AddSource ¶
AddSource adds a new external Source to be considered for reputation generation
func (*Reputation) GetTopMiners ¶
func (r *Reputation) GetTopMiners(ctx context.Context, limit int) ([]reputation.MinerScore, error)
GetTopMiners gets the top n miners with best score
Click to show internal directories.
Click to hide internal directories.