![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
#include "script/interpreter.h"#include "uint256.h"#include <boost/variant.hpp>#include <stdint.h>Go to the source code of this file.
Classes | |
| class | CScriptID |
| A reference to a CScript: the Hash160 of its serialization (see script.h) More... | |
| class | CNoDestination |
Typedefs | |
| typedef boost::variant< CNoDestination, CKeyID, CScriptID > | CTxDestination |
| A txout script template with a specific destination. More... | |
Enumerations | |
| enum | txnouttype { TX_NONSTANDARD, TX_PUBKEY, TX_PUBKEYHASH, TX_SCRIPTHASH, TX_MULTISIG, TX_NULL_DATA } |
Functions | |
| const char * | GetTxnOutputType (txnouttype t) |
| bool | Solver (const CScript &scriptPubKey, txnouttype &typeRet, std::vector< std::vector< unsigned char > > &vSolutionsRet) |
| Return public keys or hashes from scriptPubKey, for 'standard' transaction types. More... | |
| int | ScriptSigArgsExpected (txnouttype t, const std::vector< std::vector< unsigned char > > &vSolutions) |
| bool | IsStandard (const CScript &scriptPubKey, txnouttype &whichType) |
| bool | ExtractPubKey (const CScript &scriptPubKey, CPubKey &out) |
| bool | ExtractDestination (const CScript &scriptPubKey, CTxDestination &addressRet) |
| bool | ExtractDestinations (const CScript &scriptPubKey, txnouttype &typeRet, std::vector< CTxDestination > &addressRet, int &nRequiredRet) |
| CScript | GetScriptForDestination (const CPubKey &dest) |
| CScript | GetScriptForDestination (const CTxDestination &dest) |
| CScript | GetScriptForMultisig (int nRequired, const std::vector< CPubKey > &keys) |
Variables | |
| unsigned | nMaxDatacarrierBytes |
| typedef boost::variant<CNoDestination, CKeyID, CScriptID> CTxDestination |
A txout script template with a specific destination.
It is either:
Definition at line 81 of file standard.h.
| enum txnouttype |
| Enumerator | |
|---|---|
| TX_NONSTANDARD | |
| TX_PUBKEY | |
| TX_PUBKEYHASH | |
| TX_SCRIPTHASH | |
| TX_MULTISIG | |
| TX_NULL_DATA | |
Definition at line 57 of file standard.h.
| bool ExtractDestination | ( | const CScript & | scriptPubKey, |
| CTxDestination & | addressRet | ||
| ) |
Definition at line 199 of file standard.cpp.
| bool ExtractDestinations | ( | const CScript & | scriptPubKey, |
| txnouttype & | typeRet, | ||
| std::vector< CTxDestination > & | addressRet, | ||
| int & | nRequiredRet | ||
| ) |
Definition at line 223 of file standard.cpp.
Definition at line 185 of file standard.cpp.
| CScript GetScriptForDestination | ( | const CTxDestination & | dest | ) |
Definition at line 298 of file standard.cpp.
| const char* GetTxnOutputType | ( | txnouttype | t | ) |
| bool IsStandard | ( | const CScript & | scriptPubKey, |
| txnouttype & | whichType | ||
| ) |
| int ScriptSigArgsExpected | ( | txnouttype | t, |
| const std::vector< std::vector< unsigned char > > & | vSolutions | ||
| ) |
| bool Solver | ( | const CScript & | scriptPubKey, |
| txnouttype & | typeRet, | ||
| std::vector< std::vector< unsigned char > > & | vSolutionsRet | ||
| ) |
Return public keys or hashes from scriptPubKey, for 'standard' transaction types.
Definition at line 41 of file standard.cpp.
| unsigned nMaxDatacarrierBytes |
Definition at line 16 of file standard.cpp.
1.8.17