GithubHelp home page GithubHelp logo

rohitgupta027 / ewc-validator-node-install-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from energywebfoundation/ewc-validator-node-install-scripts

0.0 0.0 0.0 96 KB

EWC and Volta affiliate validator node installation scripts

Home Page: https://energyweb.org/

License: GNU General Public License v3.0

Shell 100.00%

ewc-validator-node-install-scripts's Introduction

EWC validator node install scripts

EWC and Volta affiliate validator node installation scripts.

Keep a scratch file ready to collect outputs in - You'll need them

Steps

See our Atlassian wiki for installation instructions

Shared secrets

The following files contain secrets that are used on the validators:

  • .secret => Contains the password for the ethereum private key Is accessed by parity and nodecontrol to send transactions to the chain
  • .env => Contains the individual second channel password in the SFTP_PASS variable. Used by nodecontrol
  • files in signer-data/ used by the signer to store the signers encrypted private RSA key for signing telemetry packets.

The following values are considered as public keys in .env:

  • VALIDATOR_ADDRESS => Ethereum address of the validator account. Used by signer and nodecontrol for identification.
  • TELEMETRY_INGRESS_FINGERPRINT => SHA256 fingerprint of the Ingress TLS certificate. Ingress presented cert needs to verify against the fingerprint.
  • SFTP_FINGER_PRINT => Fingerprint of the SSH hostkey when connecting to the second channel.

Files created by the installation scripts

├── docker-stack
│   ├── .env [Configurations used by docker-compose.yml]
│   ├── chain-data [Parity data directory]
│   │   ├── cache
│   │   ├── chains
│   │   │   ├── ver.lock
│   │   │   └── Volta [Blockchainb DB]
│   │   │       .
│   │   ├── keys
│   │   │   └── Volta
│   │   │       ├── address_book.json
│   │   │       └── UTC--2019-04-03T10-11-45Z--4d496ffe-8b48-e2a1-881f-351f03ae5539 [Validator signing key (not on bootnode)]
│   │   ├── network
│   │   │   └── key
│   │   └── signer
│   ├── config
│   │   ├── chainspec.json 
│   │   ├── parity-non-signing.toml [Parity configuration when signing disabled by nodecontrol]
│   │   ├── parity-signing.toml [Parity configuration when signing enabled by nodecontrol (default)]
│   │   └── peers
│   ├── curcron
│   ├── docker-compose.yml [Describes the compose stack]
│   └── signer-data
│       ├── signing.key [Encrypted RSA private key of the signer]
│       └── signing.salt [Salt used to decrypt the RSA key on signer start]
└── install-validator.sh [Script to install a validator - can be removed after bootstrap]

Other files:

  • /var/run/influxdb.sock -> Named pipe for telegraf to write telemetry to and signer to read from.
  • /etc/telegraf/telegraf.conf -> Telegraf collection settings

ewc-validator-node-install-scripts's People

Contributors

danzipie avatar jonathanwfels avatar ngyam avatar greg-flexidao avatar rohitgupta027 avatar mclrch avatar ethorhil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.