Bitcoin Forum
April 25, 2024, 03:37:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Learning Bitcoin from the command line  (Read 159 times)
IfPtr (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
June 03, 2018, 10:30:52 AM
Merited by Jet Cash (1)
 #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.
1714016253
Hero Member
*
Offline Offline

Posts: 1714016253

View Profile Personal Message (Offline)

Ignore
1714016253
Reply with quote  #2

1714016253
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3458
Merit: 6099



View Profile
June 03, 2018, 12:15:53 PM
 #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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
adrianclv-CGS
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
June 03, 2018, 12:32:09 PM
 #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.
Jet Cash
Legendary
*
Offline Offline

Activity: 2688
Merit: 2449


https://JetCash.com


View Profile WWW
June 03, 2018, 01:01:57 PM
 #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.

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
hugeblack
Legendary
*
Offline Offline

Activity: 2492
Merit: 3596


Buy/Sell crypto at BestChange


View Profile WWW
June 03, 2018, 09: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>
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?

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!