Bitcoin Forum
April 02, 2026, 07:39:07 PM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Safe to update across versions far apart?  (Read 223 times)
jnano (OP)
Member
**
Offline Offline

Activity: 307
Merit: 94


View Profile
March 25, 2025, 10:03:15 PM
Merited by vapourminer (1), ABCbits (1)
 #1

In terms of wallet, chainstate, and block data, is it okay to update Core across versions years apart?

Specifically, from version 0.18.x to 28.x, which are 5-6 years apart.
With pruned block data.



BitMaxz
Legendary
*
Offline Offline

Activity: 3948
Merit: 3590


Take the risk or lose the chance?


View Profile WWW
March 25, 2025, 10:32:37 PM
 #2

I think it's safe but it's recommended to keep up-to-date if there's a recent version release.

And before upgrading the core to the most recent version, always make sure to make a backup copy of the wallet.dat file just in case the core has some issues after the upgrade, you can later fix the issue and recover the wallet.

BTC is still bearish at the moment, but it is getting weak. The market might shift while the RSI is making a reversal pattern.

To get more advantage analyzing the market, why not try to subscribe to TradingView and unlock the $15 reward from your first subscription?
nc50lc
Legendary
*
Offline Offline

Activity: 3108
Merit: 8540


Self-proclaimed Genius


View Profile
March 26, 2025, 05:43:39 AM
Last edit: March 27, 2025, 04:10:31 AM by nc50lc
Merited by ABCbits (1)
 #3

Specifically, from version 0.18.x to 28.x, which are 5-6 years apart.
Your legacy wallet should still be compatible with v28.1.
But not in v29.0 v30.0 once it's released, you'll have to migrate it into a descriptor wallet.

For your UTXO Set and Blocks, the versions aren't too far apart and there's no incompatible changes listed in the Release Notes.
To check it yourself: Meticulously read every release notes from v0.18.1 to v28.1, the part where it says: "How to Upgrade" where forwards/backwards compatibility is usually mentioned.
But if you can backup the whole datadir (since it's pruned anyways), do it in case something happens with during upgrade.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
LoyceV
Legendary
*
Offline Offline

Activity: 4004
Merit: 21519


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 26, 2025, 06:15:26 AM
 #4

But if you can backup the whole datadir (since it's pruned anyways), do it in case something happens with during upgrade.
That's what I wanted to add too Smiley It's only 15 GB, and fits even on a USB-stick.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
jnano (OP)
Member
**
Offline Offline

Activity: 307
Merit: 94


View Profile
March 26, 2025, 10:56:38 AM
Last edit: March 26, 2025, 11:59:51 AM by jnano
 #5

Thanks.

But not in v29.0 once it's released
If it won't be capable of converting it as needed, that's a surprise.

Quote
Meticulously read every release notes from v0.18.1 to v28.1
Too bad there's no all-in-one changelog.

It's only 15 GB, and fits even on a USB-stick.
Yes, though depends on your set prune size.

Though I'm wondering more about potential "silent" problems.
In theory, one would expect it to explicitly alert if something's not compatible, leave the data be, and exit gracefully.
Core is typically pretty elaborate in data compatibility checking, and logging / alerting.

it's recommended to keep up-to-date if there's a recent version release.
I think it's pretty common in Bitcoin land not to update quickly.
I'm not sure where one can find stats about "general" users, but stats on 22K nodes do show a spread of versions.

promise444c5
Hero Member
*****
Offline Offline

Activity: 980
Merit: 744


All things are numbers


View Profile WWW
March 26, 2025, 09:24:50 PM
 #6

I'm not sure where one can find stats about "general" users, but stats on 22K nodes do show a spread of versions.
Try Bitnodes.io Maybe it could be of help..
Quote
though depends on your set prune size.
So far you have the required backup space then you can always archive it.. you can also test it by running it directly from the external drive before you start the upgrade as the copied folder  could have some corrupted files sometimes, you can do that by changing the -datadir path to the new external  drive path , if it works then you can revert the changes made and go on with your upgrade... make sure you revert it though.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
nc50lc
Legendary
*
Offline Offline

Activity: 3108
Merit: 8540


Self-proclaimed Genius


View Profile
March 27, 2025, 04:10:04 AM
 #7

But not in v29.0 once it's released
If it won't be capable of converting it as needed, that's a surprise.
Update; there was an update in the proposed timeline edited 3 weeks ago that I haven't checked:
You wont be able to load your legacy wallet in v30.0 instead of v29.0. In that release, Bitcoin Core will provide instructions on how to migrate your old wallet.
But if you want to do it now, use "File->Migrate Wallet".

Quote from: jnano
Though I'm wondering more about potential "silent" problems.
In theory, one would expect it to explicitly alert if something's not compatible, leave the data be, and exit gracefully.
Core is typically pretty elaborate in data compatibility checking, and logging / alerting.
Those are more typical to updated config, network, etc. which depends if you're using such options.
Like for example, v28.0 and v28.1's update in bind settings which could break some setups.

But for the Blockchain and Chainstate compatibility, it's should be explicitly noted in the release notes.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
apogio
Legendary
*
Offline Offline

Activity: 1106
Merit: 2394


View Profile
March 27, 2025, 05:52:01 AM
 #8

I'm not sure where one can find stats about "general" users, but stats on 22K nodes do show a spread of versions.

You must refer to network's statistics. If so, you can check this website: https://bitcointicker.co/networkstats/ or the one that promise444c5 refers to below:

Try Bitnodes.io Maybe it could be of help..

If, on the other hand, you want to check statistics on your node's operations, a very cool project is https://statoshi.info/, which is implemented by Jameson Lopp.
There is a great amount of cool stuff to see there.

jnano (OP)
Member
**
Offline Offline

Activity: 307
Merit: 94


View Profile
April 19, 2025, 10:45:04 AM
 #9

Seemed okay.
The only minor log warning was about the ban list file, which changed to JSON format in v22:
Code:
banlist.dat ignored because it can only be read by Bitcoin Core version 22.x. Remove "...\banlist.dat" to silence this warning.

By the way, one unrelated oddity are a few stray random-looking but fixed characters at the end of some log lines, ones prefixed with "init message:".
nc50lc
Legendary
*
Offline Offline

Activity: 3108
Merit: 8540


Self-proclaimed Genius


View Profile
April 20, 2025, 02:58:36 AM
 #10

By the way, one unrelated oddity are a few stray random-looking but fixed characters at the end of some log lines, ones prefixed with "init message:".
Those shouldn't be random-looking characters but "Ellipsis", the single-character triple dots.
Perhaps your language doesn't support that character.

I double-checked my logs since v28.0 to v29.0 to be sure and it's not showing as gibberish character.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
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!