user140217: I wanted to build Bitcoin Core myself, so I followed this official guide, but in the process I failed to realize that by cloning the git repo I would just get the latest source code, not the latest stable release. I have downloaded the full blockchain, created a wallet, deposited funds, but I am running a pre-release version, 24.99. Is it possible to downgrade to the latest stable release (24.0.1)? What are the consequences, do I need to redownload the blockchain, restore my wallet, etc?

user30668: If you have downloaded the source from the GitHub repo, you can simply checkout to the proper release branch and re-install the software following the tutorial again. Installing the binaries should not affect the user data.
To checkout to the proper branch just do:
git checkout v24.0.1

If the v24.0.1 tag happens not to be present in your local copy, you can fetch the tags from upstream:
> git checkout v24.0.1
error: pathspec 'v24.0.1' did not match any file(s) known to git

git fetch origin
git checkout v24.0.1

If you're concerned about potentially losing your wallet data, I'd recommend you make a backup of the user directory just to be safe. Given you're linking to a macOS installing guide, your user directory should be located at /Users/${USER}/Library/Application Support/Bitcoin/.

user139612: You can build any of the stable releases by checking out a tagged branch. For v24.0.1, this would be something like this:
git checkout v24.0.1

and then proceed with building, same as before. Regarding downgrading, generally speaking, you should have no issues when upgrading or downgrading between client versions but you should always check the release notes to see if there is a downgrade warning and any additional steps you might need to take.
In your case, there are no release notes yet, so make a backup of your wallet.dat file before downgrading the client. In the very unlikely event that you have issues with your block data or chainstate data after downgrading, you can first try running -reindex-chainstate before resorting to re-doing IBD.
EDIT: as mentioned in the comments, it is usually possible to use an older wallet.dat file with a newer client but not always guaranteed that a newer wallet.dat file can be used with an older client. Make sure you have a backup as you may need to sweep the funds to an intermediary wallet first and then transfer them to a newly created wallet on the downgraded client.

140217: <p>I wanted to build Bitcoin Core myself, so I followed <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md" rel="nofollow noreferrer">this official guide</a>, but in the process I failed to realize that by cloning the git repo I would just get the latest source code, not the latest stable release. I have downloaded the full blockchain, created a wallet, deposited funds, but I am running a pre-release version, 24.99. Is it possible to downgrade to the latest stable release (24.0.1)? What are the consequences, do I need to redownload the blockchain, restore my wallet, etc?</p>
 30668: <p>If you have downloaded the source from the GitHub repo, you can simply checkout to the proper release branch and re-install the software following the tutorial again. Installing the binaries should not affect the user data.</p>
<p>To checkout to the proper branch just do:</p>
<pre><code>git checkout v24.0.1
</code></pre>
<p>If the <code>v24.0.1</code> tag happens not to be present in your local copy, you can fetch the tags from upstream:</p>
<pre><code>&gt; git checkout v24.0.1
error: pathspec 'v24.0.1' did not match any file(s) known to git
</code></pre>
<pre><code>git fetch origin
git checkout v24.0.1
</code></pre>
<p>If you're concerned about potentially losing your wallet data, I'd recommend you make a backup of the user directory just to be safe. Given you're linking to a macOS installing guide, your user directory should be located at <code>/Users/${USER}/Library/Application Support/Bitcoin/</code>.</p>
 139612: <p>You can build any of the stable releases by checking out a tagged branch. For <code>v24.0.1</code>, this would be something like this:</p>
<pre class="lang-sh prettyprint-override"><code>git checkout v24.0.1
</code></pre>
<p>and then proceed with building, same as before. Regarding downgrading, generally speaking, you should have no issues when upgrading or downgrading between client versions but you should always check the release notes to see if there is a downgrade warning and any additional steps you might need to take.</p>
<p>In your case, there are no release notes yet, so make a backup of your <code>wallet.dat</code> file before downgrading the client. In the very unlikely event that you have issues with your block data or chainstate data after downgrading, you can first try running <code>-reindex-chainstate</code> before resorting to re-doing IBD.</p>
<p>EDIT: as mentioned in the comments, it is usually possible to use an older <code>wallet.dat</code> file with a newer client but not always guaranteed that a newer <code>wallet.dat</code> file can be used with an older client. Make sure you have a backup as you may need to sweep the funds to an intermediary wallet first and then transfer them to a newly created wallet on the downgraded client.</p>
