user126964: When issuing the getwalletinfo RPC in Bitcoin Core, what are the possible results for the "format" field, and what do they mean?

user208: The "format" field in the getwalletinfo RPC output of modern Bitcoin Core releases reports what file format your the respective wallet file is in. The possibilities are:

"bdb": BerkleleyDB file. This was the only supported format up until release v0.20.x
"sqlite": SQLite file. This was added as an experimental option in release v0.21.0. It is only used for descriptor wallets, which are a new type of wallet, which won't be created by default.

In short, unless you created a wallet with version v0.21.0 or later, and explicitly chose to create a descriptor wallet, this RPC will report "bdb".
Wallets are created in one format, and stay in that format during lifetime. New Bitcoin Core versions will keep supporting both.

126964: <p>When issuing the <code>getwalletinfo</code> RPC in Bitcoin Core, what are the possible results for the &quot;format&quot; field, and what do they mean?</p>
 208: <p>The &quot;format&quot; field in the <code>getwalletinfo</code> RPC output of modern Bitcoin Core releases reports what file format your the respective wallet file is in. The possibilities are:</p>
<ul>
<li>&quot;bdb&quot;: BerkleleyDB file. This was the only supported format up until release v0.20.x</li>
<li>&quot;sqlite&quot;: SQLite file. This was added as an experimental option in release v0.21.0. It is only used for descriptor wallets, which are a new type of wallet, which won't be created by default.</li>
</ul>
<p>In short, unless you created a wallet with version v0.21.0 or later, and explicitly chose to create a descriptor wallet, this RPC will report &quot;bdb&quot;.</p>
<p>Wallets are created in one format, and stay in that format during lifetime. New Bitcoin Core versions will keep supporting both.</p>
