Bitcoin, Cryptocurrency, and Blockchains

From BC Wiki
Jump to: navigation, search
the Bitcoin logo

Running a Bitcoin Node in Ubuntu[edit]

Full Node Installation[edit]

(instructions via https://bitcoin.org/en/full-node)

First, add the Personal Package Archive (PPA) for bitcoin software:

sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind

Before using the Bitcoin Core daemon, bitcoind, you need to create its configuration file with a user name and password:

mkdir ~/.bitcoin
touch ~/.bitcoin/bitcoin.conf
chmod 600 ~/.bitcoin/bitcoin.conf

Run bitcoind to generate a unique "rpcpassword". Copy "rpcuser" and "rpcpwassword" into your configuration file:

echo rpcuser=bitcoinrpc >> ~/.bitcoin/bitcoin.conf
echo rpcpassword=XXXXXX >> ~/.bitcoin/bitcoin.conf

Now you can start Bitcoin Core daemon with bitcoind -daemon.

To start the bitcoin node daemon when Ubuntu boots, edit your crontab file with crontab -e and add @reboot bitcoind -daemon to a new line at the end of the file.

Congratulations, you're a node on the bitcoin network! Over the coming hours, the bitcoin daemon will download something like 80GB of blockchain files to your ~/.bitcoin directory. If you want to store this on a different hard drive, just stop the bitcoin daemon with bitcoin-cli stop, move the .bitcoin folder to the new drive, and use ln -s to create a symlink at ~/.bitcoin that points to folder's new location.

Node Status[edit]

bitcoin-cli getinfo		get the number of connected peers
bitcoin-cli getblockcount	get total number of blocks retrieved

Installing a Bitcoin Wallet[edit]

Armory is a favorite bitcoin wallet among power users, but note that it's currently undergoing a development leadership change.

You can buy, sell, and store bitcoin at e.g. Coinbase and easily transfer bitcoin from Coinbase to your local wallet.

MAKE CERTAIN to create digital and paper backups of your Armory wallet to prevent your bitcoin from becoming unrecoverable in the event of a hard drive failure or accidental file deletion.

Accepting Bitcoin on your Website[edit]

How To Accept Bitcoins On Your Blog With No Code

Transaction Time[edit]

Bitcoin Average Transaction Confirmation Time

Breaking the 10 Minute Confirmation Barrier"

Decentralized Applications (Đapps)[edit]

https://btcmanager.com/news/blockchain-and-the-rise-of-the-prosumer/

Altcoins[edit]

Mastercoin (now Omni)[edit]

Mastercoin lost a lot of credibility through association with the botched MaidSAFE crowdfunding disaster.