Raw Transaction on Bitcoin-core lets you create and broadcast transaction through its Application Programming Interface and Command Line Interface (or on a shell for nix users). In this short post… we will be using few bitcoin-core commands such as, listunpent, createrawtransaction, signrawtransaction and signrawtransaction. But before we start, make sure your blockchain is fully synced and you have enough bitcoin to play with.
In this example, we will send all spendable amount of bitcoins to wallet address 1ZXsXWvnGHey8Dv7dCYtfBAaeipP2QEBY with 0.00001 of bitcoin reward to miners for processing our transaction.
Step 1: Pick which set of Bitcoins you want to send. Use listunpsent command to get the transaction ID and vout index number.
Looking forward and hoping to contribute more!
check out “Macoy Mejia” in https://members.bitcoinfoundation.org/current
A short step-by-step on how to compile Bitcoind on Raspberry Pi.
First thing you need to do is to increase the RPi’s Swap Size
$ sudo vim /etc/dphys-swapfile
Modify the line to change the setting from 100Mb to 500Mb.
Apply the changes
$ sudo dphys-swapfile setup
$ sudo dphys-swapfile swapoff
$ sudo dphys-swapfile swapon
Check the new swap size using
Update your Raspberry Pi’s packages
$ sudo apt-get update
$ sudo apt-get upgrade
Install all dependencies needed to compile the bitcoind
$ sudo apt-get install checkinstall subversion git git-core build-essential
$ sudo apt-get install libtool autotools-dev autoconf
$ sudo apt-get install libssl-dev libdb++-dev libminiupnpc-dev
$ sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-all-dev
After successfully installing the packages, go to your preferred directory for downloading the bitcoind source code to compile.
$ cd ~
$ mkdir source
$ cd source
$ git clone git://github.com/bitcoin/bitcoin.git
$ cd ~/source/bitcoin/src
Prepare the bitcoin source code from github
$ ./configure --without-gui
Now… grab something to eat or to watch while compiling. It’s gonna take a long while to compile.
After a few (maybe hours)… you may now configure your bitcoin.conf and run
$ ~/source/bitcoin/src/bitcoind -daemon
Watch out for my next post on setting-up bitcoind (bitcoin.conf settings)
For minimal configuration… create this file in ~/.bitcoin/bitcoin.conf
Toss some coins!! 🙂 BTC: 1Hb9ci7bcEQ5RNnKnUGEgWj7amBF37mEY6
“A simple introduction into how Bitcoin works!”