Module rings_core::dht::vnode
source · [−]Expand description
VNode is a special node that only has virtual address
Structs
A Virtual Node is a Node that dont have real network address. The Address of a Virtual Node is virutal, For Encoded Data, it’s sha1 of data, for a SubRing, it’s sha1 of SubRing’s name, and for the RelayedMessage, it’s the target address of message plus 1 (for ensure that the message is sent to the successor of target), thus while target Node going online, it will sync from it’s successor.
Enums
VNode Types