Author Topic: LottoShares DAC - Test Platform Live  (Read 11103 times)

0 Members and 1 Guest are viewing this topic.


Offline emre

  • Newbie
  • *
  • Posts: 15
    • View Profile
block explorer for test platform:
http://lottoshares.42tx.com/

you can see your ticket transactions.

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Thanks freetrade.   I would also suggest adding a sort of block explorer tab that will display the numbers that are called, if it's not too much of a pain.   I think that would make the game more playable and lead to a wider adoption.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
For now, you'll need to infer from the amounts - amounts of around 10 are mined. Everything else is a ticket payout.

I'll be polishing up the interface over the next week to provide better information on what's what - you could also use separate clients for mining/playing for the next few days to make things clearer.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
How can I tell the difference between blocks mined by my cpu and ticket payouts?   I see a ton of mined transactions.

Sent from my SCH-I535 using Tapatalk

https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Ok. Good luck!

For the test platform, every ticket is a winner!

2 numbers returns your stake,
1 number gives you one hundredth of your stake back
0 numbers gives you one tenth of your stake back
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Code: [Select]
Status: 1583 confirmations
Date: 6/24/14 23:02
Source: Generated
Credit: 194.13745532 LTS (matures in 106929 more blocks)

Is the maturity rate for the LTS correct?  I want to gamble.

Yes, for MMC, PTS, AGS and the 30%, maturation is at a random block, after 2 months and less than 14 months, using the genesis block as a seed. This is because some of these balances can be very large and we don't want them flooding the market from the outset. BTC and DOGE balances are small and can be used right away. Subsidies for processing tickets can be used after 10 blocks or so.

Or send me your address and I'll send you some coins to test with.

LaSbZsYEYrwHMWcfxXjiAw25VaCZgA4Psx 

Thanks man, I'd like to try it out.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Code: [Select]
Status: 1583 confirmations
Date: 6/24/14 23:02
Source: Generated
Credit: 194.13745532 LTS (matures in 106929 more blocks)

Is the maturity rate for the LTS correct?  I want to gamble.

Yes, for MMC, PTS, AGS and the 30%, maturation is at a random block, after 2 months and less than 14 months, using the genesis block as a seed. This is because some of these balances can be very large and we don't want them flooding the market from the outset. BTC and DOGE balances are small and can be used right away. Subsidies for processing tickets can be used after 10 blocks or so.

Or send me your address and I'll send you some coins to test with.

“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Code: [Select]
Status: 1583 confirmations
Date: 6/24/14 23:02
Source: Generated
Credit: 194.13745532 LTS (matures in 106929 more blocks)

Is the maturity rate for the LTS correct?  I want to gamble.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline emre

  • Newbie
  • *
  • Posts: 15
    • View Profile

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
OK - seems to be working.

My linux packages are available at http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Acoins&package=lottoshares - or will be, when the build service comes up again. :-/
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Okay - floating point arithmetic bug was causing slightly different balances in genesis block on linux vs windows, resulting in errors. Should be fixed now.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile

Cass did it, http://bitshares.org/lottoshares-launch-countdown/

Now we just need some text and the exact time to put in the countdown! o/

What say you, FreeTrade?

I think the countdown code was a bit buggy, working off local client time rather than UTC time - so maybe look at fixing that. I'll get you an exact UTC time shortly - after I've got some of the other bugs ironed out.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Hm, now it loads the sharedrop files, but still it fails. This is in the log (openSUSE-12.3 on x86_64):

Thanks, yes, we got some kind of floating point arithmetic bug. I'm working on it.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline CLains

  • Hero Member
  • *****
  • Posts: 2606
    • View Profile
  • BitShares: clains
PMing Cass to do one on the bitshares.org site at least, replacing the old one.

Cass did it, http://bitshares.org/lottoshares-launch-countdown/

Now we just need some text and the exact time to put in the countdown! o/

What say you, FreeTrade?

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Hm, now it loads the sharedrop files, but still it fails. This is in the log (openSUSE-12.3 on x86_64):

