Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | 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)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
std::string GetCommand () const
 
std::string ToString () const
 

Public Attributes

 ADD_SERIALIZE_METHODS
 
int type
 
uint256 hash
 

Friends

bool operator< (const CInv &a, const CInv &b)
 

Detailed Description

inv message data

Definition at line 338 of file protocol.h.

Constructor & Destructor Documentation

CInv::CInv ( )

Definition at line 148 of file protocol.cpp.

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

Definition at line 154 of file protocol.cpp.

Member Function Documentation

std::string CInv::GetCommand ( ) const

Definition at line 161 of file protocol.cpp.

Here is the caller graph for this function:

template<typename Stream , typename Operation >
void CInv::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 347 of file protocol.h.

Here is the call graph for this function:

std::string CInv::ToString ( ) const

Definition at line 178 of file protocol.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

bool operator< ( const CInv a,
const CInv b 
)
friend

Definition at line 156 of file protocol.cpp.

Member Data Documentation

CInv::ADD_SERIALIZE_METHODS

Definition at line 344 of file protocol.h.

uint256 CInv::hash

Definition at line 361 of file protocol.h.

int CInv::type

Definition at line 360 of file protocol.h.


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