Difference between revisions of "Blockchain folder"
From DeFiChain-Wiki
m |
|||
Line 6: | Line 6: | ||
# add line: <code>datadir=<storage directory blockchain data></code> Important: The line has to be added before the <code>[main]</code> chapter) | # add line: <code>datadir=<storage directory blockchain data></code> Important: The line has to be added before the <code>[main]</code> chapter) | ||
# Example: | # Example: | ||
− | + | <syntaxhighlight lang="ini"> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
rpcauth=something | rpcauth=something | ||
rpcuser=something | rpcuser=something | ||
Line 34: | Line 16: | ||
wallet=Wallet.dat | wallet=Wallet.dat | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | ||
<ol start="6"> | <ol start="6"> | ||
<li>Save file and start app</li> | <li>Save file and start app</li> |
Revision as of 09:22, 17 March 2021
Instructions for changing the directory of the blockchain data for the defichain wallet
Procedure using Windows 10 as an example:
- Make sure that the DeFiChain app is closed
- Open directory C:\Users\<username>\.defi
- Open the file
defi.conf
in text editor - add line:
datadir=<storage directory blockchain data>
Important: The line has to be added before the[main]
chapter) - Example:
rpcauth=something
rpcuser=something
rpcpassword=something
rpcpassword=something
rpcpassword=something
datadir=D:\defichain
[main]
wallet=Wallet.dat
- Save file and start app
- 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.