Bitcoin
Public Member Functions | Public Attributes | Friends | List of all members
CInv Class Reference

#include <protocol.h>

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

Constructor & Destructor Documentation

◆ CInv() [1/2]

CInv::CInv ( )

◆ CInv() [2/2]

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

Member Function Documentation

◆ GetCommand()

std::string CInv::GetCommand ( ) const

◆ SerializationOp()

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

◆ ToString()

std::string CInv::ToString ( ) const

Friends And Related Function Documentation

◆ operator<

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

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CInv::ADD_SERIALIZE_METHODS

◆ hash

uint256 CInv::hash

◆ type

int CInv::type

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