X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fbase58.h;h=0ca0fda7da37646e00c6c4d5203a8e1d4b741784;hp=d5df354d781cdb9a9f63c813b3466e64b0a3da83;hb=6aba6f08af53e3fa49ab4d1ef002e6771d0ce358;hpb=62b3df9c02e86432aa73f8b475900946bb348816 diff --git a/src/base58.h b/src/base58.h index d5df354..0ca0fda 100644 --- a/src/base58.h +++ b/src/base58.h @@ -82,6 +82,8 @@ public: * The data vector contains RIPEMD160(SHA256(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. + * Pubkey-pair-addresses have version 1 (or 6 testnet) + * The data vector contains a serialized copy of two compressed ECDSA secp256k1 public keys. */ class CBitcoinAddress; class CBitcoinAddressVisitor : public boost::static_visitor @@ -113,6 +115,7 @@ public: bool Set(const CScriptID &id); bool Set(const CTxDestination &dest); bool Set(const CMalleablePubKey &mpk); + bool Set(const CBitcoinAddress &dest); bool IsValid() const; CBitcoinAddress()