Bitcoin Forum
May 04, 2024, 01:03:06 PM *
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 162 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.

1714827786
Hero Member
*
Offline Offline

Posts: 1714827786

View Profile Personal Message (Offline)

Ignore
1714827786
Reply with quote  #2

1714827786
Report to moderator
1714827786
Hero Member
*
Offline Offline

Posts: 1714827786

View Profile Personal Message (Offline)

Ignore
1714827786
Reply with quote  #2

1714827786
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714827786
Hero Member
*
Offline Offline

Posts: 1714827786

View Profile Personal Message (Offline)

Ignore
1714827786
Reply with quote  #2

1714827786
Report to moderator
1714827786
Hero Member
*
Offline Offline

Posts: 1714827786

View Profile Personal Message (Offline)

Ignore
1714827786
Reply with quote  #2

1714827786
Report to moderator
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: 3472
Merit: 6120



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
*
Online Online

Activity: 3472
Merit: 6263


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: 2828
Merit: 6977



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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
DaveF
Legendary
*
Online Online

Activity: 3472
Merit: 6263


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: 2870
Merit: 7464


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!