You are viewing a single comment's thread from:

RE: Refactoring My Auto-Voter Code

in HiveDevs3 months ago

Yeah, that delay doesn't really matter much anymore after that one update. Does this run all the time? I thought about writing my own voter at one time, but it felt like a lot of work so I never got around to it.

Sort:  

Yes, it's supposed to run all the time.

That's cool. How did you accomplish that? Like a cron job?

No, it's just a Node script that polls an API for the next block every 3 seconds and then goes back to sleep. When its running properly my vote will probably be the first you'll see on your post.

Ah, sounds more complicated than I can handle!