13 lines
7.6 KiB
HTML
13 lines
7.6 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `fees` mod in crate `zcash_client_backend`."><title>zcash_client_backend::fees - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-20739d33.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="zcash_client_backend" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0-nightly (74509131e 2025-04-29)" data-channel="nightly" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../../static.files/storage-4e99c027.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-7ef8a74a.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../zcash_client_backend/index.html">zcash_<wbr>client_<wbr>backend</a><span class="version">0.18.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module fees</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate zcash_<wbr>client_<wbr>backend</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">zcash_client_backend</a></div><h1>Module <span>fees</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/zcash_client_backend/fees.rs.html#1-592">Source</a> </span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="common/index.html" title="mod zcash_client_backend::fees::common">common</a></dt><dt><a class="mod" href="orchard/index.html" title="mod zcash_client_backend::fees::orchard">orchard</a><wbr><span class="stab portability" title="Available on crate feature `orchard` only"><code>orchard</code></span></dt><dd>Types related to computation of fees and change related to the Orchard components
|
||
of a transaction.</dd><dt><a class="mod" href="sapling/index.html" title="mod zcash_client_backend::fees::sapling">sapling</a></dt><dd>Types related to computation of fees and change related to the Sapling components
|
||
of a transaction.</dd><dt><a class="mod" href="standard/index.html" title="mod zcash_client_backend::fees::standard">standard</a></dt><dd>Change strategies designed for use with a standard fee.</dd><dt><a class="mod" href="zip317/index.html" title="mod zcash_client_backend::fees::zip317">zip317</a></dt><dd>Change strategies designed to implement the ZIP 317 fee rules.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.ChangeValue.html" title="struct zcash_client_backend::fees::ChangeValue">Change<wbr>Value</a></dt><dd><code>ChangeValue</code> represents either a proposed change output to a shielded pool
|
||
(with an optional change memo), or if the “transparent-inputs” feature is
|
||
enabled, an ephemeral output to the transparent pool.</dd><dt><a class="struct" href="struct.DustOutputPolicy.html" title="struct zcash_client_backend::fees::DustOutputPolicy">Dust<wbr>Output<wbr>Policy</a></dt><dd>A policy describing how a <a href="trait.ChangeStrategy.html" title="trait zcash_client_backend::fees::ChangeStrategy"><code>ChangeStrategy</code></a> should treat potentially dust-valued change
|
||
outputs (outputs that are likely to be without economic value due to fee rules).</dd><dt><a class="struct" href="struct.SplitPolicy.html" title="struct zcash_client_backend::fees::SplitPolicy">Split<wbr>Policy</a></dt><dd>A policy that describes how change output should be split into multiple notes for the purpose
|
||
of note management.</dd><dt><a class="struct" href="struct.TransactionBalance.html" title="struct zcash_client_backend::fees::TransactionBalance">Transaction<wbr>Balance</a></dt><dd>The amount of change and fees required to make a transaction’s inputs and
|
||
outputs balance under a specific fee rule, as computed by a particular
|
||
<a href="trait.ChangeStrategy.html" title="trait zcash_client_backend::fees::ChangeStrategy"><code>ChangeStrategy</code></a> that is aware of that rule.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.ChangeError.html" title="enum zcash_client_backend::fees::ChangeError">Change<wbr>Error</a></dt><dd>Errors that can occur in computing suggested change and/or fees.</dd><dt><a class="enum" href="enum.DustAction.html" title="enum zcash_client_backend::fees::DustAction">Dust<wbr>Action</a></dt><dd>An enumeration of actions to take when a transaction would potentially create dust
|
||
outputs (outputs that are likely to be without economic value due to fee rules).</dd><dt><a class="enum" href="enum.EphemeralBalance.html" title="enum zcash_client_backend::fees::EphemeralBalance">Ephemeral<wbr>Balance</a></dt><dd><code>EphemeralBalance</code> describes the ephemeral input or output value for a transaction. It is used
|
||
in fee computation for series of transactions that use an ephemeral transparent output in an
|
||
intermediate step, such as when sending from a shielded pool to a <a href="https://zips.z.cash/zip-0320">ZIP 320</a> “TEX” address.</dd><dt><a class="enum" href="enum.StandardFeeRule.html" title="enum zcash_client_backend::fees::StandardFeeRule">Standard<wbr>FeeRule</a></dt><dd>An enumeration of the standard fee rules supported by the wallet backend.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.ChangeStrategy.html" title="trait zcash_client_backend::fees::ChangeStrategy">Change<wbr>Strategy</a></dt><dd>A trait that represents the ability to compute the suggested change and fees that must be paid
|
||
by a transaction having a specified set of inputs and outputs.</dd></dl></section></div></main></body></html> |