Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CInv Class Reference

inv message data More...

#include <protocol.h>

Collaboration diagram for CInv:
[legend]

Public Member Functions

 CInv ()
 
 CInv (int typeIn, const uint256 &hashIn)
 
 CInv (const std::string &strType, const uint256 &hashIn)
 
 IMPLEMENT_SERIALIZE (READWRITE(type);READWRITE(hash);) friend bool operator<(const CInv &a
 
bool IsKnownType () const
 
const char * GetCommand () const
 
std::string ToString () const
 
void print () const
 

Public Attributes

const CInvb
 
int type
 
uint256 hash
 

Detailed Description

inv message data

Definition at line 128 of file protocol.h.

Constructor & Destructor Documentation

CInv::CInv ( )

Definition at line 99 of file protocol.cpp.

CInv::CInv ( int  typeIn,
const uint256 hashIn 
)

Definition at line 105 of file protocol.cpp.

CInv::CInv ( const std::string &  strType,
const uint256 hashIn 
)

Definition at line 111 of file protocol.cpp.

Member Function Documentation

const char * CInv::GetCommand ( ) const

Definition at line 137 of file protocol.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

CInv::IMPLEMENT_SERIALIZE ( READWRITE(type);READWRITE(hash);  ) const
bool CInv::IsKnownType ( ) const

Definition at line 132 of file protocol.cpp.

Here is the caller graph for this function:

void CInv::print ( ) const

Definition at line 149 of file protocol.cpp.

Here is the call graph for this function:

std::string CInv::ToString ( ) const

Definition at line 144 of file protocol.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

const CInv& CInv::b

Definition at line 141 of file protocol.h.

uint256 CInv::hash

Definition at line 151 of file protocol.h.

int CInv::type

Definition at line 150 of file protocol.h.


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