luke-jr/bfgminer — pull request #256 by rkl- (2013-07-23 12:38:30+00:00)
Title: Using primecoin addresses for --coinbase-addr

Is it possible the change the code in libblmaker/base58.c line 120 to:

switch (addrver) {
case 0: // Bitcoin pubkey hash
case 23: // Primecoin pubkey hash
case 111: // Testnet pubkey hash
if (outsz < (rv = 25))
return rv;
cout[ 0] = 0x76; // OP_DUP
cout[ 1] = 0xa9; // OP_HASH160
cout[ 2] = 0x14; // push 20 bytes
memcpy(&cout[3], &addrbin[1], 20);
cout[23] = 0x88; // OP_EQUALVERIFY
cout[24] = 0xac; // OP_CHECKSIG
return rv;
case 5: // Bitcoin script hash
case 83: // Primecoin script hash
case 196: // Testnet script hash
if (outsz < (rv = 23))
return rv;
cout[ 0] = 0xa9; // OP_HASH160
default:
return 0;
}

See: http://pastebin.com/XSTTRNF9