Skip to content

Instantly share code, notes, and snippets.

@gufmar
gufmar / not-reachable.json
Created April 20, 2021 22:31
TopologyUpdater subscribed but not reachable
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gufmar
gufmar / checkForkSwitch.sh
Last active April 7, 2021 09:02
check cardano-node logfiles for...
#!/usr/bin/env bash
echo "Log file ${1}"
evntCount=0
cat logs/node0-${1}.json | grep SwitchedToAFork | jq -r '.at, .data.newtip' | paste - - | while read -r line ; do
evntCount=$((evntCount+1))
echo "${evntCount} SwitchedToAFork: ${line}"
done
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gufmar
gufmar / sys setup and steps
Created March 31, 2020 15:48
cardano-node stack build fails
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
sudo apt install pkg-config libsystemd-dev libtinfo-dev
git clone https://github.com/input-output-hk/cardano-node.git
cd cardano-node

Keybase proof

I hereby claim:

  • I am gufmar on github.
  • I am gufmar (https://keybase.io/gufmar) on keybase.
  • I have a public key ASCpqR5-FaTB6-4sIFfpylPjGKvdvkuNbwfEhZ0noA2lzAo

To claim this, I am signing this object:

@gufmar
gufmar / part of node-config.yaml | json
Created February 21, 2020 14:20
ITNv1 Trusted peers
trusted_peers: [
# Comunity
# { "address":"/ip4/3.125.183.71/tcp/3000", "id":"9d15a9e2f1336c7acda8ced34e929f697dc24ea0910c3e67"},{"address":"/ip4/3.125.31.84/tcp/3000","id":"8f9ff09765684199b351d520defac463b1282a63d3cc99ca"},{"address":"/ip4/18.182.115.51/tcp/3000","id":"8529e334a39a5b6033b698be2040b1089d8f67e0102e2575"},{"address":"/ip4/3.115.154.161/tcp/3000","id":"35bead7d45b3b8bda5e74aa12126d871069e7617b7f4fe62"},{"address":"/ip4/52.9.77.197/tcp/3000","id":"fcdf302895236d012635052725a0cdfc2e8ee394a1935b63"},{"address":"/ip4/54.183.149.167/tcp/3000","id":"df02383863ae5e14fea5d51a092585da34e689a73f704613"},{"address":"/ip4/13.56.0.226/tcp/3000","id":"7ddf203c86a012e8863ef19d96aabba23d2445c492d86267"},{"address":"/ip4/52.9.132.248/tcp/3000","id":"671a9e7a5c739532668511bea823f0f5c5557c99b813456c"},{"address":"/ip4/52.8.15.52/tcp/3000","id":"18bf81a75e5b15a49b843a66f61602e14d4261fb5595b5f5"},{"address":"/ip4/13.114.196.228/tcp/3000","id":"7e1020c2e2107a849a8353876d047085f475c9bc646e42e9"},{"addres