1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-30 16:34:29 +00:00

replace SHa256 by GOST 34.11

This commit is contained in:
orignal 2017-03-24 16:39:43 -04:00
parent 787ebbc8ad
commit 59db1ea178

View File

@ -251,9 +251,9 @@ public:
/** base58-encoded Bitcoin addresses. /** base58-encoded Bitcoin addresses.
* Public-key-hash-addresses have version 0 (or 111 testnet). * Public-key-hash-addresses have version 0 (or 111 testnet).
* The data vector contains RIPEMD160(SHA256(pubkey)), where pubkey is the serialized public key. * The data vector contains RIPEMD160(GOST3411(pubkey)), where pubkey is the serialized public key.
* Script-hash-addresses have version 5 (or 196 testnet). * Script-hash-addresses have version 5 (or 196 testnet).
* The data vector contains RIPEMD160(SHA256(cscript)), where cscript is the serialized redemption script. * The data vector contains RIPEMD160(GOST3411(cscript)), where cscript is the serialized redemption script.
*/ */
class CBitcoinAddress; class CBitcoinAddress;
class CBitcoinAddressVisitor : public boost::static_visitor<bool> class CBitcoinAddressVisitor : public boost::static_visitor<bool>