Skip to content

Commit

Permalink
deploy: 6ead8f8
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Dec 30, 2024
1 parent 66fcf8d commit 1d97ff0
Show file tree
Hide file tree
Showing 55 changed files with 611 additions and 713 deletions.
4 changes: 2 additions & 2 deletions rustdoc/latest/search-index.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,9 @@
<a href="#114" id="114">114</a>
<a href="#115" id="115">115</a>
<a href="#116" id="116">116</a>
<a href="#117" id="117">117</a>
<a href="#118" id="118">118</a>
<a href="#119" id="119">119</a>
<a href="#120" id="120">120</a>
<a href="#121" id="121">121</a>
<a href="#122" id="122">122</a>
<a href="#123" id="123">123</a></pre></div><pre class="rust"><code><span class="comment">// This file is @generated by prost-build.
<a href="#117" id="117">117</a></pre></div><pre class="rust"><code><span class="comment">// This file is @generated by prost-build.
</span><span class="doccomment">/// Information about the state of the chain as of a given block.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>ChainMetadata {
<span class="doccomment">/// the size of the Sapling note commitment tree as of the end of this block
</span><span class="attr">#[prost(uint32, tag = <span class="string">"1"</span>)]
Expand All @@ -139,8 +132,7 @@
/// 1. Detect a payment to your Shielded address
/// 2. Detect a spend of your Shielded notes
/// 3. Update your witnesses to generate new spend proofs.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>CompactBlock {
<span class="doccomment">/// the version of this wire format, for storage
</span><span class="attr">#[prost(uint32, tag = <span class="string">"1"</span>)]
Expand Down Expand Up @@ -172,8 +164,7 @@
/// CompactTx contains the minimum information for a wallet to know if this transaction
/// is relevant to it (either pays to it or spends from it) via shielded elements
/// only. This message will not encode a transparent-to-transparent transaction.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>CompactTx {
<span class="doccomment">/// Index and hash will allow the receiver to call out to chain
/// explorers or other data structures to retrieve more information
Expand Down Expand Up @@ -203,8 +194,7 @@
///
/// CompactSaplingSpend is a Sapling Spend Description as described in 7.3 of the Zcash
/// protocol specification.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>CompactSaplingSpend {
<span class="doccomment">/// Nullifier (see the Zcash protocol specification)
</span><span class="attr">#[prost(bytes = <span class="string">"vec"</span>, tag = <span class="string">"1"</span>)]
Expand All @@ -214,8 +204,7 @@
///
/// It encodes the `cmu` field, `ephemeralKey` field, and a 52-byte prefix of the
/// `encCiphertext` field of a Sapling Output Description. Total size is 116 bytes.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>CompactSaplingOutput {
<span class="doccomment">/// Note commitment u-coordinate.
</span><span class="attr">#[prost(bytes = <span class="string">"vec"</span>, tag = <span class="string">"1"</span>)]
Expand All @@ -228,8 +217,7 @@
</span><span class="kw">pub </span>ciphertext: ::prost::alloc::vec::Vec&lt;u8&gt;,
}
<span class="doccomment">/// A compact representation of an [Orchard Action](&lt;https://zips.z.cash/protocol/protocol.pdf#actionencodingandconsensus&gt;).
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>CompactOrchardAction {
<span class="doccomment">/// \[32\] The nullifier of the input note
</span><span class="attr">#[prost(bytes = <span class="string">"vec"</span>, tag = <span class="string">"1"</span>)]
Expand Down
62 changes: 20 additions & 42 deletions rustdoc/latest/src/zcash_client_backend/proto/proposal.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,21 +223,9 @@
<a href="#222" id="222">222</a>
<a href="#223" id="223">223</a>
<a href="#224" id="224">224</a>
<a href="#225" id="225">225</a>
<a href="#226" id="226">226</a>
<a href="#227" id="227">227</a>
<a href="#228" id="228">228</a>
<a href="#229" id="229">229</a>
<a href="#230" id="230">230</a>
<a href="#231" id="231">231</a>
<a href="#232" id="232">232</a>
<a href="#233" id="233">233</a>
<a href="#234" id="234">234</a>
<a href="#235" id="235">235</a>
<a href="#236" id="236">236</a></pre></div><pre class="rust"><code><span class="comment">// This file is @generated by prost-build.
<a href="#225" id="225">225</a></pre></div><pre class="rust"><code><span class="comment">// This file is @generated by prost-build.
</span><span class="doccomment">/// A data structure that describes a series of transactions to be created.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>Proposal {
<span class="doccomment">/// The version of this serialization format.
</span><span class="attr">#[prost(uint32, tag = <span class="string">"1"</span>)]
Expand All @@ -257,8 +245,7 @@
}
<span class="doccomment">/// A data structure that describes the inputs to be consumed and outputs to
/// be produced in a proposed transaction.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>ProposalStep {
<span class="doccomment">/// ZIP 321 serialized transaction request
</span><span class="attr">#[prost(string, tag = <span class="string">"1"</span>)]
Expand Down Expand Up @@ -287,8 +274,7 @@
<span class="doccomment">/// A mapping from ZIP 321 payment index to the output pool that has been chosen
/// for that payment, based upon the payment address and the selected inputs to
/// the transaction.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>PaymentOutputPool {
<span class="attr">#[prost(uint32, tag = <span class="string">"1"</span>)]
</span><span class="kw">pub </span>payment_index: u32,
Expand All @@ -297,8 +283,7 @@
}
<span class="doccomment">/// The unique identifier and value for each proposed input that does not
/// require a back-reference to a prior step of the proposal.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>ReceivedOutput {
<span class="attr">#[prost(bytes = <span class="string">"vec"</span>, tag = <span class="string">"1"</span>)]
</span><span class="kw">pub </span>txid: ::prost::alloc::vec::Vec&lt;u8&gt;,
Expand All @@ -311,34 +296,30 @@
}
<span class="doccomment">/// A reference to a payment in a prior step of the proposal. This payment must
/// belong to the wallet.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>PriorStepOutput {
<span class="attr">#[prost(uint32, tag = <span class="string">"1"</span>)]
</span><span class="kw">pub </span>step_index: u32,
<span class="attr">#[prost(uint32, tag = <span class="string">"2"</span>)]
</span><span class="kw">pub </span>payment_index: u32,
}
<span class="doccomment">/// A reference to a change or ephemeral output from a prior step of the proposal.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, Copy, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>PriorStepChange {
<span class="attr">#[prost(uint32, tag = <span class="string">"1"</span>)]
</span><span class="kw">pub </span>step_index: u32,
<span class="attr">#[prost(uint32, tag = <span class="string">"2"</span>)]
</span><span class="kw">pub </span>change_index: u32,
}
<span class="doccomment">/// The unique identifier and value for an input to be used in the transaction.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>ProposedInput {
<span class="attr">#[prost(oneof = <span class="string">"proposed_input::Value"</span>, tags = <span class="string">"1, 2, 3"</span>)]
</span><span class="kw">pub </span>value: ::core::option::Option&lt;proposed_input::Value&gt;,
}
<span class="doccomment">/// Nested message and enum types in `ProposedInput`.
</span><span class="kw">pub mod </span>proposed_input {
<span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
<span class="attr">#[derive(Clone, PartialEq, ::prost::Oneof)]
</span><span class="kw">pub enum </span>Value {
<span class="attr">#[prost(message, tag = <span class="string">"1"</span>)]
</span>ReceivedOutput(<span class="kw">super</span>::ReceivedOutput),
Expand All @@ -349,8 +330,7 @@
}
}
<span class="doccomment">/// The proposed change outputs and fee value.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>TransactionBalance {
<span class="doccomment">/// A list of change or ephemeral output values.
</span><span class="attr">#[prost(message, repeated, tag = <span class="string">"1"</span>)]
Expand All @@ -366,8 +346,7 @@
/// an ephemeral output, which must be spent by a subsequent step. This is
/// only supported for transparent outputs. Each ephemeral output will be
/// given a unique t-address.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>ChangeValue {
<span class="doccomment">/// The value of a change or ephemeral output to be created, in zatoshis.
</span><span class="attr">#[prost(uint64, tag = <span class="string">"1"</span>)]
Expand All @@ -385,8 +364,7 @@
}
<span class="doccomment">/// An object wrapper for memo bytes, to facilitate representing the
/// `change_memo == None` case.
</span><span class="attr">#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="attr">#[derive(Clone, PartialEq, ::prost::Message)]
</span><span class="kw">pub struct </span>MemoBytes {
<span class="attr">#[prost(bytes = <span class="string">"vec"</span>, tag = <span class="string">"1"</span>)]
</span><span class="kw">pub </span>value: ::prost::alloc::vec::Vec&lt;u8&gt;,
Expand All @@ -413,10 +391,10 @@
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
</span><span class="kw">pub fn </span>as_str_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span><span class="lifetime">'static </span>str {
<span class="kw">match </span><span class="self">self </span>{
ValuePool::PoolNotSpecified =&gt; <span class="string">"PoolNotSpecified"</span>,
ValuePool::Transparent =&gt; <span class="string">"Transparent"</span>,
ValuePool::Sapling =&gt; <span class="string">"Sapling"</span>,
ValuePool::Orchard =&gt; <span class="string">"Orchard"</span>,
<span class="self">Self</span>::PoolNotSpecified =&gt; <span class="string">"PoolNotSpecified"</span>,
<span class="self">Self</span>::Transparent =&gt; <span class="string">"Transparent"</span>,
<span class="self">Self</span>::Sapling =&gt; <span class="string">"Sapling"</span>,
<span class="self">Self</span>::Orchard =&gt; <span class="string">"Orchard"</span>,
}
}
<span class="doccomment">/// Creates an enum from field names used in the ProtoBuf definition.
Expand Down Expand Up @@ -453,10 +431,10 @@
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
</span><span class="kw">pub fn </span>as_str_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span><span class="lifetime">'static </span>str {
<span class="kw">match </span><span class="self">self </span>{
FeeRule::NotSpecified =&gt; <span class="string">"FeeRuleNotSpecified"</span>,
FeeRule::PreZip313 =&gt; <span class="string">"PreZip313"</span>,
FeeRule::Zip313 =&gt; <span class="string">"Zip313"</span>,
FeeRule::Zip317 =&gt; <span class="string">"Zip317"</span>,
<span class="self">Self</span>::NotSpecified =&gt; <span class="string">"FeeRuleNotSpecified"</span>,
<span class="self">Self</span>::PreZip313 =&gt; <span class="string">"PreZip313"</span>,
<span class="self">Self</span>::Zip313 =&gt; <span class="string">"Zip313"</span>,
<span class="self">Self</span>::Zip317 =&gt; <span class="string">"Zip317"</span>,
}
}
<span class="doccomment">/// Creates an enum from field names used in the ProtoBuf definition.
Expand Down
Loading

0 comments on commit 1d97ff0

Please sign in to comment.