forked from alpha-omega-labs/genesis-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from zenodeapp/genesis-v1.0.0
Genesis v1.0.0
- Loading branch information
Showing
33 changed files
with
695 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
version=main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.install/updater.sh v1.0.0 r | ||
.install/_variables.sh.example v1.0.1 a | ||
backup/create.sh v1.0.0 u | ||
backup/README.md v1.0.0 d | ||
fetch/peers.sh v1.0.0 u | ||
fetch/rpcs.sh v1.0.0 u | ||
fetch/state.sh v1.0.0 u | ||
fetch/README.md v1.0.1 d | ||
info/my-peer.sh v1.0.0 u | ||
info/README.md v1.0.1 d | ||
key/create.sh v1.0.0 u | ||
key/import.sh v1.0.0 u | ||
key/README.md v1.0.0 d | ||
service/install.sh v1.0.0 u | ||
service/uninstall.sh v1.0.0 u | ||
service/README.md v1.0.1 d | ||
tools/restate-sync.sh v1.0.0 u | ||
tools/port-shifter.sh v1.0.1 u | ||
tools/README.md v1.0.0 d | ||
LICENSE v1.0.0 a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
# This is an example. | ||
# Create a _variables.sh file in the root and add these variables to allow the scripts to work their magic. | ||
|
||
# Variables for all modules | ||
CHAIN_ID=genesis_29-2 | ||
BINARY_NAME=genesisd | ||
NODE_DIR_NAME=.genesis | ||
NODE_DIR=$HOME/$NODE_DIR_NAME | ||
CONFIG_DIR=$NODE_DIR/config | ||
DATA_DIR=$NODE_DIR/data | ||
|
||
# /fetch module variables. | ||
# Adviced is to create a repo containing a genesis.json, seeds.txt, peers.txt and rpc_servers.txt file. | ||
# See: https://github.com/zenodeapp/genesis-parameters/tree/main/genesis_29-2 for an example. | ||
FETCH_URL=https://raw.githubusercontent.com/zenodeapp/genesis-parameters/main/$CHAIN_ID | ||
SEEDS_URL=$FETCH_URL/seeds.txt | ||
PEERS_URL=$FETCH_URL/peers.txt | ||
STATE_URL=$FETCH_URL/genesis.json | ||
RPC_SERVERS_URL=$FETCH_URL/rpc_servers.txt | ||
|
||
# /info module variables. | ||
IP_INFO_PROVIDER=ipinfo.io/ip | ||
|
||
# /service module variables. | ||
SERVICE_DIR=$(cd "$(dirname "$0")"/../.. && pwd)/services # Where the service file is located, this example points two directories back based on /service/* (e.g. /service/install.sh/../../services). | ||
SERVICE_FILE=$BINARY_NAME.service |
Oops, something went wrong.