Update generated protobufs

`prost 0.11.2` added code formatting support, so the generated files now
better match what rustfmt produces.
This commit is contained in:
Jack Grigg 2022-11-12 05:26:07 +00:00
parent bf6ad58a02
commit 81f8f6a5a4
2 changed files with 74 additions and 79 deletions

View File

@ -1,6 +1,3 @@
// Remember that proto3 fields are all optional. A field that is not present will be set to its zero value.
// bytes fields of hashes are in canonical little-endian format.
/// CompactBlock is a packaging of ONLY the data from a block that's needed to: /// CompactBlock is a packaging of ONLY the data from a block that's needed to:
/// 1. Detect a payment to your shielded Sapling address /// 1. Detect a payment to your shielded Sapling address
/// 2. Detect a spend of your shielded Sapling notes /// 2. Detect a spend of your shielded Sapling notes

View File

@ -55,12 +55,10 @@ pub struct SendResponse {
} }
/// Chainspec is a placeholder to allow specification of a particular chain fork. /// Chainspec is a placeholder to allow specification of a particular chain fork.
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChainSpec { pub struct ChainSpec {}
}
/// Empty is for gRPCs that take no arguments, currently only GetLightdInfo. /// Empty is for gRPCs that take no arguments, currently only GetLightdInfo.
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct Empty { pub struct Empty {}
}
/// LightdInfo returns various information about this lightwalletd instance /// LightdInfo returns various information about this lightwalletd instance
/// and the state of the blockchain. /// and the state of the blockchain.
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]