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

Method BeginBlockSync

abci/client/socket_client.go:365–372  ·  view source on GitHub ↗
(req types.RequestBeginBlock)

Source from the content-addressed store, hash-verified

363}
364
365func (cli *socketClient) BeginBlockSync(req types.RequestBeginBlock) (*types.ResponseBeginBlock, error) {
366 reqres := cli.queueRequest(types.ToRequestBeginBlock(req))
367 if err := cli.FlushSync(); err != nil {
368 return nil, err
369 }
370
371 return reqres.Response.GetBeginBlock(), cli.Error()
372}
373
374func (cli *socketClient) EndBlockSync(req types.RequestEndBlock) (*types.ResponseEndBlock, error) {
375 reqres := cli.queueRequest(types.ToRequestEndBlock(req))

Callers

nothing calls this directly

Calls 5

queueRequestMethod · 0.95
FlushSyncMethod · 0.95
ErrorMethod · 0.95
ToRequestBeginBlockFunction · 0.92
GetBeginBlockMethod · 0.45

Tested by

no test coverage detected