Difference between revisions of "Blockchain folder"

From DeFiChain-Wiki
Line 4: Line 4:
 
# open file defi.conf in text editor
 
# 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)
 
# add line: datadir=<storage directory blockchain data> (example: datadir=D:\defichain) (Important: The line has to be added before the Main Chapter)
# Example: {| class="wikitable" !<code>rpcauth=something</code> <code>rpcuser=something</code>  <code>rpcpassword=something</code>  <code>rpcbind=127.0.0.1</code>  <code>rpcport=8555</code>  <code>datadir=D:\defichain</code>  <code>[main]</code>  <code>wallet=Wallet.dat</code> |}
+
# Example:  
 +
{| class="wikitable"
 +
!<code>rpcauth=something</code>
 +
<code>rpcuser=something</code>
 +
 
 +
<code>rpcpassword=something</code>
 +
 
 +
<code>rpcbind=127.0.0.1</code>
 +
 
 +
<code>rpcport=8555</code>
 +
 
 +
<code>datadir=D:\defichain</code>
 +
 
 +
<code>[main]</code>
 +
 
 +
<code>wallet=Wallet.dat</code>
 +
|}
 +
# {| class="wikitable" !<code>rpcauth=something</code> <code>rpcuser=something</code>  <code>rpcpassword=something</code>  <code>rpcbind=127.0.0.1</code>  <code>rpcport=8555</code>  <code>datadir=D:\defichain</code>  <code>[main]</code>  <code>wallet=Wallet.dat</code> |}
 
#  
 
#  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 13: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. open directory C:\Users\<username>\.defi
  2. open file defi.conf in text editor
  3. add line: datadir=<storage directory blockchain data> (example: datadir=D:\defichain) (Important: The line has to be added before the Main Chapter)
  4. Example:
rpcauth=something

rpcuser=something

rpcpassword=something

rpcbind=127.0.0.1

rpcport=8555

datadir=D:\defichain

[main]

wallet=Wallet.dat

  1. {| class="wikitable" !rpcauth=something rpcuser=something rpcpassword=something rpcbind=127.0.0.1 rpcport=8555 datadir=D:\defichain [main] wallet=Wallet.dat |}
rpcauth=something

rpcuser=something

rpcpassword=something

rpcbind=127.0.0.1

rpcport=8555

datadir=D:\defichain

[main]

wallet=Wallet.dat

  1. Save file and start wallet
  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.


Show this page in german