Skip to content

Instantly share code, notes, and snippets.

View matthewdarwin's full-sized avatar

Matthew Darwin matthewdarwin

View GitHub Profile
$ package-build
running command=<./build.sh nodeos-bos-rc 3.0.8-1 /tmp/build.6308>
PACKAGE=nodeos-bos-rc VERSION=3.0.8-1 TEMPDIR=/tmp/build.6308 BRANCH=release/3.0.x HOME=/local/lib/bos-3.0
Cloning into 'bos'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 127671 (delta 0), reused 1 (delta 0), pack-reused 127661
Receiving objects: 100% (127671/127671), 125.64 MiB | 8.87 MiB/s, done.
Resolving deltas: 100% (99271/99271), done.
@matthewdarwin
matthewdarwin / osm-interpolation-check.pl
Created April 30, 2019 00:26
Check for bad interpolations in OSM
#!/usr/bin/perl -w
use utf8;
use strict;
use Davin::Roads::OSMCommon;
use Data::Dumper;
# Quick script to find interpolations missing address on one end or the other.
# It's tricky because some interpolations are split into multiple ways.
# As a bonus this script also finds interpolations which are on top of each other or share ways (count > 2);
@matthewdarwin
matthewdarwin / docker-compose.yml
Created March 14, 2019 02:13
example docker-compose.yml for nodeos
version: "3"
services:
wireguard:
stop_grace_period: 60s
image: image.eosn.io/eosnation/wireguard
container_name: wireguard
hostname: eosn-jungle
sysctls:
- "net.ipv4.conf.all.rp_filter=2"
Jul 25 23:12:03 jungle-node1 nodeos[6707]: receipt does not match
Jul 25 23:12:03 jungle-node1 nodeos[6707]: {"producer_receipt":{"status":"soft_fail","cpu_usage_us":4248,"net_usage_words":0,"trx":[0,"6929422a066f4c59a0427c330e66eb8d31890778f706f045651c8cc386a3a2b8"]},"vali
dator_receipt":{"status":"executed","cpu_usage_us":4248,"net_usage_words":6,"trx":[0,"6929422a066f4c59a0427c330e66eb8d31890778f706f045651c8cc386a3a2b8"]}}
Jul 25 23:12:03 jungle-node1 nodeos[6707]: thread-0 controller.cpp:876 apply_block
Jul 25 23:12:03 jungle-node1 nodeos[6707]: 2018-07-25T23:12:03.200 thread-0 controller.cpp:913 push_block ] 3030000 block_validate_exception: Block exception
Jul 25 23:12:03 jungle-node1 nodeos[6707]: receipt does not match
Jul 25 23:12:03 jungle-node1 nodeos[6707]: {"producer_receipt":{"status":"soft_fail","cpu_usage_us":4248,"net_usage_words":0,"trx":[0,"6929422a066f4c59a0427c330e66eb8d31890778f706f045651c8cc386a3a2b8"]},"validator_receipt":{"status":"executed","cpu_us
### Keybase proof
I hereby claim:
* I am matthewdarwin on github.
* I am mdarwin (https://keybase.io/mdarwin) on keybase.
* I have a public key ASDB2hbqisIzXYsYBYYat5dg93WsHPjDlmPCU0wh_HnDywo
To claim this, I am signing this object: