Skip to content

Commit

Permalink
Update authority_nodes.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatmikh committed Nov 2, 2019
1 parent 7f7e178 commit d7ca81f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc/authority_nodes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Instruction on how to set up a node can be found here:
https://github.com/papyrusglobal/papyrus

**Recommended Authority Node configuration:**
---------------------------------------------

CPU - Intel® Core™ i7 or more powerful

Expand All @@ -42,7 +43,29 @@ Hard drive: 512Gb+ (SSD recommended)

Connection: 100 MBit/s+ port

**How to deploy Authority Node**
--------------------------------

Prerequisites
You need have Docker and Docker Compose installed.

To start a node, run the following docker command. It will download the image and start it. Optionally, you may add keys such as --rpc or --ws (see the ‘geth’ command line options) to the end of the command.

.. code-block:: javascript
docker run -d --name=my-node -p 33309:33309 -p 33309:33309/udp -v my-node-volume:/root/.ethereum --restart unless-stopped papyrusglobal/geth-papyrus:latest --port 33309 --ethstats='my-node-public-name:ante litteram@status-server.papyrus.network:3800'
Additionally, if you are authority node:
You will then need to copy your <account.json> to the container where node runs.

.. code-block:: javascript
docker cp account.json my-node:/root/.ethereum/keystore/
docker exec -it my-node ./console.sh 'personal.unlockAccount(eth.accounts[0], "<<<passphrase>>>", 0)'
docker exec -it my-node ./console.sh 'miner.setEtherbase(eth.accounts[0]); miner.start()'
**Expected Authority Node rewards:**
------------------------------------

Expected monthly PPR reward for active Authority Node is equal to 60*60*24*30*(K/47)*(1.5/K) = ~82,723 PPR

0 comments on commit d7ca81f

Please sign in to comment.