PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | List of all members
CBLSId Class Reference

#include <bls_wrapper.h>

Inheritance diagram for CBLSId:
[legend]
Collaboration diagram for CBLSId:
[legend]

Public Member Functions

 CBLSId ()
 
 CBLSId (const uint256 &nHash)
 
CBLSWrapperoperator= (const CBLSWrapper &ref)=default
 
CBLSWrapperoperator= (CBLSWrapper &&ref)
 
bool operator== (const C &r) const
 
bool operator!= (const C &r) const
 
- Public Member Functions inherited from CBLSWrapper< CBLSIdImplicit, BLS_CURVE_ID_SIZE, CBLSId >
 CBLSWrapper ()
 
 CBLSWrapper (const std::vector< unsigned char > &vecBytes)
 
 CBLSWrapper (const CBLSWrapper &ref)=default
 
 CBLSWrapper (CBLSWrapper &&ref)
 
CBLSWrapperoperator= (const CBLSWrapper &ref)=default
 
CBLSWrapperoperator= (CBLSWrapper &&ref)
 
bool operator== (const CBLSId &r) const
 
bool operator!= (const CBLSId &r) const
 
bool IsValid () const
 
void Reset ()
 
void SetByteVector (const std::vector< uint8_t > &vecBytes)
 
std::vector< uint8_t > ToByteVector () const
 
const uint256GetHash () const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s, bool checkMalleable=true)
 
bool CheckMalleable (const std::vector< uint8_t > &vecBytes) const
 
std::string ToString () const
 

Additional Inherited Members

- Static Public Attributes inherited from CBLSWrapper< CBLSIdImplicit, BLS_CURVE_ID_SIZE, CBLSId >
static const size_t SerSize
 
- Protected Member Functions inherited from CBLSWrapper< CBLSIdImplicit, BLS_CURVE_ID_SIZE, CBLSId >
constexpr size_t GetSerSize () const
 
- Protected Attributes inherited from CBLSWrapper< CBLSIdImplicit, BLS_CURVE_ID_SIZE, CBLSId >
CBLSIdImplicit impl
 
bool fValid
 
uint256 cachedHash
 

Detailed Description

Definition at line 190 of file bls_wrapper.h.

Constructor & Destructor Documentation

◆ CBLSId() [1/2]

CBLSId::CBLSId ( )
inline

Definition at line 197 of file bls_wrapper.h.

◆ CBLSId() [2/2]

CBLSId::CBLSId ( const uint256 nHash)

Definition at line 20 of file bls_wrapper.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator!=()

bool CBLSWrapper< ImplType, _SerSize, C >::operator!=
inline

Definition at line 82 of file bls_wrapper.h.

◆ operator=() [1/2]

CBLSWrapper& CBLSWrapper< ImplType, _SerSize, C >::operator=
inline

Definition at line 70 of file bls_wrapper.h.

◆ operator=() [2/2]

CBLSWrapper& CBLSWrapper< ImplType, _SerSize, C >::operator=
default

◆ operator==()

bool CBLSWrapper< ImplType, _SerSize, C >::operator==
inline

Definition at line 78 of file bls_wrapper.h.


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