RE: Steemautomated: 0.0.3 - Voting Is Live! Added Server Side Voting Application

You are viewing a single comment's thread from:

Steemautomated: 0.0.3 - Voting Is Live! Added Server Side Voting Application

in utopian-io •  7 years ago 

Thank you for your contribution. The code is a good example to teach how to use Steem Python.

  1. You may want to define mysql access details somewhere outside the constructor of Database class, which is easier to configure and maintain.
  2. There are some broad execeptions, which is in general a bad practice.
  3. What are the risks of the database compromised and access tokens leaked?
  4. verify_post may be better named to indicate its purpose e.g. is_new_post
  5. You may want to check if a post has been upvoted already before voting it.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi @justyy, thanks for your feedback.

I will look to apply it for the next update. About the database security, currently root access is turned of and each database has a separate account. After your tip I changed the default url for phpmyadmin. I will also add SSL and password protect.

Hey @justyy
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

Contributing on Utopian
Learn how to contribute on our website.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!