2020-12-28 08:14:30 +00:00
|
|
|
.. _running-a-node:
|
|
|
|
|
|
|
|
Stakers and Workers
|
|
|
|
===================
|
|
|
|
|
2021-02-05 00:00:14 +00:00
|
|
|
NuCypher staking operations are divided into two roles - “Staker” and “Worker”.
|
2020-12-28 08:14:30 +00:00
|
|
|
The Staker can be thought of as a fiduciary administrator that holds NU and collects rewards.
|
|
|
|
The Worker is bonded to a Staker and performs work on behalf of the Staker.
|
|
|
|
|
|
|
|
Staker Overview
|
|
|
|
----------------
|
|
|
|
|
|
|
|
A nucypher staker is a holder of NU and manager of one or more stakes. Stakes are initiated by locking NU into
|
2021-02-05 00:00:14 +00:00
|
|
|
the *"Staking Escrow "* contract for a fixed duration of time. Staked NU earns two income streams: inflation
|
2020-12-28 08:14:30 +00:00
|
|
|
rewards (NU) and policy fees (ETH). Staked NU gradually unlocks with each period of completed,
|
2021-02-05 04:34:03 +00:00
|
|
|
depending on *re-stake* and *wind-down* options.
|
2020-12-28 08:14:30 +00:00
|
|
|
|
2021-02-05 04:34:03 +00:00
|
|
|
Active network participation (work) is delegated to a *Worker* node through *bonding*.
|
|
|
|
There is a 1:1 relationship between the roles; One Staker to one Worker. A Staker controls a single Ethereum
|
|
|
|
account and may have multiple substakes, but only ever has one Worker bonded at a time.
|
2020-12-28 08:14:30 +00:00
|
|
|
|
|
|
|
Worker Overview
|
|
|
|
----------------
|
|
|
|
|
2021-02-05 00:00:14 +00:00
|
|
|
*Worker* - (aka "Ursula") Active network participant who carries out threshold cryptography operations.
|
2020-12-28 08:14:30 +00:00
|
|
|
|
2021-02-05 04:34:03 +00:00
|
|
|
The Worker is the bonded delegate of a Staker and an active network node, performing work on behalf of a staker.
|
|
|
|
Workers must remain online to provide uninterrupted services on-demand, signalling their availability with
|
|
|
|
commitment transactions.
|
|
|
|
|
2020-12-28 08:14:30 +00:00
|
|
|
|
2021-01-14 19:14:13 +00:00
|
|
|
Staker and Worker Delegation
|
|
|
|
-----------------------------
|
2020-12-28 08:14:30 +00:00
|
|
|
|
2021-02-05 04:34:03 +00:00
|
|
|
There are several strategies for running and maintaining a stake:
|
2020-12-28 08:14:30 +00:00
|
|
|
|
2021-02-05 04:34:03 +00:00
|
|
|
* Delegate custody of NU and work to a third-party custodian (Staker Delegation).
|
|
|
|
* Delegate work via a staking pool or `Node-as-a-Service provider <https://github.com/nucypher/validator-profiles>`_ (Worker Delegation).
|
|
|
|
* Control the staker yourself and run your own worker (Self Directed).
|
2020-12-28 08:14:30 +00:00
|
|
|
|
|
|
|
Here is a simple heuristic to help decide on a course of action:
|
|
|
|
|
2021-01-14 19:14:13 +00:00
|
|
|
.. image:: ../.static/img/running_a_node_decision.svg
|
|
|
|
:target: ../.static/img/running_a_node_decision.svg
|