CBanEntry

Record of a single ban, storing when it was created and when it expires.

Synopsis

Declared in <net_types.h>

class CBanEntry;

Member Functions

NameDescription
CBanEntry [constructor]Constructors
ToJson Generate a JSON representation of this ban entry.

Data Members

NameDescription
nBanUntil Unix epoch time (seconds) until which the ban stays in effect.
nCreateTime Unix epoch time (seconds) at which the ban was created.
nVersion Version of the format used to create this entry.

Static Data Members

NameDescription
CURRENT_VERSION Serialization version of the ban entry format.