diff --git a/tally-community-tool/05_unified_platform/01_catalyst-cardano-bridge/index.html b/tally-community-tool/05_unified_platform/01_catalyst-cardano-bridge/index.html index ad6ccf64ce..39bd22f3a2 100644 --- a/tally-community-tool/05_unified_platform/01_catalyst-cardano-bridge/index.html +++ b/tally-community-tool/05_unified_platform/01_catalyst-cardano-bridge/index.html @@ -281,7 +281,7 @@

A
ContractKey
contract_key: bytes
hash(concat(contract_hash, parameter_hash))
ContractHash
contract_hash : bytes
hash(Contract.as_bytes())
ParameterHash
parameter_hash
hash(Paramters.as_bytes())
Contract
Compiled Wasm
as_bytes()
Parameters
Structured Parameter Data
as_bytes()
-
hunger noticedchoose recipedesired dish?
+
hunger noticedchoose recipedesired dish?

Integration to the Catalyst Unified Backend

The Cardano-Catalyst bridge is an essential and integral part of the Catalyst Unified backend. diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html index 884263ea4c..de6603ed83 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html @@ -1,8 +1,8 @@ Error in hersir::builder::committee - Rust

pub enum Error {
-    CannotFindAlias(WalletAlias),
+    CannotFindAlias(WalletAlias),
     Wallet(Error),
     Bech3(Error),
-}

Variants§

§

CannotFindAlias(WalletAlias)

§

Wallet(Error)

§

Bech3(Error)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Variants§

§

CannotFindAlias(WalletAlias)

§

Wallet(Error)

§

Bech3(Error)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html index 84d44bd711..1b39f54858 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html @@ -1,4 +1,4 @@ generate_committee_data in hersir::builder::committee - Rust
pub fn generate_committee_data(
     wallets: &[Wallet],
     committees_templates: &[CommitteeTemplate]
-) -> Result<CommitteeDataManager, Error>
\ No newline at end of file +) -> Result<CommitteeDataManager, Error>

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html index 318cb5eaa4..905e3507c6 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html @@ -4,9 +4,9 @@ pub committees: Vec<CommitteeIdDef>, pub block0: Block0Configuration, pub explorer: Option<ExplorerConfiguration>, - pub stake_pools: HashMap<NodeAlias, StakePool>, + pub stake_pools: HashMap<NodeAlias, StakePool>, pub vote_plans: HashMap<VotePlanKey, VotePlanSettings>, -}

Fields§

§nodes: HashMap<NodeAlias, NodeSetting>§wallets: Vec<Wallet>§committees: Vec<CommitteeIdDef>§block0: Block0Configuration§explorer: Option<ExplorerConfiguration>§stake_pools: HashMap<NodeAlias, StakePool>§vote_plans: HashMap<VotePlanKey, VotePlanSettings>

Implementations§

source§

impl Settings

source

pub fn new<RNG>( +}

Fields§

§nodes: HashMap<NodeAlias, NodeSetting>§wallets: Vec<Wallet>§committees: Vec<CommitteeIdDef>§block0: Block0Configuration§explorer: Option<ExplorerConfiguration>§stake_pools: HashMap<NodeAlias, StakePool>§vote_plans: HashMap<VotePlanKey, VotePlanSettings>

Implementations§

source§

impl Settings

source

pub fn new<RNG>( nodes: HashMap<NodeAlias, NodeSetting>, blockchain: &Blockchain, wallets: &[WalletTemplate], diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html index 5790862b14..12b0edef12 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html @@ -1,10 +1,10 @@ VotePlanSettings in hersir::builder::settings::vote_plan - Rust
pub enum VotePlanSettings {
     Public(VotePlan),
     Private {
-        keys: CommitteeDataManager,
+        keys: CommitteeDataManager,
         vote_plan: VotePlan,
     },
-}

Variants§

§

Public(VotePlan)

§

Private

Fields

§vote_plan: VotePlan

Implementations§

source§

impl VotePlanSettings

source

pub fn vote_plan(&self) -> VotePlan

source

pub fn to_id(&self) -> VotePlanId

source

pub fn from_public_vote_plan(vote_plan: VotePlan) -> Self

Trait Implementations§

source§

impl Clone for VotePlanSettings

source§

fn clone(&self) -> VotePlanSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VotePlanSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Variants§

§

Public(VotePlan)

§

Private

Fields

§keys: CommitteeDataManager
§vote_plan: VotePlan

Implementations§

source§

impl VotePlanSettings

source

pub fn vote_plan(&self) -> VotePlan

source

pub fn to_id(&self) -> VotePlanId

source

pub fn from_public_vote_plan(vote_plan: VotePlan) -> Self

Trait Implementations§

source§

impl Clone for VotePlanSettings

source§

fn clone(&self) -> VotePlanSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VotePlanSettings

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html index 1355d9e9d1..1a141fd758 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html @@ -1,15 +1,15 @@ Wallet in hersir::builder::settings::wallet - Rust
pub struct Wallet {
-    inner: Option<Inner>,
+    inner: Option<Inner>,
     template: WalletTemplate,
 }
Expand description

wallet to utilise when testing jormungandr

This can be used for a faucet

-

Fields§

§inner: Option<Inner>§template: WalletTemplate

Implementations§

source§

impl Wallet

source

pub fn save_to<P: AsRef<Path>>(&self, dir: P) -> Result<()>

source

pub fn external(template: WalletTemplate) -> Self

source

pub fn generate_account<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere +

Fields§

§inner: Option<Inner>§template: WalletTemplate

Implementations§

source§

impl Wallet

source

pub fn save_to<P: AsRef<Path>>(&self, dir: P) -> Result<()>

source

pub fn external(template: WalletTemplate) -> Self

source

pub fn generate_account<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere RNG: CryptoRng + RngCore,

source

pub fn generate_utxo<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere - RNG: CryptoRng + RngCore,

source

pub fn has_alias(&self, alias: &WalletAlias) -> bool

source

pub fn address(&self) -> Result<Address, Error>

source

pub fn committee_id(&self) -> Result<CommitteeId, Error>

source

pub fn stake_key(&self) -> Option<UnspecifiedAccountIdentifier>

source

pub fn delegation_cert_for_block0( + RNG: CryptoRng + RngCore,

source

pub fn has_alias(&self, alias: &WalletAlias) -> bool

source

pub fn address(&self) -> Result<Address, Error>

source

pub fn committee_id(&self) -> Result<CommitteeId, Error>

source

pub fn stake_key(&self) -> Option<UnspecifiedAccountIdentifier>

source

pub fn delegation_cert_for_block0( &self, valid_until: BlockDate, pool_id: PoolId -) -> Result<Initial, Error>

source

pub fn template(&self) -> &WalletTemplate

source

pub fn identifier(&self) -> Identifier

source

pub fn to_initial_fund(&self) -> Result<InitialUTxO, Error>

source

pub fn inner(&self) -> &Option<Inner>

Trait Implementations§

source§

impl Clone for Wallet

source§

fn clone(&self) -> Wallet

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Wallet

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Wallet> for Inner

source§

fn from(wallet: Wallet) -> Inner

Converts to this type from the input type.
source§

impl From<WalletTemplate> for Wallet

source§

fn from(template: WalletTemplate) -> Self

Converts to this type from the input type.
source§

impl TryFrom<Wallet> for Wallet

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(wallet: Wallet) -> Result<Wallet, Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<Initial, Error>

source

pub fn template(&self) -> &WalletTemplate

source

pub fn identifier(&self) -> Identifier

source

pub fn to_initial_fund(&self) -> Result<InitialUTxO, Error>

source

pub fn inner(&self) -> &Option<Inner>

Trait Implementations§

source§

impl Clone for Wallet

source§

fn clone(&self) -> Wallet

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Wallet

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Wallet> for Inner

source§

fn from(wallet: Wallet) -> Inner

Converts to this type from the input type.
source§

impl From<WalletTemplate> for Wallet

source§

fn from(template: WalletTemplate) -> Self

Converts to this type from the input type.
source§

impl TryFrom<Wallet> for Wallet

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(wallet: Wallet) -> Result<Wallet, Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html index b1f96af022..0b64b2f4a8 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html @@ -1,4 +1,4 @@ generate in hersir::builder::stake_pool - Rust
pub fn generate(
     wallets: &Vec<Wallet>,
     nodes: &mut HashMap<NodeAlias, NodeSetting>
-) -> Result<(Vec<Initial>, HashMap<NodeAlias, StakePool>), Error>
\ No newline at end of file +) -> Result<(Vec<Initial>, HashMap<NodeAlias, StakePool>), Error>

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html index 2aa18e3abc..7a9d228825 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html @@ -1,15 +1,15 @@ Wallet in hersir::builder - Rust

Struct hersir::builder::Wallet

source ·
pub struct Wallet {
-    inner: Option<Inner>,
+    inner: Option<Inner>,
     template: WalletTemplate,
 }
Expand description

wallet to utilise when testing jormungandr

This can be used for a faucet

-

Fields§

§inner: Option<Inner>§template: WalletTemplate

Implementations§

source§

impl Wallet

source

pub fn save_to<P: AsRef<Path>>(&self, dir: P) -> Result<()>

source

pub fn external(template: WalletTemplate) -> Self

source

pub fn generate_account<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere +

Fields§

§inner: Option<Inner>§template: WalletTemplate

Implementations§

source§

impl Wallet

source

pub fn save_to<P: AsRef<Path>>(&self, dir: P) -> Result<()>

source

pub fn external(template: WalletTemplate) -> Self

source

pub fn generate_account<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere RNG: CryptoRng + RngCore,

source

pub fn generate_utxo<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere - RNG: CryptoRng + RngCore,

source

pub fn has_alias(&self, alias: &WalletAlias) -> bool

source

pub fn address(&self) -> Result<Address, Error>

source

pub fn committee_id(&self) -> Result<CommitteeId, Error>

source

pub fn stake_key(&self) -> Option<UnspecifiedAccountIdentifier>

source

pub fn delegation_cert_for_block0( + RNG: CryptoRng + RngCore,

source

pub fn has_alias(&self, alias: &WalletAlias) -> bool

source

pub fn address(&self) -> Result<Address, Error>

source

pub fn committee_id(&self) -> Result<CommitteeId, Error>

source

pub fn stake_key(&self) -> Option<UnspecifiedAccountIdentifier>

source

pub fn delegation_cert_for_block0( &self, valid_until: BlockDate, pool_id: PoolId -) -> Result<Initial, Error>

source

pub fn template(&self) -> &WalletTemplate

source

pub fn identifier(&self) -> Identifier

source

pub fn to_initial_fund(&self) -> Result<InitialUTxO, Error>

source

pub fn inner(&self) -> &Option<Inner>

Trait Implementations§

source§

impl Clone for Wallet

source§

fn clone(&self) -> Wallet

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Wallet

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Wallet> for Inner

source§

fn from(wallet: Wallet) -> Inner

Converts to this type from the input type.
source§

impl From<WalletTemplate> for Wallet

source§

fn from(template: WalletTemplate) -> Self

Converts to this type from the input type.
source§

impl TryFrom<Wallet> for Wallet

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(wallet: Wallet) -> Result<Wallet, Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<Initial, Error>

source

pub fn template(&self) -> &WalletTemplate

source

pub fn identifier(&self) -> Identifier

source

pub fn to_initial_fund(&self) -> Result<InitialUTxO, Error>

source

pub fn inner(&self) -> &Option<Inner>

Trait Implementations§

source§

impl Clone for Wallet

source§

fn clone(&self) -> Wallet

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Wallet

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Wallet> for Inner

source§

fn from(wallet: Wallet) -> Inner

Converts to this type from the input type.
source§

impl From<WalletTemplate> for Wallet

source§

fn from(template: WalletTemplate) -> Self

Converts to this type from the input type.
source§

impl TryFrom<Wallet> for Wallet

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(wallet: Wallet) -> Result<Wallet, Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html index 31d34bc566..3926e3a445 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html @@ -1,5 +1,5 @@ generate_vote_plans in hersir::builder::vote - Rust
pub fn generate_vote_plans(
     wallets: &[Wallet],
     vote_plans: &[VotePlanTemplate],
-    keys: &mut CommitteeDataManager
+    keys: &mut CommitteeDataManager
 ) -> (HashMap<VotePlanKey, VotePlanSettings>, Vec<Fragment>)
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html b/tally-community-tool/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html index b5bdb30c41..c657f99a42 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html @@ -1,6 +1,6 @@ CommitteeTemplate in hersir::config::committee - Rust
pub enum CommitteeTemplate {
     Generated {
-        alias: WalletAlias,
+        alias: WalletAlias,
         member_pk: Option<String>,
         communication_pk: Option<String>,
     },
@@ -9,7 +9,7 @@
         member_pk: Option<String>,
         communication_pk: Option<String>,
     },
-}

Variants§

§

Generated

Fields

§member_pk: Option<String>
§communication_pk: Option<String>
§

External

Fields

§member_pk: Option<String>
§communication_pk: Option<String>

Trait Implementations§

source§

impl Clone for CommitteeTemplate

source§

fn clone(&self) -> CommitteeTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitteeTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitteeTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

Generated

Fields

§alias: WalletAlias
§member_pk: Option<String>
§communication_pk: Option<String>
§

External

Fields

§member_pk: Option<String>
§communication_pk: Option<String>

Trait Implementations§

source§

impl Clone for CommitteeTemplate

source§

fn clone(&self) -> CommitteeTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitteeTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitteeTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html b/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html index d3be23a3ae..994479a371 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html @@ -1,6 +1,6 @@ CommitteeTemplate in hersir::config - Rust
pub enum CommitteeTemplate {
     Generated {
-        alias: WalletAlias,
+        alias: WalletAlias,
         member_pk: Option<String>,
         communication_pk: Option<String>,
     },
@@ -9,7 +9,7 @@
         member_pk: Option<String>,
         communication_pk: Option<String>,
     },
-}

Variants§

§

Generated

Fields

§member_pk: Option<String>
§communication_pk: Option<String>
§

External

Fields

§member_pk: Option<String>
§communication_pk: Option<String>

Trait Implementations§

source§

impl Clone for CommitteeTemplate

source§

fn clone(&self) -> CommitteeTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitteeTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitteeTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +}

Variants§

§

Generated

Fields

§alias: WalletAlias
§member_pk: Option<String>
§communication_pk: Option<String>
§

External

Fields

§member_pk: Option<String>
§communication_pk: Option<String>

Trait Implementations§

source§

impl Clone for CommitteeTemplate

source§

fn clone(&self) -> CommitteeTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitteeTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitteeTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html b/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html index cfd1ecc6fd..2002d42a06 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html @@ -1,6 +1,6 @@ WalletTemplate in hersir::config - Rust
pub enum WalletTemplate {
     Generated {
-        alias: WalletAlias,
+        alias: WalletAlias,
         value: Value,
         wallet_type: WalletType,
         delegate: Option<NodeAlias>,
@@ -12,15 +12,15 @@
         value: Value,
         tokens: HashMap<TokenIdentifier, u64>,
     },
-}

Variants§

§

Generated

Fields

§value: Value
§wallet_type: WalletType
§delegate: Option<NodeAlias>
§discrimination: Discrimination

Generated wallet when we want let hersir generate new wallet from scratch

+}

Variants§

§

Generated

Fields

§alias: WalletAlias
§value: Value
§wallet_type: WalletType
§delegate: Option<NodeAlias>
§discrimination: Discrimination

Generated wallet when we want let hersir generate new wallet from scratch

§

External

Fields

§address: String
§value: Value

Wallet which was given in configuration by address, thus hersir does not control it, which implies that some operations like delegation in block0 are not available

-

Implementations§

Implementations§

source§

impl WalletTemplate

source

pub fn is_generated(&self) -> bool

source

pub fn has_alias(&self, other_alias: &WalletAlias) -> bool

source§

impl WalletTemplate

source

pub fn new_account<S: Into<WalletAlias>>( alias: S, value: Value, discrimination: Discrimination, tokens: HashMap<TokenIdentifier, u64> -) -> Self

source

pub fn new_utxo<S: Into<WalletAlias>>( +) -> Self

source

pub fn new_utxo<S: Into<WalletAlias>>( alias: S, value: Value, discrimination: Discrimination, @@ -29,7 +29,7 @@ address: S, value: Value, tokens: HashMap<TokenIdentifier, u64> -) -> Self

source

pub fn id(&self) -> String

source

pub fn alias(&self) -> Option<WalletAlias>

source

pub fn address(&self) -> Option<String>

source

pub fn discrimination(&self) -> Discrimination

source

pub fn wallet_type(&self) -> Option<WalletType>

source

pub fn value(&self) -> &Value

source

pub fn delegate(&self) -> &Option<NodeAlias>

source

pub fn delegate_mut(&mut self) -> &mut Option<NodeAlias>

source

pub fn tokens(&self) -> &HashMap<TokenIdentifier, u64>

Trait Implementations§

source§

impl Clone for WalletTemplate

source§

fn clone(&self) -> WalletTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WalletTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for WalletTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +) -> Self

source

pub fn id(&self) -> String

source

pub fn alias(&self) -> Option<WalletAlias>

source

pub fn address(&self) -> Option<String>

source

pub fn discrimination(&self) -> Discrimination

source

pub fn wallet_type(&self) -> Option<WalletType>

source

pub fn value(&self) -> &Value

source

pub fn delegate(&self) -> &Option<NodeAlias>

source

pub fn delegate_mut(&mut self) -> &mut Option<NodeAlias>

source

pub fn tokens(&self) -> &HashMap<TokenIdentifier, u64>

Trait Implementations§

source§

impl Clone for WalletTemplate

source§

fn clone(&self) -> WalletTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WalletTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for WalletTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<WalletTemplate> for Wallet

source§

fn from(template: WalletTemplate) -> Self

Converts to this type from the input type.
source§

impl Hash for WalletTemplate

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<WalletTemplate> for WalletTemplate

source§

fn eq(&self, other: &WalletTemplate) -> bool

This method tests for self and other values to be equal, and is used diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html b/tally-community-tool/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html index 3f695f2fa6..3182b84407 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html @@ -1,11 +1,11 @@ WalletTemplateBuilder in hersir::config - Rust
pub struct WalletTemplateBuilder {
-    alias: Option<WalletAlias>,
+    alias: Option<WalletAlias>,
     address: Option<String>,
     value: u64,
     node_alias: Option<NodeAlias>,
     discrimination: Discrimination,
     tokens: HashMap<TokenIdentifier, u64>,
-}

Fields§

§alias: Option<WalletAlias>§address: Option<String>§value: u64§node_alias: Option<NodeAlias>§discrimination: Discrimination§tokens: HashMap<TokenIdentifier, u64>

Implementations§

source§

impl WalletTemplateBuilder

source

pub fn new<S: Into<WalletAlias>>(alias: S) -> Self

source

pub fn with_alias<S: Into<WalletAlias>>(self, alias: S) -> Self

source

pub fn with_address<S: Into<String>>(self, address: S) -> Self

source

pub fn with(self, value: u64) -> Self

source

pub fn with_token(self, id: TokenIdentifier, amount: u64) -> Self

source

pub fn discrimination(self, discrimination: Discrimination) -> Self

source

pub fn delegated_to(self, delegated_to: &str) -> Self

source

pub fn build(self) -> WalletTemplate

Trait Implementations§

source§

impl Default for WalletTemplateBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§alias: Option<WalletAlias>§address: Option<String>§value: u64§node_alias: Option<NodeAlias>§discrimination: Discrimination§tokens: HashMap<TokenIdentifier, u64>

Implementations§

source§

impl WalletTemplateBuilder

source

pub fn new<S: Into<WalletAlias>>(alias: S) -> Self

source

pub fn with_alias<S: Into<WalletAlias>>(self, alias: S) -> Self

source

pub fn with_address<S: Into<String>>(self, address: S) -> Self

source

pub fn with(self, value: u64) -> Self

source

pub fn with_token(self, id: TokenIdentifier, amount: u64) -> Self

source

pub fn discrimination(self, discrimination: Discrimination) -> Self

source

pub fn delegated_to(self, delegated_to: &str) -> Self

source

pub fn build(self) -> WalletTemplate

Trait Implementations§

source§

impl Default for WalletTemplateBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html b/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html index 49a3008d05..2713522765 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html @@ -1,11 +1,11 @@ WalletTemplateBuilder in hersir::config::wallet::builder - Rust
pub struct WalletTemplateBuilder {
-    alias: Option<WalletAlias>,
+    alias: Option<WalletAlias>,
     address: Option<String>,
     value: u64,
     node_alias: Option<NodeAlias>,
     discrimination: Discrimination,
     tokens: HashMap<TokenIdentifier, u64>,
-}

Fields§

§alias: Option<WalletAlias>§address: Option<String>§value: u64§node_alias: Option<NodeAlias>§discrimination: Discrimination§tokens: HashMap<TokenIdentifier, u64>

Implementations§

source§

impl WalletTemplateBuilder

source

pub fn new<S: Into<WalletAlias>>(alias: S) -> Self

source

