penumbra_proto/gen/
tendermint.crypto.rs#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Proof {
#[prost(int64, tag = "1")]
pub total: i64,
#[prost(int64, tag = "2")]
pub index: i64,
#[prost(bytes = "vec", tag = "3")]
pub leaf_hash: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", repeated, tag = "4")]
pub aunts: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
impl ::prost::Name for Proof {
const NAME: &'static str = "Proof";
const PACKAGE: &'static str = "tendermint.crypto";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("tendermint.crypto.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValueOp {
#[prost(bytes = "vec", tag = "1")]
pub key: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag = "2")]
pub proof: ::core::option::Option<Proof>,
}
impl ::prost::Name for ValueOp {
const NAME: &'static str = "ValueOp";
const PACKAGE: &'static str = "tendermint.crypto";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("tendermint.crypto.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DominoOp {
#[prost(string, tag = "1")]
pub key: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub input: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub output: ::prost::alloc::string::String,
}
impl ::prost::Name for DominoOp {
const NAME: &'static str = "DominoOp";
const PACKAGE: &'static str = "tendermint.crypto";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("tendermint.crypto.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProofOp {
#[prost(string, tag = "1")]
pub r#type: ::prost::alloc::string::String,
#[prost(bytes = "vec", tag = "2")]
pub key: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "3")]
pub data: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for ProofOp {
const NAME: &'static str = "ProofOp";
const PACKAGE: &'static str = "tendermint.crypto";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("tendermint.crypto.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProofOps {
#[prost(message, repeated, tag = "1")]
pub ops: ::prost::alloc::vec::Vec<ProofOp>,
}
impl ::prost::Name for ProofOps {
const NAME: &'static str = "ProofOps";
const PACKAGE: &'static str = "tendermint.crypto";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("tendermint.crypto.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicKey {
#[prost(oneof = "public_key::Sum", tags = "1, 2")]
pub sum: ::core::option::Option<public_key::Sum>,
}
pub mod public_key {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Sum {
#[prost(bytes, tag = "1")]
Ed25519(::prost::alloc::vec::Vec<u8>),
#[prost(bytes, tag = "2")]
Secp256k1(::prost::alloc::vec::Vec<u8>),
}
}
impl ::prost::Name for PublicKey {
const NAME: &'static str = "PublicKey";
const PACKAGE: &'static str = "tendermint.crypto";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("tendermint.crypto.{}", Self::NAME)
}
}