[关闭]
@hitchhacker 2018-08-21T16:22:05.000000Z 字数 1526 阅读 1587

Ripple 节点搭建

公共节点:http://s2.ripple.com:51234

测试网路:https://s.altnet.rippletest.net:51234

0 节点安装

https://developers.ripple.com/install-rippled.html

  1. sudo apt-get update
  2. sudo apt-get install yum-utils alien
  3. sudo rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpm
  4. yumdownloader --enablerepo=ripple-stable --releasever=el7 rippled
  5. sudo rpm --import https://mirrors.ripple.com/rpm/RPM-GPG-KEY-ripple-release && rpm -K rippled*.rpm
  6. sudo alien -i --scripts rippled*.rpm && rm rippled*.rpm
  7. sudo systemctl enable rippled.service
  8. sudo systemctl start rippled.service

升级内核
sudo dpkg -r linux-generic
sudo apt-get update
sudo apt-get install linux-generic

1 PATH 添加 profile

  1. nano ~/.profile
  2. 添加 export PATH="$PATH:/opt/ripple/bin/"
  3. source ~/.profile

2 Validated

  1. /opt/ripple/bin/validator-keys create_keys
  2. /opt/ripple/bin/validator-keys create_token --keyfile /root/.ripple/validator-keys.json
  1. validator public key: nHDBc6Zy21yijeX2noEjtpgPFfpJwUtQfQvTJN3jnBenESuxdVBx
  2. [validator_token]
  3. eyJtYW5pZmVzdCI6IkpBQUFBQUp4SWUzeEY0d29jSWZ1NXhqdFBIc2Q1OERGcW9QVUM1REFR
  4. UmxEZXFQM1FLeDFzM01oQWhVVGtIbEw5bzNHcmdXUlFWTGFBd0ZEMmVzRnBXcjUyMEFSeUpL
  5. Sk45NzZka2N3UlFJaEFLSzFOV1llNWw5RzJ1QlphVi9MeW5RMy9zWHcrSkFhdXhPWGJUb1Rx
  6. SXZaQWlCeGhOeEM1eVB6ajRuY2lwQ0ltUDU2TENsRUpkMFltVCtzN0FqOTNmMmFmSEFTUU9S
  7. eFlTQml6Nk1Ib0JpN2o4eWw2OUtYdXlkUW5KTFdCekZEak94V2pSZ0VTQ1hWdXhSVVBkY3pO
  8. RU12ZzV0Y2xuV1JhK3hvb0kvZ2RDOWRaSCs0elF3PSIsInZhbGlkYXRpb25fc2VjcmV0X2tl
  9. eSI6IkI4Mjk4MTVENzc4ODcwNUM0OTI0QTc0N0ZDREU4REY3MTAxMDk1MTEzRDY5NkE3NDE1
  10. RUUwQUQwQzE1NEIzMUYifQ==

添加 [validator_token] 到/opt/ripple/etc/rippled.cfg 里

3 独立(测试)模式

rippled -a --start --conf=/opt/ripple/etc/rippled.cfg

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注