Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CLAM] CLAMS > Proof-Of-Chain > @AGX.io
by
phzi
on 05/07/2014, 05:30:39 UTC
also...

running a diff in balck vs clam /src/base58.h ~-402,10

   void SetSecret(const CSecret& vchSecret, bool fCompressed)
     {
         assert(vchSecret.size() == 32);
-        SetData(128 + (fTestNet ? CBitcoinAddress::PUBKEY_ADDRESS_TEST : CBitcoinAddress::PUBKEY_ADDRESS), &vchSecret[0], vchSecret.size());
+       SetData(fTestNet ? PRIVKEY_ADDRESS_TEST : PRIVKEY_ADDRESS, &vchSecret[0], vchSecret.size());
         if (fCompressed)
             vchData.push_back(1);
     }

why change from pubkey to priv key ?

btw to check diff ( theres a few but no call home functions found i used :

git clone URLGITBLACKCOIN
cd blackcoin
git remote add -f b URLCLAMGIT
git diff master remotes/b/master
git remote rm b

Sigh... did you try reading the code before posting dumb questions?

line 282:   SCRIPT_ADDRESS = 5,
line 410:   PRIVKEY_ADDRESS = CBitcoinAddress::SCRIPT_ADDRESS + 128,
line 414:   PRIVKEY_ADDRESS_TEST = CBitcoinAddress::PUBKEY_ADDRESS_TEST + 128,

Nothing harmful here when you look at what this actually is.