#include <net_types.h>
Definition at line 14 of file net_types.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 14 of file net_types.cpp.
◆ ToJson()
◆ CURRENT_VERSION
constexpr int CBanEntry::CURRENT_VERSION {1} |
|
staticconstexpr |
◆ nBanUntil
int64_t CBanEntry::nBanUntil {0} |
◆ nCreateTime
int64_t CBanEntry::nCreateTime {0} |
◆ nVersion
The documentation for this class was generated from the following files: