Serialized script, used inside transaction inputs and outputs.
More...
#include <script.h>
|
| CScript () |
|
| CScript (const CScript &b) |
|
| CScript (const_iterator pbegin, const_iterator pend) |
|
| CScript (const unsigned char *pbegin, const unsigned char *pend) |
|
CScript & | operator+= (const CScript &b) |
|
| CScript (int64_t b) |
|
| CScript (opcodetype b) |
|
| CScript (const uint256 &b) |
|
| CScript (const CScriptNum &b) |
|
| CScript (const std::vector< unsigned char > &b) |
|
CScript & | operator<< (int64_t b) |
|
CScript & | operator<< (opcodetype opcode) |
|
CScript & | operator<< (const uint160 &b) |
|
CScript & | operator<< (const uint256 &b) |
|
CScript & | operator<< (const CPubKey &key) |
|
CScript & | operator<< (const CScriptNum &b) |
|
CScript & | operator<< (const std::vector< unsigned char > &b) |
|
CScript & | operator<< (const CScript &b) |
|
bool | GetOp (iterator &pc, opcodetype &opcodeRet, std::vector< unsigned char > &vchRet) |
|
bool | GetOp (iterator &pc, opcodetype &opcodeRet) |
|
bool | GetOp (const_iterator &pc, opcodetype &opcodeRet, std::vector< unsigned char > &vchRet) const |
|
bool | GetOp (const_iterator &pc, opcodetype &opcodeRet) const |
|
bool | GetOp2 (const_iterator &pc, opcodetype &opcodeRet, std::vector< unsigned char > *pvchRet) const |
|
int | FindAndDelete (const CScript &b) |
|
int | Find (opcodetype op) const |
|
unsigned int | GetSigOpCount (bool fAccurate) const |
|
unsigned int | GetSigOpCount (const CScript &scriptSig) const |
|
bool | IsPayToScriptHash () const |
|
bool | IsPushOnly () const |
|
bool | HasCanonicalPushes () const |
|
bool | IsUnspendable () const |
|
void | SetDestination (const CTxDestination &address) |
|
void | SetMultisig (int nRequired, const std::vector< CPubKey > &keys) |
|
void | PrintHex () const |
|
std::string | ToString () const |
|
void | print () const |
|
CScriptID | GetID () const |
|
Serialized script, used inside transaction inputs and outputs.
Definition at line 413 of file script.h.
CScript::CScript |
( |
const CScript & |
b | ) |
|
|
inline |
CScript::CScript |
( |
const_iterator |
pbegin, |
|
|
const_iterator |
pend |
|
) |
| |
|
inline |
CScript::CScript |
( |
const unsigned char * |
pbegin, |
|
|
const unsigned char * |
pend |
|
) |
| |
|
inline |
CScript::CScript |
( |
int64_t |
b | ) |
|
|
inline |
CScript::CScript |
( |
const uint256 & |
b | ) |
|
|
inlineexplicit |
CScript::CScript |
( |
const std::vector< unsigned char > & |
b | ) |
|
|
inlineexplicit |
static int CScript::DecodeOP_N |
( |
opcodetype |
opcode | ) |
|
|
inlinestatic |
int CScript::FindAndDelete |
( |
const CScript & |
b | ) |
|
|
inline |
bool CScript::GetOp |
( |
iterator & |
pc, |
|
|
opcodetype & |
opcodeRet, |
|
|
std::vector< unsigned char > & |
vchRet |
|
) |
| |
|
inline |
bool CScript::GetOp |
( |
iterator & |
pc, |
|
|
opcodetype & |
opcodeRet |
|
) |
| |
|
inline |
bool CScript::GetOp |
( |
const_iterator & |
pc, |
|
|
opcodetype & |
opcodeRet, |
|
|
std::vector< unsigned char > & |
vchRet |
|
) |
| const |
|
inline |
bool CScript::GetOp |
( |
const_iterator & |
pc, |
|
|
opcodetype & |
opcodeRet |
|
) |
| const |
|
inline |
bool CScript::GetOp2 |
( |
const_iterator & |
pc, |
|
|
opcodetype & |
opcodeRet, |
|
|
std::vector< unsigned char > * |
pvchRet |
|
) |
| const |
|
inline |
unsigned int CScript::GetSigOpCount |
( |
bool |
fAccurate | ) |
const |
unsigned int CScript::GetSigOpCount |
( |
const CScript & |
scriptSig | ) |
const |
... and return its opcount:
Definition at line 1842 of file script.cpp.
bool CScript::HasCanonicalPushes |
( |
| ) |
const |
bool CScript::IsPayToScriptHash |
( |
| ) |
const |
bool CScript::IsPushOnly |
( |
| ) |
const |
bool CScript::IsUnspendable |
( |
| ) |
const |
|
inline |
CScript& CScript::operator<< |
( |
int64_t |
b | ) |
|
|
inline |
CScript& CScript::operator<< |
( |
const std::vector< unsigned char > & |
b | ) |
|
|
inline |
void CScript::print |
( |
| ) |
const |
|
inline |
void CScript::PrintHex |
( |
| ) |
const |
|
inline |
CScript& CScript::push_int64 |
( |
int64_t |
n | ) |
|
|
inlineprotected |
void CScript::SetMultisig |
( |
int |
nRequired, |
|
|
const std::vector< CPubKey > & |
keys |
|
) |
| |
std::string CScript::ToString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: