cuprate_test_utils::rpc::data::other

Constant START_MINING_RESPONSE

Source
pub const START_MINING_RESPONSE: &str = r#"{
  "status": "OK",
  "untrusted": false
}"#;
Expand description

Documentation, request.

use cuprate_test_utils::rpc::data::other::*;
use serde_json::{to_value, Value};

let value = serde_json::from_str::<Value>(&START_MINING_RESPONSE);