Bitcoin Core  0.15.99
P2P Digital Currency
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


Private Attributes


Detailed Description

wrapper for CTxOut that provides a more compact serialization

Definition at line 93 of file compressor.h.

Constructor & Destructor Documentation

CTxOutCompressor::CTxOutCompressor ( CTxOut txoutIn)

Definition at line 102 of file compressor.h.

Member Function Documentation

uint64_t CTxOutCompressor::CompressAmount ( uint64_t  nAmount)

Definition at line 142 of file compressor.cpp.

uint64_t CTxOutCompressor::DecompressAmount ( uint64_t  nAmount)

Definition at line 161 of file compressor.cpp.

template<typename Stream , typename Operation >
void CTxOutCompressor::SerializationOp ( Stream &  s,
Operation  ser_action 

Definition at line 107 of file compressor.h.

Here is the call graph for this function:

Member Data Documentation


Definition at line 104 of file compressor.h.

CTxOut& CTxOutCompressor::txout

Definition at line 96 of file compressor.h.

The documentation for this class was generated from the following files: