Struct ethstore::EthMultiStore[][src]

pub struct EthMultiStore { /* fields omitted */ }

Similar to EthStore but may store many accounts (with different passwords) for the same Address

Methods

impl EthMultiStore
[src]

Open new multi-accounts store with given key directory backend.

Open new multi-accounts store with given key directory backend and custom number of iterations for new keys.

Modify account refresh timeout - how often they are re-read from KeyDirectory.

Setting this to low values (or 0) will cause new accounts to be picked up quickly, although it may induce heavy disk reads and is not recommended if you manage many keys (say over 10k).

By default refreshing is disabled, so only accounts created using this instance of EthStore are taken into account.

Trait Implementations

impl SimpleSecretStore for EthMultiStore
[src]

Inserts new accounts to the store (or vault) with given password.

Inserts new derived account to the store (or vault) with given password.

Generates new derived account.

Sign a message with derived account.

Get reference to some account with given address. This method could be removed if we will guarantee that there is max(1) account for given address. Read more

Returns all accounts in this secret store.

Entirely removes account from the store and underlying storage.

Changes accounts password.

Exports key details for account.

Sign a message with given account.

Decrypt a messages with given account.

Agree on shared key.

Create new vault with given password

Open vault with given password

Close vault

List all vaults

List all currently opened vaults

Change vault password

Cnage account' vault

Get vault metadata string.

Set vault metadata string.

Auto Trait Implementations

impl Send for EthMultiStore

impl Sync for EthMultiStore