Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - alatvian

Pages: [1]
1
BitShares PTS / Re: "No block source available" error message
« on: January 24, 2014, 02:21:11 pm »
Note:  the only node I can get it to work is
Code: [Select]
addnode=cryptoseed.cloudapp.net:80
Everything else is "connection refused."  And I have no ports blocked in the firewall.

2
Technical Support / Re: Creating a genesis block using PTS as a model
« on: January 21, 2014, 05:25:08 pm »
There exists a bounty on how to do this but I think it amounts to creating a single 'spend to may' transaction in the genesis block.

Doesn't this mean 10% of all coins/shares/whatever need to be "pre-mined?"  Or, if not pre-mined, just declared to be in existence by the genesis block?  That seems a little harsh of a requirement, since premining is often frowned upon.

3
Technical Support / Re: Creating a genesis block using PTS as a model
« on: January 21, 2014, 05:59:27 am »
am working on a modified version, i take it you were using MMC as the code base since PTS seems to have it all in order.

Not sure what MMC is.  The code for my project, RadioShares, is here: https://github.com/ddombrowsky/radioshares

4
Technical Support / Re: Creating a genesis block using PTS as a model
« on: January 21, 2014, 05:57:41 am »
That is usually removed to prevent client tring to mine their own genesis blocks, or where the genesis has to be manually created/modified. Please read the draft license here, it is a recent development.

https://docs.google.com/document/d/1PGMvn2kMHQCK1ji4ieOV9Bt2wusq81C33GVxjzKEHSg/edit?usp=sharing

I have already mined the genesis block and have changed the code to meet the needs of my project.  This is a complete experiment and it's very possible that these "shares" on will amount to nothing but a learning experience.

Quote
and if you do choose to continue and abide by the consensus, we are attempting to write a guide to initializing chains that do just that here

https://docs.google.com/document/d/1xu4csMJB5jEb05EEzVWB2puCkQfFcXJtbAD6YPQ8ypc/edit?usp=sharing

if you can help, please post in this thread https://bitsharestalk.org/index.php?topic=1714.0 your gmail address and i will give you permission to edit the document

it still requires a lot of work and technical know how.

I'll post information in that thread.  I will contribute in any way I can.

your "experiment" should not be for public use since you are not honouring the Consensus. Any release of it into the public is in direct violation of the License.

I fully intend to honor the Consensus by giving 10% of the shares to all PTS holders at the time of the first issuing of real shares in the company.  I understand this isn't "honoring" the design restrictions (e.g. total share limit of 10x PTS shares), but these things did not exist when I started the project nor were they included in the publicly available source code for PTS nodes.  The end result will be the same: 10% going to those (including myself) who own ProtoShares. 

5
I think I may have done this in part.  I mined a genesis block but didn't get the public key correct, so I think the genesis block shares (coins) are gone.  I know what I did wrong, but it's already (sort-of) out in the wild so I can't change it now without a full reboot. 

Also, I'm not sure I understand what "honor AngelShares for PTS and BTC contributors" means.  I forked the ProtoShares source code to develop a system to distribute & sell shares in my business.  Does this mean I am expected to pay a certain royalty to holders of AngelShares?

If your fork PTS code to do so then yes, but PTS is just a bitcoin client so you can fork from Bitcoin and do the same thing.  The problem is you will require mining.   If you want to use BTS to do this then you will have to honor AGS holders. 

This seems off topic.

It is.  And it is also shocking.

