MCPcopy Create free account
hub / github.com/DOSNetwork/core / actionRnadom

Function actionRnadom

main.go:269–276  ·  view source on GitHub ↗
(c *cli.Context)

Source from the content-addressed store, hash-verified

267}
268
269func actionRnadom(c *cli.Context) error {
270 r, err := makeRequest("/signalRandom")
271 if err == nil {
272 fmt.Println("trigger guardian functions : \n", string(r))
273 return nil
274 }
275 return err
276}
277func createWallet() (string, error) {
278 first := getPassword("Generating node wallet...\nEnter passphrase (empty is not allowed): ")
279 if first == "" {

Callers

nothing calls this directly

Calls 1

makeRequestFunction · 0.85

Tested by

no test coverage detected