Difference between revisions of "Blockchain folder"

From DeFiChain-Wiki
m
Line 1: Line 1:
 
== Instructions for changing the directory of the blockchain data for the defichain wallet ==
 
== Instructions for changing the directory of the blockchain data for the defichain wallet ==
 
Procedure using Windows 10 as an example:
 
Procedure using Windows 10 as an example:
# open directory C:\Users\<username>\.defi
+
# Make sure that the DeFiChain app is closed
# open file defi.conf in text editor
+
# Open directory C:\Users\<username>\.defi
# add line: datadir=<storage directory blockchain data> (example: datadir=D:\defichain) (Important: The line has to be added before the Main Chapter)
+
# Open the file <code>defi.conf</code> in text editor
 +
# add line: <code>datadir=<storage directory blockchain data></code>    Important: The line has to be added before the <code>[main]</code> chapter)
 
# Example:  
 
# Example:  
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 36:
 
-->
 
-->
 
<ol start="5">
 
<ol start="5">
<li>Save file and start wallet</li>
+
<li>Save file and start app</li>
 
<li>The app now recreates the blockchain folders in the datadir and will start with a complete download of the whole blockchain. (16.3.2021 ca. 25GB)</li>
 
<li>The app now recreates the blockchain folders in the datadir and will start with a complete download of the whole blockchain. (16.3.2021 ca. 25GB)</li>
 
</ol>
 
</ol>
  
 
The app 2.3.1 does not work correctly with a moved directory.
 
The app 2.3.1 does not work correctly with a moved directory.

Revision as of 19:10, 16 March 2021

Instructions for changing the directory of the blockchain data for the defichain wallet

Procedure using Windows 10 as an example:

  1. Make sure that the DeFiChain app is closed
  2. Open directory C:\Users\<username>\.defi
  3. Open the file defi.conf in text editor
  4. add line: datadir=<storage directory blockchain data> Important: The line has to be added before the [main] chapter)
  5. Example:
rpcauth=something

rpcuser=something

rpcpassword=something

rpcpassword=something

rpcpassword=something

datadir=D:\defichain

[main]

wallet=Wallet.dat

  1. Save file and start app
  2. The app now recreates the blockchain folders in the datadir and will start with a complete download of the whole blockchain. (16.3.2021 ca. 25GB)

The app 2.3.1 does not work correctly with a moved directory.