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

Method EndBlockSync

abci/client/socket_client.go:374–381  ·  view source on GitHub ↗
(req types.RequestEndBlock)

Source from the content-addressed store, hash-verified

372}
373
374func (cli *socketClient) EndBlockSync(req types.RequestEndBlock) (*types.ResponseEndBlock, error) {
375 reqres := cli.queueRequest(types.ToRequestEndBlock(req))
376 if err := cli.FlushSync(); err != nil {
377 return nil, err
378 }
379
380 return reqres.Response.GetEndBlock(), cli.Error()
381}
382
383func (cli *socketClient) ListSnapshotsSync(req types.RequestListSnapshots) (*types.ResponseListSnapshots, error) {
384 reqres := cli.queueRequest(types.ToRequestListSnapshots(req))

Callers

nothing calls this directly

Calls 5

queueRequestMethod · 0.95
FlushSyncMethod · 0.95
ErrorMethod · 0.95
ToRequestEndBlockFunction · 0.92
GetEndBlockMethod · 0.45

Tested by

no test coverage detected