Hello!
I'm new to bitcoin.
I read some stuff here and there.
I have an one old machine and I read about full nodes and why they are important to the network.
In other machine I installed bitcoin core. Downloaded all the blockchain (110G) and then copy all that data to the old machine, where I'm running the node.
Installed bitcoin core in node machine. And I'm running it like this
bitcoind -daemon -disablewallet
I can see my node on this site
https://bitnodes.21.co/#join-the-networkIn my computer, where I don't have the node, I edited bitcoin.conf to connect only to my node
And I also enabled prune. I don't want all the blockchain in both machines.
Is this the way to do it? Owning your full node?
It is secure?
For now I'm seeing that Bitcoin-Qt take almost the same time to sync to my node that when using all the bitcoin network.
But still I change some settings both on the node and in my machine to use less resources -par=1.
And Bitcoin-Qt shows only one connection. So I think that is working fine.
It will be nice to make Bitcoin-Qt working through SSH. My node machine don't have a display so no need for X.
And also using Multibit-HD only in my node. I like the feature of using multi wallets at same time.
Just for anyone would think this is useful or want to give any ideia.
I add this to .bashrc of the node.
alias BTC_start="bitcoind -daemon -disablewallet"
alias BTC_stop="bitcoin-cli stop
And I found this bash script bitcoindSynced.sh
#!/bin/bash
bitcoindSynced() {
blockCount=`bitcoin-cli getblockcount`
blockChain=`wget -O - http://blockchain.info/q/getblockcount`
blockDiff=`expr $blockChain - $blockCount`
if [ $blockDiff = 0 ] ; then
echo "up to date"
else
echo "$blockDiff blocks behind"
fi
} 2>/dev/null
bitcoindSynced
That shows that the node is synced or not.