Bitcoin Forum
May 01, 2024, 05:58:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Prune wallet  (Read 109 times)
Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1979


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
June 07, 2023, 03:08:21 PM
 #1

My PC has crashed and now I have reinstalled Bitcoin Core and tried with prune mode. I need help to figure out whether I'm on the right path or not.

I have created a bitcoin.conf file with the below text inside-
Code:
prune=550
and placed the file into the Bitcoin wallet folder. Is the text correct, am I running a prune wallet? Or do I have to add something else? How can I check whether I'm running prune mode or not? If I can remember correctly, I can check through the command console, what should I write there to check whether the prune mode is enabled or not?

What's the main difference between a full node and a prune node? In full node, I have all the tx records since the beginning of the Bitcoin blockchain while in prune, I will have a few last records as I set (550 MB in my case). How does that exactly matter?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714543120
Hero Member
*
Offline Offline

Posts: 1714543120

View Profile Personal Message (Offline)

Ignore
1714543120
Reply with quote  #2

1714543120
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 07, 2023, 03:19:20 PM
Merited by Little Mouse (1)
 #2

Are you running Bitcoin Core from the CLI? If so, I just start it like this:
Code:
bitcoind -dbcache=4096 -prune=550
If you use the GUI, pruned mode is the default setting when you install Bitcoin Core.

(I never got the logic behind the location of configuration files)

An easy way to check: if your Bitcoin Core directory doesn't grow to more than a few GB, it's pruning.

How does that exactly matter?
If you ever want to import an old private key, a pruned node will require to download the blockchain again.

Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1979


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
June 07, 2023, 03:37:30 PM
 #3

Are you running Bitcoin Core from the CLI? If so, I just start it like this:
No, well, I think mentioning "command" was wrong here. I meant the console tab in the wallet.
For example, with dumpprivkey, I can get the private key of a certain address. There is a code to check if the wallet is prune or not. Anyway, it's not anymore necessary since I used GUI and its default setting as you said.

Quote
If you use the GUI, pruned mode is the default setting when you install Bitcoin Core.
I didn't know that, neither did I check any steps when I installed the wallet  Cheesy
Quote
(I never got the logic behind the location of configuration files)
I don't know. I am used to doing this with some other wallets (altcoin) too. So, I'm following the same. The location of the configuration file doesn't matter at all?

Quote
If you ever want to import an old private key, a pruned node will require to download the blockchain again.
Damn! Then I shouldn't go with prune mode, right? I didn't think about that lol.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16577


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 07, 2023, 05:26:34 PM
 #4

No, well, I think mentioning "command" was wrong here. I meant the console tab in the wallet.
If you use a GUI, why not just click Settings > Options? The Prune-settings are in there.

Quote
I didn't know that, neither did I check any steps when I installed the wallet  Cheesy
If you want to "be your own bank", you should make it a habit to read everything before you click "Next".

Quote
The location of the configuration file doesn't matter at all?
It matters. I just don't like how there are 2 locations for it (at least on Linux).

Quote
Then I shouldn't go with prune mode, right?
It depends: are you going to import old keys?

Little Mouse (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1979


Marketing Campaign Manager |Telegram ID- @LT_Mouse


View Profile WWW
June 08, 2023, 03:05:58 AM
 #5

If you use a GUI, why not just click Settings > Options? The Prune-settings are in there.
Didn't know that.

Quote
It depends: are you going to import old keys?
Here old means older than the prune block storage. If so, I got your point.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5571


Self-proclaimed Genius


View Profile
June 08, 2023, 06:06:09 AM
Merited by Little Mouse (1)
 #6

How can I check whether I'm running prune mode or not? If I can remember correctly, I can check through the command console, what should I write there to check whether the prune mode is enabled or not?
You remembered correctly, just use the command getblockchaininfo and look for "pruned" among the results.
It's either "true" or "false" which is self-explanatory.

and placed the file into the Bitcoin wallet folder. Is the text correct, am I running a prune wallet?
You put the "bitcoin.conf" file in your selected bitcoin data directory in the GUI's welcome screen (first time launch),
if you're using the default data directory or bitcoind, then put in: https://en.bitcoin.it/wiki/Data_directory#Default_Location

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

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

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

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

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

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











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











▄▄▄▄█
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!