Difference between revisions of "Blockchain folder"
From DeFiChain-Wiki
Robin Torque (talk | contribs) |
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 | # open directory C:\Users\<username>\.defi | ||
# open file defi.conf in text editor | # open file defi.conf in text editor | ||
Line 7: | Line 7: | ||
{| class="wikitable" | {| class="wikitable" | ||
!<code>rpcauth=something</code> | !<code>rpcauth=something</code> | ||
+ | |||
<code>rpcuser=something</code> | <code>rpcuser=something</code> | ||
<code>rpcpassword=something</code> | <code>rpcpassword=something</code> | ||
− | <code> | + | <code>rpcpassword=something</code> |
− | <code> | + | <code>rpcpassword=something</code> |
<code>datadir=D:\defichain</code> | <code>datadir=D:\defichain</code> | ||
Line 21: | Line 22: | ||
<code>wallet=Wallet.dat</code> | <code>wallet=Wallet.dat</code> | ||
|} | |} | ||
− | |||
− | |||
− | + | <!-- <syntaxhighlight lang="ini"> | |
+ | rpcauth=something | ||
+ | rpcuser=something | ||
+ | rpcpassword=something | ||
+ | rpcpassword=something | ||
+ | rpcpassword=something | ||
+ | datadir=D:\defichain | ||
+ | [main] | ||
+ | wallet=Wallet.dat | ||
+ | </syntaxhighlight> | ||
+ | --> | ||
+ | <ol start="5"> | ||
+ | <li>Save file and start wallet</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> | ||
− | |||
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 17:15, 16 March 2021
Instructions for changing the directory of the blockchain data for the defichain wallet
Procedure using Windows 10 as an example:
- open directory C:\Users\<username>\.defi
- open file defi.conf in text editor
- add line: datadir=<storage directory blockchain data> (example: datadir=D:\defichain) (Important: The line has to be added before the Main Chapter)
- Example:
rpcauth=something
|
---|
- Save file and start wallet
- 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.