pub struct EthMultiStore { /* private fields */ }
Expand description

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

Implementations

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

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.