Upgrading Your Bitcoin Core Node to the Latest Version

18 replies 481 views
Posts: 252 · Reputation: 12
#1Aug 20, 2020, 07:44 AM
Hi all. Quick question here. Just got back to running my Bitcoin node after a break. Struggling with terrible ISP connection. Saw there's a new Bitcoin Core version out (v29.0). Can I update without messing up my setup? I'm on v27.0.
2 Reply Quote Share
m00n51Hero Member
Posts: 85 · Reputation: 2161
#2Aug 20, 2020, 10:47 AM
So that update is just a soft fork. Shouldn’t kick you off the network if you stick with the old version. If you don’t care about the new features, maybe just stay on your current version for now. But honestly, it probably won't fix your ISP issues anyway.
2 Reply Quote Share
Ba5edGuruFull Member
Posts: 92 · Reputation: 349
#3Aug 20, 2020, 11:57 AM
It shouldn’t mess things up. Just back up your block data after shutting down the Bitcoin Core. Then install the new version and it should pick up from where you left off. By the way, what device do you have?
2 Reply Quote Share
MadNovaHero Member
Posts: 278 · Reputation: 3536
#4Aug 22, 2020, 10:32 PM
Yeah, just follow those steps if you want the new version. Back up your wallet and settings just in case. Close the app before installing, You’re in Nigeria, right? You might be using Glo, I think.
2 Reply Quote Share
Posts: 252 · Reputation: 12
#5Aug 23, 2020, 01:21 AM
Got it! ISP issues are a whole different ball game. I’m gonna switch my provider soon, others just suck. I downloaded the latest version but haven’t installed it yet. Feeling nervous about it... If I’m not sure, I might just stick with what I have until I finish downloading.
4 Reply Quote Share
just_bossFull Member
Posts: 9 · Reputation: 611
#6Aug 23, 2020, 04:58 AM
You can upgrade from 27 to 29.0 without losing your blockchain stuff. Run bitcoin-cli stop first to shut it down properly. Download v29.0 and install it on top of your current version. Make backups of your wallet just to be safe.
6 Reply Quote Share
Ba5edGuruFull Member
Posts: 92 · Reputation: 349
#7Aug 23, 2020, 07:08 AM
Right, it’s all about doing it properly. Just make sure to back up your block data, usually in "~\Appdata\local\bitcoin". I switched my block directory to my desktop during installation. You can keep syncing, then update later if it still worries you.
1 Reply Quote Share
Posts: 252 · Reputation: 12
#8Aug 23, 2020, 11:37 AM
Let me know what specs you have. Could be helpful if you’re thinking of upgrading anything.
3 Reply Quote Share
just_bossFull Member
Posts: 9 · Reputation: 611
#9Aug 23, 2020, 04:37 PM
I need those specs too! What’s your RAM and SSD size?
1 Reply Quote Share
0xLynxMember
Posts: 113 · Reputation: 205
#10Aug 23, 2020, 04:56 PM
Can't see the dbcache size in your pic, looks a bit small. Try boosting it to at least 1/4 or 1/2 of your RAM. Also, you can speed up sync by adding a line in your bitcoin.conf file.
1 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#11Aug 25, 2020, 04:09 AM
Here's a little story... I took a backup from a month ago and pointed Bitcoin Core v27.0 at it. Closed it before it fully synced, then switched to v29.0. No issues, just kept syncing like before.
0 Reply Quote Share
Ba5edGuruFull Member
Posts: 92 · Reputation: 349
#12Aug 25, 2020, 07:48 AM
Depends on your RAM, but max dbcache is 16GB. If you have 16GB RAM, set it to about 5-6GB but in MB. SSD size should be at least 256-512GB if you’re using prune mode.
2 Reply Quote Share
0xLynxMember
Posts: 113 · Reputation: 205
#13Aug 26, 2020, 02:08 AM
5120 MB for dbcache is decent. It’s divisible by 1024, so should work well. You could even allocate more if your system isn't heavily loaded.
1 Reply Quote Share
Posts: 185 · Reputation: 37
#14Aug 26, 2020, 07:13 AM
I heard from the v29.0 notes that they removed the 16GiB limit for dbcache. If your RAM allows, you can set more now. But don’t push your system too hard.
4 Reply Quote Share
Ba5edGuruFull Member
Posts: 92 · Reputation: 349
#15Aug 27, 2020, 03:11 PM
Got it! Thanks for the heads up. I skimmed the notes earlier but missed that part. Just wondering if 64GiB is enough for fast IBD.
4 Reply Quote Share
Posts: 252 · Reputation: 12
#16Aug 27, 2020, 09:25 PM
I updated early this morning, all good! Noticed the sync speed is better than before. But my specs could still use an upgrade. What other benefits does v29.0 have?
1 Reply Quote Share
Posts: 185 · Reputation: 37
#17Aug 30, 2020, 02:28 AM
No need to stress about tweaking that setting. Default is par=0, so Bitcoin Core manages threads automatically. A good dbcache value helps more than fiddling with par.
4 Reply Quote Share
Posts: 252 · Reputation: 12
#18Aug 30, 2020, 05:46 AM
I bumped it up yesterday after your suggestion, downloaded some blocks, saw a few changes. Been busy today, but I’ll check back later. Using an SSD but it's not huge, will monitor performance.
1 Reply Quote Share
Posts: 185 · Reputation: 37
#19Aug 31, 2020, 04:33 AM
Optimized dbcache is key during IBD. Once at chain-tip, dbcache value matters less. Usually, you can stick with dbcache=1024 or default dbcache=450 at chain-tip.
0 Reply Quote Share

Related topics