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

0 Members and 1 Guest are viewing this topic.

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
LottoShares DAC - Test Platform Live
« on: June 27, 2014, 07:24:05 am »
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

Offline emski

  • Hero Member
  • *****
  • Posts: 1283
    • View Profile
    • http://lnkd.in/nPbhxG
Re: LottoShares DAC - Test Platform Live
« Reply #1 on: June 27, 2014, 08:03:28 am »
http://www.lottoshares.org/ looks parked. It is wise to setup "coming soon" page placeholder.

Offline toast

  • Hero Member
  • *****
  • Posts: 4002
    • View Profile
  • BitShares: nikolai
Re: LottoShares DAC - Test Platform Live
« Reply #2 on: June 27, 2014, 05:15:11 pm »
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 CLains

  • Hero Member
  • *****
  • Posts: 2610
    • View Profile
  • BitShares: clains
Re: LottoShares DAC - Test Platform Live
« Reply #3 on: June 27, 2014, 07:38:27 pm »
That's in 11 days!!  Awesome +5% +5%

Offline CLains

  • Hero Member
  • *****
  • Posts: 2610
    • View Profile
  • BitShares: clains
Re: LottoShares DAC - Test Platform Live
« Reply #4 on: June 27, 2014, 07:41:03 pm »
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 pc

  • Hero Member
  • *****
  • Posts: 1376
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: LottoShares DAC - Test Platform Live
« Reply #5 on: June 28, 2014, 01:15:16 pm »
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 .
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #6 on: June 28, 2014, 02:08:29 pm »

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: 1376
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: LottoShares DAC - Test Platform Live
« Reply #7 on: June 28, 2014, 02:18:22 pm »
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
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #8 on: June 28, 2014, 04:08:40 pm »
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 emre

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #9 on: June 29, 2014, 08:41:04 am »
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 pc

  • Hero Member
  • *****
  • Posts: 1376
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: LottoShares DAC - Test Platform Live
« Reply #10 on: June 29, 2014, 08:58:37 am »
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.
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #11 on: June 29, 2014, 09:54:41 am »
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: 1376
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: LottoShares DAC - Test Platform Live
« Reply #12 on: June 29, 2014, 12:17:55 pm »
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.
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline CLains

  • Hero Member
  • *****
  • Posts: 2610
    • View Profile
  • BitShares: clains
Re: LottoShares DAC - Test Platform Live
« Reply #13 on: June 29, 2014, 12:51:26 pm »
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 FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #14 on: June 29, 2014, 12:57:20 pm »
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 FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #15 on: June 29, 2014, 01:00:12 pm »

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
Re: LottoShares DAC - Test Platform Live
« Reply #16 on: June 29, 2014, 01:47:26 pm »
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 pc

  • Hero Member
  • *****
  • Posts: 1376
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: LottoShares DAC - Test Platform Live
« Reply #17 on: June 29, 2014, 03:39:52 pm »
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. :-/
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline emre

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #18 on: June 29, 2014, 09:18:45 pm »
+1

it's working atm.


Offline puppies

  • Hero Member
  • *****
  • Posts: 1660
    • View Profile
  • BitShares: puppies
Re: LottoShares DAC - Test Platform Live
« Reply #19 on: June 30, 2014, 03:24:11 am »
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 FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #20 on: June 30, 2014, 03:42:41 am »
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: 1660
    • View Profile
  • BitShares: puppies
Re: LottoShares DAC - Test Platform Live
« Reply #21 on: June 30, 2014, 03:51:14 am »
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
Re: LottoShares DAC - Test Platform Live
« Reply #22 on: June 30, 2014, 03:54:43 am »
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: 1660
    • View Profile
  • BitShares: puppies
Re: LottoShares DAC - Test Platform Live
« Reply #23 on: June 30, 2014, 05:16:24 am »
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
Re: LottoShares DAC - Test Platform Live
« Reply #24 on: June 30, 2014, 06:10:29 am »
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: 1660
    • View Profile
  • BitShares: puppies
Re: LottoShares DAC - Test Platform Live
« Reply #25 on: June 30, 2014, 04:19:25 pm »
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 emre

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #26 on: June 30, 2014, 05:17:57 pm »
block explorer for test platform:
http://lottoshares.42tx.com/

you can see your ticket transactions.

Offline emre

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: LottoShares DAC - Test Platform Live
« Reply #27 on: July 09, 2014, 03:31:44 pm »