Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressSelector ¶
func AddressSelector(addrConf []config.CurioAddresses) func() (*MultiAddressSelector, error)
Types ¶
type MultiAddressSelector ¶
type MultiAddressSelector struct {
MinerMap map[address.Address]api.AddressConfig
}
func (*MultiAddressSelector) AddressFor ¶
func (as *MultiAddressSelector) AddressFor(ctx context.Context, a ctladdr.NodeApi, minerID address.Address, mi api.MinerInfo, use api.AddrUse, goodFunds, minFunds abi.TokenAmount) (address.Address, abi.TokenAmount, error)
Click to show internal directories.
Click to hide internal directories.