Bitcoin Forum
November 11, 2024, 05:24:36 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: How good is prune mode!  (Read 3519 times)
calkob
Hero Member
*****
Offline Offline

Activity: 1106
Merit: 521


View Profile
March 01, 2016, 11:27:57 PM
 #41

Sounds great for those who want to run core but want abit of space back.  Great idea to have it download the entire blockchain before going into prune mode,  meaning that everyone has to independently verify the entire blockchain.   Wink

so is pruned mode activated from the console then?  what is the command?
mickiya
Full Member
***
Offline Offline

Activity: 195
Merit: 104


View Profile
March 02, 2016, 11:10:44 AM
 #42

Is the prune mode activated automatically in 0.12?

I have the old 0.11 Core and I want to keep the whole block chain.
Bitcoinero_GB
Full Member
***
Offline Offline

Activity: 160
Merit: 100


http://www.ganabitcoins.com


View Profile WWW
March 02, 2016, 12:11:19 PM
 #43

Hello mates!

Please, I have one question (maybe it's an stupid question).
How is the correct way to prune the database?

I'm with Windows version.
Run the core, download all the blockchain (finally 66Gb in disk).
Go to command line and text:
prune=5000
and receive:
Method not found (code -32601)

Then try with another possible spelling of the command, but nothing happens...

My next step was trying to set it in the bitcoin.conf file.
WTH! I have not this file!
well, I created it, nothing happens.

I dont know what I was doing bad Sad

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 02, 2016, 01:47:12 PM
 #44

Is the prune mode activated automatically in 0.12?

I have the old 0.11 Core and I want to keep the whole block chain.

No, you need to enable pruning.

Hello mates!

Please, I have one question (maybe it's an stupid question).
How is the correct way to prune the database?

I'm with Windows version.
Run the core, download all the blockchain (finally 66Gb in disk).
Go to command line and text:
prune=5000
and receive:
Method not found (code -32601)

Then try with another possible spelling of the command, but nothing happens...

My next step was trying to set it in the bitcoin.conf file.
WTH! I have not this file!
well, I created it, nothing happens.

I dont know what I was doing bad Sad

You create a file named bitcoin.conf in your bitcoin folder, write prune=5000 in it and restart core.

Make sure its not named bitcoin.conf.txt or something like that.

Im not really here, its just your imagination.
Icon
Hero Member
*****
Offline Offline

Activity: 821
Merit: 503



View Profile
March 02, 2016, 09:19:06 PM
 #45

Oh and make sure you keep that 66 gb folder backup before you do, else if something goes wrong you'll have to start from scratch and redownload it all.. again.

That includes changing wallets.dat file out too.. will have to "re prune" it

Icon

franky1
Legendary
*
Offline Offline

Activity: 4396
Merit: 4761



View Profile
March 02, 2016, 09:41:00 PM
 #46

going back to my first post i was trying to correct lauda who seemed to suggest it only stored recent blocks.

The new Bitcoin Core version (0.12.0) enables you to run a wallet in pruned mode. This means that you can use it without storing the whole blockchain. Essentially it can cut down the usage from around 60 GB of data to around ~2 GB. You only store the last X amount of blocks.

thats not what the original version of what prune mode was envisioned.

the original vision was to no longer keep spent data. but keep every unspent

kind of funny that shorena would defend lauda (who thinks bitcoin is programmed in java) and then argue that im wrong. when i was saying the correct info..

as for my point about clarifying it.

When did you become someone that needs spoon feeding?

Quote
To recap, there are four types of data related to the blockchain in the bitcoin system: the raw blocks as received over the network (blk???.dat), the undo data (rev???.dat), the block index and the UTXO set (both LevelDB databases). The databases are built from the raw data.

Quote
Block pruning allows Bitcoin Core to delete the raw block and undo data once it's been validated and used to build the databases.

https://github.com/bitcoin/bitcoin/blob/v0.11.0/doc/release-notes.md#block-file-pruning

i know i know as i said before, that the real definition of pruning was as you said..
but the 550mb has got alot of people into a pickle that it must cut out some of the UTXO (laymens:unspent) to get to a possible level of 550mb hard drive space.

it needs to be clarified better that the 550mb is not total hard drive storage allocation of everything related to the blockchain but the separate parts related just to recent data that can change. and not related to archival data of unspents.

it may be wrote down in some places as far back as 2013-4-5 when the term pruning first came about. but the 2016 info on the actual release has made some left in a pickle thinking v0.12 is not the same as the original definition of pruning


not everyone knows that there are 4 categories of data. and alot of people think WTF is a UTXO..
the problem is that things need to be laymens. EG dont call it UTXO, call it unspents, its only 3 characters longer to type yet gives an easier understanding of the meaning.
i know geeks like to look smart by making up new buzzwords so they can get 5 minutes of fame telling the world how they create the buzzword that caught on and become fashionable.. but to the 7 billion people on the planet, buzzwords are causing bitcoin to become less open and transparent to the world.

and this very topic has proven to have got alot of people into a pickle about it. and people still unsure about it. so obviously the developers need to do more on the laymen communication side of things.

after all if it takes 3 pages of random questions. then obviously the documentation is lacking the basics..
thats all i was saying

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 03, 2016, 02:57:09 PM
 #47

-snip-
kind of funny that shorena would defend lauda (who thinks bitcoin is programmed in java) and then argue that im wrong. when i was saying the correct info..

Not sure where you think I "defended" Lauda and for what reason. I usually dont care who the other person is, but try to make sure the information they get is correct.

-snip-
not everyone knows that there are 4 categories of data. and alot of people think WTF is a UTXO..

I agree.

the problem is that things need to be laymens. EG dont call it UTXO, call it unspents, its only 3 characters longer to type yet gives an easier understanding of the meaning.

Maybe "laymens" dont need to know this at all, but just that when they set "prune" to "550" that there are other important information that need to be stored on top of the 550 MB. I sometimes get feeling that core (or classic, doesnt matter) is less and less aimed at "laymans", but will be run by "geeks" or other enthusiasts anyway.

i know geeks like to look smart by making up new buzzwords so they can get 5 minutes of fame telling the world how they create the buzzword that caught on and become fashionable.. but to the 7 billion people on the planet, buzzwords are causing bitcoin to become less open and transparent to the world.

I mostly get the feeling that "geeks" or "nerds" have a tendency to avoid buzzwords (web 2.0, Industry 4.0 etc.), because they have no clear meaning. As long as the term is precise enough it will do though.

and this very topic has proven to have got alot of people into a pickle about it. and people still unsure about it. so obviously the developers need to do more on the laymen communication side of things.

after all if it takes 3 pages of random questions. then obviously the documentation is lacking the basics..
thats all i was saying

RTFM is all I was saying. I think we have a different philosophy here. When I encounter a problem I usually try to find the answer in the available documents, if that does not help and Im familiar with the language I try the source (if available), the IRC channel, a mailing list (if one exists and questions are allowed) and a forum.

There is no shame in having to ask or to ask first instead of trying the manual or docs. I dont think the patch notes could have been clearer, but since you think otherwise maybe we can take this as an example how they could be improved?

Im not really here, its just your imagination.
franky1
Legendary
*
Offline Offline

Activity: 4396
Merit: 4761



View Profile
March 03, 2016, 03:13:55 PM
 #48

There is no shame in having to ask or to ask first instead of trying the manual or docs. I dont think the patch notes could have been clearer, but since you think otherwise maybe we can take this as an example how they could be improved?


i too like to research, but im finding it more and more apparent that i am being asked by others about what this means and what that means.

put it this way do people ask "how does an iphone work" or do they just try it and see... because even though there is code behind it. its done without using buzzwords. that have no laymen meaning when communicating its usefulness away from the sourcecode.
EG does UTXO (saving typing just 3 less keys on a keyboard) really make things better. "unspents" just makes more sense.
there is ultimately no reason in any way possible that the word UTXO should have any preference when used in public bitcoin communications

bitcoin core can have real complex code but then make very simple explanations to bring it down to laymens prospective. i have spent the last 2 years atleast translating code into laymens and it is starting to get apparent that although core pretends to want decentralization and pretends to add features to make more available to the majority, but always fails in the description and details to gain that growth

EG my background is in the coding of adding comments and also having separate documentation for pseudocode and procedure charts to bring the code down to a level anyone can grasp. including case-scenarios and analogies

i have asked a few of the dev coders, aswell as some of the famous youtubers who like to simplify bitcoin and even a few in the bitcoin foundation to do something about opening up bitcoins understanding to the masses. yet even now bitcoin core seems to want to remain as the closed off centre of bitcoin that does not want to share or be part of the community.

its got nothing to to with my lack of understanding or research and more so about the general public endlessly asking questions.

blockstream aka bitcoin core really need to work on their communications, because even their number one fan, Lauda seems to have failed to grasp it

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 03, 2016, 09:57:11 PM
 #49

There is no shame in having to ask or to ask first instead of trying the manual or docs. I dont think the patch notes could have been clearer, but since you think otherwise maybe we can take this as an example how they could be improved?


i too like to research, but im finding it more and more apparent that i am being asked by others about what this means and what that means.

put it this way do people ask "how does an iphone work" or do they just try it and see... because even though there is code behind it. its done without using buzzwords. that have no laymen meaning when communicating its usefulness away from the sourcecode.
EG does UTXO (saving typing just 3 less keys on a keyboard) really make things better. "unspents" just makes more sense.

Probably, yes at least depending on the one you talk to.

there is ultimately no reason in any way possible that the word UTXO should have any preference when used in public bitcoin communications

Well, its a grown term and it grew from those very familiar with bitcoin. We might need new terms over time, I agree, but I dont think patch notes are the right place to introduce them.

bitcoin core can have real complex code but then make very simple explanations to bring it down to laymens prospective. i have spent the last 2 years atleast translating code into laymens and it is starting to get apparent that although core pretends to want decentralization and pretends to add features to make more available to the majority, but always fails in the description and details to gain that growth

EG my background is in the coding of adding comments and also having separate documentation for pseudocode and procedure charts to bring the code down to a level anyone can grasp. including case-scenarios and analogies

i have asked a few of the dev coders, aswell as some of the famous youtubers who like to simplify bitcoin and even a few in the bitcoin foundation to do something about opening up bitcoins understanding to the masses. yet even now bitcoin core seems to want to remain as the closed off centre of bitcoin that does not want to share or be part of the community.

I have to assume here, because I didnt talk to anyone about this, but I would assume that its not that they dont want the results. Doing this kind of work sounds like something coders hate. Many coders I know claim their code can be read without comments, docs or all that other "nonsense". They of course fail to see that someone might not be able to read the code if they are not familiar with that language or at least a variety of other languages. Im pretty sure though that any project (be that core, classic or any of the others forks) would gladly welcome results.

its got nothing to to with my lack of understanding or research and more so about the general public endlessly asking questions.

blockstream aka bitcoin core really need to work on their communications, because even their number one fan, Lauda seems to have failed to grasp it

I dont think this is limited to any specific project within bitcoin. I have to say the patch notes for classic 0.11.2 are simple[1], but there is also nothing overly complex to pitch. The roadmap on the other hand is very vague[2] and I am e.g. not sure what "Software based on Bitcoin Core implementation 0.11.2 and 0.12.0." should tell me. There is no information about which parts are picked and which are not, e.g. does classic include pruning?

Yes, I agree cores patch notes could have been easier. Patch notes in 'simple language' might be a good idea (for any project), but unless someone volunteers to do the work I dont think it will happen.

[1] https://github.com/bitcoinclassic/bitcoinclassic#what-is-bitcoin
[2] https://github.com/bitcoinclassic/documentation/blob/master/roadmap/roadmap2016.md

Im not really here, its just your imagination.
zanza
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
April 29, 2017, 07:47:05 PM
 #50

can anyone explain why a pruned node can't be used as a wallet?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
April 29, 2017, 08:31:38 PM
 #51

can anyone explain why a pruned node can't be used as a wallet?

It can.

Im not really here, its just your imagination.
Vaccomundus
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile
April 29, 2017, 08:39:46 PM
 #52

very good allow me to run core on shitty ssd with few giga and install my games
Pages: « 1 2 [3]  All
  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!