Title: Compressed WIF for testnet Post by: apxu on January 15, 2014, 08:45:43 PM Can not get private key from WIF in testnet
lets take an example from http://wiki.betcoin.tm/List_of_address_prefixes 1) wif=cNJFgo1driFnPcBdBX8BrJrpxchBWXwXCvNH5SoSkdcF6JXXwHMm 2) decode base58 Code: "04 1f 43 dd f4 a3 a4 d0 4a db 10 78 29 3d fa 68 " 3) so "da 65 22 bc " - is a checksum , 04 - seems to be prefix but the rest is 33 bytes instead of 32... hmmm 4) sha256 (sha256 ( these-bytes-without-checksum ) ) = Code: "ee 99 5b 68 34 ec 0e 82 5f 5a 4e 32 1f c2 53 e3 " checksum error :-\ please help PS. the same bad results with exported from official client PPS. does the client always generate compressed wif-format for testnet? what about mainnet? I use 0.8.5 |