How to validate @croupierbot is indeed incoruptible.steemCreated with Sketch.

in #croupierbot7 years ago

How to validate @croupierbot is indeed incorruptible.

The @croupierbot, a simple bot created by @pibare claims to be incorruptible. This post will show how you can check it indeed is.

Here is an example of two subsequent responses by @croupierbot. The first post anounces a lottery draw at some point in the future.

Then in a second post, some time later, the winner is announced. What is importent here is the timeline.

  • In the first post, a block number that does not exist yet is named and the lottery ticket numbers are assigned to contestants.
  • In the second post, a link to the block and transaction the first post exists in is provided for you to check. As to validate the text of the post has not been tempered with. Further, the winner is announced.

As everything is recorded in the blockchain and visible to everyone through steemd.com, we can validate the timeline is correct and not tempered with. @croupierbot provides convenient links to steemd.com.

So how about the actual draw. For that, we need to look at the draw block witness signature. A huge number that was unknown when the contest was announced and the tickets were assigned.

If we go to the steemd.com link, we can copy the value of the witness signature and see if the draw was correct.

We use the copied witness signature and convert it to a huge integer in python. Now back to the first post. We had four tickets. If we use the modulus operator % , we get a winner for a four ticket lottery draw. So the winner here is ticket number one.

Sort:  

And I can call croupierbot on any Page, or just on my Blog/Page?

I'm currently looking to prioritize the (potential) feature list for @croupierbot in order to make it more useful to others. Input appreciated. I'll be running a $2.5 SBD lottery there as well next friday by the way, so if you have any input.

Calling @originalworks :)
img credz: pixabay.com
Nice, you got a $7.22 @minnowbooster upgoat, thanks to @reggaemuffin
Want a boost? Minnowbooster's got your back!

The @OriginalWorks bot has determined this post by @croupierbot to be original material and upvoted it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

To enter this post into the daily RESTEEM contest, upvote this comment! The user with the most upvotes on their @OriginalWorks comment will win!

For more information, Click Here!
Special thanks to @reggaemuffin for being a supporter! Vote him as a witness to help make Steemit a better place!

steemwin.jpg

HOW TO GET IN THE PLAYER-POOL?

(Pay once - play forever - win multiple times !)
All you have to do is sending once 10 SBD to @steemwin for a lifetime daily chance to win!

Click here for more details

@croupierbot lottery 0.050 testing posting on on not my own page.

Hi, @pibara

Thank you for inviting me to this page.

I am your friendly incorruptible croupier.
I am here to help with the impartial drawing a winner from the following contestants:\ :

The block number of the current head of the block chain is 16073406.
After block 16073600 is added to the blockchain and becomes irreversable, I will anounce the winner using the witness signature from that block.

Seems to be working now @bashadow.

Could make it harder to implement reputation tracking, but I guess its a useful feature.

OK, I have drawn the winner.

The winner of the draw is @minnowbooster .

This winner has been drawn using block 16073600 as anounced in this transaction in block 16073411.

While in no way required, a tip by the winner @minnowbooster by means of an upvote of this post would be highly appreciated.

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 64467.84
ETH 3492.64
USDT 1.00
SBD 2.54