veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
altintegration::btc::BloomFilter Struct Reference

Detailed Description

Definition at line 368 of file net_entities.hpp.

+ Collaboration diagram for altintegration::btc::BloomFilter:

Public Member Functions

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

Public Attributes

std::vector< uint8_t > vData
 
uint32_t nHashFuncs
 
uint32_t nTweak
 
uint8_t nFlags
 
 ADD_SERIALIZE_METHODS
 

Friends

bool operator== (const BloomFilter &a, const BloomFilter &b)
 
bool operator!= (const BloomFilter &a, const BloomFilter &b)
 

Member Function Documentation

◆ SerializationOp()

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

Definition at line 377 of file net_entities.hpp.

377 {
378 READWRITE(this->vData);
379 READWRITE(this->nHashFuncs);
380 READWRITE(this->nTweak);
381 READWRITE(this->nFlags);
382 }

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const BloomFilter a,
const BloomFilter b 
)
friend

Definition at line 388 of file net_entities.hpp.

388 {
389 return !(a == b);
390 }

◆ operator==

bool operator== ( const BloomFilter a,
const BloomFilter b 
)
friend

Definition at line 384 of file net_entities.hpp.

384 {
385 return a.vData == b.vData && a.nHashFuncs == b.nHashFuncs &&
386 a.nTweak == b.nTweak && a.nFlags == b.nFlags;
387 }

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

altintegration::btc::BloomFilter::ADD_SERIALIZE_METHODS

Definition at line 374 of file net_entities.hpp.

◆ nFlags

uint8_t altintegration::btc::BloomFilter::nFlags

Definition at line 372 of file net_entities.hpp.

◆ nHashFuncs

uint32_t altintegration::btc::BloomFilter::nHashFuncs

Definition at line 370 of file net_entities.hpp.

◆ nTweak

uint32_t altintegration::btc::BloomFilter::nTweak

Definition at line 371 of file net_entities.hpp.

◆ vData

std::vector<uint8_t> altintegration::btc::BloomFilter::vData

Definition at line 369 of file net_entities.hpp.


The documentation for this struct was generated from the following file: