Skip to content

Instantly share code, notes, and snippets.

@bitkevin
Last active April 11, 2018 09:22
Show Gist options
  • Save bitkevin/ec1e74c3a67073eb9056 to your computer and use it in GitHub Desktop.
Save bitkevin/ec1e74c3a67073eb9056 to your computer and use it in GitHub Desktop.
# Install bitcoin-seeder
mkdir -p ~/source; cd ~/source
git clone https://github.com/open-nodes/bitcoin-seeder.git
cd bitcoin-seeder
make -j4
# supervise for bitcoin-seeder
mkdir ~/supervise_bitcoin_seeder
cd ~/supervise_bitcoin_seeder
touch run
chmod +x run
cp ~/source/bitcoin-seeder/dnsseed ~/supervise_bitcoin_seeder
echo '#! /bin/sh
SROOT=$(cd $(dirname "$0"); pwd)
cd $SROOT
./dnsseed -h seeds.bitcoin.open-nodes.org -n ns01.bitcoin.open-nodes.org --quiet > /dev/null 2>&1
' > run
# start bitcoin_seeder
# $ cd ~/
# $ nohup supervise supervise_bitcoin_seeder/ &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment