Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainPointCollector ¶
type ChainPointCollector struct {
// contains filtered or unexported fields
}
func NewChainPointCollector ¶
func (*ChainPointCollector) Collect ¶
func (c *ChainPointCollector) Collect(ctx context.Context, tipset *types.TipSet) (client.BatchPoints, error)
type LotusApi ¶
type LotusApi interface { WalletBalance(context.Context, address.Address) (types.BigInt, error) StateMinerPower(context.Context, address.Address, types.TipSetKey) (*api.MinerPower, error) StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error) ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]api.Message, error) ChainGetParentReceipts(ctx context.Context, blockCid cid.Cid) ([]*types.MessageReceipt, error) ChainGetBlockMessages(ctx context.Context, blockCid cid.Cid) (*api.BlockMessages, error) }
Click to show internal directories.
Click to hide internal directories.