Bitcoin
|
#include <primitives/transaction.h>
#include <script/script.h>
#include <serialize.h>
#include <span.h>
Go to the source code of this file.
Classes | |
class | CScriptCompressor |
class | CTxOutCompressor |
Functions | |
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 > &out) |
uint64_t | CompressAmount (uint64_t nAmount) |
uint64_t | DecompressAmount (uint64_t nAmount) |
bool CompressScript | ( | const CScript & | script, |
std::vector< unsigned char > & | out | ||
) |
bool DecompressScript | ( | CScript & | script, |
unsigned int | nSize, | ||
const std::vector< unsigned char > & | out | ||
) |
unsigned int GetSpecialScriptSize | ( | unsigned int | nSize | ) |