mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02: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:
parent
b81ebff0d9
commit
86ea8bed54
16 changed files with 26 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue