Author Topic: 150 PTS - BOUNTY - Write HOW-TO for initializing genesis blocks. [CLOSED]  (Read 17818 times)

0 Members and 1 Guest are viewing this topic.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline naturalog

  • Newbie
  • *
  • Posts: 13
    • View Profile

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline bytemaster

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: http://bytemaster.bitshares.org
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.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
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.

Offline 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: http://bytemaster.bitshares.org
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.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
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:
Code: [Select]
./parser allBallances --detailed >allptsbalances.txt
warning: "allBallances": unknown command name


Modifications made

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

i made a typo.

« Last Edit: January 16, 2014, 04:24:49 pm by barwizi »
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline 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:
Code: [Select]
./parser allBallances --detailed >allptsbalances.txt
warning: "allBallances": unknown command name

For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline bytemaster

I plan on testing this out today and will provide feedback when done.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
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.

Offline rysgc

  • Sr. Member
  • ****
  • Posts: 289
    • View Profile
    • DACZine.com
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. Signup here or Submit news

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
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.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
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.

Offline FreeTrade

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
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