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

Synopsis

Declared in <net_types.h>

class CBanEntry;

Member Functions

Name

Description

CBanEntry [constructor]

Constructors

ToJson

Generate a JSON representation of this ban entry.

Data Members

Name

Description

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

Name

Description

CURRENT_VERSION

Serialization version of the ban entry format.

Created with MrDocs