How to improve the efficiency of the wallet?

+1 vote
We are running a multichain network with "version" : "1.0 beta 2" and "walletdbversion" : 2,

There are more than 100,000 addresses in the wallet.

It takes over 5 seconds to get responds from RPC getinfo & getpeerinfo.

How can we improve the efficiency of the wallet?

asked Jul 7, 2018 by allainzhang2018

1 Answer

0 votes
First, I would recommend upgrading to a more recent version, e.g. 1.0.5.

In any event the MultiChain wallet is not currently designed to handle this number of addresses. We have this issue to be dealt with on our roadmap. In the meantime you may want to consider running multiple nodes, even on the same computer, where each has a subset of the addresses.
answered Jul 8, 2018 by MultiChain

Can you tell how to run multiple nodes  on the same computer?

And how many addresses you recommend in one node?
To run multiple nodes on one computer, you need to use a combination of the datadir, port and rpcport runtime parameters to ensure the nodes do not clash with each other.

I would say each node's wallet should manage about 5000 addresses.

As I said we'll be improving on this in future.