Difference between revisions of "Addnode"

From DeFiChain-Wiki
(added the addnode example for the defi.conf file)
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
  
 
Click Enter and and when the output is 'null', the command was successfull.
 
Click Enter and and when the output is 'null', the command was successfull.
 +
 +
If you like you can also add lines in the defi.conf file to make sure, every restart after an update or installed snapshot has these nodes set as peers, e.g.(see [https://github.com/DeFiCh/ain/blob/master/share/examples/default.conf github] for examples and documentation):
 +
 +
<code>addnode=seed.mydeficha.in:8555</code>
  
 
A list of Fullnodes can you find [[Fullnode#List_of_Fullnodes|here]].
 
A list of Fullnodes can you find [[Fullnode#List_of_Fullnodes|here]].
  
  
The project [https://mydeficha.in/ mydeficha.in] offers an address you can add. This will in fact add many addresses at once.
+
The project [https://mydeficha.in/ mydeficha.in] offers a seed you can add. This will in fact add many addresses at once.
  
 
Simple type
 
Simple type
Line 21: Line 25:
  
 
in the command line.
 
in the command line.
 +
 +
If you get a "Method not found" you probably have a typo or forget a " " (space/blank) after addnode.

Latest revision as of 19:55, 6 June 2021

Sometimes the Wallet-APP in Windows, Mac or Linux need a long time to sync the whole blockchain.

In this case you can manually add some Fullnodes with a high and stable Internet Connection to your Peerlist to give the sync a "boost".

addnode

To do this, open the CLI in the APP and type the following Command:

addnode "ipaddress:port" add

Click Enter and and when the output is 'null', the command was successfull.

If you like you can also add lines in the defi.conf file to make sure, every restart after an update or installed snapshot has these nodes set as peers, e.g.(see github for examples and documentation):

addnode=seed.mydeficha.in:8555

A list of Fullnodes can you find here.


The project mydeficha.in offers a seed you can add. This will in fact add many addresses at once.

Simple type

addnode "seed.mydeficha.in:8555" add

in the command line.

If you get a "Method not found" you probably have a typo or forget a " " (space/blank) after addnode.