Skip to content

Instantly share code, notes, and snippets.

@marsu-dev
marsu-dev / build-bitcoin-ubuntu.sh
Created July 23, 2016 19:32
Script to build bitcoin from source with specific version
#!/bin/bash
version="master"
if [ -n "$1" ]; then
version=$1
fi
p=`cat /proc/cpuinfo | grep processor | wc -l`
echo "Cloning Bitcoin ($version)..."
git clone https://github.com/bitcoin/bitcoin.git bitcoin -b $version --depth 1 >/tmp/bitcoin-build.log
### Keybase proof
I hereby claim:
* I am michel-foucault on github.
* I am marsu (https://keybase.io/marsu) on keybase.
* I have a public key whose fingerprint is 6084 1A7A C5CE C27D AE20 74D5 A78F 3F35 3A18 18F2
To claim this, I am signing this object:
Verifying myself: My Bitcoin username is +marsu. https://onename.io/marsu