diff options
| author | Gavin Andresen <[email protected]> | 2012-01-04 21:40:52 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-01-13 10:22:23 -0500 |
| commit | 922e8e2929a2e78270868385aa46f96002fbcff3 (patch) | |
| tree | d7c7d2b3fe89bc18b8d0f1137980b9db16db3ae8 /src/base58.h | |
| parent | Remove not-used-anywhere scriptPrereq from SignSignature() (diff) | |
| download | discoin-922e8e2929a2e78270868385aa46f96002fbcff3.tar.xz discoin-922e8e2929a2e78270868385aa46f96002fbcff3.zip | |
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
Diffstat (limited to 'src/base58.h')
| -rw-r--r-- | src/base58.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base58.h b/src/base58.h index dce932b4a..d3a153b1e 100644 --- a/src/base58.h +++ b/src/base58.h @@ -255,7 +255,7 @@ public: // base58-encoded bitcoin addresses // Public-key-hash-addresses have version 0 (or 192 testnet) // The data vector contains RIPEMD160(SHA256(pubkey)), where pubkey is the serialized public key -// Script-hash-addresses (OP_EVAL) 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 class CBitcoinAddress : public CBase58Data { @@ -296,7 +296,7 @@ public: fExpectTestNet = false; break; case SCRIPT_ADDRESS: - nExpectedSize = 20; // OP_EVAL, hash of CScript + nExpectedSize = 20; // Hash of CScript fExpectTestNet = false; break; |