Post
Topic
Board Altcoin Discussion
Re: [XPM] Working on a GPU miner for Primecoin, new thread :)
by
mtrlt
on 05/09/2013, 14:38:06 UTC
Please help me compile a file libblkmaker, so that I could use address different than mu1DxMiRUgzjNrVyVeHeRhqDm3XVK12SK2 in my config. I'm not a programmer.
edit base58.c in the libblkmaker dir and add these middle lines:

      case   0:  // Bitcoin pubkey hash
      case  23:  // Primecoin pubkey hash
      case 111:  // Testnet pubkey hash

and

      case   5:  // Bitcoin script hash
      case  83:  // Primecoin script hash
      case 196:  // Testnet script hash

So, look up those bitcoin/testnet lines and add the primecoin one. Then compile Smiley (don't forget autogen.sh)
You can also just redownload the library sources (from https://dl.dropboxusercontent.com/u/55025350/bitcoin-libblkmaker.zip). I have updated the source.