Trait ethcore_rpc::v1::traits::parity_signing::ParitySigning []

pub trait ParitySigning: Sized + Send + Sync + 'static {
    type Metadata: Metadata;
    fn post_sign(&self,
             H160,
             Bytes)
             -> Result<Either<U256, ConfirmationResponse>, Error>; fn post_transaction(&self,
                    Self::Metadata,
                    TransactionRequest)
                    -> BoxFuture<Either<U256, ConfirmationResponse>, Error>; fn check_request(&self, U256) -> Result<Option<ConfirmationResponse>, Error>; fn decrypt_message(&self, H160, Bytes) -> BoxFuture<Bytes, Error>; fn to_delegate(self) -> IoDelegate<Self, Self::Metadata> { ... } }

Signing methods implementation.

Associated Types

Requests metadata

Required Methods

Posts sign request asynchronously. Will return a confirmation ID for later use with check_transaction.

Posts transaction asynchronously. Will return a transaction ID for later use with check_transaction.

Checks the progress of a previously posted request (transaction/sign). Should be given a valid send_transaction ID.

Decrypt some ECIES-encrypted message. First parameter is the address with which it is encrypted, second is the ciphertext.

Provided Methods

Transform this into an IoDelegate, automatically wrapping the parameters.

Implementors