ore-cli 3.4.15

A command line interface for ORE cryptocurrency mining.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("{0}")]
    Internal(String),
    #[error("reqwest")]
    Reqwest(#[from] reqwest::Error),
    #[error("solana parse pubkey")]
    SolanaParsePubkey(#[from] solana_sdk::pubkey::ParsePubkeyError),
    #[error("solana rpc client")]
    SolanaRpcClient(#[from] solana_client::client_error::ClientError),
    #[error("solana program")]
    SolanaProgram(#[from] solana_program::program_error::ProgramError),
    #[error("parse int")]
    ParseInt(#[from] std::num::ParseIntError),
    #[error("number of devices per keypair exceeded")]
    TooManyDevices,
}