Navigating the Bitcoin Landscape: From Silicon Valley to Manila – hosted by SCI
Navigating the Bitcoin Landscape: From Silicon Valley to Manila – hosted by SCI in A Space Manila
Bitcoin Raw Transaction Made Easy
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.
64gig upgrade for Raspberry Pi with bitcoin-core
Bitcoin Meet-up in Metrowalk Pasig
#BitcoinPH meetup hosted by #CoinPH
I’m now officially member of Bitcoin Foundation
Looking forward and hoping to contribute more!
check out “Macoy Mejia” in https://members.bitcoinfoundation.org/current
My mini Bitcoin miner using Raspberry Pi
Compiling Bitcoind on Raspberry Pi
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.
CONF_SWAPSIZE=100
to
CONF_SWAPSIZE=500
Apply the changes
$ sudo dphys-swapfile setup
$ sudo dphys-swapfile swapoff
$ sudo dphys-swapfile swapon
Check the new swap size using free
command
$ free
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
$ ./autogen.sh
$ ./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)
Update:
For minimal configuration… create this file in ~/.bitcoin/bitcoin.conf
server=1
rpcuser={insert your preferred username}
rpcpassword={insert your preferred long hash password for security}
rpctimeout=30
rpcport=8332
gen=0
allowreceivebyip=1
Toss some coins!! 🙂 BTC: 1Hb9ci7bcEQ5RNnKnUGEgWj7amBF37mEY6
Links:
this is how i usually spend my saturdays
Compiling while sipping coffee… ^_^
You must be logged in to post a comment.