Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockMessages ¶
type BlockMessages struct { Block *types.BlockHeader // block messages appeared in BlsMessages []*types.Message // BLS messages in block `Block` SecpMessages []*types.SignedMessage // SECP messages in block `Block` }
type ChainAPI ¶
type ChainAPI interface { ChainNotify(context.Context) (<-chan []*api.HeadChange, error) ChainHead(context.Context) (*types.TipSet, error) ChainHasObj(ctx context.Context, obj cid.Cid) (bool, error) ChainReadObj(ctx context.Context, obj cid.Cid) ([]byte, error) ChainGetGenesis(ctx context.Context) (*types.TipSet, error) ChainGetTipSet(context.Context, types.TipSetKey) (*types.TipSet, error) ChainGetTipSetByHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error) ChainGetTipSetAfterHeight(context.Context, abi.ChainEpoch, types.TipSetKey) (*types.TipSet, error) ChainGetBlockMessages(ctx context.Context, msg cid.Cid) (*api.BlockMessages, error) ChainGetParentMessages(ctx context.Context, blockCid cid.Cid) ([]api.Message, error) ChainGetParentReceipts(ctx context.Context, blockCid cid.Cid) ([]*types.MessageReceipt, error) }
type ExecutedMessage ¶
type ExecutedMessage struct { Cid cid.Cid Height abi.ChainEpoch Message *types.Message Receipt *types.MessageReceipt BlockHeader *types.BlockHeader Blocks []cid.Cid // blocks this message appeared in Index uint64 // Message and receipt sequence in tipset FromActorCode cid.Cid // code of the actor the message is from ToActorCode cid.Cid // code of the actor the message is to GasOutputs vm.GasOutputs }
type MessageExecution ¶
type StateAPI ¶
type StateAPI interface { StateGetActor(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*types.Actor, error) StateListActors(context.Context, types.TipSetKey) ([]address.Address, error) StateChangedActors(context.Context, cid.Cid, cid.Cid) (map[string]types.Actor, error) StateMinerPower(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*api.MinerPower, error) StateMarketDeals(context.Context, types.TipSetKey) (map[string]api.MarketDeal, error) StateReadState(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*api.ActorState, error) StateGetReceipt(ctx context.Context, bcid cid.Cid, tsk types.TipSetKey) (*types.MessageReceipt, error) CirculatingSupply(context.Context, types.TipSetKey) (api.CirculatingSupply, error) StateNetworkName(context.Context) (dtypes.NetworkName, error) }
type TipSetMessages ¶
type TipSetMessages struct { Executed []*ExecutedMessage Block []*BlockMessages }
Click to show internal directories.
Click to hide internal directories.