code: func RandomNodeConfig() *NodeConfig {
  	prvkey, err := crypto.GenerateKey()
  	if err != nil {
  		panic("unable to generate key")
  	}
  
  	port, err := assignTCPPort()
  	if err != nil {
  		panic("unable to assign tcp port")
  	}
  
  	enodId := enode.PubkeyToIDV4(&prvkey.PublicKey)
  	return &NodeConfig{
  		PrivateKey:      prvkey,
  		ID:              enodId,
  		Name:            fmt.Sprintf("node_%s", enodId.String()),
  		Port:            port,
  		EnableMsgEvents: true,
  	}
  }
docs: // RandomNodeConfig returns node configuration with a randomly generated ID and
  // PrivateKey