Skip to content

Commit

Permalink
Deploying to gh-pages from @ c9fc868 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Dec 21, 2023
1 parent efe84dc commit 529e97a
Show file tree
Hide file tree
Showing 80 changed files with 274 additions and 276 deletions.
2 changes: 1 addition & 1 deletion implementors/core/marker/trait.Sync.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pallet_subspace/pallet/struct.Pallet.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pallet_subspace/pallet/type.Module.html

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions src/subspace_runtime_primitives/lib.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@
<a href="#211" id="211">211</a>
<a href="#212" id="212">212</a>
<a href="#213" id="213">213</a>
<a href="#214" id="214">214</a>
</pre></div><pre class="rust"><code><span class="comment">// Copyright (C) 2021 Subspace Labs, Inc.
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -241,8 +240,7 @@

<span class="doccomment">/// Minimum desired number of replicas of the blockchain to be stored by the network,
/// impacts storage fees.
</span><span class="comment">// TODO: Proper value here
</span><span class="kw">pub const </span>MIN_REPLICATION_FACTOR: u16 = <span class="number">1</span>;
</span><span class="kw">pub const </span>MIN_REPLICATION_FACTOR: u16 = <span class="number">50</span>;
<span class="doccomment">/// How much (ratio) of storage fees escrow should be given to farmer each block as a reward.
</span><span class="comment">// TODO: Proper value here
</span><span class="kw">pub const </span>STORAGE_FEES_ESCROW_BLOCK_REWARD: (u64, u64) = (<span class="number">1</span>, <span class="number">10000</span>);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!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="Archiver instantiation error"><title>ArchiverInstantiationError in subspace_archiving::archiver - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-deb46770fd761b69.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="subspace_archiving" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0-nightly (42b1224e9 2023-10-15)" data-channel="nightly" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f34af1a0ee6bacd.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../subspace_archiving/index.html">subspace_archiving</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">ArchiverInstantiationError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block"><li><a href="#variant.FailedToInitializeErasureCoding">FailedToInitializeErasureCoding</a></li><li><a href="#variant.InvalidBlockSmallSize">InvalidBlockSmallSize</a></li><li><a href="#variant.InvalidLastArchivedBlock">InvalidLastArchivedBlock</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Clone-for-ArchiverInstantiationError">Clone</a></li><li><a href="#impl-Debug-for-ArchiverInstantiationError">Debug</a></li><li><a href="#impl-Display-for-ArchiverInstantiationError">Display</a></li><li><a href="#impl-Eq-for-ArchiverInstantiationError">Eq</a></li><li><a href="#impl-Error-for-ArchiverInstantiationError">Error</a></li><li><a href="#impl-Hash-for-ArchiverInstantiationError">Hash</a></li><li><a href="#impl-Ord-for-ArchiverInstantiationError">Ord</a></li><li><a href="#impl-PartialEq-for-ArchiverInstantiationError">PartialEq&lt;ArchiverInstantiationError&gt;</a></li><li><a href="#impl-PartialOrd-for-ArchiverInstantiationError">PartialOrd&lt;ArchiverInstantiationError&gt;</a></li><li><a href="#impl-StructuralEq-for-ArchiverInstantiationError">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq-for-ArchiverInstantiationError">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-ArchiverInstantiationError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ArchiverInstantiationError">Send</a></li><li><a href="#impl-Sync-for-ArchiverInstantiationError">Sync</a></li><li><a href="#impl-Unpin-for-ArchiverInstantiationError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ArchiverInstantiationError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-JsonSchemaMaybe-for-T">JsonSchemaMaybe</a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-ToString-for-T">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In subspace_archiving::archiver</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">subspace_archiving</a>::<wbr><a href="index.html">archiver</a>::<wbr><a class="enum" href="#">ArchiverInstantiationError</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/subspace_archiving/archiver.rs.html#190-214">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub enum ArchiverInstantiationError {
FailedToInitializeErasureCoding(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
InvalidLastArchivedBlock(<a class="type" href="../../subspace_core_primitives/type.BlockNumber.html" title="type subspace_core_primitives::BlockNumber">BlockNumber</a>),
InvalidLastArchivedBlock(BlockNumber),
InvalidBlockSmallSize {
block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
archived_block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
},
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Archiver instantiation error</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.FailedToInitializeErasureCoding" class="variant"><a href="#variant.FailedToInitializeErasureCoding" class="anchor">§</a><h3 class="code-header">FailedToInitializeErasureCoding(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><div class="docblock"><p>Failed to initialize erasure coding</p>
</div><section id="variant.InvalidLastArchivedBlock" class="variant"><a href="#variant.InvalidLastArchivedBlock" class="anchor">§</a><h3 class="code-header">InvalidLastArchivedBlock(<a class="type" href="../../subspace_core_primitives/type.BlockNumber.html" title="type subspace_core_primitives::BlockNumber">BlockNumber</a>)</h3></section><div class="docblock"><p>Invalid last archived block, its size is the same as encoded block</p>
</div><section id="variant.InvalidLastArchivedBlock" class="variant"><a href="#variant.InvalidLastArchivedBlock" class="anchor">§</a><h3 class="code-header">InvalidLastArchivedBlock(BlockNumber)</h3></section><div class="docblock"><p>Invalid last archived block, its size is the same as encoded block</p>
</div><section id="variant.InvalidBlockSmallSize" class="variant"><a href="#variant.InvalidBlockSmallSize" class="anchor">§</a><h3 class="code-header">InvalidBlockSmallSize</h3></section><div class="sub-variant" id="variant.InvalidBlockSmallSize.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.InvalidBlockSmallSize.field.block_bytes" class="small-section-header"><a href="#variant.InvalidBlockSmallSize.field.block_bytes" class="anchor field">§</a><code>block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><div class="docblock"><p>Full block size</p>
</div></div><div class="sub-variant-field"><span id="variant.InvalidBlockSmallSize.field.archived_block_bytes" class="small-section-header"><a href="#variant.InvalidBlockSmallSize.field.archived_block_bytes" class="anchor field">§</a><code>archived_block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><div class="docblock"><p>Already archived portion of the block</p>
</div></div></div><div class="docblock"><p>Invalid block, its size is smaller than already archived number of bytes</p>
Expand Down
Loading

0 comments on commit 529e97a

Please sign in to comment.