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

Function createServer

cmd/cql-minerd/node.go:87–91  ·  view source on GitHub ↗
(privateKeyPath string, masterKey []byte, listenAddr string)

Source from the content-addressed store, hash-verified

85}
86
87func createServer(privateKeyPath string, masterKey []byte, listenAddr string) (server *mux.Server, err error) {
88 server = mux.NewServer()
89 err = server.InitRPCServer(listenAddr, privateKeyPath, masterKey)
90 return
91}
92
93func createDirectServer(privateKeyPath string, masterKey []byte, listenAddr string) (server *rpc.Server, err error) {
94 if listenAddr == "" {

Callers 1

initNodeFunction · 0.70

Calls 2

NewServerFunction · 0.92
InitRPCServerMethod · 0.80

Tested by

no test coverage detected