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

Method Update

light/rpc/client.go:34–34  ·  view source on GitHub ↗
(ctx context.Context, now time.Time)

Source from the content-addressed store, hash-verified

32type LightClient interface {
33 ChainID() string
34 Update(ctx context.Context, now time.Time) (*types.LightBlock, error)
35 VerifyLightBlockAtHeight(ctx context.Context, height int64, now time.Time) (*types.LightBlock, error)
36 TrustedLightBlock(height int64) (*types.LightBlock, error)
37}

Callers 2

TestUpdateNeverPanicsFunction · 0.65

Implementers 2

Clientlight/client.go
LightClientlight/rpc/mocks/light_client.go

Calls

no outgoing calls

Tested by 1

TestUpdateNeverPanicsFunction · 0.52