mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
Move CScriptID to script.{h/cpp}
CScriptID should be next to CScript just as CKeyID is next to CPubKey
This commit is contained in:
@@ -5,10 +5,13 @@
|
||||
|
||||
#include <script/script.h>
|
||||
|
||||
#include <hash.h>
|
||||
#include <util/strencodings.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
CScriptID::CScriptID(const CScript& in) : BaseHash(Hash160(in)) {}
|
||||
|
||||
std::string GetOpName(opcodetype opcode)
|
||||
{
|
||||
switch (opcode)
|
||||
|
||||
Reference in New Issue
Block a user