Addnode

From DeFiChain-Wiki
Revision as of 20:55, 6 June 2021 by Kuno (talk | contribs) (added the addnode example for the defi.conf file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.