Bitcoin ABC 0.30.7
P2P Digital Currency
|
Go to the source code of this file.
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< uint8_t > &out) |
unsigned int | GetSpecialScriptSize (unsigned int nSize) |
bool | DecompressScript (CScript &script, unsigned int nSize, const std::vector< uint8_t > &in) |
uint64_t | CompressAmount (Amount amt) |
Compress amount. More... | |
Amount | DecompressAmount (uint64_t x) |
uint64_t CompressAmount | ( | Amount | nAmount | ) |
Compress amount.
Definition at line 150 of file compressor.cpp.
bool CompressScript | ( | const CScript & | script, |
std::vector< uint8_t > & | out | ||
) |
Definition at line 53 of file compressor.cpp.
Amount DecompressAmount | ( | uint64_t | x | ) |
Definition at line 170 of file compressor.cpp.
bool DecompressScript | ( | CScript & | script, |
unsigned int | nSize, | ||
const std::vector< uint8_t > & | in | ||
) |
Definition at line 93 of file compressor.cpp.
unsigned int GetSpecialScriptSize | ( | unsigned int | nSize | ) |
Definition at line 19 of file compressor.cpp.
Definition at line 38 of file compressor.cpp.
Definition at line 29 of file compressor.cpp.