![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
C++ wrapper for BIGNUM (OpenSSL bignum) More...
#include <bignum.h>
Inheritance diagram for CBigNum:
Collaboration diagram for CBigNum:Public Member Functions | |
| CBigNum () | |
| CBigNum (const CBigNum &b) | |
| CBigNum & | operator= (const CBigNum &b) |
| ~CBigNum () | |
| CBigNum (signed char n) | |
| CBigNum (short n) | |
| CBigNum (int n) | |
| CBigNum (long n) | |
| CBigNum (long long n) | |
| CBigNum (unsigned char n) | |
| CBigNum (unsigned short n) | |
| CBigNum (unsigned int n) | |
| CBigNum (unsigned long n) | |
| CBigNum (unsigned long long n) | |
| CBigNum (uint256 n) | |
| CBigNum (const std::vector< unsigned char > &vch) | |
| void | setulong (unsigned long n) |
| unsigned long | getulong () const |
| unsigned int | getuint () const |
| int | getint () const |
| void | setint64 (int64_t sn) |
| void | setuint64 (uint64_t n) |
| void | setuint256 (uint256 n) |
| uint256 | getuint256 () const |
| void | setvch (const std::vector< unsigned char > &vch) |
| std::vector< unsigned char > | getvch () const |
| CBigNum & | SetCompact (unsigned int nCompact) |
| unsigned int | GetCompact () const |
| void | SetHex (const std::string &str) |
| std::string | ToString (int nBase=10) const |
| std::string | GetHex () const |
| unsigned int | GetSerializeSize (int nType=0, int nVersion=PROTOCOL_VERSION) const |
| template<typename Stream > | |
| void | Serialize (Stream &s, int nType=0, int nVersion=PROTOCOL_VERSION) const |
| template<typename Stream > | |
| void | Unserialize (Stream &s, int nType=0, int nVersion=PROTOCOL_VERSION) |
| bool | operator! () const |
| CBigNum & | operator+= (const CBigNum &b) |
| CBigNum & | operator-= (const CBigNum &b) |
| CBigNum & | operator*= (const CBigNum &b) |
| CBigNum & | operator/= (const CBigNum &b) |
| CBigNum & | operator%= (const CBigNum &b) |
| CBigNum & | operator<<= (unsigned int shift) |
| CBigNum & | operator>>= (unsigned int shift) |
| CBigNum & | operator++ () |
| const CBigNum | operator++ (int) |
| CBigNum & | operator-- () |
| const CBigNum | operator-- (int) |
Friends | |
| const CBigNum | operator- (const CBigNum &a, const CBigNum &b) |
| const CBigNum | operator/ (const CBigNum &a, const CBigNum &b) |
| const CBigNum | operator% (const CBigNum &a, const CBigNum &b) |
|
inline |
Definition at line 88 of file bignum.h.
References setint64(), and setulong().
Here is the call graph for this function:
|
inline |
Definition at line 89 of file bignum.h.
References setint64(), and setulong().
Here is the call graph for this function:
|
inline |
Definition at line 90 of file bignum.h.
References setint64(), and setulong().
Here is the call graph for this function:
|
inline |
Definition at line 91 of file bignum.h.
References setint64(), and setulong().
Here is the call graph for this function:
|
inline |
Definition at line 92 of file bignum.h.
References setint64().
Here is the call graph for this function:
|
inline |
Definition at line 93 of file bignum.h.
References setulong().
Here is the call graph for this function:
|
inline |
Definition at line 94 of file bignum.h.
References setulong().
Here is the call graph for this function:
|
inline |
Definition at line 95 of file bignum.h.
References setulong().
Here is the call graph for this function:
|
inline |
Definition at line 96 of file bignum.h.
References setulong().
Here is the call graph for this function:
|
inline |
Definition at line 97 of file bignum.h.
References setuint64().
Here is the call graph for this function:
|
inlineexplicit |
Definition at line 98 of file bignum.h.
References setuint256().
Here is the call graph for this function:
|
inlineexplicit |
|
inline |
Definition at line 314 of file bignum.h.
Referenced by ComputeMinWork(), and GetNextWorkRequired().
Here is the caller graph for this function:
|
inline |
Definition at line 394 of file bignum.h.
References ToString().
Here is the call graph for this function:
|
inline |
Definition at line 399 of file bignum.h.
References GetSerializeSize(), and getvch().
Here is the call graph for this function:
|
inline |
Definition at line 231 of file bignum.h.
Referenced by AddToBlockIndex(), CheckProofOfWork(), getblocktemplate(), GetNextWorkRequired(), and LoadBlockIndexDB().
Here is the caller graph for this function:
|
inline |
Definition at line 112 of file bignum.h.
Referenced by ToString().
Here is the caller graph for this function:
|
inline |
Definition at line 261 of file bignum.h.
Referenced by GetSerializeSize(), and Serialize().
Here is the caller graph for this function:
|
inline |
Definition at line 295 of file bignum.h.
Referenced by CheckProofOfWork(), ComputeMinWork(), getblocktemplate(), CBlockIndex::GetBlockWork(), GetNextWorkRequired(), and ProcessBlock().
Here is the caller graph for this function:
|
inline |
Definition at line 338 of file bignum.h.
References HexDigit().
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 246 of file bignum.h.
Referenced by CBigNum(), and Unserialize().
Here is the caller graph for this function:
|
inline |
Definition at line 368 of file bignum.h.
References getulong().
Referenced by GetHex().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
1.8.8