Fabcoin Core  0.16.2
P2P Digital Currency
Typedefs | Functions | Variables
standard.cpp File Reference
#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>
Include dependency graph for standard.cpp:

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 Documentation

typedef std::vector<unsigned char> valtype

Definition at line 18 of file standard.cpp.

Function Documentation

bool ExtractDestination ( const CScript scriptPubKey,
CTxDestination addressRet,
txnouttype typeRet 
)

Definition at line 268 of file standard.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ExtractDestinations ( const CScript scriptPubKey,
txnouttype typeRet,
std::vector< CTxDestination > &  addressRet,
int &  nRequiredRet 
)

Definition at line 302 of file standard.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

CScript GetScriptForDestination ( const CTxDestination dest)

Definition at line 370 of file standard.cpp.

Here is the caller graph for this function:

CScript GetScriptForMultisig ( int  nRequired,
const std::vector< CPubKey > &  keys 
)

Definition at line 383 of file standard.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

CScript GetScriptForRawPubKey ( const CPubKey pubKey)

Definition at line 378 of file standard.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

CScript GetScriptForWitness ( const CScript redeemscript)

Definition at line 394 of file standard.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* GetTxnOutputType ( txnouttype  t)

Definition at line 25 of file standard.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

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.