150 PTS - BOUNTY - Write HOW-TO for initializing genesis blocks. [CLOSED]

Started by bytemaster, December 28, 2013, 08:20:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.


barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

bytemaster

Quote from: barwizi on January 18, 2014, 01:10:26 AM
have you tried the modifications yet?

Not yet.  In the mean time can you update the production quality of this document to match what Stan produced?
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

barwizi

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

barwizi

Quote from: bytemaster on January 16, 2014, 05:57:22 PM
crashed on launch... but I may be able to track that down.

How does it know which blockchain to parse?

oh, you are using it in mac so you'll have to direct it to the folder with the data so
check parser.cpp line 367 to line 381. not sure how to specify for mac though.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

bytemaster

crashed on launch... but I may be able to track that down.

How does it know which blockchain to parse?
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

barwizi

Quote from: bytemaster on January 16, 2014, 05:13:35 AM
Alternative approach instructions are missing google sparse hash map install.

Primary approach is not clear at all on what I should be doing. 

The instructions are not platform independent.

I had to modify the source to compile parser on OS X and after I did get it to compile I got the following error:

./parser allBallances --detailed >allptsbalances.txt
warning: "allBallances": unknown command name



Modifications made

Try ./parser allBalances --detailed >allptsbalances.txt

i made a typo.

--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

bytemaster

Alternative approach instructions are missing google sparse hash map install.

Primary approach is not clear at all on what I should be doing. 

The instructions are not platform independent.

I had to modify the source to compile parser on OS X and after I did get it to compile I got the following error:

./parser allBallances --detailed >allptsbalances.txt
warning: "allBallances": unknown command name


For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bytemaster

I plan on testing this out today and will provide feedback when done.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

barwizi

Quote from: GodsCreation on January 13, 2014, 11:33:04 AM
Quote from: barwizi on January 13, 2014, 07:10:05 AM
The guide is short and simple, and i'm sure can be followed easily.

feedback please?

Short and simple, fit's the description perfectly. If I got some time this week I'll create a tool derived from this guide to create the genesis block online and export to various (db) formats.

Ground breaking idea!!
thanks for the feedback , please check your inbox.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

rysgc

Quote from: barwizi on January 13, 2014, 07:10:05 AM
The guide is short and simple, and i'm sure can be followed easily.

feedback please?

Short and simple, fit's the description perfectly. If I got some time this week I'll create a tool derived from this guide to create the genesis block online and export to various (db) formats.
DACZine.com - Receive all the latest DAC and BitShares community news straight to your inbox. [url=http://www.daczine.com/signup]Signup here[/url] or [url=http://www.daczine.com/submit]Submit news[/url]

barwizi

The guide is short and simple, and i'm sure can be followed easily.

feedback please?
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

barwizi

Quote from: FreeTrade on January 12, 2014, 03:26:24 PM
Use like so - for block 32000 - don't forget to add 1.

   for(int i=0;i<32001;i++){
      processNextBlockIntoGrantDatabase();
   }

yay, you finally came around. check your inbox.
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

FreeTrade

Use like so - for block 32000 - don't forget to add 1.

   for(int i=0;i<32001;i++){
      processNextBlockIntoGrantDatabase();
   }
"People should be more sophisticated? How are you gonna get that done?" - Jerry Seinfeld reply to Bill Maher