Skip to content

Instantly share code, notes, and snippets.

{
"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" },
@haskellcoding29
haskellcoding29 / The_Hitchhikers_Guide_To_The_Shelley_Chapter_One.md
Created April 4, 2020 06:43 — forked from ilap/The_Hitchhikers_Guide_To_The_Shelley_Chapter_One.md
The Hitchhikers Guide To The Shelley - Chapter 1 - The Network
@haskellcoding29
haskellcoding29 / jormon.sh
Created December 26, 2019 23:50 — forked from michaeljfazio/jormon.sh
Jormungandr Node Monitor
#!/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
@haskellcoding29
haskellcoding29 / SHELLEY_HOWTO.md
Created December 25, 2019 11:15 — forked from ilap/SHELLEY_HOWTO.md
UnOfficial Shelley Config

Introduction

Author:

Pool operators' (with constructive feedbacks, ideas) Tickers:

AAA, ANP, CLIO1, LOVE, RDLRT, STKH

@haskellcoding29
haskellcoding29 / SHELLEY_HOWTO.md
Created December 25, 2019 11:15 — forked from ilap/SHELLEY_HOWTO.md
UnOfficial Shelley Config

Introduction

Author:

Pool operators' (with constructive feedbacks, ideas) Tickers:

AAA, ANP, CLIO1, LOVE, RDLRT, STKH

To install tcptraceroute on Debian/Ubuntu:

$ sudo apt-get install tcptraceroute

To install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:

$ sudo yum install tcptraceroute
@haskellcoding29
haskellcoding29 / delta2.sh
Created December 24, 2019 15:08 — forked from elmostake/delta2.sh
Function for getting the delta between your lastBlockCount and the one from the Shelley Explorer (add to .bash_profile)
# 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 }
@haskellcoding29
haskellcoding29 / cardano_shelley_staking_node_setup_guide.md
Created December 9, 2019 01:24
Cardano Shelley Node Setup Guide 4newbs (v0.8.0-rc9+1)

Setup Cardano Shelley staking node (Ubuntu 18.04)

-- 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.