Skip to content

Remove accounts config from Dirk signer #301

@ManuelBilbao

Description

@ManuelBilbao

Dirk users may have thousands of accounts and it's not reasonable to set them all in the config. The easiest option to solve this is to just ask for the wallets to use (Dirk doesn't allow to get "all wallets" accounts) and load all accounts of those. This is as simple as removing the checks like this one.

if !host.accounts.contains(&account.name) {
continue;
}

The caveat here is that we might be loading previously generated proxy keys as consensus ones. Possible options to solve this I've thought were:

  • Use a different specific wallet for proxy keys.
  • Set a standard for proxy key names and treat keys as proxies if the name matches the standard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions