MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / QuerySQLChainProfile

Method QuerySQLChainProfile

client/helper_test.go:62–76  ·  view source on GitHub ↗
(req *types.QuerySQLChainProfileReq,
	resp *types.QuerySQLChainProfileResp)

Source from the content-addressed store, hash-verified

60}
61
62func (s *stubBPService) QuerySQLChainProfile(req *types.QuerySQLChainProfileReq,
63 resp *types.QuerySQLChainProfileResp) (err error) {
64 var nodeID proto.NodeID
65 if nodeID, err = kms.GetLocalNodeID(); err != nil {
66 return
67 }
68 resp.Profile = types.SQLChainProfile{
69 Miners: []*types.MinerInfo{
70 {
71 NodeID: nodeID,
72 },
73 },
74 }
75 return
76}
77
78func (s *stubBPService) NextAccountNonce(_ *types.NextAccountNonceReq,
79 resp *types.NextAccountNonceResp) (err error) {

Callers

nothing calls this directly

Calls 1

GetLocalNodeIDFunction · 0.92

Tested by

no test coverage detected