Bitcoin Forum
May 08, 2024, 10:03:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: pruning a linux node question - tip for best answer  (Read 751 times)
steeev (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 103



View Profile
September 26, 2015, 09:06:01 PM
 #1

i'm currently stumbling thru trying to prune on a linux os ( zorin 10) - i got as far as installing bitcoind, and got it started with the bitcoind -daemon command, but then what ?

tried

bitcoin-cli -prune=550

but got

error: too few parameters

err....

a (smallish) tip for anyone who can give me a copy/paste instruction and a short explanation of what i'm doing wrong (with or without amusing insults/mockery etc...)
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
September 26, 2015, 09:26:01 PM
 #2

I'm fairly certain that you need to include the -prune flag in the bitcoind command when you start the node, not as a bitcoin-cli command. Instead, run
Code:
bitcoind -daemon -prune=550
to start bitcoind.

steeev (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 103



View Profile
September 26, 2015, 09:36:11 PM
 #3

ahh well done sir, excellent - should i presume the address under your avatar is useable ?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
September 26, 2015, 09:41:54 PM
 #4

ahh well done sir, excellent - should i presume the address under your avatar is useable ?
yes

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 26, 2015, 09:49:45 PM
 #5

You could also write up a config file, name it bitcoin.conf and put it in the .bitcoin folder.

E.g.:

Code:
server=1
daemon=1
maxconnections=50
disablewallet=1
dbcache=4           #reduce mem usage
rpcthreads=1
prune=40000         #limit to 40GB

Im not really here, its just your imagination.
steeev (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 103



View Profile
September 26, 2015, 09:57:48 PM
 #6

A for effort shorena - a tip for you too, if u provide an address, even though job is now done...

thanx to the both of you, i can now get on with watching the expendables...
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 26, 2015, 10:19:08 PM
 #7

A for effort shorena - a tip for you too, if u provide an address, even though job is now done...

thanx to the both of you, i can now get on with watching the expendables...

Its not needed, but if you want you can donate to my node -> http://213.165.91.169/

All the funds to that address ( 14GXh8khHXd8p4nQRCQdWi7fvHsNCDBkTG if you dont wana click the link) there will be use to keep it running.

Im not really here, its just your imagination.
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!