This chapters covers the information about the underlying P2P network of Shelley's ITN implemented in Jormungandr.
The very simple explanation of the poldercast network relating to jormungandr.
Poldercastis a Topic Based Pub/Sub System.
| { | |
| "Producers": [ | |
| { "comment": "For INSTRUCTIONS see the first comment!"}, | |
| { "comment": "CTA: add ONE or MORE of the CTA members to YOUR topology.json and restart your relay:"}, | |
| { "addr": "relays.ada4profit.com", "port": 4321, "valency": 2, "operator": "@ada4profit" }, | |
| { "addr": "relays.stakepool.at", "port": 3001, "valency": 2, "operator": "atada_stakepool", "node": "ATADA" }, | |
| { "addr": "relay01.hyperborea-networks.com", "port": 5001, "valency": 1, "operator": "Hermespool Relay01" }, |
This chapters covers the information about the underlying P2P network of Shelley's ITN implemented in Jormungandr.
The very simple explanation of the poldercast network relating to jormungandr.
Poldercast is a Topic Based Pub/Sub System.| #!/bin/bash | |
| # | |
| # Author: Michael Fazio (sandstone.io) | |
| # | |
| # This script monitors a Jormungandr node for "liveness" and executes a shutdown if the node is determined | |
| # to be "stuck". A node is "stuck" if the time elapsed since last block exceeds the sync tolerance | |
| # threshold. The script does NOT perform a restart on the Jormungandr node. Instead we rely on process | |
| # managers such as systemd to perform restarts. | |
| POLLING_INTERVAL_SECONDS=30 |
Author:
Pool operators' (with constructive feedbacks, ideas) Tickers:
AAA, ANP, CLIO1, LOVE, RDLRT, STKH
Author:
Pool operators' (with constructive feedbacks, ideas) Tickers:
AAA, ANP, CLIO1, LOVE, RDLRT, STKH
To install tcptraceroute on Debian/Ubuntu:
$ sudo apt-get install tcptracerouteTo install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:
$ sudo yum install tcptraceroute| # Note that it seems like the explorer is load balanced across multiple nodes, as sometimes a call will show that | |
| # you are ahead by a few blocks, but an immediate subsequent call will show you are in sync. | |
| # Add this to your .bash_profile | |
| function delta2() { | |
| # Kudos to @pheelLikeWater for original version of this! | |
| lastBlockHash=`stats | head -n 6 | tail -n 1 | awk '{print $2}'` | |
| lastBlockCount=`stats | head -n 7 | tail -n 1 | awk '{print $2}' | tr -d \"` | |
| shelleyExplorerJson=`curl -X POST -H "Content-Type: application/json" --data '{"query":" query { allBlocks (last: 1) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } totalCount edges { node { id date { slot epoch { id firstBlock { id } lastBlock { id } totalBlocks } } transactions { totalCount edges { node { id block { id date { slot epoch { id firstBlock { id } lastBlock { id } |
-- DISCLAIMER: This guide is for educational purposes only. Do not use in production with real funds.
-- DISCLAIMER: By using this guide, you assume sole risk and waive any claims of liability against the author.
-- Note: This guide is for running jormungandr on a virtual private server (VPS), running Ubuntu 18.04.
-- Note: This guide assumes your local machine is a Mac, but most instructions are executed on the remote machine.
-- Note: anything preceded by "#" is a comment.
-- Note: anything all-caps in between "<>" is an placeholder; e.g. "<FILENAME>" could be "foo.txt".
-- Note: anything in between "${}" is a variable that will be evaluated by your shell.