aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhih-Ming Huang <fbihjmeric@gmail.com>2020-02-09 12:07:40 +0800
committerGitHub <noreply@github.com>2020-02-09 12:07:40 +0800
commit7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b (patch)
tree9910841bba09c85ddf8e66a0c33faeed0e7e2418
parent556154dcddba2e965d91077f745c231842b6c248 (diff)
downloadtangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.tar
tangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.tar.gz
tangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.tar.bz2
tangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.tar.lz
tangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.tar.xz
tangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.tar.zst
tangerine-wiki-7a6c22499ac3fee59c7c21d6cd2ce39f9f7d810b.zip
update run bp node script instruction and fix typo (#8)HEADmaster
-rw-r--r--docs/BP-Node-Operation-Guide.md32
-rw-r--r--docs/Cryptoeconomics.md2
2 files changed, 6 insertions, 28 deletions
diff --git a/docs/BP-Node-Operation-Guide.md b/docs/BP-Node-Operation-Guide.md
index e945275..c3ce3ba 100644
--- a/docs/BP-Node-Operation-Guide.md
+++ b/docs/BP-Node-Operation-Guide.md
@@ -68,40 +68,18 @@ Start it and it will synchronize the local time automatically.
Please make sure `TCP/30303` and `UDP/30303` is exposed, or else your node is likely to be disconnected from the reset of the network.
-### Generate Node Key
-
-A node key is required to operate a BP node. Run the following command to generate a node key:
-
- docker run -v $PWD:/mnt -it byzantinelab/tangerine-tools \
- nodekey generate /mnt/node.key
-
-This show output content similar to the following
-
- Node Address: 0x93aA8C9C77De627E665F0b4015B7271B9Be89E83
- Public Key:0x046272a157cbffa00677be00b08c9d47f295539b07e53360754579ad5e933a638ba58dcf850484e7d40b8bc163a920082b2500ee54968db7155c6231c7e4eed592
-
-Please store the address and public key which will be used to register a fullnode.
-A file node.key can be found under the current working directory. node.key is very important as it contains the node private key. Please save this file securely.
-
### Register & Run your Node
1. Start the BP node. Use the following command to launch the BP node:
```
-docker run --restart always \
- -v $PWD:/mnt \
- -p 30303:30303/tcp \
- -p 30303:30303/udp \
- -it byzantinelab/go-tangerine:latest \
- --bp \
- --nodekey=/mnt/node.key \
- --datadir=/mnt/datadir \
- --syncmode=fast\
- --cache=1024 \
- --gcmode=archive \
- (--testnet)
+$ mkdir full_node_dir && cd full_node_dir
+$ curl -L https://raw.githubusercontent.com/tangerine-network/go-tangerine/master/scripts/run_bp.py -o run_bp.py && chmod +x run_bp.py
+$ ./run_bp.py --identity=SOME_NODE_NAME --testnet
```
+The `SOME_NODE_NAME` is the identity of your organization, for example "Byzantine Lab".
+
The parameter `testnet` is only for the testnet of Tangerine Network.
Please make sure you have enough disk space in the current working directory
diff --git a/docs/Cryptoeconomics.md b/docs/Cryptoeconomics.md
index 217c177..c04b0d4 100644
--- a/docs/Cryptoeconomics.md
+++ b/docs/Cryptoeconomics.md
@@ -49,7 +49,7 @@ The formula of minting velocity is stated below:
<p align="center">
<img src="https://i.imgur.com/zkco21K.png" width="400">
</p>
-r is total supply growth rate (the annual growth rate of total supply), vis node mining velocity (the annual mining rate of each node), and is mining participation rate (the percentage of deposited tokens in validators relative to current total token circulation).
+r is total supply growth rate (the annual growth rate of total supply), v is node mining velocity (the annual mining rate of each node), and is mining participation rate (the percentage of deposited tokens in validators relative to current total token circulation).
Initially, v is 18% and will alter based on the total minted tokens under a half-life condition.
The relation between node mining velocity and minted tokens is shown below: