Struct ethcore_rpc::v1::SignerClient
[−]
[src]
pub struct SignerClient<C, M> where C: MiningBlockChainClient, M: MinerService { /* fields omitted */ }
Transactions confirmation (personal) rpc implementation.
Methods
impl<C: 'static, M: 'static> SignerClient<C, M> where C: MiningBlockChainClient, M: MinerService
[src]
fn new(store: &Arc<AccountProvider>,
client: &Arc<C>,
miner: &Arc<M>,
signer: &Arc<SignerService>)
-> Self
client: &Arc<C>,
miner: &Arc<M>,
signer: &Arc<SignerService>)
-> Self
Create new instance of signer client.
Trait Implementations
impl<C: 'static, M: 'static> Signer for SignerClient<C, M> where C: MiningBlockChainClient, M: MinerService
[src]
fn requests_to_confirm(&self) -> Result<Vec<ConfirmationRequest>, Error>
Returns a list of items to confirm.
fn confirm_request(&self,
id: U256,
modification: TransactionModification,
pass: String)
-> Result<ConfirmationResponse, Error>
id: U256,
modification: TransactionModification,
pass: String)
-> Result<ConfirmationResponse, Error>
Confirm specific request.
fn confirm_request_with_token(&self,
id: U256,
modification: TransactionModification,
token: String)
-> Result<ConfirmationResponseWithToken, Error>
id: U256,
modification: TransactionModification,
token: String)
-> Result<ConfirmationResponseWithToken, Error>
Confirm specific request with token.
fn confirm_request_raw(&self,
id: U256,
bytes: Bytes)
-> Result<ConfirmationResponse, Error>
id: U256,
bytes: Bytes)
-> Result<ConfirmationResponse, Error>
Confirm specific request with already signed data.
fn reject_request(&self, id: U256) -> Result<bool, Error>
Reject the confirmation request.
fn generate_token(&self) -> Result<String, Error>
Generates new authorization token.
fn generate_web_proxy_token(&self) -> Result<String, Error>
Generates new web proxy access token.
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Transform this into an IoDelegate
, automatically wrapping the parameters. Read more