1
I have two nodes running in my local machine. one public facing and another connected ONLY to the public facing node. I ensure they are whitelisted and in different ports. the nodes connect just fine, but for some reason my "hidden" node is not syncing. The data transmitted between it and the public facing one is just a few KBs. If i run both on regtest, generating blocks and sending txs happen basically instantly, so that works fine. Whats going on in mainnet that it doesnt allow it to sync? Is there something i need to configure?
You should post some detail about how they are configured, for example how have you connected them together, and what whitelist configuration was used. Using
getblockchaininfoon the non-listening node should give some more information about its state (ie, has it synchronised any headers). – Anonymous – 2018-09-26T04:03:44.977The listening node is set up with -port=5801 -listen -debug -whitelist=127.0.0.1 and the hidden node is set up with -port=5802 -connect=127.0.0.1:5801 -debug
Huh, interesting. In general you might be better off looking at
whitebindfor this application, but I'm not sure why you're running into trouble here. Can you verify that5801is listening, for example withnetstatortelnet? – Anonymous – 2018-09-26T04:12:42.097yep. i used netstat and it says ESTABLISHED. In regtest it works just fine. I'll try whitebind and see how it goes. – sken – 2018-09-26T04:19:07.743