Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { GetHeaderByHeight(ctx context.Context, height uint64) (*pb.BlockHeader, error) GetBodyByHeight(ctx context.Context, height uint64) (*pb.BlockBody, error) GetHeaderByLatest(ctx context.Context) (*pb.BlockHeader, error) AddBlock(ctx context.Context, b *pb.Block, receipts []*pb.Receipt) error GetReceipt(ctx context.Context, txHash hash.Hash) (*pb.Receipt, error) }
Click to show internal directories.
Click to hide internal directories.