Quote
In that case, then no full node wallet does what you want since BIP 32 does not always allow the xpub to generate addresses. When hardened addresses are used (they are considered more secure), the xpub is pretty much useless as it cannot be used to generate all of the addresses in a wallet.
Ok. But I really need the xpub key. What should I do?You can setup a local electrum server (which is a full node) and have the electrum client (on the same server) connect to your electrum server. That would provide exactly what you want, but it may be fairly difficult to setup.
Thanks a lot. I will try this solution. It sounds a good idea.