1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Copyright 2023 - Nym Technologies SA <contact@nymtech.net> // SPDX-License-Identifier: Apache-2.0 use schemars::JsonSchema; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)] #[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))] pub struct Mixnode { // /// Base58 encoded ed25519 EdDSA public key of the mixnode. // pub encoded_identity_key: String, // // /// Base58-encoded x25519 public key used for sphinx key derivation. // pub encoded_sphinx_key: String, }