dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

Multi wallet RPC for loadwallet and unloadwallet #2657

Open adneerav opened 5 years ago

adneerav commented 5 years ago

Hello,

Is there any way to load and unload wallet dynamically using RPC like litecoin and bitcoin have RPC method loadwallet and unloadwallet.

I dont want to use configuration option --datadir .

Thanks,

UdjinM6 commented 5 years ago

There is no such rpc yet but you can use the same datadir and different wallets by using -wallet cmd-line/config option.

adneerav commented 5 years ago

But that options is not for dynamic usage. will it required to stop the daemon and start again if i want to load new wallet ?

UdjinM6 commented 5 years ago

Correct.

adneerav commented 5 years ago

Well than this option is not useful if I want to make things dynamically.

As using single wallet and sendfrom will have issue like generic listinput usage while sending transaction.

So is there any other way to manage transaction for multiple account/address ?

kryvel commented 5 years ago

2015

Currently no, but I hope they will add it soon

PastaPastaPasta commented 4 years ago

@adneerav loadwallet was just backported in https://github.com/dashpay/dash/pull/3462, do you also need unloadwallet functionality?