MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / Block

Method Block

rpc/client/interface.go:67–67  ·  view source on GitHub ↗
(ctx context.Context, height *int64)

Source from the content-addressed store, hash-verified

65// and prove anything about the chain.
66type SignClient interface {
67 Block(ctx context.Context, height *int64) (*ctypes.ResultBlock, error)
68 BlockByHash(ctx context.Context, hash []byte) (*ctypes.ResultBlock, error)
69 BlockResults(ctx context.Context, height *int64) (*ctypes.ResultBlockResults, error)
70 Commit(ctx context.Context, height *int64) (*ctypes.ResultCommit, error)

Callers 8

waitForHeightFunction · 0.65
fetchBlockChainFunction · 0.65
TestApp_HashFunction · 0.65
TestBlock_HeaderFunction · 0.65
TestBlock_RangeFunction · 0.65
makeBlockFuncFunction · 0.65
BlockMethod · 0.65
TestAppCallsFunction · 0.65

Implementers 4

Clientlight/rpc/client.go
baseRPCClientrpc/client/http/http.go
Clientrpc/client/mocks/client.go
Localrpc/client/local/local.go

Calls

no outgoing calls

Tested by 5

fetchBlockChainFunction · 0.52
TestApp_HashFunction · 0.52
TestBlock_HeaderFunction · 0.52
TestBlock_RangeFunction · 0.52
TestAppCallsFunction · 0.52