Documentation ¶
Index ¶
- type APIOpener
- type APIWrapper
- func (aw *APIWrapper) ChainGetBlock(ctx context.Context, msg cid.Cid) (*types.BlockHeader, error)
- func (aw *APIWrapper) ChainGetBlockMessages(ctx context.Context, msg cid.Cid) (*api.BlockMessages, error)
- func (aw *APIWrapper) ChainGetGenesis(ctx context.Context) (*types.TipSet, error)
- func (aw *APIWrapper) ChainGetParentMessages(ctx context.Context, bcid cid.Cid) ([]api.Message, error)
- func (aw *APIWrapper) ChainGetParentReceipts(ctx context.Context, bcid cid.Cid) ([]*types.MessageReceipt, error)
- func (aw *APIWrapper) ChainGetTipSet(ctx context.Context, tsk types.TipSetKey) (*types.TipSet, error)
- func (aw *APIWrapper) ChainGetTipSetAfterHeight(ctx context.Context, epoch abi.ChainEpoch, key types.TipSetKey) (*types.TipSet, error)
- func (aw *APIWrapper) ChainNotify(ctx context.Context) (<-chan []*api.HeadChange, error)
- func (aw *APIWrapper) ChainReadObj(ctx context.Context, obj cid.Cid) ([]byte, error)
- func (aw *APIWrapper) GetExecutedAndBlockMessagesForTipset(ctx context.Context, ts, pts *types.TipSet) (*lens.TipSetMessages, error)
- func (aw *APIWrapper) GetMessageExecutionsForTipSet(ctx context.Context, ts, pts *types.TipSet) ([]*lens.MessageExecution, error)
- func (aw *APIWrapper) StateChangedActors(ctx context.Context, old cid.Cid, new cid.Cid) (map[string]types.Actor, error)
- func (aw *APIWrapper) StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error)
- func (aw *APIWrapper) StateGetReceipt(ctx context.Context, bcid cid.Cid, tsk types.TipSetKey) (*types.MessageReceipt, error)
- func (aw *APIWrapper) StateListActors(ctx context.Context, tsk types.TipSetKey) ([]address.Address, error)
- func (aw *APIWrapper) StateMarketDeals(ctx context.Context, tsk types.TipSetKey) (map[string]api.MarketDeal, error)
- func (aw *APIWrapper) StateMinerPower(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*api.MinerPower, error)
- func (aw *APIWrapper) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*api.ActorState, error)
- func (aw *APIWrapper) StateVMCirculatingSupplyInternal(ctx context.Context, tsk types.TipSetKey) (api.CirculatingSupply, error)
- func (aw *APIWrapper) Store() adt.Store
- type CacheCtxStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIOpener ¶ added in v0.3.0
type APIOpener struct {
// contains filtered or unexported fields
}
func NewAPIOpener ¶ added in v0.3.0
func (*APIOpener) Daemonized ¶ added in v0.7.5
type APIWrapper ¶
func NewAPIWrapper ¶
func NewAPIWrapper(node v0api.FullNode, store adt.Store) *APIWrapper
func (*APIWrapper) ChainGetBlock ¶
func (aw *APIWrapper) ChainGetBlock(ctx context.Context, msg cid.Cid) (*types.BlockHeader, error)
func (*APIWrapper) ChainGetBlockMessages ¶
func (aw *APIWrapper) ChainGetBlockMessages(ctx context.Context, msg cid.Cid) (*api.BlockMessages, error)
func (*APIWrapper) ChainGetGenesis ¶
func (*APIWrapper) ChainGetParentMessages ¶
func (*APIWrapper) ChainGetParentReceipts ¶
func (aw *APIWrapper) ChainGetParentReceipts(ctx context.Context, bcid cid.Cid) ([]*types.MessageReceipt, error)
func (*APIWrapper) ChainGetTipSet ¶
func (*APIWrapper) ChainGetTipSetAfterHeight ¶ added in v0.7.7
func (aw *APIWrapper) ChainGetTipSetAfterHeight(ctx context.Context, epoch abi.ChainEpoch, key types.TipSetKey) (*types.TipSet, error)
func (*APIWrapper) ChainNotify ¶
func (aw *APIWrapper) ChainNotify(ctx context.Context) (<-chan []*api.HeadChange, error)
func (*APIWrapper) ChainReadObj ¶
func (*APIWrapper) GetExecutedAndBlockMessagesForTipset ¶ added in v0.6.3
func (aw *APIWrapper) GetExecutedAndBlockMessagesForTipset(ctx context.Context, ts, pts *types.TipSet) (*lens.TipSetMessages, error)
GetExecutedAndBlockMessagesForTipset returns a list of messages sent as part of pts (parent) with receipts found in ts (child). No attempt at deduplication of messages is made. A list of blocks with their corresponding messages is also returned - it contains all messages in the block regardless if they were applied during the state change.
func (*APIWrapper) GetMessageExecutionsForTipSet ¶ added in v0.7.5
func (aw *APIWrapper) GetMessageExecutionsForTipSet(ctx context.Context, ts, pts *types.TipSet) ([]*lens.MessageExecution, error)
func (*APIWrapper) StateChangedActors ¶
func (*APIWrapper) StateGetActor ¶
func (*APIWrapper) StateGetReceipt ¶ added in v0.3.0
func (aw *APIWrapper) StateGetReceipt(ctx context.Context, bcid cid.Cid, tsk types.TipSetKey) (*types.MessageReceipt, error)
func (*APIWrapper) StateListActors ¶
func (*APIWrapper) StateMarketDeals ¶
func (aw *APIWrapper) StateMarketDeals(ctx context.Context, tsk types.TipSetKey) (map[string]api.MarketDeal, error)
func (*APIWrapper) StateMinerPower ¶
func (aw *APIWrapper) StateMinerPower(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*api.MinerPower, error)
func (*APIWrapper) StateReadState ¶
func (aw *APIWrapper) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*api.ActorState, error)
func (*APIWrapper) StateVMCirculatingSupplyInternal ¶ added in v0.3.0
func (aw *APIWrapper) StateVMCirculatingSupplyInternal(ctx context.Context, tsk types.TipSetKey) (api.CirculatingSupply, error)
func (*APIWrapper) Store ¶
func (aw *APIWrapper) Store() adt.Store
type CacheCtxStore ¶
type CacheCtxStore struct {
// contains filtered or unexported fields
}
func NewCacheCtxStore ¶
func (*CacheCtxStore) Context ¶
func (cs *CacheCtxStore) Context() context.Context
Click to show internal directories.
Click to hide internal directories.