To bring it back to topic, I haven't done anything to ensure that the genesis block contains proper ratios and payouts to BTS/AGS shareholders.  That appears to be the bulk of the work requested in this bounty.  If I'm understanding the system correctly, an "Entity" (me) can do one of two things:
  • Fork the PTS code to create a shareholder system for their business without honoring the royalty to BTS/AGS shareholders.  In this case they receive nothing from the BitShares community except for the source code.
  • Fork the code and honor the royalty.  Before the genesis block, a program or script is run to read the PTS blockchain and alter the forked source code to have a maximum of 10 times the total Proto Shares (PTS), to include payouts to all current PTS holders within the genesis block itself, and to generate the block and public keys accordingly.  Then, release happens, mining starts, and all is right with the world (though I'm not sure what an "Entity" would get for this extra effort).

6
I think I may have done this in part.  I mined a genesis block but didn't get the public key correct, so I think the genesis block shares (coins) are gone.  I know what I did wrong, but it's already (sort-of) out in the wild so I can't change it now without a full reboot. 

Also, I'm not sure I understand what "honor AngelShares for PTS and BTC contributors" means.  I forked the ProtoShares source code to develop a system to distribute & sell shares in my business.  Does this mean I am expected to pay a certain royalty to holders of AngelShares?

7
Technical Support / Re: Creating a genesis block using PTS as a model
« on: January 08, 2014, 04:23:22 am »
That is usually removed to prevent client tring to mine their own genesis blocks, or where the genesis has to be manually created/modified. Please read the draft license here, it is a recent development.

https://docs.google.com/document/d/1PGMvn2kMHQCK1ji4ieOV9Bt2wusq81C33GVxjzKEHSg/edit?usp=sharing

I have already mined the genesis block and have changed the code to meet the needs of my project.  This is a complete experiment and it's very possible that these "shares" on will amount to nothing but a learning experience.

Quote
and if you do choose to continue and abide by the consensus, we are attempting to write a guide to initializing chains that do just that here

https://docs.google.com/document/d/1xu4csMJB5jEb05EEzVWB2puCkQfFcXJtbAD6YPQ8ypc/edit?usp=sharing

if you can help, please post in this thread https://bitsharestalk.org/index.php?topic=1714.0 your gmail address and i will give you permission to edit the document

it still requires a lot of work and technical know how.

I'll post information in that thread.  I will contribute in any way I can.

8
Technical Support / Re: Creating a genesis block using PTS as a model
« on: January 06, 2014, 02:00:34 am »
Replying to my own post.

It appears to have been removed in this commit:
Code: [Select]
47b0793 2013-11-03 02:47:43 +0700 FreeTrade: Updated Genesis Block, require network for mining
diff --git a/src/main.cpp b/src/main.cpp
index 4bf0cf5..f4f2f32 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2835,29 +2835,6 @@ bool InitBlockIndex() {


          //halt program if genesis block not valid
-    if(hash != hashGenesisBlock || block.hashMerkleRoot != merkleRootGenesisBlock){
-               printf("Find hash for genesis block\n");
-                       //Compute hashes
-      CBigNum bnTarget;
-      bnTarget.SetCompact(block.nBits);
-      printf("bntarget=%s\n",bnTarget.getuint256().ToString().c_str());
-
-      do{
-         block.nNonce++;
-         hashGenesisBlock = block.CalculateBestBirthdayHash();
-         printf("hash=%s\n",hashGenesisBlock.ToString().c_str());
-      }while(hashGenesisBlock>bnTarget.getuint256());
-
-         //Print out these values to make it easy to paste when generating a new genesis block
-         block.print();
-         printf("coinnNonce=%d;\n",block.nNonce);
-         printf("birthdayA=%u;\n",block.nBirthdayA);
-         printf("birthdayB=%u;\n",block.nBirthdayB);
-         printf("verifyHashGenesisBlock=uint256(\"%s\");\n",hashGenesisBlock.ToString().c_str());
-         printf("verifyHashMerkleRoot=uint256(\"%s\");\n",block.BuildMerkleTree().ToString().c_str());
-      }
-
-
         assert(block.hashMerkleRoot == merkleRootGenesisBlock);
         assert(hash == hashGenesisBlock);

9
Technical Support / Creating a genesis block using PTS as a model
« on: January 05, 2014, 01:58:59 am »
I'm working on a proof-of-concept project and am trying to use the momentum algorithm as a baseline.  For this, I took the source code to the protoshares client and am attempting to create my own block chain for testing and development.  In the source code, the normal place where the code can be altered to generate a "genesis block" is missing in the protoshares source (in the InitBlockIndex() function in main.cpp). 

Was this code moved?  Is there some other way I can generate a genesis block for my own development network?

10
BitShares PTS / Re: What is ProtoShares?
« on: December 30, 2013, 02:58:39 pm »
Sent to addres "PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw" txid "4e85e0de597de2ea25bdd6d80052c2e8b5edd22988934179685a30a9ea539380".  Is a sucker born every minute?

Is this your donation , are you the sucker?

I don't know, am I?  I guess I don't really know what I'm supposed to do.  I thought PTS was actually a "share" in something greater, but I don't now what I'm supposed to do to qualify.  I thought sending PTS to that address was the thing to do.  Am I wrong?

11
BitShares PTS / Re: What is ProtoShares?
« on: December 29, 2013, 03:55:16 am »
Sent to addres "PaNGELmZgzRQCKeEKM6ifgTqNkC4ceiAWw" txid "4e85e0de597de2ea25bdd6d80052c2e8b5edd22988934179685a30a9ea539380".  Is a sucker born every minute?

12
General Discussion / Re: List your skills and be known
« on: December 29, 2013, 03:42:49 am »
I'm a professional Software Engineer and Linux systems developer.  My skills are on linkedin: http://www.linkedin.com/pub/david-dombrowsky/15/344/943

But I gotta be honest with you all, I'm not convinced that this isn't a scam.

-David D.

Pages: [1]