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

0 Members and 1 Guest are viewing this topic.

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