Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6026234 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Jun 25, 2024
1 parent babb6ed commit 82dfcc4
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 43 deletions.
4 changes: 2 additions & 2 deletions domain_test_service/domain/type.EvmDomainNode.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pallet_domains/domain_registry/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!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="Domain registry for domains"><title>pallet_domains::domain_registry - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="pallet_domains" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0-nightly (fb898629a 2024-04-21)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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 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="../../pallet_domains/index.html">pallet_domains</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">Module domain_registry</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In crate pallet_domains</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../pallet_domains/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">pallet_domains</a>::<wbr><a class="mod" href="#">domain_registry</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/pallet_domains/domain_registry.rs.html#1-653">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Domain registry for domains</p>
<!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="Domain registry for domains"><title>pallet_domains::domain_registry - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="pallet_domains" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0-nightly (fb898629a 2024-04-21)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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 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="../../pallet_domains/index.html">pallet_domains</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">Module domain_registry</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In crate pallet_domains</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../pallet_domains/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">pallet_domains</a>::<wbr><a class="mod" href="#">domain_registry</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/pallet_domains/domain_registry.rs.html#1-655">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Domain registry for domains</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.DomainConfig.html" title="struct pallet_domains::domain_registry::DomainConfig">DomainConfig</a></div></li><li><div class="item-name"><a class="struct" href="struct.DomainObject.html" title="struct pallet_domains::domain_registry::DomainObject">DomainObject</a></div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Error.html" title="enum pallet_domains::domain_registry::Error">Error</a></div><div class="desc docblock-short">Domain registry specific errors</div></li></ul></section></div></main></body></html>
6 changes: 5 additions & 1 deletion src/pallet_domains/domain_registry.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,8 @@
<a href="#651" id="651">651</a>
<a href="#652" id="652">652</a>
<a href="#653" id="653">653</a>
<a href="#654" id="654">654</a>
<a href="#655" id="655">655</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! Domain registry for domains

</span><span class="attr">#[cfg(not(feature = <span class="string">"std"</span>))]
Expand Down Expand Up @@ -819,7 +821,9 @@
Error::ExceedMaxDomainBlockSize
);
<span class="macro">ensure!</span>(
domain_config.max_block_weight.ref_time() &lt;= T::MaxDomainBlockWeight::get().ref_time(),
domain_config
.max_block_weight
.all_lte(T::MaxDomainBlockWeight::get()),
Error::ExceedMaxDomainBlockWeight
);
<span class="macro">ensure!</span>(
Expand Down
16 changes: 7 additions & 9 deletions src/subspace_farmer/cluster/cache.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,6 @@
<a href="#749" id="749">749</a>
<a href="#750" id="750">750</a>
<a href="#751" id="751">751</a>
<a href="#752" id="752">752</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! Farming cluster cache
//!
//! Cache is responsible for caching pieces within allocated space to accelerate plotting and serve
Expand Down Expand Up @@ -789,7 +788,8 @@
}

<span class="kw">impl </span>GenericBroadcast <span class="kw">for </span>ClusterCacheIdentifyBroadcast {
<span class="kw">const </span>SUBJECT: <span class="kw-2">&amp;</span><span class="lifetime">'static </span>str = <span class="string">"subspace.cache.*.identify"</span>;
<span class="doccomment">/// `*` here stands for cache group
</span><span class="kw">const </span>SUBJECT: <span class="kw-2">&amp;</span><span class="lifetime">'static </span>str = <span class="string">"subspace.cache.*.identify"</span>;
}

<span class="doccomment">/// Write piece into cache
Expand Down Expand Up @@ -1026,10 +1026,7 @@
</span>C: PieceCache,
{
<span class="kw">let </span><span class="kw-2">mut </span>subscription = nats_client
.subscribe_to_broadcasts::&lt;ClusterControllerCacheIdentifyBroadcast&gt;(
<span class="prelude-val">Some</span>(cache_group),
<span class="prelude-val">Some</span>(cache_group.to_string()),
)
.subscribe_to_broadcasts::&lt;ClusterControllerCacheIdentifyBroadcast&gt;(<span class="prelude-val">Some</span>(cache_group), <span class="prelude-val">None</span>)
.<span class="kw">await
</span>.map_err(|error| {
<span class="macro">anyhow!</span>(<span class="string">"Failed to subscribe to cache identify broadcast requests: {error}"</span>)
Expand Down Expand Up @@ -1058,14 +1055,14 @@
}

last_identification = Instant::now();
send_identify_broadcast(nats_client, caches_details).<span class="kw">await</span>;
send_identify_broadcast(nats_client, caches_details, cache_group).<span class="kw">await</span>;
interval.reset();
}
<span class="kw">_ </span>= interval.tick().fuse() =&gt; {
last_identification = Instant::now();
<span class="macro">trace!</span>(<span class="string">"Cache self-identification"</span>);

send_identify_broadcast(nats_client, caches_details).<span class="kw">await</span>;
send_identify_broadcast(nats_client, caches_details, cache_group).<span class="kw">await</span>;
}
}
}
Expand All @@ -1076,6 +1073,7 @@
<span class="kw">async fn </span>send_identify_broadcast&lt;C&gt;(
nats_client: <span class="kw-2">&amp;</span>NatsClient,
caches_details: <span class="kw-2">&amp;</span>[CacheDetails&lt;<span class="lifetime">'_</span>, C&gt;],
cache_group: <span class="kw-2">&amp;</span>str,
) <span class="kw">where
</span>C: PieceCache,
{
Expand All @@ -1088,7 +1086,7 @@
cache_id: cache.cache_id,
max_num_elements: cache.cache.max_num_elements(),
},
<span class="kw-2">&amp;</span>cache.cache_id_string,
cache_group,
)
.<span class="kw">await
</span>{
Expand Down
2 changes: 1 addition & 1 deletion subspace_farmer/cluster/cache/fn.cache_service.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!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="Create cache service for specified caches that will be processing incoming requests and send periodic identify notifications"><title>cache_service in subspace_farmer::cluster::cache - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="subspace_farmer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0-nightly (fb898629a 2024-04-21)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-09095024cf37855e.css"></noscript><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 fn"><!--[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="../../../subspace_farmer/index.html">subspace_farmer</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In subspace_farmer::cluster::cache</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../subspace_farmer/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">subspace_farmer</a>::<wbr><a href="../index.html">cluster</a>::<wbr><a href="index.html">cache</a>::<wbr><a class="fn" href="#">cache_service</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/subspace_farmer/cluster/cache.rs.html#199-260">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn cache_service&lt;C&gt;(
<!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="Create cache service for specified caches that will be processing incoming requests and send periodic identify notifications"><title>cache_service in subspace_farmer::cluster::cache - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="subspace_farmer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0-nightly (fb898629a 2024-04-21)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-09095024cf37855e.css"></noscript><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 fn"><!--[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="../../../subspace_farmer/index.html">subspace_farmer</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In subspace_farmer::cluster::cache</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../subspace_farmer/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">subspace_farmer</a>::<wbr><a href="../index.html">cluster</a>::<wbr><a href="index.html">cache</a>::<wbr><a class="fn" href="#">cache_service</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/subspace_farmer/cluster/cache.rs.html#200-261">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn cache_service&lt;C&gt;(
nats_client: <a class="struct" href="../nats_client/struct.NatsClient.html" title="struct subspace_farmer::cluster::nats_client::NatsClient">NatsClient</a>,
caches: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[C]</a>,
cache_group: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
Expand Down
Loading

0 comments on commit 82dfcc4

Please sign in to comment.