Skip to content

Commit

Permalink
deploy: 6114efe
Browse files Browse the repository at this point in the history
  • Loading branch information
cong-or committed May 30, 2023
1 parent 3ef6e00 commit d18c1f1
Show file tree
Hide file tree
Showing 80 changed files with 258 additions and 258 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -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="API documentation for the Rust `generate_committee_data` fn in crate `hersir`."><title>generate_committee_data in hersir::builder::committee - 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-c4dbdcde0fbd8430.css" id="mainThemeStyle"><div id="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="hersir" data-themes="" data-resource-suffix="" data-rustdoc-version="1.70.0-nightly (22f247c6f 2023-03-13)" data-search-js="search-d1bc581867fd0849.js" data-settings-js="settings-f0c5c39777a9a2f6.js" data-settings-css="settings-0bcba95ff279c1db.css" data-theme-light-css="light-db279b6232be9c13.css" data-theme-dark-css="dark-cf923f49f397b216.css" data-theme-ayu-css="ayu-be46fdc453a55015.css" ></div><script src="../../../static.files/storage-9184409068f70b79.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-f5a2577c5297a973.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../static.files/light-db279b6232be9c13.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../static.files/dark-cf923f49f397b216.css"><link rel="stylesheet" href="../../../static.files/noscript-13285aec31fa243e.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 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">&#9776;</button><a class="logo-container" href="../../../hersir/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../hersir/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In hersir::builder::committee</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>Function <a href="../../index.html">hersir</a>::<wbr><a href="../index.html">builder</a>::<wbr><a href="index.html">committee</a>::<wbr><a class="fn" href="#">generate_committee_data</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="srclink" href="../../../src/hersir/builder/committee.rs.html#15-98">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn generate_committee_data(
wallets: &amp;[<a class="struct" href="../settings/wallet/struct.Wallet.html" title="struct hersir::builder::settings::wallet::Wallet">Wallet</a>],
committees_templates: &amp;[<a class="enum" href="../../config/committee/enum.CommitteeTemplate.html" title="enum hersir::config::committee::CommitteeTemplate">CommitteeTemplate</a>]
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../thor/wallet/committee/struct.CommitteeDataManager.html" title="struct thor::wallet::committee::CommitteeDataManager">CommitteeDataManager</a>, <a class="enum" href="enum.Error.html" title="enum hersir::builder::committee::Error">Error</a>&gt;</code></pre></section></div></main></body></html>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;CommitteeDataManager, <a class="enum" href="enum.Error.html" title="enum hersir::builder::committee::Error">Error</a>&gt;</code></pre></section></div></main></body></html>
Expand Up @@ -4,9 +4,9 @@
pub committees: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../jormungandr_lib/interfaces/committee/struct.CommitteeIdDef.html" title="struct jormungandr_lib::interfaces::committee::CommitteeIdDef">CommitteeIdDef</a>&gt;,
pub block0: <a class="struct" href="../../../jormungandr_lib/interfaces/block0_configuration/struct.Block0Configuration.html" title="struct jormungandr_lib::interfaces::block0_configuration::Block0Configuration">Block0Configuration</a>,
pub explorer: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../jormungandr_automation/jormungandr/explorer/configuration/struct.ExplorerConfiguration.html" title="struct jormungandr_automation::jormungandr::explorer::configuration::ExplorerConfiguration">ExplorerConfiguration</a>&gt;,
pub stake_pools: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, <a class="struct" href="../../../thor/stake_pool/struct.StakePool.html" title="struct thor::stake_pool::StakePool">StakePool</a>&gt;,
pub stake_pools: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, StakePool&gt;,
pub vote_plans: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="../vote/struct.VotePlanKey.html" title="struct hersir::builder::vote::VotePlanKey">VotePlanKey</a>, <a class="enum" href="vote_plan/enum.VotePlanSettings.html" title="enum hersir::builder::settings::vote_plan::VotePlanSettings">VotePlanSettings</a>&gt;,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.nodes" class="structfield small-section-header"><a href="#structfield.nodes" class="anchor field">§</a><code>nodes: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, <a class="struct" href="node/struct.NodeSetting.html" title="struct hersir::builder::settings::node::NodeSetting">NodeSetting</a>&gt;</code></span><span id="structfield.wallets" class="structfield small-section-header"><a href="#structfield.wallets" class="anchor field">§</a><code>wallets: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="wallet/struct.Wallet.html" title="struct hersir::builder::settings::wallet::Wallet">Wallet</a>&gt;</code></span><span id="structfield.committees" class="structfield small-section-header"><a href="#structfield.committees" class="anchor field">§</a><code>committees: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../jormungandr_lib/interfaces/committee/struct.CommitteeIdDef.html" title="struct jormungandr_lib::interfaces::committee::CommitteeIdDef">CommitteeIdDef</a>&gt;</code></span><span id="structfield.block0" class="structfield small-section-header"><a href="#structfield.block0" class="anchor field">§</a><code>block0: <a class="struct" href="../../../jormungandr_lib/interfaces/block0_configuration/struct.Block0Configuration.html" title="struct jormungandr_lib::interfaces::block0_configuration::Block0Configuration">Block0Configuration</a></code></span><span id="structfield.explorer" class="structfield small-section-header"><a href="#structfield.explorer" class="anchor field">§</a><code>explorer: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../jormungandr_automation/jormungandr/explorer/configuration/struct.ExplorerConfiguration.html" title="struct jormungandr_automation::jormungandr::explorer::configuration::ExplorerConfiguration">ExplorerConfiguration</a>&gt;</code></span><span id="structfield.stake_pools" class="structfield small-section-header"><a href="#structfield.stake_pools" class="anchor field">§</a><code>stake_pools: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, <a class="struct" href="../../../thor/stake_pool/struct.StakePool.html" title="struct thor::stake_pool::StakePool">StakePool</a>&gt;</code></span><span id="structfield.vote_plans" class="structfield small-section-header"><a href="#structfield.vote_plans" class="anchor field">§</a><code>vote_plans: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="../vote/struct.VotePlanKey.html" title="struct hersir::builder::vote::VotePlanKey">VotePlanKey</a>, <a class="enum" href="vote_plan/enum.VotePlanSettings.html" title="enum hersir::builder::settings::vote_plan::VotePlanSettings">VotePlanSettings</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Settings" class="impl"><a class="srclink rightside" href="../../../src/hersir/builder/settings/mod.rs.html#44-206">source</a><a href="#impl-Settings" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Settings.html" title="struct hersir::builder::settings::Settings">Settings</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="srclink rightside" href="../../../src/hersir/builder/settings/mod.rs.html#45-95">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;RNG&gt;(
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.nodes" class="structfield small-section-header"><a href="#structfield.nodes" class="anchor field">§</a><code>nodes: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, <a class="struct" href="node/struct.NodeSetting.html" title="struct hersir::builder::settings::node::NodeSetting">NodeSetting</a>&gt;</code></span><span id="structfield.wallets" class="structfield small-section-header"><a href="#structfield.wallets" class="anchor field">§</a><code>wallets: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="wallet/struct.Wallet.html" title="struct hersir::builder::settings::wallet::Wallet">Wallet</a>&gt;</code></span><span id="structfield.committees" class="structfield small-section-header"><a href="#structfield.committees" class="anchor field">§</a><code>committees: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../jormungandr_lib/interfaces/committee/struct.CommitteeIdDef.html" title="struct jormungandr_lib::interfaces::committee::CommitteeIdDef">CommitteeIdDef</a>&gt;</code></span><span id="structfield.block0" class="structfield small-section-header"><a href="#structfield.block0" class="anchor field">§</a><code>block0: <a class="struct" href="../../../jormungandr_lib/interfaces/block0_configuration/struct.Block0Configuration.html" title="struct jormungandr_lib::interfaces::block0_configuration::Block0Configuration">Block0Configuration</a></code></span><span id="structfield.explorer" class="structfield small-section-header"><a href="#structfield.explorer" class="anchor field">§</a><code>explorer: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../jormungandr_automation/jormungandr/explorer/configuration/struct.ExplorerConfiguration.html" title="struct jormungandr_automation::jormungandr::explorer::configuration::ExplorerConfiguration">ExplorerConfiguration</a>&gt;</code></span><span id="structfield.stake_pools" class="structfield small-section-header"><a href="#structfield.stake_pools" class="anchor field">§</a><code>stake_pools: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, StakePool&gt;</code></span><span id="structfield.vote_plans" class="structfield small-section-header"><a href="#structfield.vote_plans" class="anchor field">§</a><code>vote_plans: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="../vote/struct.VotePlanKey.html" title="struct hersir::builder::vote::VotePlanKey">VotePlanKey</a>, <a class="enum" href="vote_plan/enum.VotePlanSettings.html" title="enum hersir::builder::settings::vote_plan::VotePlanSettings">VotePlanSettings</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Settings" class="impl"><a class="srclink rightside" href="../../../src/hersir/builder/settings/mod.rs.html#44-206">source</a><a href="#impl-Settings" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Settings.html" title="struct hersir::builder::settings::Settings">Settings</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="srclink rightside" href="../../../src/hersir/builder/settings/mod.rs.html#45-95">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;RNG&gt;(
nodes: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../type.NodeAlias.html" title="type hersir::builder::NodeAlias">NodeAlias</a>, <a class="struct" href="node/struct.NodeSetting.html" title="struct hersir::builder::settings::node::NodeSetting">NodeSetting</a>&gt;,
blockchain: &amp;<a class="struct" href="../../config/blockchain/configuration/struct.BlockchainConfiguration.html" title="struct hersir::config::blockchain::configuration::BlockchainConfiguration">Blockchain</a>,
wallets: &amp;[<a class="enum" href="../../config/wallet/enum.WalletTemplate.html" title="enum hersir::config::wallet::WalletTemplate">WalletTemplate</a>],
Expand Down

0 comments on commit d18c1f1

Please sign in to comment.