d5c19f8719
* Extract accounts from ethcore. * Fix ethcore. * Get rid of AccountProvider in test_helpers * Fix rest of the code. * Re-use EngineSigner, fix tests. * Simplify EngineSigner to always have an Address. * Fix RPC tests. * Add deprecation notice to RPCs. * Feature to disable accounts. * extract accounts in RPC * Run with accounts in tests. * Fix RPC compilation and tests. * Fix compilation of the binary. * Fix compilation of the binary. * Fix compilation with accounts enabled. * Fix tests. * Update submodule. * Remove android. * Use derive for Default * Don't build secretstore by default. * Add link to issue. * Refresh Cargo.lock. * Fix miner tests. * Update rpc/Cargo.toml Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com> * Fix private tests.
66 lines
2.1 KiB
Rust
66 lines
2.1 KiB
Rust
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
|
|
// This file is part of Parity Ethereum.
|
|
|
|
// Parity Ethereum is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Parity Ethereum is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! Ethereum rpc interface implementation.
|
|
|
|
mod debug;
|
|
mod eth;
|
|
mod eth_filter;
|
|
mod eth_pubsub;
|
|
mod net;
|
|
mod parity;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
mod parity_accounts;
|
|
mod parity_set;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
mod personal;
|
|
mod private;
|
|
mod pubsub;
|
|
mod rpc;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
mod secretstore;
|
|
mod signer;
|
|
mod signing;
|
|
mod signing_unsafe;
|
|
mod traces;
|
|
mod web3;
|
|
|
|
pub mod light;
|
|
|
|
pub use self::debug::DebugClient;
|
|
pub use self::eth::{EthClient, EthClientOptions};
|
|
pub use self::eth_filter::EthFilterClient;
|
|
pub use self::eth_pubsub::EthPubSubClient;
|
|
pub use self::net::NetClient;
|
|
pub use self::parity::ParityClient;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
pub use self::parity_accounts::ParityAccountsClient;
|
|
pub use self::parity_set::ParitySetClient;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
pub use self::parity_set::accounts::ParitySetAccountsClient;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
pub use self::personal::PersonalClient;
|
|
pub use self::private::PrivateClient;
|
|
pub use self::pubsub::PubSubClient;
|
|
pub use self::rpc::RpcClient;
|
|
#[cfg(any(test, feature = "accounts"))]
|
|
pub use self::secretstore::SecretStoreClient;
|
|
pub use self::signer::SignerClient;
|
|
pub use self::signing::SigningQueueClient;
|
|
pub use self::signing_unsafe::SigningUnsafeClient;
|
|
pub use self::traces::TracesClient;
|
|
pub use self::web3::Web3Client;
|