This is a small step towards dynamic wallet load/unload. The wallets registry vpwallets
is used in several places. With these new functions all vpwallets
usage are removed and vpwallets
is now a static variable (no external linkage).
The typedef CWalletRef
is also removed as it is narrowly used.