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

Method CommitSync

abci/client/socket_client.go:347–354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345}
346
347func (cli *socketClient) CommitSync() (*types.ResponseCommit, error) {
348 reqres := cli.queueRequest(types.ToRequestCommit())
349 if err := cli.FlushSync(); err != nil {
350 return nil, err
351 }
352
353 return reqres.Response.GetCommit(), cli.Error()
354}
355
356func (cli *socketClient) InitChainSync(req types.RequestInitChain) (*types.ResponseInitChain, error) {
357 reqres := cli.queueRequest(types.ToRequestInitChain(req))

Callers

nothing calls this directly

Calls 5

queueRequestMethod · 0.95
FlushSyncMethod · 0.95
ErrorMethod · 0.95
ToRequestCommitFunction · 0.92
GetCommitMethod · 0.45

Tested by

no test coverage detected