Skip to content

Default wallet on rpc calls #33

@DrDBanner

Description

@DrDBanner

Issue

Partyman can't determine the correct wallet if Particl Desktop has connected to the already running Particl Core and switched wallets back and forth.

How to reproduce

  1. Start Particl Core
  2. Check status with partyman status
  3. Start Particl Desktop having 2 or more Wallets and switch back and forth between them.
  4. Close Particl Desktop
  5. Check status with partyman status

Bildschirmfoto 2021-03-10 um 16 30 18

Possible solution

  • Check if there are more than 1 wallet(s) present and no default wallet is set within partyman
  • Add a default wallet switch mechanism within partyman. -> "Partyman has identified the following wallets [1,2,3], which one is the default wallet you want partyman to interact with?
  • Make all rpc calls with a determined wallet mandatory

Note

Since Bitcoin 0.21.0 The createwallet, loadwallet, and unloadwallet RPCs now accept load_on_startup options to modify the settings list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions