Skip to content

Instantly share code, notes, and snippets.

View bensig's full-sized avatar
🚀
libre.org

Ben Sigman bensig

🚀
libre.org
View GitHub Profile
@bensig
bensig / bp_compliance.csv
Last active April 8, 2021 09:57
EOS BP Compliance as of 8/27/2018
Rank Block Producer Public Website and/or bp.json Ownership Statement API OR P2P NODE
1 starteosiobp YES YES YES
2 eos42freedom YES YES YES
3 eosnewyorkio YES YES YES
4 zbeosbp11111 YES YES YES
5 eoshuobipool YES YES YES
6 eosfishrocks YES YES YES
7 eoslaomaocom YES YES YES
8 bitfinexeos1 YES YES YES
9 eosswedenorg YES YES YES
@bensig
bensig / eosio_bp_hardware
Last active April 11, 2021 06:31
EOSIO Block Producer Hardware Recommendations
There are a few roles for servers - API, P2P, HYPERION, and PRODUCER
# Producer Role
EOSIO block producers are mostly single threaded for processing transactions.
...so normally I would never recommend using desktop hardware in place of server hardware, but in the case of producer nodes where clockspeed is king and you can mitigate risk by running a failover node - it's not THAT bad.
You might use a Z490 PRIME mobo with a i9-10900k, water cooling, and 32GB RAM (can't use ECC ram. another drawback to using desktop hardware.)
I'd recommend a enterprise SSD
1 out of 6 EVO SSDs have failed completely
@bensig
bensig / install-bitcoind.sh
Last active June 20, 2021 22:25
Compile and install bitcoind like a boss
# installing bitcoind like a boss on Ubuntu 20.04.2 LTS \n \l
# Update & Upgrade the System
sudo apt-get update
sudo apt-get upgrade
# Install dependencies there might be more based on your system
# However below instructions are for the fresh Ubuntu install/server
# Please carefully watch the logs because if something could not be install
# You have to make sure it is installed properly by trying the command or that particular
@bensig
bensig / install-lnd.sh
Last active June 20, 2021 23:27
Installing LND like a boss
# install go
sudo snap install --classic go
# Create a 'go' directory in your home directory:
mkdir ~/go
# set GO PATH and PATH
echo "export GOPATH=$HOME/go" >> .bashrc
echo "export PATH=$PATH:$GOROOT/bin:$GOPATH/bin" >> .bashrc
source .bashrc
@bensig
bensig / install-neutrino.sh
Created June 20, 2021 23:36
installing neutrino like a boss
# clone neutrino
mkdir -d ~/go/pkg/neutrino
git clone https://github.com/lightninglabs/neutrino.git ~/neutrino
make all
@bensig
bensig / install-btcd.sh
Last active June 21, 2021 06:09
install btcd using go
# install go
sudo snap install --classic go
mkdir ~/go
echo “export GOPATH=$HOME/go” >> .bashrc
echo “export PATH=$PATH:$GOROOT/bin:$GOPATH/bin” >> .bashrc
source .bashrc
# install btcd
cd $GOPATH/pkg/mod/github.com/btcsuite/btcd
GO111MODULE=on go install -v . ./cmd/...
@bensig
bensig / create-proton-account.md
Last active June 30, 2021 19:00
Creating Accounts on Proton

Creating a Proton Account

Creating an account on Proton requires 3 actions that must be bundled together:

  1. Create account with new public key account: 'eosio', name: 'newaccount'
  2. Buy RAM for new account - minimum 3k - suggested 12k account: 'eosio', name: 'buyrambytes'
  3. Resource New Account in Proton users table
@bensig
bensig / btcd.service
Last active July 4, 2021 02:24
btcd systemd service example
[Unit]
Description=Bitcoin Go daemon
After=network.target
[Service]
User=<username>
Group=<username>
PIDFile=/home/<username>/.btcd/btcd.pid
ExecStart=/home/<username>/go/bin/btcd
KillMode=process
@bensig
bensig / bos-rebalance-output.txt
Created July 12, 2021 06:41
bos rebalance output
bos rebalance --amount 5000000 --out SatBase.org --in lnd-37 --avoid 0309bd6a02c71f288977b15ec3ac7283cfdd3d17dde65732981d5a718aa5fb0ebc --avoid 0260fab633066ed7b1d9b9b8a0fac87e1579d1709e874d28a0d171a1f5c43bb877 --max-fee-rate 700
outgoing_peer_to_increase_inbound: SatBase.org 02bcc7d378263af7a5dca103f16f5c94ffdfb63c161433764973904f50688a9071
incoming_peer_to_decrease_inbound: LNBIG.com [lnd-37] 022c260f9ad58196af280c80a96ec9eabf6404df59ff1a7553b0f381c875a29ba0
rebalance_target_amount: 0.05000000
circular_rebalance_for: Libre [fire] 03e036c7da199f4dd1f2ea0eaedf2ba6142850553671cdc7d502ec382173ba9396
evaluating:
- 690670x884x1 ★ ★ ★ ☆
@bensig
bensig / Transcribe_YouTube.md
Last active July 14, 2021 02:30
How to Transcribe Any YouTube Video

How to Transcribe Any YouTube Quickly and for Free

Requirements - Mac or Linux and you must have jq installed

On Mac install these via terminal:

  • brew with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • jq with brew install jq

Getting the transcription of the audio from YouTube:

  1. Open the video in Chrome or Brave - start playing
  2. Right click the background and choose "Inspect"