Bitcoin Forum
April 24, 2024, 10:42:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running bitcoind in pruning mode  (Read 1943 times)
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 04, 2015, 06:09:33 AM
 #1

Hi all,

I'm trying to run a bitcoin node (satoshi 0.11) in pruning mode. If I want to keep the blockchain size at 30gb, should I just restart bitcoind with the command 'bitcoind -prune=30000' ?

Cheers,
John
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713998522
Hero Member
*
Offline Offline

Posts: 1713998522

View Profile Personal Message (Offline)

Ignore
1713998522
Reply with quote  #2

1713998522
Report to moderator
1713998522
Hero Member
*
Offline Offline

Posts: 1713998522

View Profile Personal Message (Offline)

Ignore
1713998522
Reply with quote  #2

1713998522
Report to moderator
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 04, 2015, 06:17:26 AM
 #2

Also, is there any benefit in running a pruned node? Would that still contribute to the bitcoin network as a whole?
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 04, 2015, 06:32:56 AM
 #3

Hi all,

I'm trying to run a bitcoin node (satoshi 0.11) in pruning mode. If I want to keep the blockchain size at 30gb, should I just restart bitcoind with the command 'bitcoind -prune=30000' ?

Cheers,
John

Went through the code on github, yep I was doing it correctly.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
November 04, 2015, 10:09:10 AM
 #4

Also, is there any benefit in running a pruned node? Would that still contribute to the bitcoin network as a whole?

You still verify and relay transactions. Other nodes can no longer get block from you though, at least for now.

You can also add prune=30000 to the bitcoin.conf file.

Im not really here, its just your imagination.
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 04, 2015, 04:08:03 PM
 #5

Also, is there any benefit in running a pruned node? Would that still contribute to the bitcoin network as a whole?

You still verify and relay transactions. Other nodes can no longer get block from you though, at least for now.

You can also add prune=30000 to the bitcoin.conf file.

Gotcha, thanks!
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
November 04, 2015, 04:20:02 PM
 #6

Note that only the blocks component of the database can be chosen, so -prune=30000 is specifying the size of that portion only. I'm not sure if the rest of the database remains the same size or grows at a tiny rate, not familiar with running in pruned mode long-term.

Vires in numeris
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
November 04, 2015, 04:31:57 PM
 #7

You still verify and relay transactions. Other nodes can no longer get block from you though, at least for now.
If you run git master (to be 0.12 later) instead of 0.11 you will also relay new blocks as they are found while pruning.
mezzomix
Legendary
*
Offline Offline

Activity: 2618
Merit: 1252


View Profile
November 04, 2015, 06:50:26 PM
 #8

Did somebody already create an address index patch (UTXO and mempool) that is working in pruned mode?
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 08, 2015, 10:35:37 PM
 #9

You still verify and relay transactions. Other nodes can no longer get block from you though, at least for now.
If you run git master (to be 0.12 later) instead of 0.11 you will also relay new blocks as they are found while pruning.


Hmm... so the server is up to date with the newest blocks now, but I'm still not getting more connections then 8. I've verified that it can be reachable from outside networks.
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 08, 2015, 11:21:41 PM
 #10

You still verify and relay transactions. Other nodes can no longer get block from you though, at least for now.
If you run git master (to be 0.12 later) instead of 0.11 you will also relay new blocks as they are found while pruning.


Hmm... so the server is up to date with the newest blocks now, but I'm still not getting more connections then 8. I've verified that it can be reachable from outside networks.

Never mind, I got it working now. Gonna find the time to update it to 0.12 next. Cheesy
John (John K.) (OP)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
November 09, 2015, 08:19:34 PM
 #11

Did somebody already create an address index patch (UTXO and mempool) that is working in pruned mode?

No idea, but the relay block service is active now with the latest git master.
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!