Bitcoin Forum
May 25, 2024, 04:19:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] TrueFlip - Become a part of the world's largest blockchain lottery +Bounty on: June 26, 2017, 04:18:12 PM

Hello, Bitboi1. You are right, and we have this bug found & fixed by now. The proper code is on GitHub (we try to publish the updates there as often as possible). All the following Draws will use the correct algorithm.

Also we decide to enable a permanent Bug Bounty program after the ICO. As you’re the first community member to blaze this trail, we are pleased to reward you with True Flip tokens – just PM us for details!

We will give an extra free ticket to everyone, who had played for free using number 49 from the main list or number 26 from the Powerball list. Also 2 paid tickets are provided in compensation for each paid ticket which had played using 49/26 numbers. Frankly, these days our whole resources are used to conducting the ICO, so we’ll do this in the nearest future.

As for the second issue, we’re aware and don’t consider this to be an issue in the present time. The code will be improved rapidly in case the hash starts shrinking. According to True Flip’s roadmap, we plan a massive refactoring with third-party consulting involved – after the crowdsale ends, so we welcome you and everyone interested to help us improve the code.

Again, we are open for any feedback that the community members are ready to provide us with. We will definitely encourage all useful inputs with with rewards Smiley FandangledGizmo Frank37


Best regards,
Trueflip.io



Hi, thanks for your response. Good to see you guys address it. However, I am still concerned why action would not be taken now to address the second issue. At present hash difficulty, the risk of duplicate draws crashing your algorithm is approx (4/49)^7 * 100 = .0000025%. Although very small, it is not safe!! Why risk this happening when it could be guaranteed correct with a few lines of code in only a few minutes? This probability is 100x more likely to occur than winning the jacket, ie, theoretically your algo will break 100 times before a jackpot is drawn. My opinion as a hopeful investor is that it does not instill confidence.   Undecided
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] TrueFlip - Become a part of the world's largest blockchain lottery +Bounty on: June 26, 2017, 07:41:16 AM

Hello bitboi1

We appreciate your discovery very much!

We will check the algorithm today and give resolution about it in several hours.

If this mistake is exist we will fix it.

Also we will have to make recompense for players with 49 number at their tickets, if this mistake is confirmed.



Best regards,
TrueFlip.io


Hi, I see you guys fixed your code on GitHub..well, one of the 2 issues anyhow. Am I eligible to earn bounty for this? Seems more important than any facebook post. Roll Eyes
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] TrueFlip - Become a part of the world's largest blockchain lottery +Bounty on: June 25, 2017, 10:40:28 PM
Weird, I'll wait for a response, maybe they are using an updated version of this algo or maybe it's just an early version.

It says it was updated 10 days ago..Also, anybody can use the 'Check the transparency' feature on their website and enter a custom hash with a character 0x031 (49 in decimal), it does not result in the digit 49 being drawn. All of this is very surprising given the professionalism and software skill that went into the website.. but the money making algo looks to be an afterthought. Embarrassed
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] TrueFlip - Become a part of the world's largest blockchain lottery +Bounty on: June 25, 2017, 10:28:19 PM
Hi,

As a potential investor, I am very concerned by what I have seen looking at your lottery algorithm. There are 2 glaring issues that undermine the legitimacy of your lottery and are astounding given the millions that will soon be raffled on the site.

1) Any customer who has purchased a ticket using number 49 has been cheated. Your algorithm uses modulo 49 which makes it so only numbers 1 through 48 are drawn.
2) Your algorithm discards repeated numbers and moves to the next 4 bit section in the hash. This is inherently ok, but there are no safeguards to prevent a bitcoin block hash that generates duplicate powerball numbers exceeding the unique hash length. This may not happen for a long time, if ever, but there are already 18 prefix 0s on the bitcoin block hash, reducing your available seeds for the drawings, and this will only decrease in time. When it does hit, your algo will crash. For a lottery based business understanding the impact of ' small odds', this should go without saying..

https://github.com/TrueFlip/prizecounter/blob/master/algorithm.py

Isn't this algo used only for seed generation?

Unfortunately not, but it is a poor choice of function naming. You can run today's hash through it to verify: 0000000000000000002ff9ee5ca24aa6c3248179a830b984c245c9390b0e165a gives [38,37,14,47,11,21], same as powerball numbers.
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] TrueFlip - Become a part of the world's largest blockchain lottery +Bounty on: June 25, 2017, 10:15:13 PM
Hi,

As a potential investor, I am very concerned by what I have seen looking at your lottery algorithm. There are 2 glaring issues that undermine the legitimacy of your lottery and are astounding given the millions that will soon be raffled on the site.

1) Any customer who has purchased a ticket using number 49 has been cheated. Your algorithm uses modulo 49 which makes it so only numbers 1 through 48 are drawn.
2) Your algorithm discards repeated numbers and moves to the next 4 character section in the hash. This is inherently ok, but there are no safeguards to prevent a bitcoin block hash that generates duplicate powerball numbers exceeding the unique hash length. This may not happen for a long time, if ever, but there are already 18 prefix 0s on the bitcoin block hash, reducing your available seeds for the drawings, and this will only decrease in time. When it does hit, your algo will crash. For a lottery based business understanding the impact of ' small odds', this should go without saying..

https://github.com/TrueFlip/prizecounter/blob/master/algorithm.py

edit: 4 character, not 4 bit
edit2: this also applies to the golden ball with modulo 26
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!