]> Git Repo - VerusCoin.git/commit - src/script/standard.cpp
script: move CScriptID to standard.h and add a ctor for creating them from CScripts
authorCory Fields <[email protected]>
Thu, 25 Sep 2014 02:24:46 +0000 (22:24 -0400)
committerCory Fields <[email protected]>
Fri, 17 Oct 2014 17:44:14 +0000 (13:44 -0400)
commit066e2a1403fe306787a2ce0c8571aa9de57386cf
tree5a4257c467978f1260a0d69e937c16ba16a01773
parente8f6d54f1f58d9a5998e37367b84b427e51e1ad7
script: move CScriptID to standard.h and add a ctor for creating them from CScripts

This allows for a reversal of the current behavior.

This:
CScript foo;
CScriptID bar(foo.GetID());

Becomes:
CScript foo;
CScriptID bar(foo);

This way, CScript is no longer dependent on CScriptID or Hash();
17 files changed:
src/crypter.cpp
src/key.h
src/keystore.cpp
src/keystore.h
src/rpcmisc.cpp
src/rpcrawtransaction.cpp
src/rpcwallet.cpp
src/script/compressor.cpp
src/script/compressor.h
src/script/script.h
src/script/standard.cpp
src/script/standard.h
src/test/miner_tests.cpp
src/test/script_P2SH_tests.cpp
src/test/script_tests.cpp
src/test/sigopcount_tests.cpp
src/wallet.cpp
This page took 0.02678 seconds and 4 git commands to generate.