Struct ethcore::account_provider::AccountProvider [] [src]

pub struct AccountProvider { /* fields omitted */ }

Account management. Responsible for unlocking accounts.

Methods

impl AccountProvider
[src]

Creates new account provider.

Creates not disk backed provider.

Creates new random account.

Creates new random account and returns address and public key

Inserts new account into underlying store. Does not unlock account!

Import a new presale wallet.

Import a new presale wallet.

Checks whether an account with a given address is present.

Returns addresses of all accounts.

Sets a whitelist of accounts exposed for unknown dapps. None means that all accounts will be visible.

Gets a whitelist of accounts exposed for unknown dapps. None means that all accounts will be visible.

Gets a list of dapps recently requesting accounts.

Marks dapp as recently used.

Gets addresses visile for dapp.

Returns default account for particular dapp falling back to other allowed accounts if necessary.

Sets addresses visile for dapp.

Returns each address along with metadata.

Returns each address along with metadata.

Returns each address along with metadata.

Removes and address from the addressbook

Returns each account along with name and meta.

Returns each account along with name and meta.

Returns each account along with name and meta.

Returns each account along with name and meta.

Returns true if the password for account is password. false if not.

Permanently removes an account.

Changes the password of account from password to new_password. Fails if incorrect password given.

Unlocks account permanently.

Unlocks account temporarily (for one signing).

Unlocks account temporarily with a timeout.

Checks if given account is unlocked

Signs the message. If password is not provided the account must be unlocked.

Signs given message with supplied token. Returns a token to use in next signing within this session.

Decrypts a message with given token. Returns a token to use in next operation for this account.

Decrypts a message. If password is not provided the account must be unlocked.

Returns the underlying SecretStore reference if one exists.

Returns the underlying SecretStore reference if one exists.