#include <addrdb.h>
Definition at line 32 of file addrdb.h.
◆ CBanEntry() [1/3]
◆ CBanEntry() [2/3]
| CBanEntry::CBanEntry |
( |
int64_t |
nCreateTimeIn | ) |
|
|
inlineexplicit |
◆ CBanEntry() [3/3]
| CBanEntry::CBanEntry |
( |
const UniValue & |
json | ) |
|
|
explicit |
Create a ban entry from JSON.
- Parameters
-
| [in] | json | A JSON representation of a ban entry, as created by ToJson(). |
- Exceptions
-
| std::runtime_error | if the JSON does not have the expected fields. |
Definition at line 29 of file addrdb.cpp.
◆ SERIALIZE_METHODS()
| CBanEntry::SERIALIZE_METHODS |
( |
CBanEntry |
, |
|
|
obj |
|
|
) |
| |
|
inline |
For backward compatibility
Definition at line 54 of file addrdb.h.
◆ SetNull()
| void CBanEntry::SetNull |
( |
| ) |
|
|
inline |
◆ ToJson()
◆ CURRENT_VERSION
| const int CBanEntry::CURRENT_VERSION = 1 |
|
static |
◆ nBanUntil
| int64_t CBanEntry::nBanUntil |
◆ nCreateTime
| int64_t CBanEntry::nCreateTime |
◆ nVersion
The documentation for this class was generated from the following files: