Skip to content

Commit

Permalink
update SECRET_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
cqtenq committed Nov 9, 2014
1 parent c2bb55f commit 6b63d98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/chainparams.cpp
Expand Up @@ -89,9 +89,9 @@ class CMainParams : public CChainParams {
//how to do feathercoin ?
base58Prefixes[PUBKEY_ADDRESS] = list_of(14); // FeatherCoin addresses start with F
base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
base58Prefixes[SECRET_KEY] = list_of(128);
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4);
base58Prefixes[SECRET_KEY] = list_of(142);// 14+128
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xBC)(0x26);
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xDA)(0xEE);

// Convert the pnSeeds array into usable address objects.
for (unsigned int i = 0; i < ARRAYLEN(pnSeed); i++)
Expand Down Expand Up @@ -157,7 +157,7 @@ class CTestNetParams : public CMainParams {

base58Prefixes[PUBKEY_ADDRESS] = list_of(65);
base58Prefixes[SCRIPT_ADDRESS] = list_of(196);
base58Prefixes[SECRET_KEY] = list_of(239);
base58Prefixes[SECRET_KEY] = list_of(193);//65+128
base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF);
base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94);
}
Expand Down
2 changes: 1 addition & 1 deletion src/rpcmisc.cpp
Expand Up @@ -286,7 +286,7 @@ Value verifymessage(const Array& params, bool fHelp)
"verifymessage \"feathercoinaddress\" \"signature\" \"message\"\n"
"\nVerify a signed message\n"
"\nArguments:\n"
"1. \"feathercoinaddress\" (string, required) The feathercoin address to use for the signature.\n"
"1. \"bitcoinaddress\" (string, required) The bitcoin address to use for the signature.\n"
"2. \"signature\" (string, required) The signature provided by the signer in base 64 encoding (see signmessage).\n"
"3. \"message\" (string, required) The message that was signed.\n"
"\nResult:\n"
Expand Down
2 changes: 1 addition & 1 deletion src/rpcwallet.cpp
Expand Up @@ -892,7 +892,7 @@ Value addmultisigaddress(const Array& params, bool fHelp)
"3. \"account\" (string, optional) An account to assign the addresses to.\n"

"\nResult:\n"
"\"bitcoinaddress\" (string) A bitcoin address associated with the keys.\n"
"\"feathercoinaddress\" (string) A feathercoin address associated with the keys.\n"

"\nExamples:\n"
"\nAdd a multisig address from 2 addresses\n"
Expand Down

0 comments on commit 6b63d98

Please sign in to comment.