pub fn with_alias<S: Into<WalletAlias>>(self, alias: S) -> Self

source

pub fn with_address<S: Into<String>>(self, address: S) -> Self

source

pub fn with(self, value: u64) -> Self

source

pub fn with_token(self, id: TokenIdentifier, amount: u64) -> Self

source

pub fn discrimination(self, discrimination: Discrimination) -> Self

source

pub fn delegated_to(self, delegated_to: &str) -> Self

source

pub fn build(self) -> WalletTemplate

Trait Implementations§

source§

impl Default for WalletTemplateBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§alias: Option<WalletAlias>§address: Option<String>§value: u64§node_alias: Option<NodeAlias>§discrimination: Discrimination§tokens: HashMap<TokenIdentifier, u64>

Implementations§

source§

impl WalletTemplateBuilder

source

pub fn new<S: Into<WalletAlias>>(alias: S) -> Self

source

pub fn with_alias<S: Into<WalletAlias>>(self, alias: S) -> Self

source

pub fn with_address<S: Into<String>>(self, address: S) -> Self

source

pub fn with(self, value: u64) -> Self

source

pub fn with_token(self, id: TokenIdentifier, amount: u64) -> Self

source

pub fn discrimination(self, discrimination: Discrimination) -> Self

source

pub fn delegated_to(self, delegated_to: &str) -> Self

source

pub fn build(self) -> WalletTemplate

Trait Implementations§

source§

impl Default for WalletTemplateBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html b/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html index cf99d40af3..e81ff6e462 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html @@ -1,6 +1,6 @@ WalletTemplate in hersir::config::wallet - Rust
pub enum WalletTemplate {
     Generated {
-        alias: WalletAlias,
+        alias: WalletAlias,
         value: Value,
         wallet_type: WalletType,
         delegate: Option<NodeAlias>,
@@ -12,15 +12,15 @@
         value: Value,
         tokens: HashMap<TokenIdentifier, u64>,
     },
-}

Variants§

§

Generated

Fields

§value: Value
§wallet_type: WalletType
§delegate: Option<NodeAlias>
§discrimination: Discrimination

Generated wallet when we want let hersir generate new wallet from scratch

+}

Variants§

§

Generated

Fields

§alias: WalletAlias
§value: Value
§wallet_type: WalletType
§delegate: Option<NodeAlias>
§discrimination: Discrimination

Generated wallet when we want let hersir generate new wallet from scratch

§

External

Fields

§address: String
§value: Value

Wallet which was given in configuration by address, thus hersir does not control it, which implies that some operations like delegation in block0 are not available

-

Implementations§

Implementations§

source§

impl WalletTemplate

source

pub fn is_generated(&self) -> bool

source

pub fn has_alias(&self, other_alias: &WalletAlias) -> bool

source§

impl WalletTemplate

source

pub fn new_account<S: Into<WalletAlias>>( alias: S, value: Value, discrimination: Discrimination, tokens: HashMap<TokenIdentifier, u64> -) -> Self

source

pub fn new_utxo<S: Into<WalletAlias>>( +) -> Self

source

pub fn new_utxo<S: Into<WalletAlias>>( alias: S, value: Value, discrimination: Discrimination, @@ -29,7 +29,7 @@ address: S, value: Value, tokens: HashMap<TokenIdentifier, u64> -) -> Self

source

pub fn id(&self) -> String

source

pub fn alias(&self) -> Option<WalletAlias>

source

pub fn address(&self) -> Option<String>

source

pub fn discrimination(&self) -> Discrimination

source

pub fn wallet_type(&self) -> Option<WalletType>

source

pub fn value(&self) -> &Value

source

pub fn delegate(&self) -> &Option<NodeAlias>

source

pub fn delegate_mut(&mut self) -> &mut Option<NodeAlias>

source

pub fn tokens(&self) -> &HashMap<TokenIdentifier, u64>

Trait Implementations§

source§

impl Clone for WalletTemplate

source§

fn clone(&self) -> WalletTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WalletTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for WalletTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +) -> Self

source

pub fn id(&self) -> String

source

pub fn alias(&self) -> Option<WalletAlias>

source

pub fn address(&self) -> Option<String>

source

pub fn discrimination(&self) -> Discrimination

source

pub fn wallet_type(&self) -> Option<WalletType>

source

pub fn value(&self) -> &Value

source

pub fn delegate(&self) -> &Option<NodeAlias>

source

pub fn delegate_mut(&mut self) -> &mut Option<NodeAlias>

source

pub fn tokens(&self) -> &HashMap<TokenIdentifier, u64>

Trait Implementations§

source§

impl Clone for WalletTemplate

source§

fn clone(&self) -> WalletTemplate

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WalletTemplate

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for WalletTemplate

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<WalletTemplate> for Wallet

source§

fn from(template: WalletTemplate) -> Self

Converts to this type from the input type.
source§

impl Hash for WalletTemplate

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<WalletTemplate> for WalletTemplate

source§

fn eq(&self, other: &WalletTemplate) -> bool

This method tests for self and other values to be equal, and is used diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html index 2389de7280..4cfaccbee7 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html @@ -1,6 +1,6 @@ Error in hersir::controller::error - Rust
pub enum Error {
 
Show 21 variants Node(NodeError), - Wallet(WalletError), + Wallet(WalletError), FsFixture(FixtureError), Io(Error), Reqwest(Error), @@ -14,13 +14,13 @@ Startup(StartupError), CannotSpawnNode(Error), InteractiveCommand(InteractiveCommandError), - FragmentSender(FragmentSenderError), + FragmentSender(FragmentSenderError), Serialization(Error), Legacy(LegacyConfigError), SettingsWallet(Error), Settings(Error), NoExplorerConfigurationDefined, -
}

Variants§

§

Node(NodeError)

§

Wallet(WalletError)

§

FsFixture(FixtureError)

§

Io(Error)

§

Reqwest(Error)

§

Explorer(ExplorerError)

§

BlockFormatError(ReadError)

§

BlockWriteError(WriteError)

§

NodeNotFound(String)

§

WalletNotFound(String)

§

StakePoolNotFound(String)

§

VotePlanNotFound(String)

§

Startup(StartupError)

§

CannotSpawnNode(Error)

§

InteractiveCommand(InteractiveCommandError)

§

FragmentSender(FragmentSenderError)

§

Serialization(Error)

§

Legacy(LegacyConfigError)

§

SettingsWallet(Error)

§

Settings(Error)

§

