MCPcopy Create free account
hub / github.com/DEROFDN/Engram / newRPCUsername

Function newRPCUsername

functions.go:2878–2885  ·  view source on GitHub ↗

Set the Cyberdeck username

()

Source from the content-addressed store, hash-verified

2876
2877// Set the Cyberdeck username
2878func newRPCUsername() (s string) {
2879 r, _ := rand.Int(rand.Reader, big.NewInt(1600))
2880 w := mnemonics.Key_To_Words(r, "english")
2881 l := strings.Split(string(w), " ")
2882 s = l[len(l)-2]
2883 cyberdeck.RPC.user = s
2884 return
2885}
2886
2887// Start an RPC server to allow decentralized application communication
2888func toggleRPCServer(port string) {

Callers 2

toggleRPCServerFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected