Browse Source

replace SHa256 by GOST 34.11

pull/5/head
orignal 7 years ago
parent
commit
59db1ea178
  1. 4
      src/base58.h

4
src/base58.h

@ -251,9 +251,9 @@ public: @@ -251,9 +251,9 @@ public:
/** base58-encoded Bitcoin addresses.
* 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).
* 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 CBitcoinAddressVisitor : public boost::static_visitor<bool>

Loading…
Cancel
Save