Skip to content

Supporting multiple wallets

jim618 edited this page Sep 20, 2011 · 5 revisions

Replace the 'Open Wallets...' on the task bar with 'My Wallets'

Clicking this gives a list of all your wallets, each displaying:

  • a radio button indicating the active wallet
  • a wallet nick name ???
  • the wallet file name
  • a wallet description
  • the wallet's balance
  • a second line indicating the most recent transaction with: date, description, credit/ debit, amount

Clicking the radio button switches which wallet is the 'active wallet'. This is the wallet whose balance is shown at the top and the wallet to which the receive/send/transactions refer to,

The 'Wallet: name of wallet' would change to 'Active wallet a combo box with the wallet filename in' (or the nick name ???)

Implementation details

MultiBitService and (perhaps) the corresponding bitcoin classes would need to be improved to handle add/ delete wallet listeners properly. This would also be the time to fix having to reinstantiate MultiBitService when switching wallets, which restarts the PeerGroup and is inefficient.

Here are some ideas for coping for when [there are two instances of MultiBit running](Ideas for when there are two instances of MultiBit running).