The remote signer relies on the `types` and `crypto/bls` crates from Lighthouse. Moreover, a number of tests of the remote signer consumption of LH leverages this very signer, making any important update a potential dependency nightmare. Co-authored-by: Paul Hauner <paul@paulhauner.com>
19 lines
410 B
Rust
19 lines
410 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize)]
|
|
pub struct UpcheckApiResponse {
|
|
pub status: String,
|
|
}
|
|
|
|
/// Contains the response to the `get_keys` API.
|
|
#[derive(Deserialize, Serialize)]
|
|
pub struct KeysApiResponse {
|
|
pub keys: Vec<String>,
|
|
}
|
|
|
|
/// Contains the response to the `sign_message` API.
|
|
#[derive(Deserialize, Serialize)]
|
|
pub struct SignatureApiResponse {
|
|
pub signature: String,
|
|
}
|