Author

Topic: Learning Bitcoin from the command line (Read 160 times)

legendary
Activity: 2506
Merit: 3645
Buy/Sell crypto at BestChange
June 03, 2018, 05:47:09 PM
#5
It’s not bitcoin core that takes all space but the blockchain."Because full nodes do not need the reliability of others to check transactions"
In pruning mode, you only save storage space because don’t need to download old blocks "you save about 160 GB "

Code:
use: prune=
N: random number between 0-550 "set it 550"

As long as you want to use bitcoin core, it’s better to download the whole blockchain in separate/external hard drive and make sure to connect it when using core 

Read:
https://github.com/bitcoin/bitcoin/blob/v0.12.0/doc/release-notes.md
How do I relocate my bitcoin data in bitcoin-qt to save space?
legendary
Activity: 2744
Merit: 2462
https://JetCash.com
June 03, 2018, 09:01:57 AM
#4
You don't need to store the full blockchain, you can run a pruned node.

You don't need to be online all the time to run a full node. My linux node is only online for an hour or so every couple of days.

If you are worried about bandwidth for sync'ing the blockchain, then go to your local McDonalds and use their free WiFi.

If you haven't got a copy of the Blockchain, then either get a copy from a friend, or perform the initial download over a cable connection.

ps. I gave you a merit. It is so refreshing to see a nice clear title, and a well laid out question.
newbie
Activity: 34
Merit: 0
June 03, 2018, 08:32:09 AM
#3
I recommend you to check these two sites where you can play with Bitcoin commands and libraries:

http://chainquery.com/bitcoin-api
https://bitcore.io/playground/#/units

If you want to play with Bitcoin OPCodes, there are also resources for that, but I will need to look for them.
staff
Activity: 3500
Merit: 6152
June 03, 2018, 08:15:53 AM
#2
I believe that the testnet blockchain size right now is 14GB. So you can either go with that or go with prune mode, you won't be able to use some RPCs though.
newbie
Activity: 3
Merit: 1
June 03, 2018, 06:30:52 AM
#1
Hello guys,

I am currently reading Mastering Bitcoin and as the author suggests, for a more in-depth understanding it is advisable to run a Full node and execute commands in the command line. So my question is, is there any way to get the benefit of learning without having a full copy of the Blockchain locally. Perhaps there are some alternative clients, that could allow me to achieve that? I am aware that there is a testnet, could that be a solution to my 'problem'?

I don't have the bandwidth to remain connected all the time, this is my primary reason for looking for a workaround. You can imagine that syncing once and then disconnecting is simply stupid.
Jump to: