#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VerificationKey {
#[prost(bytes = "vec", tag = "1")]
pub inner: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for VerificationKey {
const NAME: &'static str = "VerificationKey";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Signature {
#[prost(bytes = "vec", tag = "1")]
pub inner: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for Signature {
const NAME: &'static str = "Signature";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CoordinatorRound1 {
#[prost(oneof = "coordinator_round1::Request", tags = "1, 2, 3")]
pub request: ::core::option::Option<coordinator_round1::Request>,
}
pub mod coordinator_round1 {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Request {
#[prost(message, tag = "1")]
Plan(super::super::super::super::core::transaction::v1::TransactionPlan),
#[prost(message, tag = "2")]
ValidatorDefinition(
super::super::super::super::core::component::stake::v1::Validator,
),
#[prost(message, tag = "3")]
ValidatorVote(
super::super::super::super::core::component::governance::v1::ValidatorVoteBody,
),
}
}
impl ::prost::Name for CoordinatorRound1 {
const NAME: &'static str = "CoordinatorRound1";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CoordinatorRound2 {
#[prost(message, repeated, tag = "1")]
pub signing_packages: ::prost::alloc::vec::Vec<
coordinator_round2::PartialSigningPackage,
>,
}
pub mod coordinator_round2 {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IdentifiedCommitments {
#[prost(bytes = "vec", tag = "1")]
pub identifier: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag = "2")]
pub commitments: ::core::option::Option<
super::super::super::super::crypto::decaf377_frost::v1::SigningCommitments,
>,
}
impl ::prost::Name for IdentifiedCommitments {
const NAME: &'static str = "IdentifiedCommitments";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!(
"penumbra.custody.threshold.v1.CoordinatorRound2.{}", Self::NAME
)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PartialSigningPackage {
#[prost(message, repeated, tag = "1")]
pub all_commitments: ::prost::alloc::vec::Vec<IdentifiedCommitments>,
}
impl ::prost::Name for PartialSigningPackage {
const NAME: &'static str = "PartialSigningPackage";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!(
"penumbra.custody.threshold.v1.CoordinatorRound2.{}", Self::NAME
)
}
}
}
impl ::prost::Name for CoordinatorRound2 {
const NAME: &'static str = "CoordinatorRound2";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FollowerRound1 {
#[prost(message, optional, tag = "1")]
pub inner: ::core::option::Option<follower_round1::Inner>,
#[prost(message, optional, tag = "2")]
pub pk: ::core::option::Option<VerificationKey>,
#[prost(message, optional, tag = "3")]
pub sig: ::core::option::Option<Signature>,
}
pub mod follower_round1 {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Inner {
#[prost(message, repeated, tag = "1")]
pub commitments: ::prost::alloc::vec::Vec<
super::super::super::super::crypto::decaf377_frost::v1::SigningCommitments,
>,
}
impl ::prost::Name for Inner {
const NAME: &'static str = "Inner";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!(
"penumbra.custody.threshold.v1.FollowerRound1.{}", Self::NAME
)
}
}
}
impl ::prost::Name for FollowerRound1 {
const NAME: &'static str = "FollowerRound1";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FollowerRound2 {
#[prost(message, optional, tag = "1")]
pub inner: ::core::option::Option<follower_round2::Inner>,
#[prost(message, optional, tag = "2")]
pub pk: ::core::option::Option<VerificationKey>,
#[prost(message, optional, tag = "3")]
pub sig: ::core::option::Option<Signature>,
}
pub mod follower_round2 {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Inner {
#[prost(message, repeated, tag = "1")]
pub shares: ::prost::alloc::vec::Vec<
super::super::super::super::crypto::decaf377_frost::v1::SignatureShare,
>,
}
impl ::prost::Name for Inner {
const NAME: &'static str = "Inner";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!(
"penumbra.custody.threshold.v1.FollowerRound2.{}", Self::NAME
)
}
}
}
impl ::prost::Name for FollowerRound2 {
const NAME: &'static str = "FollowerRound2";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgRound1 {
#[prost(message, optional, tag = "1")]
pub pkg: ::core::option::Option<
super::super::super::crypto::decaf377_frost::v1::DkgRound1Package,
>,
#[prost(bytes = "vec", tag = "2")]
pub nullifier_commitment: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "3")]
pub epk: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "4")]
pub vk: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for DkgRound1 {
const NAME: &'static str = "DKGRound1";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgRound2 {
#[prost(message, optional, tag = "1")]
pub inner: ::core::option::Option<dkg_round2::Inner>,
#[prost(bytes = "vec", tag = "2")]
pub vk: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "3")]
pub sig: ::prost::alloc::vec::Vec<u8>,
}
pub mod dkg_round2 {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetedPackage {
#[prost(bytes = "vec", tag = "1")]
pub vk: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "2")]
pub encrypted_package: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for TargetedPackage {
const NAME: &'static str = "TargetedPackage";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!(
"penumbra.custody.threshold.v1.DKGRound2.{}", Self::NAME
)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Inner {
#[prost(message, repeated, tag = "1")]
pub encrypted_packages: ::prost::alloc::vec::Vec<TargetedPackage>,
#[prost(bytes = "vec", tag = "2")]
pub nullifier: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for Inner {
const NAME: &'static str = "Inner";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!(
"penumbra.custody.threshold.v1.DKGRound2.{}", Self::NAME
)
}
}
}
impl ::prost::Name for DkgRound2 {
const NAME: &'static str = "DKGRound2";
const PACKAGE: &'static str = "penumbra.custody.threshold.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.custody.threshold.v1.{}", Self::NAME)
}
}