hdac SDK
SDK for hdac blockchain development
standard.h
1 #ifndef KEYS_STANDARD_H
2 #define KEYS_STANDARD_H
3 
4 #include <vector>
5 #include <script/standard.h>
6 
7 class CScript;
8 
9 enum txnouttype
10 {
11  TX_NONSTANDARD,
12  // 'standard' transaction types:
13  TX_PUBKEY,
14  TX_PUBKEYHASH,
15  TX_SCRIPTHASH,
16  TX_MULTISIG,
17  TX_NULL_DATA,
18 };
19 
20 bool TemplateSolver(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<std::vector<unsigned char> >& vSolutionsRet);
21 bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<CTxDestination>& addressRet, int& nRequiredRet,std::vector<std::vector<unsigned char> >* lpvSolutionsRet = NULL);
22 
23 typedef std::vector<unsigned char> valtype;
24 
25 #endif // KEYS_STANDARD_H
Definition: script.h:336