Skip to content

Nodes

Every PEDI node is on stellar blockchain and this allows interoperability of data between various nodes. Hence your data on one node can easily be viewed on another node. There are two type of nodes on Pedity, Active and Dormant nodes.

Key difference in both node is that Active node are server specific and Dormant Node are user specific.

Dormant Node

Dormat nodes are user specific nodes, it is similar to how to setup IPFS on a computer. When you use PEDI desktop application, you are connected to PEDI network as a dormant node and you can make local edits to your data on PEDI desktop application. Once it is published on Stellar, it gets distributed from your dormant node to an active node and hence get's distributed among complete swarm. The benefit of being a dormant node is that a user will always have a local backup of their content on their system.

Dormat nodes can also store other PEDI content but it is not required and they don't get PEDI rewards. Pedity Desktop application is planned by Alpha 0.4 and is work in progress.

Active Node

Active nodes are similar to websites where a webmaster needs to host their website on a server. Similarly, an active node is managed on a server and can be connected to a frontend community (Refer Community.md for more details). That server can be joined by any user and the node start gaining PEDI in two ways -

  • By getting fee of every content that is created on the network
  • By getting revenue shared by other PEDI nodes

Home Node

Active node that hosts website and collects the fees directly from user is a home node

Away Node

Every node is an away node when it is referenced from a Home node.

Fee and Revenue

Fee to a user creating content is revenue to the nodes that are storing content.

Fee <-> revenue is divided in one-to-many approach where fees division follows the one-to-many algorithm described below.

Suppose X is fees and N is the number of node in PEDI network

    Fee = X PEDI

    X PEDI = X/2 + X/N + X/N + .... N times X/N

    Home Node revenue = X/2 PEDI

    Away Node revenue = X/N PEDI

The Home node gets 50% of the revenue for it's user because the home node drives the traffic on it's network. Similarly every node will be Home for their's network. This way, it allows distribution of offchain content using IPFS and the power of PEDI tokens.

Setting up a node is extremely simple, you need to edit the config.toml and download the latest version of PEDI nodes suite from Pedity Github.

Active Node release to public by Alpha 0.7

Notes

This doc will be updated with more details based on subsequent releases. More work needs to be done in regards to storage of old content and closing of nodes