Skip to content
James Ruan edited this page Sep 14, 2015 · 1 revision

Node

A node is a protocol layer program that conduct rules of Hermes and change messages in predefined protocol for peers in Hermes. Comparing to peers, which are active part of Hermes, the nodes are passive part of Hermes. Nodes don't make decisions, they simply follow the requirement of peers on them and honestly conduct the real work.

NodeId

Hermes see the identity by using an NodeID. While human named identifier has a quite big chance to name two identities the same identifier, the NodeID is generated randomly and is optimistically believed to be unique.

The mapping of NodeID to Identifier is stored distributed and public accessible.

The mapping can be expressed in following format:

"NodeID":"Identifier".

where NodeID is 160 bit binary encoded with z85(implementation).

Clone this wiki locally