Bitcoin
|
Functions | |
static bool | IsToKeyID (const CScript &script, CKeyID &hash) |
static bool | IsToScriptID (const CScript &script, CScriptID &hash) |
static bool | IsToPubKey (const CScript &script, CPubKey &pubkey) |
bool | CompressScript (const CScript &script, std::vector< unsigned char > &out) |
unsigned int | GetSpecialScriptSize (unsigned int nSize) |
bool | DecompressScript (CScript &script, unsigned int nSize, const std::vector< unsigned char > &in) |
uint64_t | CompressAmount (uint64_t n) |
uint64_t | DecompressAmount (uint64_t x) |
bool CompressScript | ( | const CScript & | script, |
std::vector< unsigned char > & | out | ||
) |
bool DecompressScript | ( | CScript & | script, |
unsigned int | nSize, | ||
const std::vector< unsigned char > & | in | ||
) |
unsigned int GetSpecialScriptSize | ( | unsigned int | nSize | ) |