Bitcoin Forum
May 21, 2024, 11:54:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [solved] blocks folder of pruned node keeps growing  (Read 111 times)
darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 660


I rather die on my feet than to live on my knees


View Profile
March 26, 2021, 10:53:03 PM
Last edit: March 29, 2021, 07:10:48 PM by darkv0rt3x
Merited by LoyceV (2)
 #1

Hello,

I've just installed the pre-compiled binaries of bitcoin core into a RockPro64 board and with the following config file, the blocks folder keeps growing. It is now with 163Gb and it shouldn't,
I think. What am I doing wrong here:

Code:
dbcache=2048
par=1 -daemon
server=1
rpcauth=bitcoin:[REPLACED]
rpcallowip=127.0.0.1
rpcport=8332
maxtxfee=0.00002000
mintxfee=0.00000002
network=testnet
 
# Options only for testnet
[testnet]
debug=net
debug=tor
debuglogfile=/media/Storage/blockchain/debug.log
addresstype=bech32
changetype=bech32
listen=1
prune=550

Just a side note. When I started this node, I forgot to delete the line 'txindex=1' and only noticed that when blocks folder was already 60Gb big. Then, I removed that line from the config file and restarted the daemon, but the blocks folder kept going and still is. What I need to do to force the daemon to use the config line 'prune=550' and stop blocks folder from growing?

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5614


Self-proclaimed Genius


View Profile
March 27, 2021, 05:14:12 AM
 #2

You can add -prune=550 as an additional start parameter instead.

For the bitcoin config issue, is it located in the default directory?
If not, try to put the entries in the default data directory's bitcoin.conf file whether you're using a custom datadir or not.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 660


I rather die on my feet than to live on my knees


View Profile
March 27, 2021, 09:52:41 AM
Merited by LoyceV (2), hugeblack (2)
 #3

I think I found the problem.

I can't have the prune=550 config line inside the [testnet] section. It must be out of it.
But I'm still not sure it's all good now because I've been told more than once that for a pruned node to get sync'ed, it takes like 2 or 3h. But not in my case.
It's now almost 20h and it is still at 06/2019.

Is this normal or it should be way faster? I'm running this on a Samsung 970 Evo Plus NVMe M.2 drive.

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
LoyceV
Legendary
*
Offline Offline

Activity: 3318
Merit: 16677


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 27, 2021, 10:39:06 AM
 #4

I've been told more than once that for a pruned node to get sync'ed, it takes like 2 or 3h.
That's very optimistic Smiley A pruned node still needs to download and verify about 350 GB of data.

Quote
But not in my case.
It's now almost 20h and it is still at 06/2019.

Is this normal or it should be way faster?
Depending on your other system specs, this seems normal. It should be done by tomorrow.

darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 660


I rather die on my feet than to live on my knees


View Profile
March 27, 2021, 01:55:23 PM
 #5

I've been told more than once that for a pruned node to get sync'ed, it takes like 2 or 3h.
That's very optimistic Smiley A pruned node still needs to download and verify about 350 GB of data.

Quote
But not in my case.
It's now almost 20h and it is still at 06/2019.

Is this normal or it should be way faster?
Depending on your other system specs, this seems normal. It should be done by tomorrow.

This is a RockPro64 board with 4Gb of RAM. It uses a Dual-core Cortex-A72 up to 2.0GHz CPU an a Quad-core Cortex-A53 up to 1.5GHz CPU.
But I think the main role in the process is at the capability of read/write of the storage drive which is pretty much the best we can get at an affordable price (the Samsung 970 Evo Plus NVMe M.2 drive).


But I'm still not sure it's all good now because I've been told more than once that for a pruned node to get sync'ed, it takes like 2 or 3h. But not in my case.
It's now almost 20h and it is still at 06/2019.

Is this normal or it should be way faster? I'm running this on a Samsung 970 Evo Plus NVMe M.2 drive.

That depends on your hardware, but obviously there's bottleneck. On blog 2020 Bitcoin Node Performance Tests, he uses Samsung 960 EVO 1TB M.2 SSD (similar to yours) with high-end hardware and managed to fully sync in 5 hours 41 minutes.

But IMO 20h to reach 06/2019 is quite fast since some people took days to weeks to fully sync Bitcoin node.

yeah, I guess my bottleneck now is on the CPU computing power.

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 02, 2021, 12:01:28 AM
 #6

But I'm still not sure it's all good now because I've been told more than once that for a pruned node to get sync'ed, it takes like 2 or 3h. But not in my case.
Pruning (in general) doesn't really sync any faster or slower than when not pruning... It still has to download and verify everything like a "standard" node... the only real difference in the process is that it doesn't store all the block data.

So, expect it to take as long as it would if you were just syncing normally.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


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