Code: [Select]
2014-06-29 12:12:16 LottoShares version v1.0.0.0-gdab1cbb-beta ()
2014-06-29 12:12:16 Using OpenSSL version OpenSSL 1.0.1h 5 Jun 2014
2014-06-29 12:12:16 Default data directory /home/peter/.lottoshares
2014-06-29 12:12:16 Using data directory /home/peter/.lottoshares
2014-06-29 12:12:16 Using at most 5 connections (1024 file descriptors available)
2014-06-29 12:12:16 Using 4 threads for script verification
2014-06-29 12:12:16 init message: Verifying wallet...
2014-06-29 12:12:16 dbenv.open LogDir=/home/peter/.lottoshares/database ErrorFile=/home/peter/.lottoshares/db.log
2014-06-29 12:12:16 init message: Loading block index...
2014-06-29 12:12:16 Opening LevelDB in /home/peter/.lottoshares/blocks/index
2014-06-29 12:12:51 Opened LevelDB successfully
2014-06-29 12:12:51 Opening LevelDB in /home/peter/.lottoshares/chainstate
2014-06-29 12:13:17 Opened LevelDB successfully
2014-06-29 12:13:17 LoadBlockIndexDB(): last block file = 0
2014-06-29 12:13:17 LoadBlockIndexDB(): transaction index disabled
2014-06-29 12:13:17 Initializing databases...
2014-06-29 12:13:40 after bitcoin, total coins :2000000000000000
2014-06-29 12:13:46 after doge, total coins :4000000000000000
2014-06-29 12:13:47 after pts, total coins :4999999998109821
2014-06-29 12:13:48 after mmc, total coins :6000000079533682
2014-06-29 12:13:48 after ags, total coins :6999957079872862
2014-06-29 12:13:51 89ac175ec9bc64af4ebce8112bfcd7983e5abcb2871a69d265b214b71b94e211
2014-06-29 12:13:51 4ff382bb8a0284d52f2a119b461352b4dc294500d65a7261a0e456441e49950a
2014-06-29 12:13:51 a49d54ead14b7666e567800a6ad91b7c8983839b498033d4b3b492068b4a6ffb
lottosharesd: main.cpp:2995: bool InitBlockIndex(): Assertion `block.hashMerkleRoot == merklerootGenesisBlock' failed.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Ok thanks guys -

I've removed the curl dependency, pulled Emre's patch to correct the daemon build.

For the sharedrop files - not sure if that's how we're going to end up handling that, but for now they do need to be in the currect directory to build the genesis block.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
QT compiles now.
Daemon compile fails because obj/lottoshares.o is missing in src/makefile.unix.
When I try to start either I receive the following error message:
Code: [Select]
lottosharesd: main.cpp:2995: bool InitBlockIndex(): Assertion `block.hashMerkleRoot == merklerootGenesisBlock' failed.

...OK, apparently the sharedrop files are expected to reside in the current directory. The build instructions should mention that.
On debian/ubuntu the build fails because of missing libcurl-dev. That dependency should also be listed.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline emre

  • Newbie
  • *
  • Posts: 15
    • View Profile
Quote
$ ./lottosharesd
lottosharesd: main.cpp:2995: bool InitBlockIndex(): Assertion `block.hashMerkleRoot == merklerootGenesisBlock' failed.
Aborted (core dumped)

got this after compiling at both linux and osx.

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Thanks again - itoa now removed. Please have another try.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Better, but...

Code: [Select]
src/lottoshares.cpp: In function 'void addShareDrops(CBlock&)':
src/lottoshares.cpp:468:40: error: 'itoa' was not declared in this scope
src/lottoshares.cpp:492:40: error: 'itoa' was not declared in this scope
src/lottoshares.cpp:519:52: error: 'itoa' was not declared in this scope
src/lottoshares.cpp:556:52: error: 'itoa' was not declared in this scope
src/lottoshares.cpp:594:52: error: 'itoa' was not declared in this scope
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile

Source code is fresh from github, timestamp is 1403945630 .

Thanks for the bug report. I added some headers - can you give it another try please?
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
I've finished coding the MVP and a test platform is now running.

My plan is to conduct testing and polishing and then reset the platform for a launch on July 8th.

You're invited to take part in the testing - only those capable of compiling source code at the moment please.
https://github.com/FreeTrade/lottoshares

I'll be seeking to secure development, testing, marketing, infrastructure, review and audit services with the remaining 30% shares. These should be fully allocated by the time of the launch.

Compilation fails with the following error (Linux, openSUSE-12.3):
Code: [Select]
src/checkpoints.cpp: In function 'void Checkpoints::addCheckpoint(int64, int64, uint256, bool)':
src/checkpoints.cpp:146:22: error: aggregate 'std::ofstream myfile' has incomplete type and cannot be defined
src/checkpoints.cpp:157:77: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int64 {aka long long int}' [-Wformat]
src/checkpoints.cpp:159:26: error: aggregate 'std::ofstream broadcastOutput' has incomplete type and cannot be defined
src/checkpoints.cpp: In function 'void Checkpoints::loadCheckpoints()':
src/checkpoints.cpp:170:26: error: variable 'std::ifstream myfile2' has initializer but incomplete type

Source code is fresh from github, timestamp is 1403945630 .
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline CLains

  • Hero Member
  • *****
  • Posts: 2606
    • View Profile
  • BitShares: clains
Countdown on the site  +5%

PMing Cass to do one on the bitshares.org site at least, replacing the old one.

We all gonna help you push this thing!

Offline CLains

  • Hero Member
  • *****
  • Posts: 2606
    • View Profile
  • BitShares: clains
That's in 11 days!!  Awesome +5% +5%

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
I've finished coding the MVP and a test platform is now running.

My plan is to conduct testing and polishing and then reset the platform for a launch on July 8th.

You're invited to take part in the testing - only those capable of compiling source code at the moment please.
https://github.com/FreeTrade/lottoshares

I'll be seeking to secure development, testing, marketing, infrastructure, review and audit services with the remaining 30% shares. These should be fully allocated by the time of the launch.

 +5% excited!
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
http://www.lottoshares.org/ looks parked. It is wise to setup "coming soon" page placeholder.

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
I've finished coding the MVP and a test platform is now running.

My plan is to conduct testing and polishing and then reset the platform for a launch on July 8th.

You're invited to take part in the testing - only those capable of compiling source code at the moment please.
https://github.com/FreeTrade/lottoshares

I'll be seeking to secure development, testing, marketing, infrastructure, review and audit services with the remaining 30% shares. These should be fully allocated by the time of the launch.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher