Fabcoin Core
0.16.2
P2P Digital Currency
|
#include "script/standard.h"
#include "pubkey.h"
#include "script/script.h"
#include "util.h"
#include "utilstrencodings.h"
#include <boost/foreach.hpp>
#include <fasc/fascstate.h>
#include <fasc/fasctransaction.h>
#include <validation.h>
Go to the source code of this file.
Typedefs | |
typedef std::vector< unsigned char > | valtype |
Functions | |
const char * | GetTxnOutputType (txnouttype t) |
bool | Solver (const CScript &scriptPubKey, txnouttype &typeRet, std::vector< std::vector< unsigned char > > &vSolutionsRet, bool contractConsensus) |
Return public keys or hashes from scriptPubKey, for 'standard' transaction types. More... | |
bool | ExtractDestination (const CScript &scriptPubKey, CTxDestination &addressRet, txnouttype *typeRet) |
bool | ExtractDestinations (const CScript &scriptPubKey, txnouttype &typeRet, std::vector< CTxDestination > &addressRet, int &nRequiredRet) |
CScript | GetScriptForDestination (const CTxDestination &dest) |
CScript | GetScriptForRawPubKey (const CPubKey &pubKey) |
CScript | GetScriptForMultisig (int nRequired, const std::vector< CPubKey > &keys) |
CScript | GetScriptForWitness (const CScript &redeemscript) |
Variables | |
bool | fAcceptDatacarrier = DEFAULT_ACCEPT_DATACARRIER |
unsigned | nMaxDatacarrierBytes = MAX_OP_RETURN_RELAY |
typedef std::vector<unsigned char> valtype |
Definition at line 18 of file standard.cpp.
bool ExtractDestination | ( | const CScript & | scriptPubKey, |
CTxDestination & | addressRet, | ||
txnouttype * | typeRet | ||
) |
Definition at line 268 of file standard.cpp.
bool ExtractDestinations | ( | const CScript & | scriptPubKey, |
txnouttype & | typeRet, | ||
std::vector< CTxDestination > & | addressRet, | ||
int & | nRequiredRet | ||
) |
Definition at line 302 of file standard.cpp.
CScript GetScriptForDestination | ( | const CTxDestination & | dest | ) |
Definition at line 383 of file standard.cpp.
Definition at line 378 of file standard.cpp.
Definition at line 394 of file standard.cpp.
const char* GetTxnOutputType | ( | txnouttype | t | ) |
bool Solver | ( | const CScript & | scriptPubKey, |
txnouttype & | typeRet, | ||
std::vector< std::vector< unsigned char > > & | vSolutionsRet, | ||
bool | contractConsensus | ||
) |
Return public keys or hashes from scriptPubKey, for 'standard' transaction types.
Definition at line 46 of file standard.cpp.
bool fAcceptDatacarrier = DEFAULT_ACCEPT_DATACARRIER |
Definition at line 20 of file standard.cpp.
unsigned nMaxDatacarrierBytes = MAX_OP_RETURN_RELAY |
Definition at line 21 of file standard.cpp.