Scotbot was down for around 10 hours and is up and running again

avatar
(Edited)

NedScottnew-01.jpg

Scotbot sits on top of the steem blockchain and parses every block, processes the data in it and updates its database. Of course, there are already many checks in place that assure that the processed data have the correct type and do not lead to a crash...

Yesterday evening (while I'm was sleeping), scotbot could not process a parameter which was None, so it crashed and could not proceed. I fixed it, added a new check that will prevent something in the future. Scotbot is replaying all missing blocks and up and running again.

PAL and ENG mining

I adapted the scotbot, so that in case scotbot halted, more than 10 winner are drawn. As scotbot was offline for 10h, 100 winner for ENG token and 90 winner for PAL token were dran:

Claim token

Claimed token should be sent out by now. Pending tokens are only removed from the database when the token sending was sucessfully

Posts and votes

All posts and votes should be visible by now. As both are normal steem operation, they can not disappear.

Why can I see no new posts on a nitrous instance as palnet.io when scotbot is down?

scotbot has to process votes and comments from the steem blockchain and add them to the database. The nitrous instances are getting their data from the scotbot API, when scotbot is down, no new data is provided throught the API and the nitrous instances cannot show new posts/comments/votes.

Why did scobot halt, can you not go to the next block in case of an error?

I did not do chose this approach for a reason, as this would mean that scotbot may skip blockchain data. Assuming, that scotbot can not handle titles with a capital A. Just ignoring the error and skipping all posts with a capital A is not a good solution.

It is better when scotbot halts when the first post with a capital A appears and force me to investigate the issue. I would solve the problem and the post itself and also all future posts with a A will be processed. Seems to me the better approach.

As scotbot is new and I'm also adding new features to it, there may be happen some errors in the future. But I will fix them and then they will not happen again.

Why is there a delay of some seconds until my vote or comment is visible?

As mentioned, scobot has first to process the blockchain data and update the database. This delay will be reduced in the future, when the code is optimized.

Current database size

Currently,

  • 419240 votes
  • 64288 posts/comments
  • 56642 accounts

are stored in the database. One stored vote/comment/post/account is related to one token. So when a posts accepts two token, it is two times in the database. The same is true for the accounts.

825 accounts in the database have staked scot tokens, When the same account has staked two different token, he counts as 2 accounts in the database.



0
0
0.000
14 comments
avatar

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvoting this reply.

0
0
0.000
avatar

Thank you so much for participating in the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.00% upvote! Together, let’s change the world!

0
0
0.000
avatar

That is great. Actually I will love to learn how to mine ENG token

0
0
0.000
avatar

Congratulations @holger80! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You distributed more than 11000 upvotes. Your next target is to reach 12000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!
0
0
0.000
avatar

You're doing a terrific job to add value to this ecosystem,while seeing your work we can start realizing the true potential of a decentralized community.

Best regards.

0
0
0.000
avatar

Hi @holger80!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 7.220 which ranks you at #55 across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 170 contributions, your post is ranked at #5.

Evaluation of your UA score:
  • Your follower network is great!
  • The readers appreciate your great work!
  • Great user engagement! You rock!

Feel free to join our @steem-ua Discord server

0
0
0.000
avatar

Thank you for all the work you have done, I know this was probably a long night for you :)

0
0
0.000
avatar

Hi, @holger80!

You just got a 3.32% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

0
0
0.000
avatar
(Edited)

I was testing stake and unstake options for PAL. It looks like unstaking takes 4 weeks and there is no button to cancel unstake both in @steem-engine or @palnet. Is there way to cancel unstake?

0
0
0.000
avatar

Glad to see it back up... it is a pretty cool service! It's gonna get bigger... so stay ahead of things technologically so things don't catch you unaware. Hoping for much success we'd certainly love to see it operating on steempeak.

0
0
0.000
avatar

@holger80, Your continuous efforts to bring more efficiency to Scotbot System is really appreciable.

And definitely Scotbot is bringing so much value to Communities and hope that this journey will move with excitement and productivity.

Posted using Partiko Android

0
0
0.000