Difference between revisions of "Addnode"
(Created page with "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 to your Peerlist with a high...") |
(added the addnode example for the defi.conf file) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Sometimes the Wallet-APP in Windows, Mac or Linux need a long time to sync the whole blockchain. | 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 | + | 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". |
+ | |||
+ | [[File:Cli addnode.jpg|thumb|addnode|alt=|none]] | ||
To do this, open the CLI in the APP and type the following Command: | To do this, open the CLI in the APP and type the following Command: | ||
− | addnode "ipaddress:port" add | + | <code>addnode "ipaddress:port" add</code> |
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]]. | ||
+ | |||
+ | |||
+ | The project [https://mydeficha.in/ mydeficha.in] offers a seed you can add. This will in fact add many addresses at once. | ||
+ | |||
+ | Simple type | ||
+ | |||
+ | <code>addnode "seed.mydeficha.in:8555" add</code> | ||
+ | |||
+ | 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 18: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".
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.