nimiqclient.models.peer.PeerStateCommand

class nimiqclient.models.peer.PeerStateCommand(value)[source]

Bases: str, enum.Enum

Commands to change the state of a peer.

Attributes

BAN

Ban.

CONNECT

Connect.

DISCONNECT

Disconnect.

UNBAN

Unban.

BAN = 'ban'

Ban.

CONNECT = 'connect'

Connect.

DISCONNECT = 'disconnect'

Disconnect.

UNBAN = 'unban'

Unban.