Bitcoin Forum
June 28, 2024, 07:37:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Want to play with bitcoin cli, no harddrive space  (Read 163 times)
iammadab (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
March 06, 2020, 03:59:34 PM
Merited by OmegaStarScream (2), ABCbits (1), o_e_l_e_o (1)
 #1

I am following the mastering bitcoin book, want to play with the bitcoin cli but I don't have enough hard drive space to download the entire blockchain. Do I have other options or do I have to get a new ssd.

jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 06, 2020, 04:03:30 PM
Merited by OmegaStarScream (2)
 #2

You can add -prune=4000 to your config file and it'll only store 4000 megabytes worth of data on your sad as apposed to the traditional ~300gb as the chain stands now... Make sure you backup the drive and are happy to lose it just in case as it's quite an intensive operation.
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3528
Merit: 6178



View Profile
March 06, 2020, 04:42:26 PM
Merited by malevolent (1)
 #3

You can add -prune=4000 to your config file and it'll only store 4000 megabytes worth of data on your sad as apposed to the traditional ~300gb as the chain stands now... Make sure you backup the drive and are happy to lose it just in case as it's quite an intensive operation.

I would like to add that after enabling prune mode, you won't be able to use -txindex, -rescan and also importwallet.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DaveF
Legendary
*
Offline Offline

Activity: 3528
Merit: 6372


Crypto Swap Exchange


View Profile WWW
March 06, 2020, 05:10:30 PM
Merited by OmegaStarScream (2), nc50lc (1)
 #4

How much space do you have? You can always use testnet instead of mainnet.
Commands are the same but the blockchain is a fraction of the size and you can get some testnet coins for free instead of risking real coins while playing with the cli.

-Dave

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
iammadab (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
March 06, 2020, 07:02:15 PM
 #5

How much space do you have? You can always use testnet instead of mainnet.
Commands are the same but the blockchain is a fraction of the size and you can get some testnet coins for free instead of risking real coins while playing with the cli.

-Dave

I have up to 50gb, seems the size of the bitcoin test net is ~14gb.
If they have the same command, this will be a great solution.

Are there any good resources on how to get up and running with the testnet
TryNinja
Legendary
*
Offline Offline

Activity: 2884
Merit: 7119


Top Crypto Casino


View Profile WWW
March 06, 2020, 07:13:01 PM
 #6

Are there any good resources on how to get up and running with the testnet
I believe you just need to run it with the -testnet argument flag.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
DaveF
Legendary
*
Offline Offline

Activity: 3528
Merit: 6372


Crypto Swap Exchange


View Profile WWW
March 06, 2020, 07:43:48 PM
Merited by ABCbits (1)
 #7

Are there any good resources on how to get up and running with the testnet
I believe you just need to run it with the -testnet argument flag.

That or add testnet=1 to your bitcoin.conf file.
Either way works, when doing a lot of testing I tend to put in the conf file that way if I start / stop it a lot I can't mess up and forget to put the argument in the command line.

-Dave

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 2926
Merit: 7599


Crypto Swap Exchange


View Profile
March 07, 2020, 06:44:45 AM
Merited by OmegaStarScream (1)
 #8

And don't forget to obtain testnet coins, there are many faucets such as Testnet Faucet

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!