hdac SDK
SDK for hdac blockchain development
interpreter.h
1 #ifndef INTERPRETER_H
2 #define INTERPRETER_H
3 
4 #include <structs/uint256.h>
5 
6 class CScript;
7 class CTransaction;
8 
10 enum
11 {
12  SIGHASH_ALL = 1,
13  SIGHASH_NONE = 2,
14  SIGHASH_SINGLE = 3,
15  SIGHASH_ANYONECANPAY = 0x80,
16 };
17 
18 uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);
19 
20 #endif // INTERPRETER_H
Definition: uint256.h:294
Definition: script.h:336
Definition: transaction.h:187