2022-02-11 20:08:45 +00:00
|
|
|
=======================
|
|
|
|
Node/Operator Diligence
|
|
|
|
=======================
|
|
|
|
|
|
|
|
.. attention::
|
|
|
|
|
|
|
|
This best practices document is a work-in-progress and is not comprehensive.
|
|
|
|
|
|
|
|
|
|
|
|
Operators can demonstrate their vested interest in the success of the network by adhering to
|
|
|
|
the following core areas of responsibility (in order of importance):
|
|
|
|
|
|
|
|
1. Keystore Diligence
|
|
|
|
---------------------
|
|
|
|
|
2022-02-22 20:08:07 +00:00
|
|
|
Requires that private keys used by the PRE node are backed up and can be restored.
|
2022-02-11 20:08:45 +00:00
|
|
|
|
|
|
|
Keystore diligence an be exercised by:
|
|
|
|
|
|
|
|
- Keeping an offline record of the mnemonic recovery phrase.
|
|
|
|
- Backing up the worker's keystores (both ethereum and nucypher).
|
|
|
|
- Using a password manager to generate and store a strong password when one is required.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
2022-02-22 20:08:07 +00:00
|
|
|
The default location of the nucypher PRE node keystore files can be located by
|
2022-02-11 20:08:45 +00:00
|
|
|
running a nucypher command:
|
|
|
|
|
|
|
|
.. code::
|
|
|
|
|
|
|
|
$ nucypher --config-path
|
|
|
|
|
2022-02-22 20:08:07 +00:00
|
|
|
Encrypted PRE Node keys can be found in the ``keystore`` directory:
|
2022-02-11 20:08:45 +00:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
/home/user/.local/share/nucypher
|
|
|
|
├── ursula.json
|
|
|
|
├── keystore
|
|
|
|
│ ├── 1621399628-e76f101f35846f18d80bfda5c61e9ec2.priv
|
|
|
|
└── ...
|
|
|
|
|
|
|
|
2. Runtime Diligence
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
Requires active and security-conscious participation in the network.
|
|
|
|
|
|
|
|
A PRE node that is unreachable or otherwise invalid will be unable to accept new
|
|
|
|
policies, and miss out on inflation rewards.
|
|
|
|
|
2022-02-22 20:08:07 +00:00
|
|
|
It is **not necessary (and potentially risky)** to hold NU/T tokens on an Operator's
|
2022-02-11 20:08:45 +00:00
|
|
|
account for any reason.
|
|
|
|
|
|
|
|
Runtime Diligence an be exercised by:
|
|
|
|
|
|
|
|
- Secure the node's keystore used on the deployment host.
|
|
|
|
- Maintain high uptime; keep downtime brief when required by updates or reconfiguration.
|
2022-02-22 20:08:07 +00:00
|
|
|
- Update when new versions are available.
|
2022-02-11 20:08:45 +00:00
|
|
|
|
|
|
|
..
|
|
|
|
TODO: separate section on backups and data (#2285)
|