NoExplorerConfigurationDefined

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(source: LegacyConfigError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: NodeError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<ExplorerError> for Error

source§

fn from(source: ExplorerError) -> Self

Converts to this type from the input type.
source§

impl From<FixtureError> for Error

source§

fn from(source: FixtureError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.
source§

impl From<InteractiveCommandError> for Error

source§

fn from(source: InteractiveCommandError) -> Self

Converts to this type from the input type.
source§

impl From<ReadError> for Error

source§

fn from(source: ReadError) -> Self

Converts to this type from the input type.
source§

impl From<StartupError> for Error

source§

fn from(source: StartupError) -> Self

Converts to this type from the input type.
source§

impl From<WalletError> for Error

source§

fn from(source: WalletError) -> Self

Converts to this type from the input type.
source§

impl From<WriteError> for Error

source§

fn from(source: WriteError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +

}

Variants§

§

Node(NodeError)

§

Wallet(WalletError)

§

FsFixture(FixtureError)

§

Io(Error)

§

Reqwest(Error)

§

Explorer(ExplorerError)

§

BlockFormatError(ReadError)

§

BlockWriteError(WriteError)

§

NodeNotFound(String)

§

WalletNotFound(String)

§

StakePoolNotFound(String)

§

VotePlanNotFound(String)

§

Startup(StartupError)

§

CannotSpawnNode(Error)

§

InteractiveCommand(InteractiveCommandError)

§

FragmentSender(FragmentSenderError)

§

Serialization(Error)

§

Legacy(LegacyConfigError)

§

SettingsWallet(Error)

§

Settings(Error)

§

NoExplorerConfigurationDefined

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(source: LegacyConfigError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: NodeError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<ExplorerError> for Error

source§

fn from(source: ExplorerError) -> Self

Converts to this type from the input type.
source§

impl From<FixtureError> for Error

source§

fn from(source: FixtureError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.
source§

impl From<InteractiveCommandError> for Error

source§

fn from(source: InteractiveCommandError) -> Self

Converts to this type from the input type.
source§

impl From<ReadError> for Error

source§

fn from(source: ReadError) -> Self

Converts to this type from the input type.
source§

impl From<StartupError> for Error

source§

fn from(source: StartupError) -> Self

Converts to this type from the input type.
source§

impl From<WalletError> for Error

source§

fn from(source: WalletError) -> Self

Converts to this type from the input type.
source§

impl From<WriteError> for Error

source§

fn from(source: WriteError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html index 256ef023c4..0bf0150fae 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html @@ -1,9 +1,9 @@ UserInteractionController in hersir::controller::interactive::controller - Rust
pub struct UserInteractionController {
     controller: Controller,
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     nodes: Vec<JormungandrProcess>,
     legacy_nodes: Vec<JormungandrProcess>,
-}

Fields§

§controller: Controller§wallets: Vec<Wallet>§nodes: Vec<JormungandrProcess>§legacy_nodes: Vec<JormungandrProcess>

Implementations§

source§

impl UserInteractionController

source

pub fn new(inner: Controller) -> Self

source

pub fn wallets(&self) -> &[Wallet]

source

pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>

source

pub fn nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn controller(&self) -> &Controller

source

pub fn controller_mut(&mut self) -> &mut Controller

source

pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>

source

pub fn tally_vote( +}

Fields§

§controller: Controller§wallets: Vec<Wallet>§nodes: Vec<JormungandrProcess>§legacy_nodes: Vec<JormungandrProcess>

Implementations§

source§

impl UserInteractionController

source

pub fn new(inner: Controller) -> Self

source

pub fn wallets(&self) -> &[Wallet]

source

pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>

source

pub fn nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn controller(&self) -> &Controller

source

pub fn controller_mut(&mut self) -> &mut Controller

source

pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>

source

pub fn tally_vote( &mut self, committee_alias: &str, vote_plan_alias: &str, diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html index c1cfec207e..ffe56330d8 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html @@ -1,9 +1,9 @@ UserInteractionController in hersir::controller::interactive - Rust
pub struct UserInteractionController {
     controller: Controller,
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     nodes: Vec<JormungandrProcess>,
     legacy_nodes: Vec<JormungandrProcess>,
-}

Fields§

§controller: Controller§wallets: Vec<Wallet>§nodes: Vec<JormungandrProcess>§legacy_nodes: Vec<JormungandrProcess>

Implementations§

source§

impl UserInteractionController

source

pub fn new(inner: Controller) -> Self

source

pub fn wallets(&self) -> &[Wallet]

source

pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>

source

pub fn nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn controller(&self) -> &Controller

source

pub fn controller_mut(&mut self) -> &mut Controller

source

pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>

source

pub fn tally_vote( +}

Fields§

§controller: Controller§wallets: Vec<Wallet>§nodes: Vec<JormungandrProcess>§legacy_nodes: Vec<JormungandrProcess>

Implementations§

source§

impl UserInteractionController

source

pub fn new(inner: Controller) -> Self

source

pub fn wallets(&self) -> &[Wallet]

source

pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>

source

pub fn nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes(&self) -> &[JormungandrProcess]

source

pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>

source

pub fn controller(&self) -> &Controller

source

pub fn controller_mut(&mut self) -> &mut Controller

source

pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>

source

pub fn tally_vote( &mut self, committee_alias: &str, vote_plan_alias: &str, diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/opaque..html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/opaque..html index 6ecc54c619..db686ff373 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/opaque..html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/opaque..html @@ -1 +1 @@ - in hersir::controller::monitor - Rust

Opaque Type hersir::controller::monitor::

source ·
type  = impl : Iterator<Item = (WalletAlias, &WalletSetting)>;
\ No newline at end of file + in hersir::controller::monitor - Rust

Opaque Type hersir::controller::monitor::

source ·
type  = impl : Iterator<Item = (WalletAlias, &WalletSetting)>;
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html index 532312ae4a..e73161a47a 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html @@ -10,9 +10,9 @@ ) -> Self

source

pub fn new( controller: InnerController, session_settings: SessionSettings -) -> Result<Self, Error>

source

pub fn stake_pool(&mut self, node_alias: &str) -> Result<StakePool, Error>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn block0_conf(&self) -> Block0Configuration

source

pub fn defined_wallets( +) -> Result<Self, Error>

source

pub fn stake_pool(&mut self, node_alias: &str) -> Result<StakePool, Error>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn block0_conf(&self) -> Block0Configuration

source

pub fn defined_wallets( &self -) -> impl Iterator<Item = (WalletAlias, &WalletSetting)>

source

pub fn controlled_wallets(&mut self) -> Vec<Wallet>

source

pub fn settings(&self) -> &Settings

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn session_settings(&self) -> &SessionSettings

source

pub fn add_to_progress_bar(&mut self, pb: ProgressBar) -> ProgressBar

source

pub fn block0_file(&self) -> PathBuf

source

pub fn controlled_wallet(&self, wallet: &str) -> Result<Wallet, Error>

source

pub fn new_spawn_params(&self, node_alias: &str) -> SpawnParams

source

fn node_dir(&self, alias: &str) -> PathBuf

source

pub fn build_progress_bar( +) -> impl Iterator<Item = (WalletAlias, &WalletSetting)>

source

pub fn controlled_wallets(&mut self) -> Vec<Wallet>

source

pub fn settings(&self) -> &Settings

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn session_settings(&self) -> &SessionSettings

source

pub fn add_to_progress_bar(&mut self, pb: ProgressBar) -> ProgressBar

source

pub fn block0_file(&self) -> PathBuf

source

pub fn controlled_wallet(&self, wallet: &str) -> Result<Wallet, Error>

source

pub fn new_spawn_params(&self, node_alias: &str) -> SpawnParams

source

fn node_dir(&self, alias: &str) -> PathBuf

source

pub fn build_progress_bar( &mut self, alias: &str, listen: SocketAddr diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/opaque..html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/opaque..html index 1cf79d9300..6a6c95f0d7 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/opaque..html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/opaque..html @@ -1 +1 @@ - in hersir::controller - Rust

Opaque Type hersir::controller::

source ·
type  = impl : Iterator<Item = (WalletAlias, &WalletSettings)>;
\ No newline at end of file + in hersir::controller - Rust

Opaque Type hersir::controller::

source ·
type  = impl : Iterator<Item = (WalletAlias, &WalletSettings)>;
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.Controller.html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.Controller.html index 86bc0e8d40..49b56cd9aa 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.Controller.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.Controller.html @@ -5,9 +5,9 @@ }

Fields§

§settings: Settings§working_directory: TestingDirectory§block0_file: PathBuf

Implementations§

source§

impl Controller

source

pub fn new( settings: Settings, working_directory: TestingDirectory -) -> Result<Self, Error>

source

pub fn wallet(&mut self, wallet: &str) -> Option<Wallet>

source

pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>

source

pub fn controlled_wallets(&self) -> Vec<Wallet>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn into_persistent(self) -> Self

source

pub fn block0_file(&self) -> PathBuf

source

pub fn settings(&self) -> &Settings

source

pub fn node_config(&self, alias: &str) -> Result<NodeConfig, Error>

source

pub fn stake_pool(&self, alias: &str) -> Result<&StakePool, Error>

source

pub fn node_settings(&self, alias: &str) -> Result<&NodeSetting, Error>

source

pub fn defined_wallets( +) -> Result<Self, Error>

source

pub fn wallet(&mut self, wallet: &str) -> Option<Wallet>

source

pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>

source

pub fn controlled_wallets(&self) -> Vec<Wallet>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn into_persistent(self) -> Self

source

pub fn block0_file(&self) -> PathBuf

source

pub fn settings(&self) -> &Settings

source

pub fn node_config(&self, alias: &str) -> Result<NodeConfig, Error>

source

pub fn stake_pool(&self, alias: &str) -> Result<&StakePool, Error>

source

pub fn node_settings(&self, alias: &str) -> Result<&NodeSetting, Error>

source

pub fn defined_wallets( &self -) -> impl Iterator<Item = (WalletAlias, &WalletSettings)>

source

pub fn defined_nodes(&self) -> impl Iterator<Item = (&NodeAlias, &NodeSetting)>

source

pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef, Error>

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

fn convert_to_def(&self, key: &VotePlanKey, vote_plan: &VotePlan) -> VotePlanDef

source

pub fn spawn_explorer(&mut self) -> Result<ExplorerProcess, Error>

source

pub fn spawn_node_async( +) -> impl Iterator<Item = (WalletAlias, &WalletSettings)>

source

pub fn defined_nodes(&self) -> impl Iterator<Item = (&NodeAlias, &NodeSetting)>

source

pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef, Error>

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

fn convert_to_def(&self, key: &VotePlanKey, vote_plan: &VotePlan) -> VotePlanDef

source

pub fn spawn_explorer(&mut self) -> Result<ExplorerProcess, Error>

source

pub fn spawn_node_async( &mut self, alias: &str ) -> Result<JormungandrProcess, Error>

source

pub fn expect_spawn_failed( diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html index 6e21163ece..253d97eba7 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html @@ -10,9 +10,9 @@ ) -> Self

source

pub fn new( controller: InnerController, session_settings: SessionSettings -) -> Result<Self, Error>

source

pub fn stake_pool(&mut self, node_alias: &str) -> Result<StakePool, Error>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn block0_conf(&self) -> Block0Configuration

source

pub fn defined_wallets( +) -> Result<Self, Error>

source

pub fn stake_pool(&mut self, node_alias: &str) -> Result<StakePool, Error>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn block0_conf(&self) -> Block0Configuration

source

pub fn defined_wallets( &self -) -> impl Iterator<Item = (WalletAlias, &WalletSetting)>

source

pub fn controlled_wallets(&mut self) -> Vec<Wallet>

source

pub fn settings(&self) -> &Settings

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn session_settings(&self) -> &SessionSettings

source

pub fn add_to_progress_bar(&mut self, pb: ProgressBar) -> ProgressBar

source

pub fn block0_file(&self) -> PathBuf

source

pub fn controlled_wallet(&self, wallet: &str) -> Result<Wallet, Error>

source

pub fn new_spawn_params(&self, node_alias: &str) -> SpawnParams

source

fn node_dir(&self, alias: &str) -> PathBuf

source

pub fn build_progress_bar( +) -> impl Iterator<Item = (WalletAlias, &WalletSetting)>

source

pub fn controlled_wallets(&mut self) -> Vec<Wallet>

source

pub fn settings(&self) -> &Settings

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn session_settings(&self) -> &SessionSettings

source

pub fn add_to_progress_bar(&mut self, pb: ProgressBar) -> ProgressBar

source

pub fn block0_file(&self) -> PathBuf

source

pub fn controlled_wallet(&self, wallet: &str) -> Result<Wallet, Error>

source

pub fn new_spawn_params(&self, node_alias: &str) -> SpawnParams

source

fn node_dir(&self, alias: &str) -> PathBuf

source

pub fn build_progress_bar( &mut self, alias: &str, listen: SocketAddr diff --git a/tally-community-tool/06_rust_api/rust/doc/hersir/error/enum.Error.html b/tally-community-tool/06_rust_api/rust/doc/hersir/error/enum.Error.html index 89fb3d08a9..358c71c8bf 100644 --- a/tally-community-tool/06_rust_api/rust/doc/hersir/error/enum.Error.html +++ b/tally-community-tool/06_rust_api/rust/doc/hersir/error/enum.Error.html @@ -3,16 +3,16 @@ InteractiveCommand(InteractiveCommandError), Controller(ControllerError), Verification(VerificationError), - FragmentVerifier(FragmentVerifierError), + FragmentVerifier(FragmentVerifierError), ConsumptionBenchmark(ConsumptionBenchmarkError), Explorer(ExplorerError), - FragmentSender(FragmentSenderError), + FragmentSender(FragmentSenderError), Rest(RestError), IO(Error), Serialization(Error), CircularTrust, Internal(String), -

}

Variants§

§

MonitorNode(NodeError)

§

InteractiveCommand(InteractiveCommandError)

§

Controller(ControllerError)

§

Verification(VerificationError)

§

FragmentVerifier(FragmentVerifierError)

§

ConsumptionBenchmark(ConsumptionBenchmarkError)

§

Explorer(ExplorerError)

§

FragmentSender(FragmentSenderError)

§

Rest(RestError)

§

IO(Error)

§

Serialization(Error)

§

CircularTrust

§

Internal(String)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ConsumptionBenchmarkError> for Error

source§

fn from(source: ConsumptionBenchmarkError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: NodeError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VerificationError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<ExplorerError> for Error

source§

fn from(source: ExplorerError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for Error

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<InteractiveCommandError> for Error

source§

fn from(source: InteractiveCommandError) -> Self

Converts to this type from the input type.
source§

impl From<RestError> for Error

source§

fn from(source: RestError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +

}

Variants§

§

MonitorNode(NodeError)

§

InteractiveCommand(InteractiveCommandError)

§

Controller(ControllerError)

§

Verification(VerificationError)

§

FragmentVerifier(FragmentVerifierError)

§

ConsumptionBenchmark(ConsumptionBenchmarkError)

§

Explorer(ExplorerError)

§

FragmentSender(FragmentSenderError)

§

Rest(RestError)

§

IO(Error)

§

Serialization(Error)

§

CircularTrust

§

Internal(String)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ConsumptionBenchmarkError> for Error

source§

fn from(source: ConsumptionBenchmarkError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: NodeError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VerificationError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<ExplorerError> for Error

source§

fn from(source: ExplorerError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for Error

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<InteractiveCommandError> for Error

source§

fn from(source: InteractiveCommandError) -> Self

Converts to this type from the input type.
source§

impl From<RestError> for Error

source§

fn from(source: RestError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html index 926f27564e..0527fe8b8f 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html @@ -2,13 +2,13 @@ pub backend: ValgrindClient, pub wallet: Wallet, pub settings: Settings, - pub block_date_generator: BlockDateGenerator, + pub block_date_generator: BlockDateGenerator, }
Expand description

Responsible for all wallet operations from voting to retrieving information about proposals or voting power

Fields§

§backend: ValgrindClient

Catalyst backend client

§wallet: Wallet

Wallet state

§settings: Settings

Cached blockchain settings

-
§block_date_generator: BlockDateGenerator

Expiry date generator

+
§block_date_generator: BlockDateGenerator

Expiry date generator

Implementations§

source§

impl Controller

source

pub fn switch_backend( &mut self, proxy_address: String, @@ -29,7 +29,7 @@

Panics

On internal error in which vec does not hold transaction

source

pub fn set_block_date_generator( &mut self, - block_date_generator: BlockDateGenerator + block_date_generator: BlockDateGenerator )

Sets transaction ttl definition. Usually when we are sending some fragments we need to define how long we want to wait until it will be put in block. BlockDateGenerator helps us define ttl without calculating it each time

diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html index e3c7603e77..262b035351 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html @@ -1,4 +1,4 @@ default_block_date_generator in iapyx::expiry - Rust
pub fn default_block_date_generator(
     block0_settings: &SettingsDto
-) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on settings

+) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on settings

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html index f82571ec4d..538baf182f 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html @@ -2,5 +2,5 @@ valid_until_fixed: Option<BlockDate>, valid_until_shift: Option<BlockDate>, block0_settings: &SettingsDto -) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on setup

+) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on setup

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html index f55bd45c40..183c22ae17 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html @@ -8,9 +8,9 @@ wallet_index: usize, update_account_before_vote: bool, vote_cast_counter: VoteCastCounter, - block_date_generator: BlockDateGenerator, + block_date_generator: BlockDateGenerator, settings: Settings, -}

Fields§

§rand: OsRng§batch_size: usize§multi_controller: MultiController§proposals: Vec<FullProposalInfo>§options: Vec<u8>§use_v1: bool§wallet_index: usize§update_account_before_vote: bool§vote_cast_counter: VoteCastCounter§block_date_generator: BlockDateGenerator§settings: Settings

Implementations§

source§

impl BatchWalletRequestGen

source

pub fn new( +}

Fields§

§rand: OsRng§batch_size: usize§multi_controller: MultiController§proposals: Vec<FullProposalInfo>§options: Vec<u8>§use_v1: bool§wallet_index: usize§update_account_before_vote: bool§vote_cast_counter: VoteCastCounter§block_date_generator: BlockDateGenerator§settings: Settings

Implementations§

source§

impl BatchWalletRequestGen

source

pub fn new( multi_controller: MultiController, batch_size: usize, use_v1: bool, diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html index 41b74a4f4b..8abb43ab47 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html @@ -6,7 +6,7 @@ wallet_index: usize, update_account_before_vote: bool, vote_cast_counter: VoteCastCounter, - block_date_generator: BlockDateGenerator, + block_date_generator: BlockDateGenerator, settings: Settings, }
Expand description

Vote request generator. Implements RequestGenerator interface which incorporates generator to load testing framework. Responsibility is to keep track of wallets under tests and prepare @@ -19,7 +19,7 @@ proposals are eligible to vote on. Having in mind internal structure of vote plan (voteplan can have many proposals) and requirement to send batch of votes may result in different proposals from different voteplan. -

Fields§

§rand: OsRng§multi_controller: MultiController§proposals: Vec<FullProposalInfo>§options: Vec<u8>§wallet_index: usize§update_account_before_vote: bool§vote_cast_counter: VoteCastCounter§block_date_generator: BlockDateGenerator§settings: Settings

Implementations§

source§

impl WalletRequestGen

source

pub fn new( +

Fields§

§rand: OsRng§multi_controller: MultiController§proposals: Vec<FullProposalInfo>§options: Vec<u8>§wallet_index: usize§update_account_before_vote: bool§vote_cast_counter: VoteCastCounter§block_date_generator: BlockDateGenerator§settings: Settings

Implementations§

source§

impl WalletRequestGen

source

pub fn new( multi_controller: MultiController, update_account_before_vote: bool, group: &str diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.Controller.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.Controller.html index 62bdfc8347..afcdf4eb7d 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.Controller.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.Controller.html @@ -2,13 +2,13 @@ pub backend: ValgrindClient, pub wallet: Wallet, pub settings: Settings, - pub block_date_generator: BlockDateGenerator, + pub block_date_generator: BlockDateGenerator, }
Expand description

Responsible for all wallet operations from voting to retrieving information about proposals or voting power

Fields§

§backend: ValgrindClient

Catalyst backend client

§wallet: Wallet

Wallet state

§settings: Settings

Cached blockchain settings

-
§block_date_generator: BlockDateGenerator

Expiry date generator

+
§block_date_generator: BlockDateGenerator

Expiry date generator

Implementations§

source§

impl Controller

source

pub fn switch_backend( &mut self, proxy_address: String, @@ -29,7 +29,7 @@

Panics

On internal error in which vec does not hold transaction

source

pub fn set_block_date_generator( &mut self, - block_date_generator: BlockDateGenerator + block_date_generator: BlockDateGenerator )

Sets transaction ttl definition. Usually when we are sending some fragments we need to define how long we want to wait until it will be put in block. BlockDateGenerator helps us define ttl without calculating it each time

diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html index 21c52c6e5a..61b4d0ec79 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html @@ -6,7 +6,7 @@ wallet_index: usize, update_account_before_vote: bool, vote_cast_counter: VoteCastCounter, - block_date_generator: BlockDateGenerator, + block_date_generator: BlockDateGenerator, settings: Settings, }
Expand description

Vote request generator. Implements RequestGenerator interface which incorporates generator to load testing framework. Responsibility is to keep track of wallets under tests and prepare @@ -19,7 +19,7 @@ proposals are eligible to vote on. Having in mind internal structure of vote plan (voteplan can have many proposals) and requirement to send batch of votes may result in different proposals from different voteplan. -

Fields§

§rand: OsRng§multi_controller: MultiController§proposals: Vec<FullProposalInfo>§options: Vec<u8>§wallet_index: usize§update_account_before_vote: bool§vote_cast_counter: VoteCastCounter§block_date_generator: BlockDateGenerator§settings: Settings

Implementations§

source§

impl WalletRequestGen

source

pub fn new( +

Fields§

§rand: OsRng§multi_controller: MultiController§proposals: Vec<FullProposalInfo>§options: Vec<u8>§wallet_index: usize§update_account_before_vote: bool§vote_cast_counter: VoteCastCounter§block_date_generator: BlockDateGenerator§settings: Settings

Implementations§

source§

impl WalletRequestGen

source

pub fn new( multi_controller: MultiController, update_account_before_vote: bool, group: &str diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html index dcd2a05b4d..4e2aa47987 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html @@ -1,4 +1,4 @@ default_block_date_generator in iapyx::utils::expiry - Rust
pub fn default_block_date_generator(
     block0_settings: &SettingsDto
-) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on settings

+) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on settings

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html b/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html index 35cf5aa98c..972d9304a1 100644 --- a/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html +++ b/tally-community-tool/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html @@ -2,5 +2,5 @@ valid_until_fixed: Option<BlockDate>, valid_until_shift: Option<BlockDate>, block0_settings: &SettingsDto -) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on setup

+) -> BlockDateGenerator
Expand description

Creates BlockDateGenerator object based on setup

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/implementors/core/convert/trait.From.js b/tally-community-tool/06_rust_api/rust/doc/implementors/core/convert/trait.From.js index e79da8e4f2..368bc8f464 100644 --- a/tally-community-tool/06_rust_api/rust/doc/implementors/core/convert/trait.From.js +++ b/tally-community-tool/06_rust_api/rust/doc/implementors/core/convert/trait.From.js @@ -16,17 +16,17 @@ "explorer":[["impl From<Milli> for ConfigParam"],["impl From<&Block0Date> for Block0Date"],["impl From<PayloadType> for Value"],["impl From<ConsensusTypeEnum> for Value"],["impl From<VotePlan> for Certificate"],["impl From<&ConsensusType> for ConsensusType"],["impl From<TreasuryAdd> for ConfigParam"],["impl From<VoteTally> for Certificate"],["impl From<LinearFee> for ConfigParam"],["impl From<Error> for IndexerError"],["impl From<Error> for Error"],["impl From<&Milli> for Milli"],["impl From<&bool> for FeesInTreasury"],["impl From<BftLeader> for Leader"],["impl From<Discrimination> for ConfigParam"],["impl From<RemoveBftLeader> for ConfigParam"],["impl From<&u8> for TransactionMaxExpiryEpochs"],["impl From<TreasuryParams> for ConfigParam"],["impl From<PerCertificateFee> for ConfigParam"],["impl From<BootstrapError> for Error"],["impl From<RewardLimitByAbsoluteStake> for ConfigParam"],["impl From<TimeOffsetSeconds> for TimeOffsetSeconds"],["impl From<&RewardParams> for RewardParams"],["impl From<&ConfigParam> for ConfigParam"],["impl From<Error> for IndexerError"],["impl From<Pool> for Leader"],["impl From<&ConfigParams> for ConfigParams"],["impl From<VotePlan> for VotePlan"],["impl From<UpdateProposal> for Certificate"],["impl From<VotePayloadPublicStatus> for VotePayloadStatus"],["impl From<ExplorerError> for IndexerError"],["impl From<Options> for VoteOptionRange"],["impl From<PoolUpdate> for Certificate"],["impl From<HalvingRewardParams> for RewardParamsUnion"],["impl From<VotePayloadPrivateStatus> for VotePayloadStatus"],["impl From<&u32> for SlotsPerEpoch"],["impl From<&(NonZeroU32, NonZeroU32)> for PoolRewardParticipationCapping"],["impl From<&u32> for BlockContentMaxSize"],["impl From<ExplorerVoteTally> for TallyStatus"],["impl From<&CommitteeId> for RemoveCommitteeId"],["impl From<TallyPublicStatus> for TallyStatus"],["impl From<&LinearFee> for LinearFee"],["impl From<RewardParams> for ConfigParam"],["impl From<&u32> for KesUpdateSpeed"],["impl From<ProposalExpiration> for ConfigParam"],["impl From<u32> for VotePlanCount"],["impl From<PoolRetirement> for Certificate"],["impl From<OwnerStakeDelegation> for OwnerStakeDelegation"],["impl From<Block0Date> for ConfigParam"],["impl From<PerVoteCertificateFee> for ConfigParam"],["impl From<DigestOf<Blake2b256, ExternalProposalDocument>> for ExternalProposalId"],["impl<T: Borrow<Weight>> From<T> for Weight"],["impl From<u64> for IndexCursor"],["impl From<&TaxType> for TreasuryParams"],["impl From<&PerCertificateFee> for PerCertificateFee"],["impl From<PoolRetirement> for PoolRetirement"],["impl From<DiscriminationEnum> for Value"],["impl From<RewardPot> for ConfigParam"],["impl From<StakeDelegation> for StakeDelegation"],["impl From<&BftLeaderId> for AddBftLeader"],["impl From<RemoveCommitteeId> for ConfigParam"],["impl From<PoolUpdate> for PoolUpdate"],["impl From<BlockDate> for BlockDate"],["impl From<MintToken> for Certificate"],["impl From<UpdateVote> for Certificate"],["impl From<&PublicKey<Ed25519>> for PublicKey"],["impl From<StakeDelegation> for Certificate"],["impl From<ChainLength> for IndexCursor"],["impl From<ParseError> for IndexerError"],["impl From<UpdateProposal> for UpdateProposal"],["impl From<&PerVoteCertificateFee> for PerVoteCertificateFee"],["impl From<BlockContentMaxSize> for ConfigParam"],["impl From<&Discrimination> for Discrimination"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<BftLeaderId> for BftLeader"],["impl From<ConsensusType> for ConfigParam"],["impl From<PoolRegistration> for Certificate"],["impl From<&ExplorerAddress> for Address"],["impl From<RewardLimitNone> for ConfigParam"],["impl From<AddBftLeader> for ConfigParam"],["impl From<TransactionMaxExpiryEpochs> for ConfigParam"],["impl From<Error> for Error"],["impl From<Certificate> for Certificate"],["impl From<OwnerStakeDelegation> for Certificate"],["impl From<EpochStabilityDepth> for ConfigParam"],["impl From<EvmMapping> for Certificate"],["impl From<PoolRewardParticipationCapping> for ConfigParam"],["impl From<&u32> for EpochStabilityDepth"],["impl From<u64> for Value"],["impl From<SlotsPerEpoch> for ConfigParam"],["impl From<&Value> for RewardPot"],["impl From<VoteCast> for VoteCast"],["impl From<LinearRewardParams> for RewardParamsUnion"],["impl From<u32> for IndexCursor"],["impl From<IndexerError> for Error"],["impl From<UpdateVote> for UpdateVote"],["impl From<KesUpdateSpeed> for ConfigParam"],["impl From<IndexCursor> for String"],["impl From<FeesInTreasury> for ConfigParam"],["impl From<&u8> for SlotDuration"],["impl From<AddCommitteeId> for ConfigParam"],["impl From<&Value> for TreasuryAdd"],["impl From<Arc<ExplorerBlock>> for Block"],["impl From<EvmMapping> for EvmMapping"],["impl From<u64> for VotePlanCount"],["impl From<SlotDuration> for ConfigParam"],["impl From<&Ratio> for RewardLimitByAbsoluteStake"],["impl From<TallyPrivateStatus> for TallyStatus"],["impl From<VoteCast> for Certificate"],["impl From<u64> for VoteStatusCount"],["impl From<PoolRegistration> for PoolRegistration"],["impl From<&BftLeaderId> for RemoveBftLeader"],["impl From<BlockNotFound> for ExplorerError"],["impl From<DigestOf<Blake2b256, VotePlan>> for VotePlanId"],["impl From<Error> for IndexerError"],["impl From<PayloadType> for PayloadType"],["impl From<&u32> for ProposalExpiration"],["impl From<&CommitteeId> for AddCommitteeId"]], "explorer_client":[["impl From<ExplorerError> for Error"],["impl From<Error> for Error"]], "hdkeygen":[["impl From<[u8; 32]> for AccountId"],["impl From<AccountId> for PublicKey<Ed25519>"]], -"hersir":[["impl From<StartupError> for Error"],["impl From<ReadError> for Error"],["impl From<RestError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Wallet> for Inner"],["impl From<ExplorerError> for Error"],["impl From<WriteError> for Error"],["impl From<StartupError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<MockClientError> for Error"],["impl From<RestError> for Error"],["impl From<FixtureError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<WalletTemplate> for Wallet"],["impl From<WalletError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<ExplorerError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ScanError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<MonitorController> for InnerController"],["impl From<Error> for Error"],["impl From<Error> for Error"]], +"hersir":[["impl From<StartupError> for Error"],["impl From<ReadError> for Error"],["impl From<RestError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Wallet> for Inner"],["impl From<ExplorerError> for Error"],["impl From<WriteError> for Error"],["impl From<StartupError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<MockClientError> for Error"],["impl From<RestError> for Error"],["impl From<FixtureError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<WalletTemplate> for Wallet"],["impl From<WalletError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<ExplorerError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ScanError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<MonitorController> for InnerController"],["impl From<Error> for Error"],["impl From<Error> for Error"]], "iapyx":[["impl From<Error> for RequestGenError"],["impl From<Error> for MultiControllerError"],["impl From<ImageError> for Error"],["impl From<Error> for RequestGenError"],["impl From<Error> for Error"],["impl From<KeyQrCodeError> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<MultiController> for Vec<Wallet>"],["impl From<Error> for ControllerError"],["impl From<RestError> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for MultiControllerError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ControllerError"],["impl From<BadPinError> for Error"],["impl From<Error> for Error"],["impl From<Error> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ControllerError> for MultiControllerError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<MultiControllerError> for RequestGenError"],["impl From<Error> for MultiControllerError"],["impl From<RequestGenError> for Error"],["impl From<MultiControllerError> for Error"],["impl From<Error> for ControllerError"],["impl From<MultiControllerError> for Error"],["impl From<Error> for Error"],["impl From<ControllerError> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for MultiControllerError"],["impl From<ParseAccountIdentifierError> for ControllerError"],["impl From<MultiControllerError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ControllerError"],["impl From<RestError> for ControllerError"],["impl From<Error> for Error"]], "iapyx_load":[["impl From<Error> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"],["impl From<MultiControllerError> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"]], -"integration_tests":[["impl From<Error> for Error"],["impl From<ControllerError> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"]], +"integration_tests":[["impl From<Error> for Error"],["impl From<ControllerError> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"]], "jcli_lib":[["impl From<SignatureError> for Error"],["impl From<FromHexError> for Error"],["impl From<SharesError> for Error"],["impl From<Error> for Error"],["impl From<Error> for VotePlanError"],["impl From<DecryptionError> for SharesError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VotePlanError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl<'a> From<&'a str> for FormatVariant"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<CertificateFromStrError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for SharesError"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<DerivationError> for Error"],["impl From<Error> for Error"],["impl From<PathBuf> for OutputFile"],["impl From<Error> for Error"],["impl From<DecryptedPrivateTallyError> for Error"],["impl From<SecretKeyError> for Error"],["impl From<Error> for ReadYamlError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for SharesError"],["impl From<PublicKeyError> for Error"],["impl From<CertificateFromBech32Error> for Error"],["impl From<UnitVectorInitializationError> for Error"],["impl From<FromHexError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VotePlanError> for Error"],["impl From<WriteError> for Error"],["impl From<ValueError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for VotePlanError"],["impl From<ReadYamlError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<Vec<TallyDecryptShare, Global>> for MemberVotePlanShares"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TallyError> for Error"],["impl From<Error> for ReadYamlError"],["impl From<Error> for Error"],["impl From<GtmplError> for Error"],["impl From<Error> for Error"],["impl From<FormatVariant> for OutputFormat"],["impl From<SharesError> for Error"],["impl From<DecodeError> for Error"],["impl From<Error> for Error"]], "jormungandr":[["impl From<FromConfigParamError> for Error"],["impl From<SendError> for Error"],["impl From<FromHexError> for Error"],["impl From<Error> for Error"],["impl From<NodeSecretFromFileError> for Error"],["impl From<SendError> for PropagateError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseError> for Error"],["impl From<NodeId> for NodeId"],["impl<T> From<TrySendError<T>> for Error"],["impl From<Checkpoints> for Vec<HeaderHash>"],["impl From<Error> for Error"],["impl From<DiagnosticError> for Error"],["impl From<FetchBlockError> for Error"],["impl From<ReadError> for GossipError"],["impl From<Error> for Error"],["impl From<Error> for NodeSecretFromFileError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for NodeSecretFromFileError"],["impl From<LayersConfig> for CustomLayerBuilder"],["impl From<Error> for Error"],["impl From<Block0Malformed> for Block0Error"],["impl From<Gossips> for Vec<Gossip>"],["impl From<Block0Error> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<HeaderChainVerifyError> for Error"],["impl From<PublicKeyFromStrError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TrySendError<TransactionMsg>> for Error"],["impl From<Error> for Block0Error"],["impl From<Error> for Error"],["impl From<Block0Error> for Error"],["impl From<Gossip> for Gossip"],["impl From<Gossip> for PeerInfo"],["impl From<Canceled> for Error"],["impl From<PublicKeyFromStrError> for Error"],["impl From<SendError> for Error"],["impl From<Error> for Error"],["impl From<Error> for LeadershipError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Box<Error, Global>> for Error"],["impl From<Box<Error, Global>> for Error"],["impl From<Identifier<Ed25519>> for NodeId"],["impl From<FromHexError> for Error"],["impl From<TrySendError<TransactionMsg>> for Error"],["impl From<Error> for Error"],["impl From<ServiceError> for Error"],["impl From<Error> for Error"],["impl From<GossipError> for GossipError"],["impl From<Box<Error, Global>> for LeadershipError"],["impl From<ValueError> for Error"],["impl From<Box<Error, Global>> for Error"],["impl From<TrySendError<TransactionMsg>> for Error"],["impl From<Error> for Error"],["impl From<Error> for PropagateError"],["impl From<ReplySendError> for StreamingError"],["impl From<Vec<Gossip, Global>> for Gossips"],["impl From<Gossip> for Gossip"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ValueError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Vec<Gossip, Global>> for Gossips"],["impl From<Error> for Error"],["impl From<Error> for PeerResolveError"],["impl From<Box<TrySendError<TransactionMsg>, Global>> for Error"],["impl From<Error> for Error"],["impl From<SendError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for HeaderChainVerifyError"],["impl From<LedgerError> for Error"],["impl From<Error> for Error"],["impl From<HeaderChainVerifyError> for Error"],["impl From<Error> for StreamingError"]], "jormungandr_automation":[["impl From<WriteError> for Error"],["impl From<Error> for RestError"],["impl From<Block0ConfigurationError> for Block0Error"],["impl From<ConsensusType> for ProtocolVersion"],["impl From<LogEntry> for Timestamp"],["impl From<FixtureError> for Error"],["impl From<GraphQlClientError> for ExplorerError"],["impl From<ReadError> for Error"],["impl From<LogEntryLegacy> for LogEntry"],["impl From<Error> for GraphQlClientError"],["impl From<Error> for Error"],["impl From<SyncWaitParams> for Thresholds<Speed>"],["impl From<Error> for Block0Error"],["impl From<Error> for Block0Error"],["impl From<Error> for RestError"],["impl From<ValueError> for StateVerifierError"],["impl From<JormungandrError> for ShutdownError"],["impl From<Error> for Block0Error"],["impl From<Error> for RestError"],["impl From<Hash> for MemPoolCheck"],["impl From<Error> for StartupError"],["impl From<ReadError> for Block0Error"],["impl From<Error> for RestError"],["impl From<ReadError> for RestError"],["impl From<ProcessError> for StartupError"],["impl From<WriteError> for Block0Error"],["impl From<Error> for ShutdownError"],["impl From<FixtureError> for Error"],["impl From<FixtureError> for StartupError"],["impl From<Error> for Error"],["impl From<RestError> for StartupError"],["impl From<Error> for ExplorerError"],["impl From<JormungandrError> for StartupError"],["impl From<Error> for StartupError"],["impl From<Error> for ExplorerError"],["impl From<NodeState> for Status"],["impl From<RestError> for StateVerifierError"],["impl From<Error> for Block0Error"],["impl From<PathBuf> for TestingDirectory"],["impl From<MeasurementReportInterval> for u32"],["impl From<KeyPair<Ed25519>> for SecretModelFactory"],["impl From<FixtureError> for Error"],["impl From<Option<PathBuf>> for TestingDirectory"],["impl From<Error> for Error"],["impl From<Error> for FragmentNodeError"],["impl From<Error> for StartupError"],["impl From<Error> for Block0Error"],["impl From<Error> for Error"],["impl From<Error> for Block0Error"],["impl From<Error> for SyncNodeError"],["impl From<StakePool> for StakePoolLib"],["impl From<WriteError> for Error"]], "jormungandr_integration_tests":[["impl From<Version> for LegacySingleNodeTestBootstrapper"]], "jormungandr_lib":[["impl From<ProposalExpiration> for u32"],["impl From<KesUpdateSpeed> for ConfigParam"],["impl From<PreferredViewMax> for usize"],["impl From<Certificate> for Certificate"],["impl From<[u8; 32]> for CommitteeIdDef"],["impl From<FeesGoTo> for ConfigParam"],["impl From<Error> for CertificateFromBech32Error"],["impl From<ConsensusLeaderId> for ConfigParam"],["impl<A: AsymmetricPublicKey> From<PublicKey<A>> for Identifier<A>"],["impl<A: AsymmetricKey> From<SigningKey<A>> for SecretKey<A>"],["impl From<EncryptedTally> for EncryptedTally"],["impl From<TryFromFeesGoToError> for FromConfigParamsError"],["impl From<MintingPolicy> for MintingPolicy"],["impl From<MintToken> for MintToken"],["impl From<VotePrivacy> for PayloadType"],["impl From<[u8; 32]> for Hash"],["impl From<usize> for PoolMaxEntries"],["impl From<ActiveSlotCoefficient> for ConfigParam"],["impl From<SlotDuration> for ConfigParam"],["impl<T> From<DigestOf<Blake2b256, T>> for Hash"],["impl From<Witness> for TransactionWitness"],["impl From<SystemTime> for SystemTime"],["impl From<Address> for Address"],["impl From<AccountIdentifier> for AccountIdentifier"],["impl From<TransactionWitness> for Witness"],["impl From<LastRewards> for LastRewards"],["impl From<TryFromActiveSlotCoefficientError> for FromConfigParamsError"],["impl From<TransactionInput> for Input"],["impl<'a, E> From<&'a AccountState<E>> for AccountState"],["impl From<EvmTransaction> for EvmTransaction"],["impl From<TryFromFeesGoToError> for FromConfigParamError"],["impl From<Ratio> for Ratio"],["impl From<BlockDate> for BlockDate"],["impl From<NumberOfSlotsPerEpoch> for u32"],["impl From<Payload> for VotePayload"],["impl From<u32> for EpochStabilityDepth"],["impl From<RewardParams> for RewardParams"],["impl From<CertificateFromBech32Error> for CertificateFromStrError"],["impl From<TokenName> for TokenName"],["impl From<MintingPolicy> for MintingPolicy"],["impl From<Blake2b256> for Hash"],["impl From<SecondsSinceUnixEpoch> for SystemTime"],["impl From<FragmentDef> for Fragment"],["impl From<PoolMaxEntries> for usize"],["impl From<DelegationType> for DelegationType"],["impl From<TallyResult> for TallyResult"],["impl From<CommitteeId> for CommitteeIdDef"],["impl From<VoteProposalStatus> for VoteProposalStatus"],["impl From<Duration> for Duration"],["impl From<u64> for Value"],["impl From<Error> for CertificateFromStrError"],["impl From<Duration> for Duration"],["impl From<WriteError> for CertificateToBech32Error"],["impl From<Value> for Value"],["impl From<TaxType> for TaxType"],["impl From<Hash> for Hash"],["impl From<TryFromKesUpdateSpeedError> for FromConfigParamsError"],["impl From<Error> for SigningKeyParseError"],["impl From<BlockContentMaxSize> for BlockContentSize"],["impl From<InitialUTxO> for Destination"],["impl From<Output<Address>> for TransactionOutput"],["impl From<MintToken> for MintToken"],["impl From<RewardParams> for RewardParamsStd"],["impl From<u64> for Stake"],["impl<E> From<AccountState<E>> for AccountState"],["impl From<Error> for CertificateToBech32Error"],["impl From<BftLeaderId> for ConsensusLeaderId"],["impl From<Error> for Block0ConfigurationError"],["impl From<EpochStabilityDepth> for u32"],["impl From<ConfigParams> for ConfigParamsLib"],["impl From<u32> for ProposalExpiration"],["impl From<PayloadType> for VotePrivacy"],["impl From<DelegationType> for DelegationType"],["impl From<Tally> for Tally"],["impl From<FromConfigParamsError> for Block0ConfigurationError"],["impl From<UnspecifiedAccountIdentifier> for AccountIdentifier"],["impl From<u32> for BlockContentMaxSize"],["impl From<TaxType> for TaxType"],["impl From<Error> for TransactionWitnessFromStrError"],["impl<T> From<Hash> for DigestOf<Blake2b256, T>"],["impl From<SignedCertificate> for SignedCertificate"],["impl From<TryFromActiveSlotCoefficientError> for FromConfigParamError"],["impl From<Error> for SigningKeyParseError"],["impl From<TokenIdentifier> for TokenIdentifier"],["impl From<Identifier<Ed25519>> for Identifier"],["impl From<Addr> for OldAddress"],["impl From<ReadError> for CertificateFromBech32Error"],["impl From<VoteProposalDef> for Proposal"],["impl From<Input> for TransactionInput"],["impl From<TransactionOutput> for Output<Address>"],["impl From<Ratio> for Ratio"],["impl From<Hash> for [u8; 32]"],["impl From<VotePlan> for VotePlan"],["impl<A: AsymmetricKey> From<SecretKey<A>> for SigningKey<A>"],["impl From<BlockchainConfiguration> for ConfigParams"],["impl From<NumberOfSlotsPerEpoch> for ConfigParam"],["impl From<Identifier> for Identifier"],["impl From<Tally> for Tally"],["impl From<TallyResult> for TallyResult"],["impl From<Stake> for Stake"],["impl From<OldAddress> for Addr"],["impl From<ReadError> for TransactionWitnessFromStrError"],["impl From<ConsensusLeaderId> for BftLeaderId"],["impl From<Value> for u64"],["impl From<TryFromSlotDurationError> for FromConfigParamError"],["impl From<SystemTime> for SystemTime"],["impl From<TimeEraDef> for TimeEra"],["impl From<ParseIntError> for ParseRatioError"],["impl From<SystemTime> for SecondsSinceUnixEpoch"],["impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamError"],["impl From<Hash> for Hash"],["impl From<usize> for LogMaxEntries"],["impl From<SystemTime> for SecondsSinceUnixEpoch"],["impl<'a> From<Entry<'a, Address>> for UTxOInfo"],["impl From<Certificate> for Certificate"],["impl From<ConfigParam> for ConfigParamLib"],["impl From<Stake> for u64"],["impl From<FromHexError> for EvmTransactionFromStrError"],["impl From<Identifier<Ed25519>> for ConsensusLeaderId"],["impl From<CommitteeIdDef> for CommitteeId"],["impl From<SecretKey<Ed25519Extended>> for SigningKey"],["impl From<SecretKey<Ed25519>> for SigningKey"],["impl From<AccountIdentifier> for AccountIdentifier"],["impl From<String> for CorsOrigin"],["impl From<Stake> for Stake"],["impl From<EvmTransaction> for EvmTransaction"],["impl From<VoteProposalStatus> for VoteProposalStatus"],["impl From<PublicKey<Ed25519>> for Identifier"],["impl From<Error> for ParseAccountIdentifierError"],["impl From<LastRewards> for LastRewards"],["impl From<VotePlanStatus> for VotePlanStatus"],["impl From<SignedCertificate> for SignedCertificate"],["impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamsError"],["impl From<ReadError> for EvmTransactionFromStrError"],["impl From<BlockDate> for BlockDate"],["impl From<TokenIdentifier> for TokenIdentifier"],["impl From<TryFromKesUpdateSpeedError> for FromConfigParamError"],["impl From<LogMaxEntries> for usize"],["impl From<Fragment> for FragmentDef"],["impl From<TryFromSlotDurationError> for FromConfigParamsError"],["impl From<VotePlanStatus> for VotePlanStatus"],["impl From<PublicKey<Ed25519>> for ConsensusLeaderId"],["impl From<Value> for Value"],["impl From<Hash> for Blake2b256"],["impl<T, A: VerificationAlgorithm> From<Signature<T, A>> for Signature<T, A>"],["impl From<VotePlan> for VotePlan"],["impl From<Address> for Address"],["impl From<Tally> for TallyResult"],["impl From<SlotDuration> for u8"]], "jortestkit":[["impl From<DecodeError> for TokenError"],["impl From<Duration> for Wait"],["impl From<&[u8]> for APIToken"],["impl From<Error> for GitHubApiError"],["impl From<Error> for DecompressError"],["impl From<FromHexError> for GitHubApiError"],["impl From<ZipError> for DecompressError"],["impl From<SystemTime> for Timestamp"],["impl From<Error> for WebError"],["impl From<Endurance> for Duration"],["impl From<Duration> for Speed"],["impl From<Error> for WebError"],["impl From<Error> for InteractiveCommandError"],["impl From<u32> for Counter"],["impl From<WebError> for GitHubApiError"],["impl From<Error> for GitHubApiError"],["impl<T> From<T> for RayonWrapper<T>"],["impl From<Duration> for Endurance"]], -"loki":[["impl From<FragmentNodeError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"],["impl From<FragmentExporterError> for AdversaryFragmentSenderError"],["impl From<FragmentVerifierError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"],["impl From<FragmentBuilderError> for AdversaryFragmentSenderError"],["impl From<Block0ConfigurationError> for Error"],["impl From<SyncNodeError> for AdversaryFragmentSenderError"],["impl From<ReadError> for Error"]], +"loki":[["impl From<FragmentNodeError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"],["impl From<FragmentExporterError> for AdversaryFragmentSenderError"],["impl From<FragmentVerifierError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"],["impl From<FragmentBuilderError> for AdversaryFragmentSenderError"],["impl From<Block0ConfigurationError> for Error"],["impl From<SyncNodeError> for AdversaryFragmentSenderError"],["impl From<ReadError> for Error"]], "mainnet_lib":[["impl From<Error> for JsonConversionError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<PublicKeyFromStrError> for Error"],["impl From<Vec<(&str, u32), Global>> for Target"],["impl From<JsError> for JsonConversionError"],["impl From<Error> for Error"],["impl From<JsError> for Error"]], "mainnet_tools":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TryFromIntError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], "mjolnir":[["impl From<JormungandrError> for MjolnirError"],["impl From<MjolnirError> for ExplorerLoadCommandError"],["impl From<Block0Error> for MjolnirError"],["impl From<StartupError> for MjolnirError"],["impl From<MjolnirError> for RestLoadCommandError"],["impl From<MjolnirError> for FragmentLoadCommandError"],["impl From<MjolnirError> for ClientLoadCommandError"],["impl From<RestError> for MjolnirError"]], @@ -42,7 +42,7 @@ "vit_servicing_station_lib":[["impl From<LogLevel> for LevelFilter"],["impl From<ProposalChallengeInfo> for SerdeProposalChallengeInfo"],["impl From<LogLevel> for LevelFilter"],["impl From<&[u8]> for ApiToken"],["impl From<Fund> for FundWithLegacyFields"],["impl From<&Goal> for InsertGoal"],["impl From<Error> for HandleError"]], "vit_servicing_station_server":[["impl From<Error> for ConfigTracingError"],["impl From<TryInitError> for ConfigTracingError"],["impl From<TraceError> for ConfigTracingError"]], "vit_servicing_station_tests":[["impl From<Error> for TemplateLoad"],["impl From<Error> for DbInserterError"],["impl From<Snapshot> for SnapshotUpdater"],["impl From<FundDates> for FundInfo"],["impl From<VotePlanDef> for SingleVotePlanParameters"],["impl From<CurrentFund> for ValidVotePlanParameters"],["impl From<CargoError> for ServerBootstrapperError"],["impl From<Error> for ServerBootstrapperError"],["impl From<DbInserterError> for DbBuilderError"],["impl From<Error> for Error"],["impl From<VarError> for DbBuilderError"],["impl From<ConnectionError> for DbBuilderError"],["impl From<SnapshotInfo> for VotingPower"],["impl From<RawSnapshot> for RepsVotersAssigner"],["impl From<DbBuilderError> for ServerBootstrapperError"],["impl From<RawSnapshot> for RawSnapshotUpdater"],["impl From<&ServiceSettings> for RestClient"],["impl From<Error> for Error"]], -"vitup":[["impl From<Error> for Error"],["impl From<VitupRest> for VitupAdminRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ChallengeError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DiscoverArchiveByFileError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ReviewError"],["impl From<MockClientError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for ProposalError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<ParseError> for Error"],["impl From<Block0Error> for Error"],["impl From<ScanError> for Error"],["impl From<GlobError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<Error> for Error"],["impl From<i32> for FundInfo"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Parse> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<ReviewError> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for ReviewError"],["impl From<ProposalError> for Error"],["impl From<ServerBootstrapperError> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<VitupRest> for VitupDisruptionRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<&TempDir> for DeploymentTree"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseFloatError> for Error"],["impl From<Error> for ProposalError"],["impl From<TemplateLoad> for Error"],["impl From<VoteBlockchainTime> for VoteTime"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for ChallengeError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DbBuilderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for CheckError"],["impl From<TemplateLoad> for Error"],["impl From<Error> for ChallengeError"],["impl From<CheckError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ProposalError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<WalletError> for Error"]], +"vitup":[["impl From<Error> for Error"],["impl From<VitupRest> for VitupAdminRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ChallengeError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DiscoverArchiveByFileError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ReviewError"],["impl From<MockClientError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for ProposalError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<ParseError> for Error"],["impl From<Block0Error> for Error"],["impl From<ScanError> for Error"],["impl From<GlobError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<Error> for Error"],["impl From<i32> for FundInfo"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Parse> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<ReviewError> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for ReviewError"],["impl From<ProposalError> for Error"],["impl From<ServerBootstrapperError> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<VitupRest> for VitupDisruptionRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<&TempDir> for DeploymentTree"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseFloatError> for Error"],["impl From<Error> for ProposalError"],["impl From<TemplateLoad> for Error"],["impl From<VoteBlockchainTime> for VoteTime"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for ChallengeError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DbBuilderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for CheckError"],["impl From<TemplateLoad> for Error"],["impl From<Error> for ChallengeError"],["impl From<CheckError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ProposalError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<WalletError> for Error"]], "voting_tools_rs":[["impl From<&str> for DbUser"],["impl From<&str> for StakePubKey"],["impl From<&str> for DbHost"],["impl From<Bytes<HexString>> for RewardsAddress"],["impl From<u64> for VotingPurpose"],["impl From<String> for DbUser"],["impl From<u64> for SlotNo"],["impl From<u64> for Nonce"],["impl From<String> for DbHost"],["impl From<String> for DbName"],["impl From<InMemoryDbSync> for MockDbProvider"],["impl From<PubKey> for VotingKeyHex"],["impl From<String> for StakeAddr"],["impl From<NetworkId> for OsStr"],["impl From<PubKey> for StakeKeyHex"],["impl From<&str> for StakeAddr"],["impl From<&str> for DbName"],["impl From<u64> for TxId"],["impl From<String> for StakePubKey"],["impl From<VotingPurpose> for OsStr"]], "wallet":[["impl From<String> for ScrubbedBytes"],["impl From<Vec<u8, Global>> for ScrubbedBytes"],["impl From<Error> for Error"]], "wallet_core":[["impl From<BlockDate> for BlockDate"],["impl From<BlockDate> for BlockDate"],["impl From<Error> for Result"],["impl From<Result<(), Error>> for Result"],["impl From<TimeEra> for TimeEra"]], diff --git a/tally-community-tool/06_rust_api/rust/doc/integration_tests/enum.Error.html b/tally-community-tool/06_rust_api/rust/doc/integration_tests/enum.Error.html index 3d7e8a242b..f353cbc6a0 100644 --- a/tally-community-tool/06_rust_api/rust/doc/integration_tests/enum.Error.html +++ b/tally-community-tool/06_rust_api/rust/doc/integration_tests/enum.Error.html @@ -1,9 +1,9 @@ Error in integration_tests - Rust
pub enum Error {
     VitupError(Error),
     VerificationError(VerificationError),
-    FragmentSenderError(FragmentSenderError),
+    FragmentSenderError(FragmentSenderError),
     IapyxError(ControllerError),
-}

Variants§

§

VitupError(Error)

§

VerificationError(VerificationError)

§

FragmentSenderError(FragmentSenderError)

§

IapyxError(ControllerError)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ControllerError> for Error

source§

fn from(source: ControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VerificationError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Variants§

§

VitupError(Error)

§

VerificationError(VerificationError)

§

FragmentSenderError(FragmentSenderError)

§

IapyxError(ControllerError)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ControllerError> for Error

source§

fn from(source: ControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VerificationError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html index 5c8c8a1e51..9efd871ab6 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html @@ -1,11 +1,11 @@ ActorsTestContext in jormungandr_integration_tests::context - Rust
pub struct ActorsTestContext {
     pub(crate) test_context: TestContext,
-    pub(crate) alice: Option<Wallet>,
-    pub(crate) bob: Option<Wallet>,
-}

Fields§

§test_context: TestContext§alice: Option<Wallet>§bob: Option<Wallet>

Implementations§

source§

impl ActorsTestContext

source

pub(crate) fn start_node( + pub(crate) alice: Option<Wallet>, + pub(crate) bob: Option<Wallet>, +}

Fields§

§test_context: TestContext§alice: Option<Wallet>§bob: Option<Wallet>

Implementations§

source§

impl ActorsTestContext

source

pub(crate) fn start_node( &self, temp_dir: TempDir -) -> Result<JormungandrProcess, StartupError>

source

pub(crate) fn block0_config(&self) -> Block0Configuration

source

pub fn alice(&self) -> Wallet

source

pub(crate) fn bob(&self) -> Wallet

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> Result<JormungandrProcess, StartupError>

source

pub(crate) fn block0_config(&self) -> Block0Configuration

source

pub fn alice(&self) -> Wallet

source

pub(crate) fn bob(&self) -> Wallet

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html index 54e0e49607..b6a30aa64c 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html @@ -1 +1 @@ -create_new_account_address in jormungandr_integration_tests::startup - Rust
pub fn create_new_account_address() -> Wallet
\ No newline at end of file +create_new_account_address in jormungandr_integration_tests::startup - Rust
pub fn create_new_account_address() -> Wallet
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html index 275a0e0d1f..fcf103cb18 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html @@ -1 +1 @@ -create_new_delegation_address in jormungandr_integration_tests::startup - Rust
pub fn create_new_delegation_address() -> Wallet
\ No newline at end of file +create_new_delegation_address in jormungandr_integration_tests::startup - Rust
pub fn create_new_delegation_address() -> Wallet
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html index 082b662191..3436a1b7e8 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html @@ -1,3 +1,3 @@ create_new_delegation_address_for in jormungandr_integration_tests::startup - Rust
pub fn create_new_delegation_address_for(
     delegation_identifier: &Identifier<Ed25519>
-) -> Wallet
\ No newline at end of file +) -> Wallet
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html index 87bba6c4ca..46692504e3 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html @@ -1 +1 @@ -create_new_utxo_address in jormungandr_integration_tests::startup - Rust
pub fn create_new_utxo_address() -> Wallet
\ No newline at end of file +create_new_utxo_address in jormungandr_integration_tests::startup - Rust
pub fn create_new_utxo_address() -> Wallet
\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html index a66f510b78..9e432e30db 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html @@ -1,6 +1,6 @@ start_stake_pool in jormungandr_integration_tests::startup - Rust
pub fn start_stake_pool(
-    owners: &[Wallet],
-    initial_funds: &[Wallet],
+    owners: &[Wallet],
+    initial_funds: &[Wallet],
     block0_config: Block0ConfigurationBuilder,
     node_config_builder: NodeConfigBuilder
-) -> Result<(JormungandrProcess, Vec<StakePool>), StartupError>
\ No newline at end of file +) -> Result<(JormungandrProcess, Vec<StakePool>), StartupError>

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html index c2b7db29cb..079371bd4c 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html @@ -1,8 +1,8 @@ ActorsTestBootstrapper in jormungandr_integration_tests::startup - Rust
pub struct ActorsTestBootstrapper {
     bootstrapper: SingleNodeTestBootstrapper,
-    alice: Option<Wallet>,
-    bob: Option<Wallet>,
-}

Fields§

§bootstrapper: SingleNodeTestBootstrapper§alice: Option<Wallet>§bob: Option<Wallet>

Implementations§

Trait Implementations§

source§

impl Default for ActorsTestBootstrapper

source§

fn default() -> ActorsTestBootstrapper

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + alice: Option<Wallet>, + bob: Option<Wallet>, +}

Fields§

§bootstrapper: SingleNodeTestBootstrapper§alice: Option<Wallet>§bob: Option<Wallet>

Implementations§

Trait Implementations§

source§

impl Default for ActorsTestBootstrapper

source§

fn default() -> ActorsTestBootstrapper

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html index 583e94c952..f253660647 100644 --- a/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html +++ b/tally-community-tool/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html @@ -3,7 +3,7 @@ node_config_builder: NodeConfigBuilder, secret: Option<SecretModelFactory>, reward_history: bool, -}

Fields§

§block0_builder: Block0ConfigurationBuilder§node_config_builder: NodeConfigBuilder§secret: Option<SecretModelFactory>§reward_history: bool

Implementations§

source§

impl SingleNodeTestBootstrapper

source

pub fn with_rewards_history(self) -> Self

source

pub fn with_node_config(self, node_config: NodeConfigBuilder) -> Self

source

pub fn with_bft_secret(self, secret_key: SigningKey<Ed25519>) -> Self

source

pub fn as_bft_leader(self) -> Self

source

pub fn as_genesis_praos_stake_pool(self, stake_pool: &StakePool) -> Self

source

pub fn with_block0_config(self, config: Block0ConfigurationBuilder) -> Self

source

pub fn build(self) -> TestContext

Trait Implementations§

source§

impl Default for SingleNodeTestBootstrapper

source§

fn default() -> SingleNodeTestBootstrapper

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§block0_builder: Block0ConfigurationBuilder§node_config_builder: NodeConfigBuilder§secret: Option<SecretModelFactory>§reward_history: bool

Implementations§

source§

impl SingleNodeTestBootstrapper

source

pub fn with_rewards_history(self) -> Self

source

pub fn with_node_config(self, node_config: NodeConfigBuilder) -> Self

source

pub fn with_bft_secret(self, secret_key: SigningKey<Ed25519>) -> Self

source

pub fn as_bft_leader(self) -> Self

source

pub fn as_genesis_praos_stake_pool(self, stake_pool: &StakePool) -> Self

source

pub fn with_block0_config(self, config: Block0ConfigurationBuilder) -> Self

source

pub fn build(self) -> TestContext

Trait Implementations§

source§

impl Default for SingleNodeTestBootstrapper

source§

fn default() -> SingleNodeTestBootstrapper

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html b/tally-community-tool/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html index 71dc176205..f50ebf6659 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html @@ -5,14 +5,14 @@ block: Hash, logs: Vec<String>, }, - FragmentBuilderError(FragmentBuilderError), + FragmentBuilderError(FragmentBuilderError), SendFragmentError(FragmentNodeError), - FragmentVerifierError(FragmentVerifierError), - FragmentExporterError(FragmentExporterError), + FragmentVerifierError(FragmentVerifierError), + FragmentExporterError(FragmentExporterError), SyncNodeError(SyncNodeError), }
Expand description

Send malformed transactions Only supports account based wallets

-

Variants§

§

FragmentNotRejected

Fields

§alias: String
§block: Hash
§logs: Vec<String>
§

FragmentBuilderError(FragmentBuilderError)

§

SendFragmentError(FragmentNodeError)

§

FragmentVerifierError(FragmentVerifierError)

§

FragmentExporterError(FragmentExporterError)

§

SyncNodeError(SyncNodeError)

Implementations§

source§

impl AdversaryFragmentSenderError

source

pub fn logs(&self) -> impl Iterator<Item = &str>

Trait Implementations§

source§

impl Debug for AdversaryFragmentSenderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AdversaryFragmentSenderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AdversaryFragmentSenderError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<FragmentBuilderError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentBuilderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentExporterError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentExporterError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentNodeError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentNodeError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<SyncNodeError> for AdversaryFragmentSenderError

source§

fn from(source: SyncNodeError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Variants§

§

FragmentNotRejected

Fields

§alias: String
§block: Hash
§logs: Vec<String>
§

FragmentBuilderError(FragmentBuilderError)

§

SendFragmentError(FragmentNodeError)

§

FragmentVerifierError(FragmentVerifierError)

§

FragmentExporterError(FragmentExporterError)

§

SyncNodeError(SyncNodeError)

Implementations§

source§

impl AdversaryFragmentSenderError

source

pub fn logs(&self) -> impl Iterator<Item = &str>

Trait Implementations§

source§

impl Debug for AdversaryFragmentSenderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AdversaryFragmentSenderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AdversaryFragmentSenderError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<FragmentBuilderError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentBuilderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentExporterError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentExporterError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentNodeError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentNodeError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<SyncNodeError> for AdversaryFragmentSenderError

source§

fn from(source: SyncNodeError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html b/tally-community-tool/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html index 6f53fa68fb..068fe4146e 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html @@ -19,8 +19,8 @@ server: Option<MockController> ) -> Self

source

pub fn fragment_sender<'a, S: SyncNode + Send>( &self, - setup: FragmentSenderSetup<'a, S> -) -> FragmentSender<'a, S>

source

pub fn alias(&self) -> NodeAlias

source

pub fn address(&self) -> SocketAddr

source

pub fn fees(&self) -> LinearFee

source

pub fn genesis_block_hash(&self) -> Hash

source

pub fn block0_configuration(&self) -> Block0Configuration

source

fn p2p_public_addr(&self) -> SocketAddr

source

pub fn to_trusted_peer(&self) -> TrustedPeer

source

pub fn steal_temp_dir(&mut self) -> Option<TestingDirectory>

source

pub fn send_block_to_peer( + setup: FragmentSenderSetup<'a, S> +) -> FragmentSender<'a, S>

source

pub fn alias(&self) -> NodeAlias

source

pub fn address(&self) -> SocketAddr

source

pub fn fees(&self) -> LinearFee

source

pub fn genesis_block_hash(&self) -> Hash

source

pub fn block0_configuration(&self) -> Block0Configuration

source

fn p2p_public_addr(&self) -> SocketAddr

source

pub fn to_trusted_peer(&self) -> TrustedPeer

source

pub fn steal_temp_dir(&mut self) -> Option<TestingDirectory>

source

pub fn send_block_to_peer( &mut self, peer: SocketAddr, block: Block diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html b/tally-community-tool/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html index f104bf432a..e69b59c9bd 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html @@ -5,14 +5,14 @@ block: Hash, logs: Vec<String>, }, - FragmentBuilderError(FragmentBuilderError), + FragmentBuilderError(FragmentBuilderError), SendFragmentError(FragmentNodeError), - FragmentVerifierError(FragmentVerifierError), - FragmentExporterError(FragmentExporterError), + FragmentVerifierError(FragmentVerifierError), + FragmentExporterError(FragmentExporterError), SyncNodeError(SyncNodeError), }
Expand description

Send malformed transactions Only supports account based wallets

-

Variants§

§

FragmentNotRejected

Fields

§alias: String
§block: Hash
§logs: Vec<String>
§

FragmentBuilderError(FragmentBuilderError)

§

SendFragmentError(FragmentNodeError)

§

FragmentVerifierError(FragmentVerifierError)

§

FragmentExporterError(FragmentExporterError)

§

SyncNodeError(SyncNodeError)

Implementations§

source§

impl AdversaryFragmentSenderError

source

pub fn logs(&self) -> impl Iterator<Item = &str>

Trait Implementations§

source§

impl Debug for AdversaryFragmentSenderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AdversaryFragmentSenderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AdversaryFragmentSenderError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<FragmentBuilderError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentBuilderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentExporterError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentExporterError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentNodeError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentNodeError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<SyncNodeError> for AdversaryFragmentSenderError

source§

fn from(source: SyncNodeError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Variants§

§

FragmentNotRejected

Fields

§alias: String
§block: Hash
§logs: Vec<String>
§

FragmentBuilderError(FragmentBuilderError)

§

SendFragmentError(FragmentNodeError)

§

FragmentVerifierError(FragmentVerifierError)

§

FragmentExporterError(FragmentExporterError)

§

SyncNodeError(SyncNodeError)

Implementations§

source§

impl AdversaryFragmentSenderError

source

pub fn logs(&self) -> impl Iterator<Item = &str>

Trait Implementations§

source§

impl Debug for AdversaryFragmentSenderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AdversaryFragmentSenderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for AdversaryFragmentSenderError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<FragmentBuilderError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentBuilderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentExporterError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentExporterError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentNodeError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentNodeError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for AdversaryFragmentSenderError

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<SyncNodeError> for AdversaryFragmentSenderError

source§

fn from(source: SyncNodeError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html b/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html index 8b3c93dbd0..83669d9707 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html @@ -2,8 +2,8 @@ block0_hash: Hash, fees: LinearFee, setup: AdversaryFragmentSenderSetup<'a, S>, - expiry_generator: BlockDateGenerator, -}

Fields§

§block0_hash: Hash§fees: LinearFee§setup: AdversaryFragmentSenderSetup<'a, S>§expiry_generator: BlockDateGenerator

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>

source

pub fn try_from_jormungandr( + expiry_generator: BlockDateGenerator, +}

Fields§

§block0_hash: Hash§fees: LinearFee§setup: AdversaryFragmentSenderSetup<'a, S>§expiry_generator: BlockDateGenerator

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>

source

pub fn try_from_jormungandr( process: &JormungandrProcess, block0: BlockDate, setup: AdversaryFragmentSenderSetup<'a, S> @@ -14,46 +14,46 @@ ) -> Self

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>

source

pub fn new( block0_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator, + expiry_generator: BlockDateGenerator, setup: AdversaryFragmentSenderSetup<'a, S> ) -> Self

source

pub fn block0_hash(&self) -> Hash

source

pub fn fees(&self) -> LinearFee

source

pub fn send_random_faulty_transaction<A: FragmentNode + SyncNode + Sized + Send>( &self, - from: &mut Wallet, - to: &Wallet, + from: &mut Wallet, + to: &Wallet, via: &A -) -> Result<MemPoolCheck, AdversaryFragmentSenderError>

source

fn random_faulty_transaction(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn send_transactions_with_invalid_counter<A: FragmentNode + SyncNode + Sized + Send>( +) -> Result<MemPoolCheck, AdversaryFragmentSenderError>

source

fn random_faulty_transaction(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn send_transactions_with_invalid_counter<A: FragmentNode + SyncNode + Sized + Send>( &self, n: usize, - from: &mut Wallet, - to: &Wallet, + from: &mut Wallet, + to: &Wallet, via: &A ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

pub fn send_all_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>( &self, - from: &mut Wallet, - to: &Wallet, + from: &mut Wallet, + to: &Wallet, via: &A ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

pub fn send_faulty_full_delegation<A: FragmentNode + SyncNode + Sized + Send>( &self, valid_until: BlockDate, - from: &mut Wallet, + from: &mut Wallet, to: PoolId, via: &A ) -> Result<MemPoolCheck, AdversaryFragmentSenderError>

source

fn random_faulty_cert( &self, - from: &Wallet, + from: &Wallet, valid_until: BlockDate, cert: Certificate -) -> Result<Fragment, FragmentBuilderError>

source

pub fn send_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>( +) -> Result<Fragment, FragmentBuilderError>

source

pub fn send_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>( &self, n: u32, - wallet1: &mut Wallet, - wallet2: &Wallet, + wallet1: &mut Wallet, + wallet2: &Wallet, node: &A ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

pub fn send_faulty_transactions_with_iteration_delay<A: FragmentNode + SyncNode + Sized + Send>( &self, n: u32, - wallet1: &mut Wallet, - wallet2: &Wallet, + wallet1: &mut Wallet, + wallet2: &Wallet, node: &A, duration: Duration ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

fn verify<A: FragmentNode + SyncNode + Sized + Send>( @@ -62,7 +62,7 @@ node: &A ) -> Result<(), AdversaryFragmentSenderError>

source

fn dump_fragment_if_enabled( &self, - sender: &Wallet, + sender: &Wallet, fragment: &Fragment, via: &dyn FragmentNode ) -> Result<(), AdversaryFragmentSenderError>

source

pub fn send_fragment<A: FragmentNode + SyncNode + Sized + Send>( diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html b/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html index 4f3c304797..46a84eb5da 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html @@ -2,7 +2,7 @@ pub verify: bool, pub sync_nodes: Vec<&'a A>, pub dump_fragments: Option<PathBuf>, -}

Fields§

§verify: bool§sync_nodes: Vec<&'a A>§dump_fragments: Option<PathBuf>

Implementations§

source§

impl<'a, A: SyncNode + Send> AdversaryFragmentSenderSetup<'a, A>

source

pub fn sync_before(nodes: Vec<&'a A>) -> Self

source

pub fn verify(&self) -> bool

source

pub fn no_sync_nodes(&self) -> bool

source

pub fn sync_nodes(&self) -> Vec<&'a A>

source§

impl<'a> AdversaryFragmentSenderSetup<'a, DummySyncNode>

source

pub fn no_verify() -> Self

source

pub fn with_verify() -> Self

source

pub fn dump_into(path: PathBuf, verify: bool) -> Self

Trait Implementations§

source§

impl<'a, A: Clone + SyncNode + Send> Clone for AdversaryFragmentSenderSetup<'a, A>

source§

fn clone(&self) -> AdversaryFragmentSenderSetup<'a, A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a, A> RefUnwindSafe for AdversaryFragmentSenderSetup<'a, A>where +}

Fields§

§verify: bool§sync_nodes: Vec<&'a A>§dump_fragments: Option<PathBuf>

Implementations§

source§

impl<'a, A: SyncNode + Send> AdversaryFragmentSenderSetup<'a, A>

source

pub fn sync_before(nodes: Vec<&'a A>) -> Self

source

pub fn verify(&self) -> bool

source

pub fn no_sync_nodes(&self) -> bool

source

pub fn sync_nodes(&self) -> Vec<&'a A>

source§

impl<'a> AdversaryFragmentSenderSetup<'a, DummySyncNode>

source

pub fn no_verify() -> Self

source

pub fn with_verify() -> Self

source

pub fn dump_into(path: PathBuf, verify: bool) -> Self

Trait Implementations§

source§

impl<'a, A: Clone + SyncNode + Send> Clone for AdversaryFragmentSenderSetup<'a, A>

source§

fn clone(&self) -> AdversaryFragmentSenderSetup<'a, A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a, A> RefUnwindSafe for AdversaryFragmentSenderSetup<'a, A>where A: RefUnwindSafe,

§

impl<'a, A> Send for AdversaryFragmentSenderSetup<'a, A>where A: Sync,

§

impl<'a, A> Sync for AdversaryFragmentSenderSetup<'a, A>where A: Sync,

§

impl<'a, A> Unpin for AdversaryFragmentSenderSetup<'a, A>

§

impl<'a, A> UnwindSafe for AdversaryFragmentSenderSetup<'a, A>where diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html b/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html index 981750c93b..db24bd670f 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html @@ -1,12 +1,12 @@ FaultyTransactionBuilder in loki::sender - Rust
pub struct FaultyTransactionBuilder {
     block0_hash: Hash,
     fees: LinearFee,
-    expiry_generator: BlockDateGenerator,
-}

Fields§

§block0_hash: Hash§fees: LinearFee§expiry_generator: BlockDateGenerator

Implementations§

source§

impl FaultyTransactionBuilder

source

pub fn from_settings(settings: SettingsDto, block_date: BlockDate) -> Self

source§

impl FaultyTransactionBuilder

source

pub fn new( + expiry_generator: BlockDateGenerator, +}

Fields§

§block0_hash: Hash§fees: LinearFee§expiry_generator: BlockDateGenerator

Implementations§

source§

impl FaultyTransactionBuilder

source

pub fn from_settings(settings: SettingsDto, block_date: BlockDate) -> Self

source§

impl FaultyTransactionBuilder

source

pub fn new( block0_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator -) -> Self

source

pub fn wrong_block0_hash(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_witnesses(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_input(&self, to: &Wallet) -> Fragment

source

pub fn no_output(&self, from: &Wallet) -> Fragment

source

pub fn unbalanced(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn empty(&self) -> Fragment

source

pub fn wrong_counter(&self, from: &Wallet, to: &Wallet) -> Fragment

source

fn transaction_to<F: Fn(&TransactionSignDataHash) -> Vec<Witness>>( + expiry_generator: BlockDateGenerator +) -> Self

source

pub fn wrong_block0_hash(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_witnesses(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_input(&self, to: &Wallet) -> Fragment

source

pub fn no_output(&self, from: &Wallet) -> Fragment

source

pub fn unbalanced(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn empty(&self) -> Fragment

source

pub fn wrong_counter(&self, from: &Wallet, to: &Wallet) -> Fragment

source

fn transaction_to<F: Fn(&TransactionSignDataHash) -> Vec<Witness>>( &self, inputs: &[Input], outputs: &[OutputAddress], diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html b/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html index 480e367a2f..b3845e6767 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html @@ -2,8 +2,8 @@ block0_hash: Hash, fees: LinearFee, setup: AdversaryFragmentSenderSetup<'a, S>, - expiry_generator: BlockDateGenerator, -}

Fields§

§block0_hash: Hash§fees: LinearFee§setup: AdversaryFragmentSenderSetup<'a, S>§expiry_generator: BlockDateGenerator

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>

source

pub fn try_from_jormungandr( + expiry_generator: BlockDateGenerator, +}

Fields§

§block0_hash: Hash§fees: LinearFee§setup: AdversaryFragmentSenderSetup<'a, S>§expiry_generator: BlockDateGenerator

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>

source

pub fn try_from_jormungandr( process: &JormungandrProcess, block0: BlockDate, setup: AdversaryFragmentSenderSetup<'a, S> @@ -14,46 +14,46 @@ ) -> Self

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>

source

pub fn new( block0_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator, + expiry_generator: BlockDateGenerator, setup: AdversaryFragmentSenderSetup<'a, S> ) -> Self

source

pub fn block0_hash(&self) -> Hash

source

pub fn fees(&self) -> LinearFee

source

pub fn send_random_faulty_transaction<A: FragmentNode + SyncNode + Sized + Send>( &self, - from: &mut Wallet, - to: &Wallet, + from: &mut Wallet, + to: &Wallet, via: &A -) -> Result<MemPoolCheck, AdversaryFragmentSenderError>

source

fn random_faulty_transaction(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn send_transactions_with_invalid_counter<A: FragmentNode + SyncNode + Sized + Send>( +) -> Result<MemPoolCheck, AdversaryFragmentSenderError>

source

fn random_faulty_transaction(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn send_transactions_with_invalid_counter<A: FragmentNode + SyncNode + Sized + Send>( &self, n: usize, - from: &mut Wallet, - to: &Wallet, + from: &mut Wallet, + to: &Wallet, via: &A ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

pub fn send_all_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>( &self, - from: &mut Wallet, - to: &Wallet, + from: &mut Wallet, + to: &Wallet, via: &A ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

pub fn send_faulty_full_delegation<A: FragmentNode + SyncNode + Sized + Send>( &self, valid_until: BlockDate, - from: &mut Wallet, + from: &mut Wallet, to: PoolId, via: &A ) -> Result<MemPoolCheck, AdversaryFragmentSenderError>

source

fn random_faulty_cert( &self, - from: &Wallet, + from: &Wallet, valid_until: BlockDate, cert: Certificate -) -> Result<Fragment, FragmentBuilderError>

source

pub fn send_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>( +) -> Result<Fragment, FragmentBuilderError>

source

pub fn send_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>( &self, n: u32, - wallet1: &mut Wallet, - wallet2: &Wallet, + wallet1: &mut Wallet, + wallet2: &Wallet, node: &A ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

pub fn send_faulty_transactions_with_iteration_delay<A: FragmentNode + SyncNode + Sized + Send>( &self, n: u32, - wallet1: &mut Wallet, - wallet2: &Wallet, + wallet1: &mut Wallet, + wallet2: &Wallet, node: &A, duration: Duration ) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>

source

fn verify<A: FragmentNode + SyncNode + Sized + Send>( @@ -62,7 +62,7 @@ node: &A ) -> Result<(), AdversaryFragmentSenderError>

source

fn dump_fragment_if_enabled( &self, - sender: &Wallet, + sender: &Wallet, fragment: &Fragment, via: &dyn FragmentNode ) -> Result<(), AdversaryFragmentSenderError>

source

pub fn send_fragment<A: FragmentNode + SyncNode + Sized + Send>( diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html b/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html index d5a1c426df..e28dbbf96a 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html @@ -2,7 +2,7 @@ pub verify: bool, pub sync_nodes: Vec<&'a A>, pub dump_fragments: Option<PathBuf>, -}

Fields§

§verify: bool§sync_nodes: Vec<&'a A>§dump_fragments: Option<PathBuf>

Implementations§

source§

impl<'a, A: SyncNode + Send> AdversaryFragmentSenderSetup<'a, A>

source

pub fn sync_before(nodes: Vec<&'a A>) -> Self

source

pub fn verify(&self) -> bool

source

pub fn no_sync_nodes(&self) -> bool

source

pub fn sync_nodes(&self) -> Vec<&'a A>

source§

impl<'a> AdversaryFragmentSenderSetup<'a, DummySyncNode>

source

pub fn no_verify() -> Self

source

pub fn with_verify() -> Self

source

pub fn dump_into(path: PathBuf, verify: bool) -> Self

Trait Implementations§

source§

impl<'a, A: Clone + SyncNode + Send> Clone for AdversaryFragmentSenderSetup<'a, A>

source§

fn clone(&self) -> AdversaryFragmentSenderSetup<'a, A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a, A> RefUnwindSafe for AdversaryFragmentSenderSetup<'a, A>where +}

Fields§

§verify: bool§sync_nodes: Vec<&'a A>§dump_fragments: Option<PathBuf>

Implementations§

source§

impl<'a, A: SyncNode + Send> AdversaryFragmentSenderSetup<'a, A>

source

pub fn sync_before(nodes: Vec<&'a A>) -> Self

source

pub fn verify(&self) -> bool

source

pub fn no_sync_nodes(&self) -> bool

source

pub fn sync_nodes(&self) -> Vec<&'a A>

source§

impl<'a> AdversaryFragmentSenderSetup<'a, DummySyncNode>

source

pub fn no_verify() -> Self

source

pub fn with_verify() -> Self

source

pub fn dump_into(path: PathBuf, verify: bool) -> Self

Trait Implementations§

source§

impl<'a, A: Clone + SyncNode + Send> Clone for AdversaryFragmentSenderSetup<'a, A>

source§

fn clone(&self) -> AdversaryFragmentSenderSetup<'a, A>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

§

impl<'a, A> RefUnwindSafe for AdversaryFragmentSenderSetup<'a, A>where A: RefUnwindSafe,

§

impl<'a, A> Send for AdversaryFragmentSenderSetup<'a, A>where A: Sync,

§

impl<'a, A> Sync for AdversaryFragmentSenderSetup<'a, A>where A: Sync,

§

impl<'a, A> Unpin for AdversaryFragmentSenderSetup<'a, A>

§

impl<'a, A> UnwindSafe for AdversaryFragmentSenderSetup<'a, A>where diff --git a/tally-community-tool/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html b/tally-community-tool/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html index 87e78a4556..61b03b43a6 100644 --- a/tally-community-tool/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html +++ b/tally-community-tool/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html @@ -1,12 +1,12 @@ FaultyTransactionBuilder in loki - Rust
pub struct FaultyTransactionBuilder {
     block0_hash: Hash,
     fees: LinearFee,
-    expiry_generator: BlockDateGenerator,
-}

Fields§

§block0_hash: Hash§fees: LinearFee§expiry_generator: BlockDateGenerator

Implementations§

source§

impl FaultyTransactionBuilder

source

pub fn from_settings(settings: SettingsDto, block_date: BlockDate) -> Self

source§

impl FaultyTransactionBuilder

source

pub fn new( + expiry_generator: BlockDateGenerator, +}

Fields§

§block0_hash: Hash§fees: LinearFee§expiry_generator: BlockDateGenerator

Implementations§

source§

impl FaultyTransactionBuilder

source

pub fn from_settings(settings: SettingsDto, block_date: BlockDate) -> Self

source§

impl FaultyTransactionBuilder

source

pub fn new( block0_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator -) -> Self

source

pub fn wrong_block0_hash(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_witnesses(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_input(&self, to: &Wallet) -> Fragment

source

pub fn no_output(&self, from: &Wallet) -> Fragment

source

pub fn unbalanced(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn empty(&self) -> Fragment

source

pub fn wrong_counter(&self, from: &Wallet, to: &Wallet) -> Fragment

source

fn transaction_to<F: Fn(&TransactionSignDataHash) -> Vec<Witness>>( + expiry_generator: BlockDateGenerator +) -> Self

source

pub fn wrong_block0_hash(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_witnesses(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn no_input(&self, to: &Wallet) -> Fragment

source

pub fn no_output(&self, from: &Wallet) -> Fragment

source

pub fn unbalanced(&self, from: &Wallet, to: &Wallet) -> Fragment

source

pub fn empty(&self) -> Fragment

source

pub fn wrong_counter(&self, from: &Wallet, to: &Wallet) -> Fragment

source

fn transaction_to<F: Fn(&TransactionSignDataHash) -> Vec<Witness>>( &self, inputs: &[Input], outputs: &[OutputAddress], diff --git a/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html b/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html index 0b584bac63..8ea275db21 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html +++ b/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html @@ -1,11 +1,11 @@ CardanoWallet in mainnet_lib - Rust
pub struct CardanoWallet {
-    catalyst: Wallet,
+    catalyst: Wallet,
     stake_key: PrivateKey,
     payment_key: PrivateKey,
     network: NetworkInfo,
     stake: u64,
 }
Expand description

Represents Cardano mainnet wallet which is able to generate registration transaction metadata

-

Fields§

§catalyst: Wallet§stake_key: PrivateKey§payment_key: PrivateKey§network: NetworkInfo§stake: u64

Implementations§

source§

impl CardanoWallet

source

pub fn new(stake: u64) -> Self

Creates new wallet with given ada. Currently wallet is purely used for testing purposes, +

Fields§

§catalyst: Wallet§stake_key: PrivateKey§payment_key: PrivateKey§network: NetworkInfo§stake: u64

Implementations§

source§

impl CardanoWallet

source

pub fn new(stake: u64) -> Self

Creates new wallet with given ada. Currently wallet is purely used for testing purposes, therefore we treat stake as arbitrary number not connected to any blockchain state.

Panics

Panics on key generation error

diff --git a/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html b/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html index f3617c7f94..7dd8477dbe 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html +++ b/tally-community-tool/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html @@ -1,11 +1,11 @@ CardanoWallet in mainnet_lib::wallet - Rust
pub struct CardanoWallet {
-    catalyst: Wallet,
+    catalyst: Wallet,
     stake_key: PrivateKey,
     payment_key: PrivateKey,
     network: NetworkInfo,
     stake: u64,
 }
Expand description

Represents Cardano mainnet wallet which is able to generate registration transaction metadata

-

Fields§

§catalyst: Wallet§stake_key: PrivateKey§payment_key: PrivateKey§network: NetworkInfo§stake: u64

Implementations§

source§

impl CardanoWallet

source

pub fn new(stake: u64) -> Self

Creates new wallet with given ada. Currently wallet is purely used for testing purposes, +

Fields§

§catalyst: Wallet§stake_key: PrivateKey§payment_key: PrivateKey§network: NetworkInfo§stake: u64

Implementations§

source§

impl CardanoWallet

source

pub fn new(stake: u64) -> Self

Creates new wallet with given ada. Currently wallet is purely used for testing purposes, therefore we treat stake as arbitrary number not connected to any blockchain state.

Panics

Panics on key generation error

diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html index 66a0f9016d..2e7a23d9b2 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html @@ -1,16 +1,16 @@ AdversaryFragmentGenerator in mjolnir::mjolnir_lib::generators::adversary_generator - Rust
pub struct AdversaryFragmentGenerator<'a, S: SyncNode + Send> {
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     jormungandr: RemoteJormungandr,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     adversary_fragment_sender: AdversaryFragmentSender<'a, S>,
     rand: OsRng,
     split_marker: usize,
     max_splits: usize,
-}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§adversary_fragment_sender: AdversaryFragmentSender<'a, S>§rand: OsRng§split_marker: usize§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentGenerator<'a, S>

source

pub fn new( +}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§adversary_fragment_sender: AdversaryFragmentSender<'a, S>§rand: OsRng§split_marker: usize§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentGenerator<'a, S>

source

pub fn new( jormungandr: RemoteJormungandr, - fragment_sender: FragmentSender<'a, S>, + fragment_sender: FragmentSender<'a, S>, adversary_fragment_sender: AdversaryFragmentSender<'a, S> -) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn increment_split_marker(&mut self)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> Send for AdversaryFragmentGenerator<'a, S>where +) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn increment_split_marker(&mut self)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> Send for AdversaryFragmentGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> Unpin for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for AdversaryFragmentGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html index c9454a354e..3ad1f8bea3 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html @@ -1,19 +1,19 @@ AdversaryVoteCastsGenerator in mjolnir::mjolnir_lib::generators::adversary_vote_casts_generator - Rust
pub struct AdversaryVoteCastsGenerator<'a, S: SyncNode + Send> {
-    expiry_generator: BlockDateGenerator,
-    voter: Wallet,
+    expiry_generator: BlockDateGenerator,
+    voter: Wallet,
     vote_plans: Vec<VotePlan>,
     voting_privacy: PayloadType,
     node: RemoteJormungandr,
     rand: OsRng,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     max_splits: usize,
-}

Fields§

§expiry_generator: BlockDateGenerator§voter: Wallet§vote_plans: Vec<VotePlan>§voting_privacy: PayloadType§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryVoteCastsGenerator<'a, S>

source

pub fn new( - expiry_generator: BlockDateGenerator, - voter: Wallet, +}

Fields§

§expiry_generator: BlockDateGenerator§voter: Wallet§vote_plans: Vec<VotePlan>§voting_privacy: PayloadType§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryVoteCastsGenerator<'a, S>

source

pub fn new( + expiry_generator: BlockDateGenerator, + voter: Wallet, vote_plans: Vec<VotePlan>, node: RemoteJormungandr, - fragment_sender: FragmentSender<'a, S> -) -> Self

source

fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

fn wrong_vote_plan(&self) -> Fragment

source

fn wrong_proposal_index(&self) -> Fragment

source

fn wrong_voting_privacy(&self) -> Fragment

source

fn wrong_choice(&self) -> Fragment

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> Send for AdversaryVoteCastsGenerator<'a, S>where + fragment_sender: FragmentSender<'a, S> +) -> Self

source

fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

fn wrong_vote_plan(&self) -> Fragment

source

fn wrong_proposal_index(&self) -> Fragment

source

fn wrong_voting_privacy(&self) -> Fragment

source

fn wrong_choice(&self) -> Fragment

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> Send for AdversaryVoteCastsGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> Unpin for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for AdversaryVoteCastsGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html index d706523d6b..66f42dd4e4 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html @@ -1,23 +1,23 @@ BatchFragmentGenerator in mjolnir::mjolnir_lib::generators::batch_generator - Rust
pub struct BatchFragmentGenerator<'a, S: SyncNode + Send> {
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     jormungandr: RemoteJormungandr,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     rand: OsRng,
     split_lane: SplitLaneIter,
     batch_size: u8,
-}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter§batch_size: u8

Implementations§

source§

impl<'a, S: SyncNode + Send> BatchFragmentGenerator<'a, S>

source

pub fn from_node_with_setup( - setup: FragmentSenderSetup<'a, S>, +}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter§batch_size: u8

Implementations§

source§

impl<'a, S: SyncNode + Send> BatchFragmentGenerator<'a, S>

source

pub fn from_node_with_setup( + setup: FragmentSenderSetup<'a, S>, jormungandr: &JormungandrProcess, - block_date: BlockDateGenerator, + block_date: BlockDateGenerator, batch_size: u8 ) -> Result<Self, RestError>

source§

impl<'a, S: SyncNode + Send> BatchFragmentGenerator<'a, S>

source

pub fn new( - fragment_sender_setup: FragmentSenderSetup<'a, S>, + fragment_sender_setup: FragmentSenderSetup<'a, S>, jormungandr: RemoteJormungandr, block_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator, + expiry_generator: BlockDateGenerator, batch_size: u8 -) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn generate_transaction(&mut self) -> Result<Fragment, RequestFailure>

source

pub fn batch_size(&self) -> u8

source

pub fn generate_batch_transaction( +) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn generate_transaction(&mut self) -> Result<Fragment, RequestFailure>

source

pub fn batch_size(&self) -> u8

source

pub fn generate_batch_transaction( &mut self ) -> Result<Vec<Fragment>, RequestFailure>

source

pub fn send_batch(&mut self) -> Result<Request, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for BatchFragmentGenerator<'a, S>

§

impl<'a, S> Send for BatchFragmentGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for BatchFragmentGenerator<'a, S>

§

impl<'a, S> Unpin for BatchFragmentGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for BatchFragmentGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html index 2d9392afcf..9535454599 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html @@ -1,7 +1,7 @@ FragmentGenerator in mjolnir::mjolnir_lib::generators::fragment_generator - Rust
pub struct FragmentGenerator<'a, S: SyncNode + Send> {
Show 17 fields - sender: Wallet, - receiver: Wallet, - active_stake_pools: Vec<StakePool>, + sender: Wallet, + receiver: Wallet, + active_stake_pools: Vec<StakePool>, vote_plans_for_casting: Vec<VotePlan>, vote_plans_for_tally: Vec<VotePlan>, update_proposals_for_casting: Vec<FragmentId>, @@ -10,15 +10,15 @@ rand: OsRng, vote_cast_register: Option<VoteCastCounter>, slots_per_epoch: u32, - fragment_sender: FragmentSender<'a, S>, + fragment_sender: FragmentSender<'a, S>, stake_pools_count: usize, vote_plans_for_tally_count: usize, vote_plans_for_casting_count: usize, update_proposals_for_casting_count: usize, fragment_options_count: usize, -
}

Fields§

§sender: Wallet§receiver: Wallet§active_stake_pools: Vec<StakePool>§vote_plans_for_casting: Vec<VotePlan>§vote_plans_for_tally: Vec<VotePlan>§update_proposals_for_casting: Vec<FragmentId>§bft_leader: Option<KeyPair<Ed25519>>§node: RemoteJormungandr§rand: OsRng§vote_cast_register: Option<VoteCastCounter>§slots_per_epoch: u32§fragment_sender: FragmentSender<'a, S>§stake_pools_count: usize§vote_plans_for_tally_count: usize§vote_plans_for_casting_count: usize§update_proposals_for_casting_count: usize§fragment_options_count: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> FragmentGenerator<'a, S>

source

pub fn new( - sender: Wallet, - receiver: Wallet, +

}

Fields§

§sender: Wallet§receiver: Wallet§active_stake_pools: Vec<StakePool>§vote_plans_for_casting: Vec<VotePlan>§vote_plans_for_tally: Vec<VotePlan>§update_proposals_for_casting: Vec<FragmentId>§bft_leader: Option<KeyPair<Ed25519>>§node: RemoteJormungandr§rand: OsRng§vote_cast_register: Option<VoteCastCounter>§slots_per_epoch: u32§fragment_sender: FragmentSender<'a, S>§stake_pools_count: usize§vote_plans_for_tally_count: usize§vote_plans_for_casting_count: usize§update_proposals_for_casting_count: usize§fragment_options_count: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> FragmentGenerator<'a, S>

source

pub fn new( + sender: Wallet, + receiver: Wallet, bft_leader: Option<KeyPair<Ed25519>>, node: RemoteJormungandr, slots_per_epoch: u32, @@ -26,11 +26,11 @@ vote_plans_for_tally_count: usize, vote_plans_for_casting_count: usize, update_proposals_for_casting_count: usize, - fragment_sender: FragmentSender<'a, S> -) -> Self

source

pub fn active_stake_pools(&self) -> Vec<StakePool>

source

pub fn prepare(&mut self, start_block_date: BlockDateDto)

source

pub fn send_random(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

pub fn send_all(&mut self) -> Result<Vec<MemPoolCheck>, FragmentSenderError>

source

pub fn send_one( + fragment_sender: FragmentSender<'a, S> +) -> Self

source

pub fn active_stake_pools(&self) -> Vec<StakePool>

source

pub fn prepare(&mut self, start_block_date: BlockDateDto)

source

pub fn send_random(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

pub fn send_all(&mut self) -> Result<Vec<MemPoolCheck>, FragmentSenderError>

source

pub fn send_one( &mut self, option: u8 -) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync> RequestGenerator for FragmentGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for FragmentGenerator<'a, S>

§

impl<'a, S> Send for FragmentGenerator<'a, S>where +) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync> RequestGenerator for FragmentGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for FragmentGenerator<'a, S>

§

impl<'a, S> Send for FragmentGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for FragmentGenerator<'a, S>

§

impl<'a, S> Unpin for FragmentGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for FragmentGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html index ef2fb78a33..0c267b72da 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html @@ -1,16 +1,16 @@ AdversaryFragmentGenerator in mjolnir::mjolnir_lib::generators - Rust
pub struct AdversaryFragmentGenerator<'a, S: SyncNode + Send> {
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     jormungandr: RemoteJormungandr,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     adversary_fragment_sender: AdversaryFragmentSender<'a, S>,
     rand: OsRng,
     split_marker: usize,
     max_splits: usize,
-}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§adversary_fragment_sender: AdversaryFragmentSender<'a, S>§rand: OsRng§split_marker: usize§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentGenerator<'a, S>

source

pub fn new( +}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§adversary_fragment_sender: AdversaryFragmentSender<'a, S>§rand: OsRng§split_marker: usize§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryFragmentGenerator<'a, S>

source

pub fn new( jormungandr: RemoteJormungandr, - fragment_sender: FragmentSender<'a, S>, + fragment_sender: FragmentSender<'a, S>, adversary_fragment_sender: AdversaryFragmentSender<'a, S> -) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn increment_split_marker(&mut self)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> Send for AdversaryFragmentGenerator<'a, S>where +) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn increment_split_marker(&mut self)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> Send for AdversaryFragmentGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> Unpin for AdversaryFragmentGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for AdversaryFragmentGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html index d1a40ed205..7141391d93 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html @@ -1,19 +1,19 @@ AdversaryVoteCastsGenerator in mjolnir::mjolnir_lib::generators - Rust
pub struct AdversaryVoteCastsGenerator<'a, S: SyncNode + Send> {
-    expiry_generator: BlockDateGenerator,
-    voter: Wallet,
+    expiry_generator: BlockDateGenerator,
+    voter: Wallet,
     vote_plans: Vec<VotePlan>,
     voting_privacy: PayloadType,
     node: RemoteJormungandr,
     rand: OsRng,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     max_splits: usize,
-}

Fields§

§expiry_generator: BlockDateGenerator§voter: Wallet§vote_plans: Vec<VotePlan>§voting_privacy: PayloadType§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryVoteCastsGenerator<'a, S>

source

pub fn new( - expiry_generator: BlockDateGenerator, - voter: Wallet, +}

Fields§

§expiry_generator: BlockDateGenerator§voter: Wallet§vote_plans: Vec<VotePlan>§voting_privacy: PayloadType§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§max_splits: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> AdversaryVoteCastsGenerator<'a, S>

source

pub fn new( + expiry_generator: BlockDateGenerator, + voter: Wallet, vote_plans: Vec<VotePlan>, node: RemoteJormungandr, - fragment_sender: FragmentSender<'a, S> -) -> Self

source

fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

fn wrong_vote_plan(&self) -> Fragment

source

fn wrong_proposal_index(&self) -> Fragment

source

fn wrong_voting_privacy(&self) -> Fragment

source

fn wrong_choice(&self) -> Fragment

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> Send for AdversaryVoteCastsGenerator<'a, S>where + fragment_sender: FragmentSender<'a, S> +) -> Self

source

fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

fn wrong_vote_plan(&self) -> Fragment

source

fn wrong_proposal_index(&self) -> Fragment

source

fn wrong_voting_privacy(&self) -> Fragment

source

fn wrong_choice(&self) -> Fragment

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> Send for AdversaryVoteCastsGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> Unpin for AdversaryVoteCastsGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for AdversaryVoteCastsGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html index 8fcac05e54..8f229de9e7 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html @@ -1,23 +1,23 @@ BatchFragmentGenerator in mjolnir::mjolnir_lib::generators - Rust
pub struct BatchFragmentGenerator<'a, S: SyncNode + Send> {
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     jormungandr: RemoteJormungandr,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     rand: OsRng,
     split_lane: SplitLaneIter,
     batch_size: u8,
-}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter§batch_size: u8

Implementations§

source§

impl<'a, S: SyncNode + Send> BatchFragmentGenerator<'a, S>

source

pub fn from_node_with_setup( - setup: FragmentSenderSetup<'a, S>, +}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter§batch_size: u8

Implementations§

source§

impl<'a, S: SyncNode + Send> BatchFragmentGenerator<'a, S>

source

pub fn from_node_with_setup( + setup: FragmentSenderSetup<'a, S>, jormungandr: &JormungandrProcess, - block_date: BlockDateGenerator, + block_date: BlockDateGenerator, batch_size: u8 ) -> Result<Self, RestError>

source§

impl<'a, S: SyncNode + Send> BatchFragmentGenerator<'a, S>

source

pub fn new( - fragment_sender_setup: FragmentSenderSetup<'a, S>, + fragment_sender_setup: FragmentSenderSetup<'a, S>, jormungandr: RemoteJormungandr, block_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator, + expiry_generator: BlockDateGenerator, batch_size: u8 -) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn generate_transaction(&mut self) -> Result<Fragment, RequestFailure>

source

pub fn batch_size(&self) -> u8

source

pub fn generate_batch_transaction( +) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn generate_transaction(&mut self) -> Result<Fragment, RequestFailure>

source

pub fn batch_size(&self) -> u8

source

pub fn generate_batch_transaction( &mut self ) -> Result<Vec<Fragment>, RequestFailure>

source

pub fn send_batch(&mut self) -> Result<Request, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for BatchFragmentGenerator<'a, S>

§

impl<'a, S> Send for BatchFragmentGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for BatchFragmentGenerator<'a, S>

§

impl<'a, S> Unpin for BatchFragmentGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for BatchFragmentGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html index 2e08db7979..127a7502b4 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html @@ -1,7 +1,7 @@ FragmentGenerator in mjolnir::mjolnir_lib::generators - Rust
pub struct FragmentGenerator<'a, S: SyncNode + Send> {
Show 17 fields - sender: Wallet, - receiver: Wallet, - active_stake_pools: Vec<StakePool>, + sender: Wallet, + receiver: Wallet, + active_stake_pools: Vec<StakePool>, vote_plans_for_casting: Vec<VotePlan>, vote_plans_for_tally: Vec<VotePlan>, update_proposals_for_casting: Vec<FragmentId>, @@ -10,15 +10,15 @@ rand: OsRng, vote_cast_register: Option<VoteCastCounter>, slots_per_epoch: u32, - fragment_sender: FragmentSender<'a, S>, + fragment_sender: FragmentSender<'a, S>, stake_pools_count: usize, vote_plans_for_tally_count: usize, vote_plans_for_casting_count: usize, update_proposals_for_casting_count: usize, fragment_options_count: usize, -
}

Fields§

§sender: Wallet§receiver: Wallet§active_stake_pools: Vec<StakePool>§vote_plans_for_casting: Vec<VotePlan>§vote_plans_for_tally: Vec<VotePlan>§update_proposals_for_casting: Vec<FragmentId>§bft_leader: Option<KeyPair<Ed25519>>§node: RemoteJormungandr§rand: OsRng§vote_cast_register: Option<VoteCastCounter>§slots_per_epoch: u32§fragment_sender: FragmentSender<'a, S>§stake_pools_count: usize§vote_plans_for_tally_count: usize§vote_plans_for_casting_count: usize§update_proposals_for_casting_count: usize§fragment_options_count: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> FragmentGenerator<'a, S>

source

pub fn new( - sender: Wallet, - receiver: Wallet, +

}

Fields§

§sender: Wallet§receiver: Wallet§active_stake_pools: Vec<StakePool>§vote_plans_for_casting: Vec<VotePlan>§vote_plans_for_tally: Vec<VotePlan>§update_proposals_for_casting: Vec<FragmentId>§bft_leader: Option<KeyPair<Ed25519>>§node: RemoteJormungandr§rand: OsRng§vote_cast_register: Option<VoteCastCounter>§slots_per_epoch: u32§fragment_sender: FragmentSender<'a, S>§stake_pools_count: usize§vote_plans_for_tally_count: usize§vote_plans_for_casting_count: usize§update_proposals_for_casting_count: usize§fragment_options_count: usize

Implementations§

source§

impl<'a, S: SyncNode + Send> FragmentGenerator<'a, S>

source

pub fn new( + sender: Wallet, + receiver: Wallet, bft_leader: Option<KeyPair<Ed25519>>, node: RemoteJormungandr, slots_per_epoch: u32, @@ -26,11 +26,11 @@ vote_plans_for_tally_count: usize, vote_plans_for_casting_count: usize, update_proposals_for_casting_count: usize, - fragment_sender: FragmentSender<'a, S> -) -> Self

source

pub fn active_stake_pools(&self) -> Vec<StakePool>

source

pub fn prepare(&mut self, start_block_date: BlockDateDto)

source

pub fn send_random(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

pub fn send_all(&mut self) -> Result<Vec<MemPoolCheck>, FragmentSenderError>

source

pub fn send_one( + fragment_sender: FragmentSender<'a, S> +) -> Self

source

pub fn active_stake_pools(&self) -> Vec<StakePool>

source

pub fn prepare(&mut self, start_block_date: BlockDateDto)

source

pub fn send_random(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

source

pub fn send_all(&mut self) -> Result<Vec<MemPoolCheck>, FragmentSenderError>

source

pub fn send_one( &mut self, option: u8 -) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync> RequestGenerator for FragmentGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for FragmentGenerator<'a, S>

§

impl<'a, S> Send for FragmentGenerator<'a, S>where +) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync> RequestGenerator for FragmentGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for FragmentGenerator<'a, S>

§

impl<'a, S> Send for FragmentGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for FragmentGenerator<'a, S>

§

impl<'a, S> Unpin for FragmentGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for FragmentGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html index b4db597fd0..905f6de7e2 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html @@ -1,16 +1,16 @@ TransactionGenerator in mjolnir::mjolnir_lib::generators - Rust
pub struct TransactionGenerator<'a, S: SyncNode + Send> {
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     jormungandr: RemoteJormungandr,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     rand: OsRng,
     split_lane: SplitLaneIter,
-}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter

Implementations§

source§

impl<'a, S: SyncNode + Send> TransactionGenerator<'a, S>

source

pub fn new( - fragment_sender_setup: FragmentSenderSetup<'a, S>, +}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter

Implementations§

source§

impl<'a, S: SyncNode + Send> TransactionGenerator<'a, S>

source

pub fn new( + fragment_sender_setup: FragmentSenderSetup<'a, S>, jormungandr: RemoteJormungandr, block_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator -) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for TransactionGenerator<'a, S>

§

impl<'a, S> Send for TransactionGenerator<'a, S>where + expiry_generator: BlockDateGenerator +) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for TransactionGenerator<'a, S>

§

impl<'a, S> Send for TransactionGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for TransactionGenerator<'a, S>

§

impl<'a, S> Unpin for TransactionGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for TransactionGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html index a3f6318061..5fbf34b553 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html @@ -1,17 +1,17 @@ VoteCastsGenerator in mjolnir::mjolnir_lib::generators - Rust
pub struct VoteCastsGenerator<'a, S: SyncNode + Send> {
-    voters: Vec<Wallet>,
+    voters: Vec<Wallet>,
     vote_plan: VotePlan,
     node: RemoteJormungandr,
     rand: OsRng,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     send_marker: usize,
     votes_register: VoteCastCounter,
-}

Fields§

§voters: Vec<Wallet>§vote_plan: VotePlan§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§send_marker: usize§votes_register: VoteCastCounter

Implementations§

source§

impl<'a, S: SyncNode + Send> VoteCastsGenerator<'a, S>

source

pub fn new( - voters: Vec<Wallet>, +}

Fields§

§voters: Vec<Wallet>§vote_plan: VotePlan§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§send_marker: usize§votes_register: VoteCastCounter

Implementations§

source§

impl<'a, S: SyncNode + Send> VoteCastsGenerator<'a, S>

source

pub fn new( + voters: Vec<Wallet>, vote_plan: VotePlan, node: RemoteJormungandr, - fragment_sender: FragmentSender<'a, S> -) -> Self

source

pub fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync + Clone> RequestGenerator for VoteCastsGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for VoteCastsGenerator<'a, S>

§

impl<'a, S> Send for VoteCastsGenerator<'a, S>where + fragment_sender: FragmentSender<'a, S> +) -> Self

source

pub fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync + Clone> RequestGenerator for VoteCastsGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for VoteCastsGenerator<'a, S>

§

impl<'a, S> Send for VoteCastsGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for VoteCastsGenerator<'a, S>

§

impl<'a, S> Unpin for VoteCastsGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for VoteCastsGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html index b7ca82bee5..a43bb1a7aa 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html @@ -1,16 +1,16 @@ TransactionGenerator in mjolnir::mjolnir_lib::generators::transaction_generator - Rust
pub struct TransactionGenerator<'a, S: SyncNode + Send> {
-    wallets: Vec<Wallet>,
+    wallets: Vec<Wallet>,
     jormungandr: RemoteJormungandr,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     rand: OsRng,
     split_lane: SplitLaneIter,
-}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter

Implementations§

source§

impl<'a, S: SyncNode + Send> TransactionGenerator<'a, S>

source

pub fn new( - fragment_sender_setup: FragmentSenderSetup<'a, S>, +}

Fields§

§wallets: Vec<Wallet>§jormungandr: RemoteJormungandr§fragment_sender: FragmentSender<'a, S>§rand: OsRng§split_lane: SplitLaneIter

Implementations§

source§

impl<'a, S: SyncNode + Send> TransactionGenerator<'a, S>

source

pub fn new( + fragment_sender_setup: FragmentSenderSetup<'a, S>, jormungandr: RemoteJormungandr, block_hash: Hash, fees: LinearFee, - expiry_generator: BlockDateGenerator -) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for TransactionGenerator<'a, S>

§

impl<'a, S> Send for TransactionGenerator<'a, S>where + expiry_generator: BlockDateGenerator +) -> Self

source

pub fn fill_from_faucet(&mut self, faucet: &mut Wallet)

source

pub fn send_transaction(&mut self) -> Result<FragmentId, RequestFailure>

Trait Implementations§

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for TransactionGenerator<'a, S>

§

impl<'a, S> Send for TransactionGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for TransactionGenerator<'a, S>

§

impl<'a, S> Unpin for TransactionGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for TransactionGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html index 84da7e543a..8c4ecc88ab 100644 --- a/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html +++ b/tally-community-tool/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html @@ -1,17 +1,17 @@ VoteCastsGenerator in mjolnir::mjolnir_lib::generators::vote_casts_generator - Rust
pub struct VoteCastsGenerator<'a, S: SyncNode + Send> {
-    voters: Vec<Wallet>,
+    voters: Vec<Wallet>,
     vote_plan: VotePlan,
     node: RemoteJormungandr,
     rand: OsRng,
-    fragment_sender: FragmentSender<'a, S>,
+    fragment_sender: FragmentSender<'a, S>,
     send_marker: usize,
     votes_register: VoteCastCounter,
-}

Fields§

§voters: Vec<Wallet>§vote_plan: VotePlan§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§send_marker: usize§votes_register: VoteCastCounter

Implementations§

source§

impl<'a, S: SyncNode + Send> VoteCastsGenerator<'a, S>

source

pub fn new( - voters: Vec<Wallet>, +}

Fields§

§voters: Vec<Wallet>§vote_plan: VotePlan§node: RemoteJormungandr§rand: OsRng§fragment_sender: FragmentSender<'a, S>§send_marker: usize§votes_register: VoteCastCounter

Implementations§

source§

impl<'a, S: SyncNode + Send> VoteCastsGenerator<'a, S>

source

pub fn new( + voters: Vec<Wallet>, vote_plan: VotePlan, node: RemoteJormungandr, - fragment_sender: FragmentSender<'a, S> -) -> Self

source

pub fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync + Clone> RequestGenerator for VoteCastsGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for VoteCastsGenerator<'a, S>

§

impl<'a, S> Send for VoteCastsGenerator<'a, S>where + fragment_sender: FragmentSender<'a, S> +) -> Self

source

pub fn send(&mut self) -> Result<MemPoolCheck, FragmentSenderError>

Trait Implementations§

source§

impl<'a, S: SyncNode + Send + Sync + Clone> RequestGenerator for VoteCastsGenerator<'a, S>

source§

fn next(&mut self) -> Result<Request, RequestFailure>

source§

fn split(self) -> (Self, Option<Self>)

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for VoteCastsGenerator<'a, S>

§

impl<'a, S> Send for VoteCastsGenerator<'a, S>where S: Sync,

§

impl<'a, S> !Sync for VoteCastsGenerator<'a, S>

§

impl<'a, S> Unpin for VoteCastsGenerator<'a, S>

§

impl<'a, S> !UnwindSafe for VoteCastsGenerator<'a, S>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html index d0e17ed0a9..313debf6c2 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html @@ -1,5 +1,5 @@ generate_qr_and_hashes in vitup::builders - Rust
pub fn generate_qr_and_hashes<P: AsRef<Path>>(
-    wallets: Vec<(&WalletAlias, Wallet)>,
+    wallets: Vec<(&WalletAlias, Wallet)>,
     initials: &HashMap<WalletTemplate, String>,
     parameters: &Config,
     folder: P
diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html
index 9888a39110..e8d9f42fb9 100644
--- a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html
+++ b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html
@@ -1,5 +1,5 @@
 generate_qr_and_hashes in vitup::builders::helpers::qr - Rust
pub fn generate_qr_and_hashes<P: AsRef<Path>>(
-    wallets: Vec<(&WalletAlias, Wallet)>,
+    wallets: Vec<(&WalletAlias, Wallet)>,
     initials: &HashMap<WalletTemplate, String>,
     parameters: &Config,
     folder: P
diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html
index b588ea7735..b44f20851e 100644
--- a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html
+++ b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html
@@ -2,4 +2,4 @@
     // Required methods
     fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8]);
     fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8]);
-}

Required Methods§

source

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementations on Foreign Types§

source§

impl WalletExtension for Wallet

source§

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source§

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementors§

\ No newline at end of file +}

Required Methods§

source

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementations on Foreign Types§

source§

impl WalletExtension for Wallet

source§

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source§

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementors§

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html index ffe916e499..8d57bd7292 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html @@ -2,12 +2,12 @@ split_by: usize, fund_name: String, vote_phases: VoteBlockchainTime, - committee_wallet: WalletAlias, + committee_wallet: WalletAlias, proposals_count: usize, options: u8, private: bool, voting_tokens: Vec<(Role, TokenIdentifier)>, -}

Fields§

§split_by: usize§fund_name: String§vote_phases: VoteBlockchainTime§committee_wallet: WalletAlias§proposals_count: usize§options: u8§private: bool§voting_tokens: Vec<(Role, TokenIdentifier)>

Implementations§

source§

impl VitVotePlanDefBuilder

source

pub fn vote_phases(self, vote_phases: VoteBlockchainTime) -> Self

source

pub fn options(self, options: u8) -> Self

source

pub fn split_by(self, split_by: usize) -> Self

source

pub fn fund_name(self, fund_name: String) -> Self

source

pub fn private(self, private: bool) -> Self

source

pub fn proposals_count(self, proposals_count: usize) -> Self

source

pub fn committee(self, committe_wallet: WalletAlias) -> Self

source

pub fn voting_token(self, role: Role, voting_token: TokenIdentifier) -> Self

source

pub fn voting_tokens(self, voting_tokens: Vec<(Role, TokenIdentifier)>) -> Self

source

pub fn build(self) -> Vec<VotePlanTemplate>

Trait Implementations§

source§

impl Default for VitVotePlanDefBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§split_by: usize§fund_name: String§vote_phases: VoteBlockchainTime§committee_wallet: WalletAlias§proposals_count: usize§options: u8§private: bool§voting_tokens: Vec<(Role, TokenIdentifier)>

Implementations§

source§

impl VitVotePlanDefBuilder

source

pub fn vote_phases(self, vote_phases: VoteBlockchainTime) -> Self

source

pub fn options(self, options: u8) -> Self

source

pub fn split_by(self, split_by: usize) -> Self

source

pub fn fund_name(self, fund_name: String) -> Self

source

pub fn private(self, private: bool) -> Self

source

pub fn proposals_count(self, proposals_count: usize) -> Self

source

pub fn committee(self, committe_wallet: WalletAlias) -> Self

source

pub fn voting_token(self, role: Role, voting_token: TokenIdentifier) -> Self

source

pub fn voting_tokens(self, voting_tokens: Vec<(Role, TokenIdentifier)>) -> Self

source

pub fn build(self) -> Vec<VotePlanTemplate>

Trait Implementations§

source§

impl Default for VitVotePlanDefBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html index 9f91d1a098..29b719c381 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html @@ -2,12 +2,12 @@ split_by: usize, fund_name: String, vote_phases: VoteBlockchainTime, - committee_wallet: WalletAlias, + committee_wallet: WalletAlias, proposals_count: usize, options: u8, private: bool, voting_tokens: Vec<(Role, TokenIdentifier)>, -}

Fields§

§split_by: usize§fund_name: String§vote_phases: VoteBlockchainTime§committee_wallet: WalletAlias§proposals_count: usize§options: u8§private: bool§voting_tokens: Vec<(Role, TokenIdentifier)>

Implementations§

source§

impl VitVotePlanDefBuilder

source

pub fn vote_phases(self, vote_phases: VoteBlockchainTime) -> Self

source

pub fn options(self, options: u8) -> Self

source

pub fn split_by(self, split_by: usize) -> Self

source

pub fn fund_name(self, fund_name: String) -> Self

source

pub fn private(self, private: bool) -> Self

source

pub fn proposals_count(self, proposals_count: usize) -> Self

source

pub fn committee(self, committe_wallet: WalletAlias) -> Self

source

pub fn voting_token(self, role: Role, voting_token: TokenIdentifier) -> Self

source

pub fn voting_tokens(self, voting_tokens: Vec<(Role, TokenIdentifier)>) -> Self

source

pub fn build(self) -> Vec<VotePlanTemplate>

Trait Implementations§

source§

impl Default for VitVotePlanDefBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§split_by: usize§fund_name: String§vote_phases: VoteBlockchainTime§committee_wallet: WalletAlias§proposals_count: usize§options: u8§private: bool§voting_tokens: Vec<(Role, TokenIdentifier)>

Implementations§

source§

impl VitVotePlanDefBuilder

source

pub fn vote_phases(self, vote_phases: VoteBlockchainTime) -> Self

source

pub fn options(self, options: u8) -> Self

source

pub fn split_by(self, split_by: usize) -> Self

source

pub fn fund_name(self, fund_name: String) -> Self

source

pub fn private(self, private: bool) -> Self

source

pub fn proposals_count(self, proposals_count: usize) -> Self

source

pub fn committee(self, committe_wallet: WalletAlias) -> Self

source

pub fn voting_token(self, role: Role, voting_token: TokenIdentifier) -> Self

source

pub fn voting_tokens(self, voting_tokens: Vec<(Role, TokenIdentifier)>) -> Self

source

pub fn build(self) -> Vec<VotePlanTemplate>

Trait Implementations§

source§

impl Default for VitVotePlanDefBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html index 06cdace235..6664032afa 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html @@ -2,4 +2,4 @@ // Required methods fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8]); fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8]); -}

Required Methods§

source

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementations on Foreign Types§

source§

impl WalletExtension for Wallet

source§

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source§

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementors§

\ No newline at end of file +}

Required Methods§

source

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementations on Foreign Types§

source§

impl WalletExtension for Wallet

source§

fn save_qr_code<P: AsRef<Path>>(&self, path: P, password: &[u8])

source§

fn save_qr_code_hash<P: AsRef<Path>>(&self, path: P, password: &[u8])

Implementors§

\ No newline at end of file diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/error/enum.Error.html b/tally-community-tool/06_rust_api/rust/doc/vitup/error/enum.Error.html index 22c838d8b4..85ca19483f 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/error/enum.Error.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/error/enum.Error.html @@ -4,9 +4,9 @@ ParseTime(Parse), Block0Error(Block0Error), Node(NodeError), - Wallet(WalletError), - FragmentSender(FragmentSenderError), - FragmentVerifier(FragmentVerifierError), + Wallet(WalletError), + FragmentSender(FragmentSenderError), + FragmentVerifier(FragmentVerifierError), VerificationFailed(VerificationError), MonitorResourcesError(ConsumptionBenchmarkError), VitStationControllerError(VitStationControllerError), @@ -61,7 +61,7 @@ group: String, }, SetGlobalDefault(SetGlobalDefaultError), -

}

Variants§

§

Interactive(InteractiveCommandError)

§

IoError(Error)

§

ParseTime(Parse)

§

Block0Error(Block0Error)

§

Node(NodeError)

§

Wallet(WalletError)

§

FragmentSender(FragmentSenderError)

§

FragmentVerifier(FragmentVerifierError)

§

VerificationFailed(VerificationError)

§

MonitorResourcesError(ConsumptionBenchmarkError)

§

VitStationControllerError(VitStationControllerError)

§

WalletProxyError(WalletProxyError)

§

TemplateLoadError(TemplateLoad)

§

SerdeError(Error)

§

SerdeYamlError(Error)

§

Block0EncodeError(Error)

§

ImageReadError(ImageError)

§

MockError(MockError)

§

ClientRestError(Error)

§

Block0ConfigurationError(Block0ConfigurationError)

§

VitServerBootstrapperError(ServerBootstrapperError)

§

VitRestError(RestError)

§

ChainAddressError(Error)

§

ChainBech32Error(Error)

§

GlobError(GlobError)

§

ValgrindError(Error)

§

ImportError(ImportError)

§

Validate(ValidateError)

§

ControllerError(Error)

§

Block0(Block0Error)

§

Builder(Error)

§

Certs(Error)

§

Data(DataError)

§

Main(VitControllerError)

§

WalletProxyController(WalletProxyControllerError)

§

CannotFindSnapshotFile(PathBuf)

§

CannotFindConfig(PathBuf)

§

SyncTimeoutOccurred

Fields

§info: String
§timeout: Duration
§

AssertionFailed

Fields

§info: String
§

TransactionNotInBlock

Fields

§node: String
§

ProxyNotFound

Fields

§alias: String
§

UnknownLogLevel(String)

§

EnvironmentIsDown

§

SnapshotIntialReadError

§

NoChallengeIdFound

Fields

§proposal_id: String
§

NoChallengeIdAndGroupFound

Fields

§group: String
§

SetGlobalDefault(SetGlobalDefaultError)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Block0ConfigurationError> for Error

source§

fn from(source: Block0ConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<Block0Error> for Error

source§

fn from(source: Block0Error) -> Self

Converts to this type from the input type.
source§

impl From<Block0Error> for Error

source§

fn from(source: Block0Error) -> Self

Converts to this type from the input type.
source§

impl From<ConsumptionBenchmarkError> for Error

source§

fn from(source: ConsumptionBenchmarkError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ImportError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VitControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: RestError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: WalletProxyControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: WalletProxyError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: MockError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: DataError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ValidateError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VerificationError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: NodeError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VitStationControllerError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for Error

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<GlobError> for Error

source§

fn from(source: GlobError) -> Self

Converts to this type from the input type.
source§

impl From<ImageError> for Error

source§

fn from(source: ImageError) -> Self

Converts to this type from the input type.
source§

impl From<InteractiveCommandError> for Error

source§

fn from(source: InteractiveCommandError) -> Self

Converts to this type from the input type.
source§

impl From<Parse> for Error

source§

fn from(source: Parse) -> Self

Converts to this type from the input type.
source§

impl From<ServerBootstrapperError> for Error

source§

fn from(source: ServerBootstrapperError) -> Self

Converts to this type from the input type.
source§

impl From<SetGlobalDefaultError> for Error

source§

fn from(source: SetGlobalDefaultError) -> Self

Converts to this type from the input type.
source§

impl From<TemplateLoad> for Error

source§

fn from(source: TemplateLoad) -> Self

Converts to this type from the input type.
source§

impl From<WalletError> for Error

source§

fn from(source: WalletError) -> Self

Converts to this type from the input type.
source§

impl Reject for Error

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +

}

Variants§

§

Interactive(InteractiveCommandError)

§

IoError(Error)

§

ParseTime(Parse)

§

Block0Error(Block0Error)

§

Node(NodeError)

§

Wallet(WalletError)

§

FragmentSender(FragmentSenderError)

§

FragmentVerifier(FragmentVerifierError)

§

VerificationFailed(VerificationError)

§

MonitorResourcesError(ConsumptionBenchmarkError)

§

VitStationControllerError(VitStationControllerError)

§

WalletProxyError(WalletProxyError)

§

TemplateLoadError(TemplateLoad)

§

SerdeError(Error)

§

SerdeYamlError(Error)

§

Block0EncodeError(Error)

§

ImageReadError(ImageError)

§

MockError(MockError)

§

ClientRestError(Error)

§

Block0ConfigurationError(Block0ConfigurationError)

§

VitServerBootstrapperError(ServerBootstrapperError)

§

VitRestError(RestError)

§

ChainAddressError(Error)

§

ChainBech32Error(Error)

§

GlobError(GlobError)

§

ValgrindError(Error)

§

ImportError(ImportError)

§

Validate(ValidateError)

§

ControllerError(Error)

§

Block0(Block0Error)

§

Builder(Error)

§

Certs(Error)

§

Data(DataError)

§

Main(VitControllerError)

§

WalletProxyController(WalletProxyControllerError)

§

CannotFindSnapshotFile(PathBuf)

§

CannotFindConfig(PathBuf)

§

SyncTimeoutOccurred

Fields

§info: String
§timeout: Duration
§

AssertionFailed

Fields

§info: String
§

TransactionNotInBlock

Fields

§node: String
§

ProxyNotFound

Fields

§alias: String
§

UnknownLogLevel(String)

§

EnvironmentIsDown

§

SnapshotIntialReadError

§

NoChallengeIdFound

Fields

§proposal_id: String
§

NoChallengeIdAndGroupFound

Fields

§group: String
§

SetGlobalDefault(SetGlobalDefaultError)

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Block0ConfigurationError> for Error

source§

fn from(source: Block0ConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<Block0Error> for Error

source§

fn from(source: Block0Error) -> Self

Converts to this type from the input type.
source§

impl From<Block0Error> for Error

source§

fn from(source: Block0Error) -> Self

Converts to this type from the input type.
source§

impl From<ConsumptionBenchmarkError> for Error

source§

fn from(source: ConsumptionBenchmarkError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ImportError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VitControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: RestError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: WalletProxyControllerError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: WalletProxyError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: MockError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: DataError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: ValidateError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VerificationError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: NodeError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(source: VitStationControllerError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentSenderError> for Error

source§

fn from(source: FragmentSenderError) -> Self

Converts to this type from the input type.
source§

impl From<FragmentVerifierError> for Error

source§

fn from(source: FragmentVerifierError) -> Self

Converts to this type from the input type.
source§

impl From<GlobError> for Error

source§

fn from(source: GlobError) -> Self

Converts to this type from the input type.
source§

impl From<ImageError> for Error

source§

fn from(source: ImageError) -> Self

Converts to this type from the input type.
source§

impl From<InteractiveCommandError> for Error

source§

fn from(source: InteractiveCommandError) -> Self

Converts to this type from the input type.
source§

impl From<Parse> for Error

source§

fn from(source: Parse) -> Self

Converts to this type from the input type.
source§

impl From<ServerBootstrapperError> for Error

source§

fn from(source: ServerBootstrapperError) -> Self

Converts to this type from the input type.
source§

impl From<SetGlobalDefaultError> for Error

source§

fn from(source: SetGlobalDefaultError) -> Self

Converts to this type from the input type.
source§

impl From<TemplateLoad> for Error

source§

fn from(source: TemplateLoad) -> Self

Converts to this type from the input type.
source§

impl From<WalletError> for Error

source§

fn from(source: WalletError) -> Self

Converts to this type from the input type.
source§

impl Reject for Error

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html index d6f2ae6125..c1294e6cda 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html @@ -23,7 +23,7 @@ fragment_log: &mut FragmentLog, fragment_strategy: FragmentRecieveStrategy, result: Result<Ledger, LedgerError> -)

source

pub fn fragment_logs(&self) -> Vec<FragmentLog>

source

pub fn received_fragments(&self) -> Vec<Fragment>

source

pub fn curr_slot_start_time(&self) -> SystemTime

source

pub fn current_blockchain_age(&self) -> BlockDate

source

pub fn absolute_slot_count(&self) -> u32

source

pub fn settings(&self) -> SettingsDto

source

pub fn expiry_date(&self) -> BlockDateGenerator

source

pub fn block0_hash(&self) -> Hash

source

pub fn fees(&self) -> LinearFee

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +)

source

pub fn fragment_logs(&self) -> Vec<FragmentLog>

source

pub fn received_fragments(&self) -> Vec<Fragment>

source

pub fn curr_slot_start_time(&self) -> SystemTime

source

pub fn current_blockchain_age(&self) -> BlockDate

source

pub fn absolute_slot_count(&self) -> u32

source

pub fn settings(&self) -> SettingsDto

source

pub fn expiry_date(&self) -> BlockDateGenerator

source

pub fn block0_hash(&self) -> Hash

source

pub fn fees(&self) -> LinearFee

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html index 74b6c3a5a5..bb50509a20 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html @@ -12,7 +12,7 @@ }

Fields§

§available: bool§error_code: u16§version: VitVersion§ledger_state: LedgerState§vit_state: Snapshot§voters: VoterSnapshot§block0_bin: Vec<u8>§network_congestion: NetworkCongestion§block_account_endpoint_counter: u32§controller: VitController

Implementations§

source§

impl MockState

source

pub fn new(params: Config, config: MockConfig) -> Result<Self, Error>

source

pub fn set_block_account_endpoint( &mut self, block_account_endpoint_counter: u32 -)

source

pub fn decrement_block_account_endpoint(&mut self)

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn reset_block_account_endpoint(&mut self)

source

pub fn block_account_endpoint(&self) -> u32

source

pub fn version(&self) -> VitVersion

source

pub fn block0_bin(&self) -> Vec<u8>

source

pub fn set_congestion(&mut self, network_congestion_mode: NetworkCongestionMode)

source

pub fn set_version(&mut self, version: String)

source

pub fn vit(&self) -> &Snapshot

source

pub fn vit_mut(&mut self) -> &mut Snapshot

source

pub fn voters(&self) -> &VoterSnapshot

source

pub fn voters_mut(&mut self) -> &mut VoterSnapshot

source

pub fn ledger(&self) -> &LedgerState

source

pub fn ledger_mut(&mut self) -> &mut LedgerState

source

pub fn set_fund_id(&mut self, id: i32)

source

pub fn update_fund(&mut self, new_fund: Fund)

source

pub fn node_stats(&self) -> NodeStatsDto

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +)

source

pub fn decrement_block_account_endpoint(&mut self)

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn reset_block_account_endpoint(&mut self)

source

pub fn block_account_endpoint(&self) -> u32

source

pub fn version(&self) -> VitVersion

source

pub fn block0_bin(&self) -> Vec<u8>

source

pub fn set_congestion(&mut self, network_congestion_mode: NetworkCongestionMode)

source

pub fn set_version(&mut self, version: String)

source

pub fn vit(&self) -> &Snapshot

source

pub fn vit_mut(&mut self) -> &mut Snapshot

source

pub fn voters(&self) -> &VoterSnapshot

source

pub fn voters_mut(&mut self) -> &mut VoterSnapshot

source

pub fn ledger(&self) -> &LedgerState

source

pub fn ledger_mut(&mut self) -> &mut LedgerState

source

pub fn set_fund_id(&mut self, id: i32)

source

pub fn update_fund(&mut self, new_fund: Fund)

source

pub fn node_stats(&self) -> NodeStatsDto

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html index 0c876165e2..5a758f796a 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html @@ -23,7 +23,7 @@ fragment_log: &mut FragmentLog, fragment_strategy: FragmentRecieveStrategy, result: Result<Ledger, LedgerError> -)

source

pub fn fragment_logs(&self) -> Vec<FragmentLog>

source

pub fn received_fragments(&self) -> Vec<Fragment>

source

pub fn curr_slot_start_time(&self) -> SystemTime

source

pub fn current_blockchain_age(&self) -> BlockDate

source

pub fn absolute_slot_count(&self) -> u32

source

pub fn settings(&self) -> SettingsDto

source

pub fn expiry_date(&self) -> BlockDateGenerator

source

pub fn block0_hash(&self) -> Hash

source

pub fn fees(&self) -> LinearFee

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +)

source

pub fn fragment_logs(&self) -> Vec<FragmentLog>

source

pub fn received_fragments(&self) -> Vec<Fragment>

source

pub fn curr_slot_start_time(&self) -> SystemTime

source

pub fn current_blockchain_age(&self) -> BlockDate

source

pub fn absolute_slot_count(&self) -> u32

source

pub fn settings(&self) -> SettingsDto

source

pub fn expiry_date(&self) -> BlockDateGenerator

source

pub fn block0_hash(&self) -> Hash

source

pub fn fees(&self) -> LinearFee

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html index 8b5eb7179c..b328b89661 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html @@ -12,7 +12,7 @@ }

Fields§

§available: bool§error_code: u16§version: VitVersion§ledger_state: LedgerState§vit_state: Snapshot§voters: VoterSnapshot§block0_bin: Vec<u8>§network_congestion: NetworkCongestion§block_account_endpoint_counter: u32§controller: VitController

Implementations§

source§

impl MockState

source

pub fn new(params: Config, config: MockConfig) -> Result<Self, Error>

source

pub fn set_block_account_endpoint( &mut self, block_account_endpoint_counter: u32 -)

source

pub fn decrement_block_account_endpoint(&mut self)

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn reset_block_account_endpoint(&mut self)

source

pub fn block_account_endpoint(&self) -> u32

source

pub fn version(&self) -> VitVersion

source

pub fn block0_bin(&self) -> Vec<u8>

source

pub fn set_congestion(&mut self, network_congestion_mode: NetworkCongestionMode)

source

pub fn set_version(&mut self, version: String)

source

pub fn vit(&self) -> &Snapshot

source

pub fn vit_mut(&mut self) -> &mut Snapshot

source

pub fn voters(&self) -> &VoterSnapshot

source

pub fn voters_mut(&mut self) -> &mut VoterSnapshot

source

pub fn ledger(&self) -> &LedgerState

source

pub fn ledger_mut(&mut self) -> &mut LedgerState

source

pub fn set_fund_id(&mut self, id: i32)

source

pub fn update_fund(&mut self, new_fund: Fund)

source

pub fn node_stats(&self) -> NodeStatsDto

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +)

source

pub fn decrement_block_account_endpoint(&mut self)

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn reset_block_account_endpoint(&mut self)

source

pub fn block_account_endpoint(&self) -> u32

source

pub fn version(&self) -> VitVersion

source

pub fn block0_bin(&self) -> Vec<u8>

source

pub fn set_congestion(&mut self, network_congestion_mode: NetworkCongestionMode)

source

pub fn set_version(&mut self, version: String)

source

pub fn vit(&self) -> &Snapshot

source

pub fn vit_mut(&mut self) -> &mut Snapshot

source

pub fn voters(&self) -> &VoterSnapshot

source

pub fn voters_mut(&mut self) -> &mut VoterSnapshot

source

pub fn ledger(&self) -> &LedgerState

source

pub fn ledger_mut(&mut self) -> &mut LedgerState

source

pub fn set_fund_id(&mut self, id: i32)

source

pub fn update_fund(&mut self, new_fund: Fund)

source

pub fn node_stats(&self) -> NodeStatsDto

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Fake for T

§

fn fake<U>(&self) -> Uwhere diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html index 6e214f3cf9..3b685c6508 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html @@ -1,10 +1,10 @@ VitController in vitup::mode::standard::controllers::main - Rust
pub struct VitController {
     vit_settings: VitSettings,
     hersir_controller: Controller,
-}

Fields§

§vit_settings: VitSettings§hersir_controller: Controller

Implementations§

source§

impl VitController

source

pub fn new(vit_settings: VitSettings, hersir_controller: Controller) -> Self

source

pub fn vit_settings(&self) -> &VitSettings

source

pub fn hersir_controller(&self) -> Controller

source

pub fn wallet(&mut self, wallet: &str) -> Result<Wallet>

source

pub fn spawn_node( +}

Fields§

§vit_settings: VitSettings§hersir_controller: Controller

Implementations§

source§

impl VitController

source

pub fn new(vit_settings: VitSettings, hersir_controller: Controller) -> Self

source

pub fn vit_settings(&self) -> &VitSettings

source

pub fn hersir_controller(&self) -> Controller

source

pub fn wallet(&mut self, wallet: &str) -> Result<Wallet>

source

pub fn spawn_node( &mut self, spawn_params: SpawnParams -) -> Result<JormungandrProcess>

source

pub fn settings(&self) -> Settings

source

pub fn block0_file(&self) -> PathBuf

source

pub fn defined_nodes(&self) -> Vec<(&NodeAlias, &NodeSetting)>

source

pub fn controlled_wallets(&self) -> Vec<Wallet>

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef>

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn spawn_vit_station_archive( +) -> Result<JormungandrProcess>

source

pub fn settings(&self) -> Settings

source

pub fn block0_file(&self) -> PathBuf

source

pub fn defined_nodes(&self) -> Vec<(&NodeAlias, &NodeSetting)>

source

pub fn controlled_wallets(&self) -> Vec<Wallet>

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef>

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn spawn_vit_station_archive( &self, version: String ) -> Result<VitStationController>

source

pub fn spawn_vit_station( diff --git a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html index ddd64caf41..5299ea9e2b 100644 --- a/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html +++ b/tally-community-tool/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html @@ -1,10 +1,10 @@ VitController in vitup::mode::standard - Rust
pub struct VitController {
     vit_settings: VitSettings,
     hersir_controller: Controller,
-}

Fields§

§vit_settings: VitSettings§hersir_controller: Controller

Implementations§

source§

impl VitController

source

pub fn new(vit_settings: VitSettings, hersir_controller: Controller) -> Self

source

pub fn vit_settings(&self) -> &VitSettings

source

pub fn hersir_controller(&self) -> Controller

source

pub fn wallet(&mut self, wallet: &str) -> Result<Wallet>

source

pub fn spawn_node( +}

Fields§

§vit_settings: VitSettings§hersir_controller: Controller

Implementations§

source§

impl VitController

source

pub fn new(vit_settings: VitSettings, hersir_controller: Controller) -> Self

source

pub fn vit_settings(&self) -> &VitSettings

source

pub fn hersir_controller(&self) -> Controller

source

pub fn wallet(&mut self, wallet: &str) -> Result<Wallet>

source

pub fn spawn_node( &mut self, spawn_params: SpawnParams -) -> Result<JormungandrProcess>

source

pub fn settings(&self) -> Settings

source

pub fn block0_file(&self) -> PathBuf

source

pub fn defined_nodes(&self) -> Vec<(&NodeAlias, &NodeSetting)>

source

pub fn controlled_wallets(&self) -> Vec<Wallet>

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef>

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn spawn_vit_station_archive( +) -> Result<JormungandrProcess>

source

pub fn settings(&self) -> Settings

source

pub fn block0_file(&self) -> PathBuf

source

pub fn defined_nodes(&self) -> Vec<(&NodeAlias, &NodeSetting)>

source

pub fn controlled_wallets(&self) -> Vec<Wallet>

source

pub fn defined_wallets(&self) -> Vec<(WalletAlias, &WalletSettings)>

source

pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef>

source

pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>

source

pub fn working_directory(&self) -> &TestingDirectory

source

pub fn spawn_vit_station_archive( &self, version: String ) -> Result<VitStationController>

source

pub fn spawn_vit_station( diff --git a/tally-community-tool/print.html b/tally-community-tool/print.html index 6f0f9900a2..7e3d50010b 100644 --- a/tally-community-tool/print.html +++ b/tally-community-tool/print.html @@ -6748,7 +6748,7 @@

A
ContractKey
contract_key: bytes
hash(concat(contract_hash, parameter_hash))
ContractHash
contract_hash : bytes
hash(Contract.as_bytes())
ParameterHash
parameter_hash
hash(Paramters.as_bytes())
Contract
Compiled Wasm
as_bytes()
Parameters
Structured Parameter Data
as_bytes()

-
hunger noticedchoose recipedesired dish?
+
hunger noticedchoose recipedesired dish?

Integration to the Catalyst Unified Backend

The Cardano-Catalyst bridge is an essential and integral part of the Catalyst Unified backend.