Represents a list of nodes for managing network peers activity
A map of aliases to node pub keys.
A map of node ids to node instances.
A map of node pub keys to node instances.
A map of node pub keys to aliases.
This symbol shall be used to install a listener for only monitoring
events. Listeners installed using this symbol are called before the regular
'error' listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error' event is emitted, therefore the process will still crash if no
'error' listener is installed.
Add a reputation event to the node's history
true if the specified node exists and the event was added, false otherwise
Ban a node by nodePubKey.
true if the node was banned, false otherwise
Persists a node to the database and adds it to the node list.
Get the alias for a given nodePubKey.
Get the internal node id for a given nodePubKey.
Check if a node with a given nodePubKey exists.
Load this NodeList from the database.
Remove ban from node by nodePubKey.
true if ban was removed, false otherwise
Generated using TypeDoc