Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Private Attributes |
List of all members
CTxOutCompressor Class Reference
wrapper for CTxOut that provides a more compact serialization More...
#include <compressor.h>
Collaboration diagram for CTxOutCompressor:
Public Member Functions | |
CTxOutCompressor (CTxOut &txoutIn) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
Static Public Member Functions | |
static uint64_t | CompressAmount (uint64_t nAmount) |
static uint64_t | DecompressAmount (uint64_t nAmount) |
Public Attributes | |
ADD_SERIALIZE_METHODS | |
Private Attributes | |
CTxOut & | txout |
Detailed Description
wrapper for CTxOut that provides a more compact serialization
Definition at line 93 of file compressor.h.
Constructor & Destructor Documentation
◆ CTxOutCompressor()
|
inlineexplicit |
Definition at line 102 of file compressor.h.
Member Function Documentation
◆ CompressAmount()
|
static |
Definition at line 142 of file compressor.cpp.
Referenced by SerializationOp().
◆ DecompressAmount()
|
static |
Definition at line 161 of file compressor.cpp.
Referenced by SerializationOp().
◆ SerializationOp()
template<typename Stream , typename Operation >
|
inline |
Definition at line 107 of file compressor.h.
References CompressAmount(), DecompressAmount(), CTxOut::nValue, READWRITE, REF(), CTxOut::scriptPubKey, txout, and VARINT.
Member Data Documentation
◆ ADD_SERIALIZE_METHODS
CTxOutCompressor::ADD_SERIALIZE_METHODS |
Definition at line 104 of file compressor.h.
◆ txout
|
private |
Definition at line 96 of file compressor.h.
Referenced by SerializationOp().
The documentation for this class was generated from the following files:
- src/compressor.h
- src/compressor.cpp