removed warnings by adding missing documentation
This commit is contained in:
parent
79aa8570d0
commit
ef297dbec7
@ -33,6 +33,7 @@ pub struct TestAccount {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl TestAccount {
|
impl TestAccount {
|
||||||
|
/// Creates new test account.
|
||||||
pub fn new(password: &str) -> Self {
|
pub fn new(password: &str) -> Self {
|
||||||
TestAccount {
|
TestAccount {
|
||||||
unlocked: false,
|
unlocked: false,
|
||||||
|
@ -22,6 +22,7 @@ use v1::helpers::ExternalMinerService;
|
|||||||
|
|
||||||
/// Test ExternalMinerService;
|
/// Test ExternalMinerService;
|
||||||
pub struct TestExternalMiner {
|
pub struct TestExternalMiner {
|
||||||
|
/// External miners hashrates.
|
||||||
pub hashrates: Arc<RwLock<HashMap<H256, U256>>>
|
pub hashrates: Arc<RwLock<HashMap<H256, U256>>>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
//! Test rpc services.
|
||||||
|
|
||||||
mod account_provider;
|
mod account_provider;
|
||||||
mod sync_provider;
|
mod sync_provider;
|
||||||
mod miner_service;
|
mod miner_service;
|
||||||
|
@ -34,6 +34,7 @@ pub struct TestSyncProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl TestSyncProvider {
|
impl TestSyncProvider {
|
||||||
|
/// Creates new sync provider.
|
||||||
pub fn new(config: Config) -> Self {
|
pub fn new(config: Config) -> Self {
|
||||||
TestSyncProvider {
|
TestSyncProvider {
|
||||||
status: RwLock::new(SyncStatus {
|
status: RwLock::new(SyncStatus {
|
||||||
|
Loading…
Reference in New Issue
Block a user