Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CHA] Chancecoin protocol, client, and coin for decentralized dice betting
by
notsoshifty
on 13/04/2014, 12:04:26 UTC
1. The numbers are taken from the first NY lottery immediately after the block that contains the transaction. Does this rely on perfect time synchronisation, with the timestamp put into the block being the correct time? What happens if a block is orphaned and the transaction moves into another block that is subject to a different set of NY lottery results?

2. The technical specifications and the code appear to differ:
     - Spec says final variable is “(rA + rB) %1", but the code says %2
     - Spec says Ra is the sum of (number i) over each i in 1..20, but the code says (number-1 i)
     - The code has a factor of 100; is this represented in the specifications? Code is: roll1 = n/(N-1)*100
    Am I reading this wrong (quite likely, actually...); or which one is correct?

3. Do you have formal proof that rA is a standard uniform random variable (assuming the numbers from the NY lottery itself are random)?

Shameless bump! Did the dev (or anyone) get a chance to take a look at these questions yet?