diff --git a/tally-script-improvments/05_unified_platform/01_catalyst-cardano-bridge/index.html b/tally-script-improvments/05_unified_platform/01_catalyst-cardano-bridge/index.html index 3dcd4c7d10..7dad565652 100644 --- a/tally-script-improvments/05_unified_platform/01_catalyst-cardano-bridge/index.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.Block.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.Block.html index 7dc83ece6b..5ee4f62170 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.Block.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.Block.html @@ -5,18 +5,18 @@ transaction and a reference to the parent block. Alongside with the position of that block in the chain.

Fields§

§header: Header§contents: Contents

Implementations§

source§

impl Block

source

pub(crate) fn new_unchecked(header: Header, contents: Contents) -> Self

Does not validate that the block is consistent

-
source

pub fn header(&self) -> &Header

source

pub fn contents(&self) -> &Contents

source

pub fn fragments(&self) -> impl Iterator<Item = &Fragment>

Trait Implementations§

source§

impl Arbitrary for Block

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl Block for Block

source§

fn id(&self) -> Self::Id

Identifier of the block, currently the hash of the +

source

pub fn header(&self) -> &Header

source

pub fn contents(&self) -> &Contents

source

pub fn fragments(&self) -> impl Iterator<Item = &Fragment>

Trait Implementations§

source§

impl Arbitrary for Block

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl Block for Block

source§

fn id(&self) -> Self::Id

Identifier of the block, currently the hash of the serialized transaction.

-
source§

fn parent_id(&self) -> Self::Id

Id of the parent block.

-
source§

fn date(&self) -> Self::Date

Date of the block.

-
§

type Id = Hash

the Block identifier. It must be unique. This mean that -2 different blocks have 2 different identifiers. Read more
§

type Date = BlockDate

the block date (also known as a block number) represents the +
source§

fn parent_id(&self) -> Self::Id

Id of the parent block.

+
source§

fn date(&self) -> Self::Date

Date of the block.

+
§

type Id = Hash

the Block identifier. It must be unique. This mean that +2 different blocks have 2 different identifiers. Read more
§

type Date = BlockDate

the block date (also known as a block number) represents the absolute position of the block in the chain. This can be used for random access (if the storage algorithm allows it) or for -identifying the position of a block in a given epoch or era.
§

type Version = BlockVersion

the type associated to the version of a block
§

type ChainLength = ChainLength

the length of the blockchain (number of blocks)
source§

fn version(&self) -> Self::Version

access the version of a given block
source§

fn chain_length(&self) -> Self::ChainLength

get the block’s chain length. The number of block +identifying the position of a block in a given epoch or era.
§

type Version = BlockVersion

the type associated to the version of a block
§

type ChainLength = ChainLength

the length of the blockchain (number of blocks)
source§

fn version(&self) -> Self::Version

access the version of a given block
source§

fn chain_length(&self) -> Self::ChainLength

get the block’s chain length. The number of block created following this thread of blocks on the blockchain (including Self).
source§

impl Clone for Block

source§

fn clone(&self) -> Block

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 Block

source§

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

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

impl Deserialize for Block

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where - R: Read,

source§

impl<'a> HasFragments<'a> for &'a Block

§

type Fragment = Fragment

The type representing fragments in this block.
§

type Fragments = Iter<'a, Fragment>

A by-reference iterator over block’s fragments.
source§

fn fragments(self) -> Self::Fragments

Returns a by-reference iterator over the fragments in the block.
source§

impl HasHeader for Block

§

type Header = Header

The block header type.
source§

fn header(&self) -> Self::Header

Retrieves the block’s header.
source§

impl PartialEq<Block> for Block

source§

fn eq(&self, rhs: &Self) -> bool

This method tests for self and other values to be equal, and is used + R: Read,
source§

impl<'a> HasFragments<'a> for &'a Block

§

type Fragment = Fragment

The type representing fragments in this block.
§

type Fragments = Iter<'a, Fragment>

A by-reference iterator over block’s fragments.
source§

fn fragments(self) -> Self::Fragments

Returns a by-reference iterator over the fragments in the block.
source§

impl HasHeader for Block

§

type Header = Header

The block header type.
source§

fn header(&self) -> Self::Header

Retrieves the block’s header.
source§

impl PartialEq<Block> for Block

source§

fn eq(&self, rhs: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Block

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Eq for Block

Auto Trait Implementations§

§

impl RefUnwindSafe for Block

§

impl Send for Block

§

impl Sync for Block

§

impl Unpin for Block

§

impl UnwindSafe for Block

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.BlockDate.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.BlockDate.html index 11c427017c..b95a996aed 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.BlockDate.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/block/struct.BlockDate.html @@ -5,7 +5,7 @@ blockchain. There may be many transactions related to the same SlotId.

Fields§

§epoch: Epoch§slot_id: SlotId

Implementations§

source§

impl BlockDate

source

pub fn first() -> BlockDate

source

pub fn next(self, era: &TimeEra) -> BlockDate

Get the slot following this one.

-
source

pub fn next_epoch(self) -> BlockDate

Trait Implementations§

source§

impl Arbitrary for BlockDate

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl BlockDate for BlockDate

source§

fn from_epoch_slot_id(epoch: Epoch, slot_id: SlotId) -> Self

source§

impl Clone for BlockDate

source§

fn clone(&self) -> BlockDate

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 BlockDate

source§

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

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

impl Display for BlockDate

source§

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

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

impl From<EpochPosition> for BlockDate

source§

fn from(e: EpochPosition) -> BlockDate

Converts to this type from the input type.
source§

impl FromStr for BlockDate

§

type Err = BlockDateParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<BlockDate, BlockDateParseError>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockDate

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 +

source

pub fn next_epoch(self) -> BlockDate

Trait Implementations§

source§

impl Arbitrary for BlockDate

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl BlockDate for BlockDate

source§

fn from_epoch_slot_id(epoch: Epoch, slot_id: SlotId) -> Self

source§

impl Clone for BlockDate

source§

fn clone(&self) -> BlockDate

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 BlockDate

source§

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

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

impl Display for BlockDate

source§

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

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

impl From<EpochPosition> for BlockDate

source§

fn from(e: EpochPosition) -> BlockDate

Converts to this type from the input type.
source§

impl FromStr for BlockDate

§

type Err = BlockDateParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<BlockDate, BlockDateParseError>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockDate

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 Ord for BlockDate

source§

fn cmp(&self, other: &BlockDate) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere @@ -18,9 +18,9 @@ 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/type.UpdateProposalId.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/type.UpdateProposalId.html index 9da948ad75..58fc93954a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/type.UpdateProposalId.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/type.UpdateProposalId.html @@ -5,7 +5,7 @@ of the generated Strategy. Parameters must implement Default.
§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -16,4 +16,4 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file +operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/update_vote/type.UpdateProposalId.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/update_vote/type.UpdateProposalId.html index 18f0f05e08..c0d62081a1 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/update_vote/type.UpdateProposalId.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/certificate/update_vote/type.UpdateProposalId.html @@ -5,7 +5,7 @@ of the generated Strategy. Parameters must implement Default.
§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -16,4 +16,4 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file +operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/enum.ConsensusType.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/enum.ConsensusType.html index cc61c6fb24..7591b34a43 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/enum.ConsensusType.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/enum.ConsensusType.html @@ -14,9 +14,9 @@ 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/struct.ChainLength.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/struct.ChainLength.html index 8b7ebd9890..fff43f7c7a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/struct.ChainLength.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/struct.ChainLength.html @@ -1,4 +1,4 @@ -ChainLength in chain_impl_mockchain::chaintypes - Rust
pub struct ChainLength(pub(crate) u32);

Tuple Fields§

§0: u32

Implementations§

source§

impl ChainLength

source

pub fn increase(self) -> Self

source

pub fn nth_ancestor(self, depth: u32) -> Option<ChainLength>

Trait Implementations§

source§

impl Arbitrary for ChainLength

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl ChainLength for ChainLength

source§

fn next(&self) -> Self

source§

impl Clone for ChainLength

source§

fn clone(&self) -> ChainLength

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 ChainLength

source§

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

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

impl Display for ChainLength

source§

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

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

impl From<ChainLength> for u32

source§

fn from(chain_length: ChainLength) -> u32

Converts to this type from the input type.
source§

impl From<u32> for ChainLength

source§

fn from(n: u32) -> ChainLength

Converts to this type from the input type.
source§

impl Hash for ChainLength

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 +ChainLength in chain_impl_mockchain::chaintypes - Rust
pub struct ChainLength(pub(crate) u32);

Tuple Fields§

§0: u32

Implementations§

source§

impl ChainLength

source

pub fn increase(self) -> Self

source

pub fn nth_ancestor(self, depth: u32) -> Option<ChainLength>

Trait Implementations§

source§

impl Arbitrary for ChainLength

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl ChainLength for ChainLength

source§

fn next(&self) -> Self

source§

impl Clone for ChainLength

source§

fn clone(&self) -> ChainLength

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 ChainLength

source§

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

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

impl Display for ChainLength

source§

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

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

impl From<ChainLength> for u32

source§

fn from(chain_length: ChainLength) -> u32

Converts to this type from the input type.
source§

impl From<u32> for ChainLength

source§

fn from(n: u32) -> ChainLength

Converts to this type from the input type.
source§

impl Hash for ChainLength

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 Ord for ChainLength

source§

fn cmp(&self, other: &ChainLength) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/type.HeaderId.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/type.HeaderId.html index 3ea021e5cc..270a0c9ff2 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/type.HeaderId.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/chaintypes/type.HeaderId.html @@ -5,7 +5,7 @@ of the generated Strategy. Parameters must implement Default.

§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more

source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -16,4 +16,4 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file +operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/config/enum.Tag.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/config/enum.Tag.html index 38b012285b..848bddfa88 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/config/enum.Tag.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/config/enum.Tag.html @@ -31,9 +31,9 @@ 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/date/struct.BlockDate.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/date/struct.BlockDate.html index e20c49a355..9ffb4737b6 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/date/struct.BlockDate.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/date/struct.BlockDate.html @@ -5,7 +5,7 @@ blockchain. There may be many transactions related to the same SlotId.

Fields§

§epoch: Epoch§slot_id: SlotId

Implementations§

source§

impl BlockDate

source

pub fn first() -> BlockDate

source

pub fn next(self, era: &TimeEra) -> BlockDate

Get the slot following this one.

-
source

pub fn next_epoch(self) -> BlockDate

Trait Implementations§

source§

impl Arbitrary for BlockDate

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl BlockDate for BlockDate

source§

fn from_epoch_slot_id(epoch: Epoch, slot_id: SlotId) -> Self

source§

impl Clone for BlockDate

source§

fn clone(&self) -> BlockDate

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 BlockDate

source§

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

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

impl Display for BlockDate

source§

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

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

impl From<EpochPosition> for BlockDate

source§

fn from(e: EpochPosition) -> BlockDate

Converts to this type from the input type.
source§

impl FromStr for BlockDate

§

type Err = BlockDateParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<BlockDate, BlockDateParseError>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockDate

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 +

source

pub fn next_epoch(self) -> BlockDate

Trait Implementations§

source§

impl Arbitrary for BlockDate

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl BlockDate for BlockDate

source§

fn from_epoch_slot_id(epoch: Epoch, slot_id: SlotId) -> Self

source§

impl Clone for BlockDate

source§

fn clone(&self) -> BlockDate

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 BlockDate

source§

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

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

impl Display for BlockDate

source§

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

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

impl From<EpochPosition> for BlockDate

source§

fn from(e: EpochPosition) -> BlockDate

Converts to this type from the input type.
source§

impl FromStr for BlockDate

§

type Err = BlockDateParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<BlockDate, BlockDateParseError>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockDate

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 Ord for BlockDate

source§

fn cmp(&self, other: &BlockDate) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere @@ -18,9 +18,9 @@ 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/content/type.BlockContentHash.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/content/type.BlockContentHash.html index 20723260a6..aa9b77910f 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/content/type.BlockContentHash.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/content/type.BlockContentHash.html @@ -5,7 +5,7 @@ of the generated Strategy. Parameters must implement Default.
§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -16,4 +16,4 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file +operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/enum.Fragment.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/enum.Fragment.html index 696243fba5..7b097c5d6c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/enum.Fragment.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/enum.Fragment.html @@ -19,8 +19,8 @@

Variants§

§

Initial(ConfigParams)

§

OldUtxoDeclaration(UtxoDeclaration)

§

Transaction(Transaction<NoExtra>)

§

OwnerStakeDelegation(Transaction<OwnerStakeDelegation>)

§

StakeDelegation(Transaction<StakeDelegation>)

§

PoolRegistration(Transaction<PoolRegistration>)

§

PoolRetirement(Transaction<PoolRetirement>)

§

PoolUpdate(Transaction<PoolUpdate>)

§

UpdateProposal(Transaction<UpdateProposal>)

§

UpdateVote(Transaction<UpdateVote>)

§

VotePlan(Transaction<VotePlan>)

§

VoteCast(Transaction<VoteCast>)

§

VoteTally(Transaction<VoteTally>)

§

MintToken(Transaction<MintToken>)

§

Evm(EvmTransaction)

§

EvmMapping(Transaction<EvmMapping>)

Implementations§

source§

impl Fragment

source

pub(crate) fn get_tag(&self) -> FragmentTag

Return the tag associated with the Message

source

pub fn hash(&self) -> FragmentId

The ID of a message is a hash of its serialization without the size.

Trait Implementations§

source§

impl Arbitrary for Fragment

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl Clone for Fragment

source§

fn clone(&self) -> Fragment

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 Fragment

source§

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

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

impl Deserialize for Fragment

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where - R: Read,

source§

impl Fragment for Fragment

source§

fn id(&self) -> Self::Id

The ID of a fragment is a hash of its serialization without the size.

-
§

type Id = Hash

source§

impl PartialEq<Fragment> for Fragment

source§

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

This method tests for self and other values to be equal, and is used + R: Read,
source§

impl Fragment for Fragment

source§

fn id(&self) -> Self::Id

The ID of a fragment is a hash of its serialization without the size.

+
§

type Id = Hash

source§

impl PartialEq<Fragment> for Fragment

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Fragment

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Eq for Fragment

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.BlockContentHash.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.BlockContentHash.html index 5598a07e2f..20ba64ae9a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.BlockContentHash.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.BlockContentHash.html @@ -5,7 +5,7 @@ of the generated Strategy. Parameters must implement Default.

§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -16,4 +16,4 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file +operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.FragmentId.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.FragmentId.html index 9f56c63d4c..7eb7c87b64 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.FragmentId.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/fragment/type.FragmentId.html @@ -5,7 +5,7 @@ of the generated Strategy. Parameters must implement Default.
§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -16,4 +16,4 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file +operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/enum.Header.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/enum.Header.html index 660d3c4066..2dcb2e37b4 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/enum.Header.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/enum.Header.html @@ -3,10 +3,10 @@ GenesisPraos(HeaderGenesisPraos), Bft(HeaderBft), }

Variants§

§

Unsigned(HeaderUnsigned)

§

GenesisPraos(HeaderGenesisPraos)

§

Bft(HeaderBft)

Implementations§

source§

impl Header

Trait Implementations§

source§

impl Arbitrary for Header

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl Clone for Header

source§

fn clone(&self) -> Header

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 Header

source§

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

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

impl Deserialize for Header

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where - R: Read,

source§

impl Header for Header

§

type Id = Hash

The block header id.
§

type Date = BlockDate

The block date.
§

type Version = BlockVersion

the type associated to the version of a block
§

type ChainLength = ChainLength

the length of the blockchain (number of blocks)
source§

fn id(&self) -> Self::Id

Retrieves the block’s header id.
source§

fn parent_id(&self) -> Self::Id

get the parent block identifier (the previous block in the -blockchain).
source§

fn chain_length(&self) -> Self::ChainLength

get the block’s chain length. The number of block + R: Read,
source§

impl Header for Header

§

type Id = Hash

The block header id.
§

type Date = BlockDate

The block date.
§

type Version = BlockVersion

the type associated to the version of a block
§

type ChainLength = ChainLength

the length of the blockchain (number of blocks)
source§

fn id(&self) -> Self::Id

Retrieves the block’s header id.
source§

fn parent_id(&self) -> Self::Id

get the parent block identifier (the previous block in the +blockchain).
source§

fn chain_length(&self) -> Self::ChainLength

get the block’s chain length. The number of block created following this thread of blocks on the blockchain -(including Self).
source§

fn date(&self) -> Self::Date

Retrieves the block’s date.
source§

fn version(&self) -> Self::Version

access the version of a given block
source§

impl PartialEq<Header> for Header

source§

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

This method tests for self and other values to be equal, and is used +(including Self).
source§

fn date(&self) -> Self::Date

Retrieves the block’s date.
source§

fn version(&self) -> Self::Version

access the version of a given block
source§

impl PartialEq<Header> for Header

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Header

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Eq for Header

source§

impl StructuralEq for Header

source§

impl StructuralPartialEq for Header

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/header/enum.Header.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/header/enum.Header.html index a6db57e443..126ac19b25 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/header/enum.Header.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/header/enum.Header.html @@ -3,10 +3,10 @@ GenesisPraos(HeaderGenesisPraos), Bft(HeaderBft), }

Variants§

Implementations§

Trait Implementations§

source§

impl Arbitrary for Header

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl Clone for Header

source§

fn clone(&self) -> Header

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 Header

source§

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

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

impl Deserialize for Header

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where - R: Read,

source§

impl Header for Header

§

type Id = Hash

The block header id.
§

type Date = BlockDate

The block date.
§

type Version = BlockVersion

the type associated to the version of a block
§

type ChainLength = ChainLength

the length of the blockchain (number of blocks)
source§

fn id(&self) -> Self::Id

Retrieves the block’s header id.
source§

fn parent_id(&self) -> Self::Id

get the parent block identifier (the previous block in the -blockchain).
source§

fn chain_length(&self) -> Self::ChainLength

get the block’s chain length. The number of block + R: Read,

source§

impl Header for Header

§

type Id = Hash

The block header id.
§

type Date = BlockDate

The block date.
§

type Version = BlockVersion

the type associated to the version of a block
§

type ChainLength = ChainLength

the length of the blockchain (number of blocks)
source§

fn id(&self) -> Self::Id

Retrieves the block’s header id.
source§

fn parent_id(&self) -> Self::Id

get the parent block identifier (the previous block in the +blockchain).
source§

fn chain_length(&self) -> Self::ChainLength

get the block’s chain length. The number of block created following this thread of blocks on the blockchain -(including Self).
source§

fn date(&self) -> Self::Date

Retrieves the block’s date.
source§

fn version(&self) -> Self::Version

access the version of a given block
source§

impl PartialEq<Header> for Header

source§

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

This method tests for self and other values to be equal, and is used +(including Self).
source§

fn date(&self) -> Self::Date

Retrieves the block’s date.
source§

fn version(&self) -> Self::Version

access the version of a given block
source§

impl PartialEq<Header> for Header

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Header

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Eq for Header

source§

impl StructuralEq for Header

source§

impl StructuralPartialEq for Header

Auto Trait Implementations§

§

impl RefUnwindSafe for Header

§

impl Send for Header

§

impl Sync for Header

§

impl Unpin for Header

§

impl UnwindSafe for Header

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/struct.BlockDate.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/struct.BlockDate.html index ad579d8fde..ef7f28cbf2 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/struct.BlockDate.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/header/struct.BlockDate.html @@ -5,7 +5,7 @@ blockchain. There may be many transactions related to the same SlotId.

Fields§

§epoch: Epoch§slot_id: SlotId

Implementations§

source§

impl BlockDate

source

pub fn first() -> BlockDate

source

pub fn next(self, era: &TimeEra) -> BlockDate

Get the slot following this one.

-
source

pub fn next_epoch(self) -> BlockDate

Trait Implementations§

source§

impl Arbitrary for BlockDate

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl BlockDate for BlockDate

source§

fn from_epoch_slot_id(epoch: Epoch, slot_id: SlotId) -> Self

source§

impl Clone for BlockDate

source§

fn clone(&self) -> BlockDate

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 BlockDate

source§

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

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

impl Display for BlockDate

source§

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

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

impl From<EpochPosition> for BlockDate

source§

fn from(e: EpochPosition) -> BlockDate

Converts to this type from the input type.
source§

impl FromStr for BlockDate

§

type Err = BlockDateParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<BlockDate, BlockDateParseError>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockDate

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 +

source

pub fn next_epoch(self) -> BlockDate

Trait Implementations§

source§

impl Arbitrary for BlockDate

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl BlockDate for BlockDate

source§

fn from_epoch_slot_id(epoch: Epoch, slot_id: SlotId) -> Self

source§

impl Clone for BlockDate

source§

fn clone(&self) -> BlockDate

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 BlockDate

source§

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

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

impl Display for BlockDate

source§

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

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

impl From<EpochPosition> for BlockDate

source§

fn from(e: EpochPosition) -> BlockDate

Converts to this type from the input type.
source§

impl FromStr for BlockDate

§

type Err = BlockDateParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<BlockDate, BlockDateParseError>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockDate

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 Ord for BlockDate

source§

fn cmp(&self, other: &BlockDate) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere @@ -18,9 +18,9 @@ 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/key/struct.Hash.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/key/struct.Hash.html index d568756500..279797dddd 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/key/struct.Hash.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/key/struct.Hash.html @@ -6,7 +6,7 @@ of the generated Strategy. Parameters must implement Default.
§

type Strategy = BoxedStrategy<Hash>

The type of Strategy used to generate values of type Self.
source§

fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more
§

fn arbitrary() -> Self::Strategy

Generates a Strategy for producing arbitrary values -of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the +of type the implementing type (Self). Read more
source§

impl AsRef<[u8]> for Hash

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BlockId for Hash

source§

fn zero() -> Hash

A special ID used to denote a non-existent block (e.g. the parent of the first block).
source§

impl Clone for Hash

source§

fn clone(&self) -> Hash

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 Hash

source§

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

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

impl Deserialize for Hash

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Hash

source§

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

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

impl<'a> From<&'a Hash> for &'a [u8; 32]

source§

fn from(h: &'a Hash) -> Self

Converts to this type from the input type.
source§

impl From<[u8; 32]> for Hash

source§

fn from(a: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl From<Blake2b256> for Hash

source§

fn from(hash: Blake2b256) -> Self

Converts to this type from the input type.
source§

impl From<Hash> for [u8; 32]

source§

fn from(h: Hash) -> Self

Converts to this type from the input type.
source§

impl FromStr for Hash

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Hash

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, @@ -17,7 +17,7 @@ by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Hash> for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

Auto Trait Implementations§

§

impl RefUnwindSafe for Hash

§

impl Send for Hash

§

impl Sync for Hash

§

impl Unpin for Hash

§

impl UnwindSafe for Hash

Blanket Implementations§

source§

impl<T> Any for Twhere +operator. Read more

source§

impl Serialize for Hash

source§

fn serialized_size(&self) -> usize

Default implementation, not efficient, not recommended to use it
source§

fn serialize<W: Write>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>

§

fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>

Convenience method to serialize into a byte vector.
source§

impl Copy for Hash

source§

impl Eq for Hash

source§

impl FragmentId for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

Auto Trait Implementations§

§

impl RefUnwindSafe for Hash

§

impl Send for Hash

§

impl Sync for Hash

§

impl Unpin for Hash

§

impl UnwindSafe for Hash

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Base32Len for Twhere T: AsRef<[u8]>,

§

fn base32_len(&self) -> usize

Calculate the base32 serialized length
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere @@ -28,9 +28,9 @@ T: Deserialize,

§

fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<T, ReadError>

§

fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/legacy/struct.OldAddress.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/legacy/struct.OldAddress.html index 82f227e43c..b2b678f2b0 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/legacy/struct.OldAddress.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/legacy/struct.OldAddress.html @@ -30,9 +30,9 @@ T: AsRef<[u8]>,
§

type Err = Error

Error type if conversion fails
§

fn check_base32( self ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

Check if all values are in range and return array-like struct of u5 values
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/tokens/identifier/struct.TokenIdentifier.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/tokens/identifier/struct.TokenIdentifier.html index a57f4afbfb..644d0ef0e2 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/tokens/identifier/struct.TokenIdentifier.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/tokens/identifier/struct.TokenIdentifier.html @@ -25,9 +25,9 @@ T: Deserialize,
§

fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<T, ReadError>

§

fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/committee/struct.CommitteeId.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/committee/struct.CommitteeId.html index 2cf5449352..367eec3545 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/committee/struct.CommitteeId.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/committee/struct.CommitteeId.html @@ -17,9 +17,9 @@ T: AsRef<[u8]>,
§

type Err = Error

Error type if conversion fails
§

fn check_base32( self ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

Check if all values are in range and return array-like struct of u5 values
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/struct.CommitteeId.html b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/struct.CommitteeId.html index 32a0586f75..e63907729b 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/struct.CommitteeId.html +++ b/tally-script-improvments/06_rust_api/rust/doc/chain_impl_mockchain/vote/struct.CommitteeId.html @@ -17,9 +17,9 @@ T: AsRef<[u8]>,
§

type Err = Error

Error type if conversion fails
§

fn check_base32( self ) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>

Check if all values are in range and return array-like struct of u5 values
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> FromStr for Twhere +

§

impl<T> FromStr for Twhere T: FromStr, - <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

source§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere + <T as FromStr>::Err: Error + Send + Sync + 'static,

§

type Error = <T as FromStr>::Err

§

fn from_str(s: &str) -> Result<T, <T as FromStr>::Error>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/help.html b/tally-script-improvments/06_rust_api/rust/doc/help.html index b0a0816ddb..bc8697ac44 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/help.html +++ b/tally-script-improvments/06_rust_api/rust/doc/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html index 164eb374e3..47d42ec135 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/committee/enum.Error.html +++ b/tally-script-improvments/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, request: &mut Request<'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, request: &mut Request<'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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html index 8ed5905727..b3a8dfa02d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/committee/fn.generate_committee_data.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html index 60f643868d..d03b38c44e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/struct.Settings.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html index 2f31eb2f7d..ecf85b0ae3 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/vote_plan/enum.VotePlanSettings.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html index 5af1c8f874..0ded3f6c0d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/settings/wallet/struct.Wallet.html +++ b/tally-script-improvments/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<Wallet>,
+    inner: Option<Wallet>,
     template: WalletTemplate,
 }
Expand description

wallet to utilise when testing jormungandr

This can be used for a faucet

-

Fields§

§inner: Option<Wallet>§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<Wallet>§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 Wallet

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 Wallet

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html index 88250bf02e..a4c45ae71b 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/stake_pool/fn.generate.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html index 4262f983c3..63a8870678 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/struct.Wallet.html +++ b/tally-script-improvments/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<Wallet>,
+    inner: Option<Wallet>,
     template: WalletTemplate,
 }
Expand description

wallet to utilise when testing jormungandr

This can be used for a faucet

-

Fields§

§inner: Option<Wallet>§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<Wallet>§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 Wallet

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 Wallet

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html index 93267a453e..c155acf787 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/builder/vote/fn.generate_vote_plans.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html index f94d4be42a..ba5089ee90 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/committee/enum.CommitteeTemplate.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html index bbb3142767..418dc2e329 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/enum.CommitteeTemplate.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html index bc62eb2a1e..1ba7d44b61 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/enum.WalletTemplate.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html index c0668b9c2b..4d890e7c50 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/struct.WalletTemplateBuilder.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html index 14f3049337..76537f66ad 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/wallet/builder/struct.WalletTemplateBuilder.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html index 0aa3a1f1ba..dd1b7f10f5 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/config/wallet/enum.WalletTemplate.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/controller/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/enum.Error.html index 19d9129650..7c85b6c523 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/enum.Error.html +++ b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/enum.Error.html @@ -1,6 +1,6 @@ Error in hersir::controller - Rust

Enum hersir::controller::Error

source ·
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, request: &mut Request<'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: 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: 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: LegacyConfigError) -> 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<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, request: &mut Request<'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: 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: 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: LegacyConfigError) -> 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<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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html index 1e52a79fad..595bf4e737 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/error/enum.Error.html +++ b/tally-script-improvments/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, request: &mut Request<'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: 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: 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: LegacyConfigError) -> 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<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, request: &mut Request<'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: 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: 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: LegacyConfigError) -> 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<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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html index f7f06faa73..320dc0abb7 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/interactive/controller/struct.UserInteractionController.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html index 82113e5aa0..65fd0e832f 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/interactive/struct.UserInteractionController.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html index 882ac4bad3..7a9be54fec 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/monitor/struct.MonitorController.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/controller/struct.Controller.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/struct.Controller.html index 40b5e8912a..6e082138c6 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/struct.Controller.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html index 16ca24355a..4c14475f18 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/controller/struct.MonitorController.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/hersir/error/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/hersir/error/enum.Error.html index 1772f7d366..c6e234885d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/hersir/error/enum.Error.html +++ b/tally-script-improvments/06_rust_api/rust/doc/hersir/error/enum.Error.html @@ -3,16 +3,16 @@ InteractiveCommand(InteractiveCommandError), Controller(Error), 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(Error)

§

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, request: &mut Request<'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: ControllerError) -> 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<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(Error)

§

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, request: &mut Request<'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: ControllerError) -> 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<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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html index 4f36807a1d..f237ecadfa 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/controller/struct.Controller.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html index 7d94f1ace3..055e028016 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/expiry/fn.default_block_date_generator.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html index 8cfcf69b7c..007e555743 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/expiry/fn.from_block_or_shift.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html index 3bbd848a46..b4c24ae94a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/batch/struct.BatchWalletRequestGen.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html index 630c4d5d20..7d820d836c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/load/request_generators/jormungandr/post/single/struct.WalletRequestGen.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/struct.Controller.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/struct.Controller.html index 95ad21c35d..626c3394de 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/struct.Controller.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html index f666641c81..728a79d9f4 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/struct.WalletRequestGen.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html index 559f64aaea..b625309f7a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/utils/expiry/fn.default_block_date_generator.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html b/tally-script-improvments/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html index 0bebe73897..c1dd7d3903 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/iapyx/utils/expiry/fn.from_block_or_shift.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Block.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Block.js index 13079f4b9a..d9990fda65 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Block.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Block.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl Block for Block"]] +"chain_impl_mockchain":[["impl Block for Block"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockDate.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockDate.js index 1d803e9804..fcf0628abf 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockDate.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockDate.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl BlockDate for BlockDate"]] +"chain_impl_mockchain":[["impl BlockDate for BlockDate"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockId.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockId.js index 417bc6f0f6..edcb2cc82e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockId.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.BlockId.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl BlockId for Hash"]] +"chain_impl_mockchain":[["impl BlockId for Hash"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.ChainLength.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.ChainLength.js index ed5d51aff4..83bdf5a38f 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.ChainLength.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.ChainLength.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl ChainLength for ChainLength"]] +"chain_impl_mockchain":[["impl ChainLength for ChainLength"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Fragment.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Fragment.js index 289d653641..43c0aa4978 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Fragment.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Fragment.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl Fragment for Fragment"]] +"chain_impl_mockchain":[["impl Fragment for Fragment"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.FragmentId.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.FragmentId.js index 5c7d2c6702..1549be0ea2 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.FragmentId.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.FragmentId.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl FragmentId for Hash"]] +"chain_impl_mockchain":[["impl FragmentId for Hash"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasFragments.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasFragments.js index c7c7df07a9..214728a40c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasFragments.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasFragments.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl<'a> HasFragments<'a> for &'a Block"]] +"chain_impl_mockchain":[["impl<'a> HasFragments<'a> for &'a Block"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasHeader.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasHeader.js index 6c6a9a64d2..6cc874c34a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasHeader.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.HasHeader.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl HasHeader for Block"]] +"chain_impl_mockchain":[["impl HasHeader for Block"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Header.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Header.js index fc4609c5ee..1a7af9ed09 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Header.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/chain_core/property/trait.Header.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"chain_impl_mockchain":[["impl Header for Header"]] +"chain_impl_mockchain":[["impl Header for Header"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.From.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.From.js index 1f0880fbfb..d1feca13a4 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.From.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.From.js @@ -16,7 +16,7 @@ "explorer":[["impl From<PerVoteCertificateFee> for ConfigParam"],["impl From<UpdateProposal> for UpdateProposal"],["impl From<BlockDate> for BlockDate"],["impl From<Error> for IndexerError"],["impl From<Error> for IndexerError"],["impl From<Discrimination> for ConfigParam"],["impl From<BlockContentMaxSize> for ConfigParam"],["impl From<PoolUpdate> for Certificate"],["impl From<&TaxType> for TreasuryParams"],["impl From<TimeOffsetSeconds> for TimeOffsetSeconds"],["impl From<PoolRegistration> for PoolRegistration"],["impl From<UpdateProposal> for Certificate"],["impl From<&ConfigParam> for ConfigParam"],["impl From<Block0Date> for ConfigParam"],["impl From<PayloadType> for Value"],["impl From<Error> for Error"],["impl From<&ExplorerAddress> for Address"],["impl From<BftLeaderId> for BftLeader"],["impl From<DiscriminationEnum> for Value"],["impl From<VotePlan> for VotePlan"],["impl From<ExplorerError> for IndexerError"],["impl From<&CommitteeId> for AddCommitteeId"],["impl From<RewardPot> for ConfigParam"],["impl From<TransactionMaxExpiryEpochs> for ConfigParam"],["impl From<PoolRetirement> for Certificate"],["impl From<BootstrapError> for Error"],["impl From<StakeDelegation> for Certificate"],["impl From<AddCommitteeId> for ConfigParam"],["impl From<VotePayloadPublicStatus> for VotePayloadStatus"],["impl From<&(NonZeroU32, NonZeroU32)> for PoolRewardParticipationCapping"],["impl From<u32> for VotePlanCount"],["impl From<UpdateVote> for UpdateVote"],["impl From<&RewardParams> for RewardParams"],["impl From<ConsensusType> for ConfigParam"],["impl From<IndexCursor> for String"],["impl From<VoteTally> for Certificate"],["impl From<&u32> for BlockContentMaxSize"],["impl From<HalvingRewardParams> for RewardParamsUnion"],["impl From<VoteCast> for VoteCast"],["impl From<&ConfigParams> for ConfigParams"],["impl From<RemoveBftLeader> for ConfigParam"],["impl From<Error> for Error"],["impl From<TreasuryAdd> for ConfigParam"],["impl From<TallyPrivateStatus> for TallyStatus"],["impl From<PoolUpdate> for PoolUpdate"],["impl From<SlotsPerEpoch> for ConfigParam"],["impl From<&u32> for ProposalExpiration"],["impl From<IndexerError> for Error"],["impl From<AddBftLeader> for ConfigParam"],["impl From<RewardParams> for ConfigParam"],["impl From<&ConsensusType> for ConsensusType"],["impl From<u64> for Value"],["impl From<MintToken> for Certificate"],["impl From<Milli> for ConfigParam"],["impl From<RemoveCommitteeId> for ConfigParam"],["impl From<RewardLimitByAbsoluteStake> for ConfigParam"],["impl From<Error> for IndexerError"],["impl From<&BftLeaderId> for RemoveBftLeader"],["impl From<DigestOf<Blake2b256, VotePlan>> for VotePlanId"],["impl From<&BftLeaderId> for AddBftLeader"],["impl From<&Discrimination> for Discrimination"],["impl From<&u8> for SlotDuration"],["impl From<TreasuryParams> for ConfigParam"],["impl From<ParseError> for IndexerError"],["impl From<BlockNotFound> for ExplorerError"],["impl From<&u8> for TransactionMaxExpiryEpochs"],["impl From<Error> for Error"],["impl From<&u32> for SlotsPerEpoch"],["impl From<u64> for IndexCursor"],["impl From<Arc<ExplorerBlock, Global>> for Block"],["impl From<&Milli> for Milli"],["impl From<&Ratio> for RewardLimitByAbsoluteStake"],["impl From<VotePayloadPrivateStatus> for VotePayloadStatus"],["impl From<ProposalExpiration> for ConfigParam"],["impl From<&LinearFee> for LinearFee"],["impl From<EvmMapping> for EvmMapping"],["impl From<OwnerStakeDelegation> for OwnerStakeDelegation"],["impl From<&PublicKey<Ed25519>> for PublicKey"],["impl From<FeesInTreasury> for ConfigParam"],["impl From<Options> for VoteOptionRange"],["impl<T: Borrow<Weight>> From<T> for Weight"],["impl From<&CommitteeId> for RemoveCommitteeId"],["impl From<TallyPublicStatus> for TallyStatus"],["impl From<&PerVoteCertificateFee> for PerVoteCertificateFee"],["impl From<u64> for VotePlanCount"],["impl From<LinearFee> for ConfigParam"],["impl From<OwnerStakeDelegation> for Certificate"],["impl From<EpochStabilityDepth> for ConfigParam"],["impl From<VoteCast> for Certificate"],["impl From<&bool> for FeesInTreasury"],["impl From<&u32> for EpochStabilityDepth"],["impl From<&Block0Date> for Block0Date"],["impl From<PoolRetirement> for PoolRetirement"],["impl From<Error> for Error"],["impl From<EvmMapping> for Certificate"],["impl From<ChainLength> for IndexCursor"],["impl From<Certificate> for Certificate"],["impl From<RewardLimitNone> for ConfigParam"],["impl From<KesUpdateSpeed> for ConfigParam"],["impl From<&Value> for RewardPot"],["impl From<PayloadType> for PayloadType"],["impl From<&u32> for KesUpdateSpeed"],["impl From<&PerCertificateFee> for PerCertificateFee"],["impl From<UpdateVote> for Certificate"],["impl From<BftLeader> for Leader"],["impl From<VotePlan> for Certificate"],["impl From<DigestOf<Blake2b256, ExternalProposalDocument>> for ExternalProposalId"],["impl From<PerCertificateFee> for ConfigParam"],["impl From<PoolRegistration> for Certificate"],["impl From<&Value> for TreasuryAdd"],["impl From<ConsensusTypeEnum> for Value"],["impl From<LinearRewardParams> for RewardParamsUnion"],["impl From<u64> for VoteStatusCount"],["impl From<PoolRewardParticipationCapping> for ConfigParam"],["impl From<SlotDuration> for ConfigParam"],["impl From<StakeDelegation> for StakeDelegation"],["impl From<Pool> for Leader"],["impl From<ExplorerVoteTally> for TallyStatus"],["impl From<u32> for IndexCursor"]], "explorer_client":[["impl From<Error> for Error"],["impl From<ExplorerError> for Error"]], "hdkeygen":[["impl From<AccountId> for PublicKey<Ed25519>"],["impl From<[u8; 32]> for AccountId"]], -"hersir":[["impl From<Error> for Error"],["impl From<Wallet> for Wallet"],["impl From<Error> for Error"],["impl From<WalletTemplate> for Wallet"],["impl From<StartupError> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<ReadError> for Error"],["impl From<FixtureError> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<ExplorerError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ExplorerError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<WriteError> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<MockClientError> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<WalletError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<StartupError> for Error"],["impl From<Error> for Error"],["impl From<ScanError> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<MonitorController> for Controller"],["impl From<Error> for Error"]], +"hersir":[["impl From<Error> for Error"],["impl From<Wallet> for Wallet"],["impl From<Error> for Error"],["impl From<WalletTemplate> for Wallet"],["impl From<StartupError> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<ReadError> for Error"],["impl From<FixtureError> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<ExplorerError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ExplorerError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<WriteError> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<MockClientError> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<WalletError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<StartupError> for Error"],["impl From<Error> for Error"],["impl From<ScanError> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<MonitorController> for Controller"],["impl From<Error> for Error"]], "iapyx":[["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<MultiController> for Vec<Wallet>"],["impl From<MultiControllerError> for Error"],["impl From<Error> for ControllerError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<MultiControllerError> for RequestGenError"],["impl From<Error> for Error"],["impl From<Error> for RequestGenError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for MultiControllerError"],["impl From<Error> for Error"],["impl From<ControllerError> for Error"],["impl From<Error> for ControllerError"],["impl From<Error> for MultiControllerError"],["impl From<RestError> for Error"],["impl From<Error> for ControllerError"],["impl From<Error> for Error"],["impl From<BadPinError> for Error"],["impl From<Error> for Error"],["impl From<Error> for RequestGenError"],["impl From<Error> for Error"],["impl From<Error> for ControllerError"],["impl From<RestError> for Error"],["impl From<MultiControllerError> for Error"],["impl From<MultiControllerError> for Error"],["impl From<Error> for MultiControllerError"],["impl From<ControllerError> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for Error"],["impl From<RestError> for ControllerError"],["impl From<ParseAccountIdentifierError> for ControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for Error"],["impl From<KeyQrCodeError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RequestGenError> 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<FragmentSenderError> for Error"],["impl From<ControllerError> for Error"],["impl From<Error> for Error"]], @@ -27,9 +27,9 @@ "jormungandr_lib":[["impl<T> From<Hash> for DigestOf<Blake2b256, T>"],["impl From<Error> for CertificateFromStrError"],["impl From<LastRewards> for LastRewards"],["impl From<NumberOfSlotsPerEpoch> for u32"],["impl From<SignedCertificate> for SignedCertificate"],["impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamsError"],["impl From<LogMaxEntries> for usize"],["impl From<TryFromKesUpdateSpeedError> for FromConfigParamsError"],["impl From<SystemTime> for SecondsSinceUnixEpoch"],["impl From<SystemTime> for SecondsSinceUnixEpoch"],["impl From<Tally> for TallyResult"],["impl From<KesUpdateSpeed> for ConfigParam"],["impl From<Hash> for Blake2b256"],["impl From<VotePlan> for VotePlan"],["impl From<Hash> for Hash"],["impl From<ReadError> for CertificateFromBech32Error"],["impl From<UnspecifiedAccountIdentifier> for AccountIdentifier"],["impl From<LastRewards> for LastRewards"],["impl<'a, E> From<&'a AccountState<E>> for AccountState"],["impl<'a> From<Entry<'a, Address>> for UTxOInfo"],["impl<T, A: VerificationAlgorithm> From<Signature<T, A>> for Signature<T, A>"],["impl From<TokenIdentifier> for TokenIdentifier"],["impl From<TryFromSlotDurationError> for FromConfigParamError"],["impl From<Blake2b256> for Hash"],["impl From<Value> for u64"],["impl From<CertificateFromBech32Error> for CertificateFromStrError"],["impl From<u64> for Stake"],["impl From<Duration> for Duration"],["impl From<Error> for Block0ConfigurationError"],["impl From<Ratio> for Ratio"],["impl From<Error> for CertificateFromBech32Error"],["impl From<String> for CorsOrigin"],["impl From<Value> for Value"],["impl From<Certificate> for Certificate"],["impl From<SlotDuration> for u8"],["impl From<DelegationType> for DelegationType"],["impl From<Identifier<Ed25519>> for Identifier"],["impl From<Stake> for Stake"],["impl From<usize> for PoolMaxEntries"],["impl From<TimeEraDef> for TimeEra"],["impl From<ConsensusLeaderId> for BftLeaderId"],["impl From<Hash> for [u8; 32]"],["impl From<SystemTime> for SystemTime"],["impl From<TokenName> for TokenName"],["impl From<TryFromKesUpdateSpeedError> for FromConfigParamError"],["impl From<ConfigParam> for ConfigParam"],["impl From<TransactionWitness> for Witness"],["impl From<SystemTime> for SystemTime"],["impl From<TaxType> for TaxType"],["impl From<SignedCertificate> for SignedCertificate"],["impl From<InitialUTxO> for Destination"],["impl From<TryFromActiveSlotCoefficientError> for FromConfigParamError"],["impl From<PayloadType> for VotePrivacy"],["impl From<BlockContentMaxSize> for BlockContentSize"],["impl From<u32> for EpochStabilityDepth"],["impl<E> From<AccountState<E>> for AccountState"],["impl From<ProposalExpiration> for u32"],["impl From<SecondsSinceUnixEpoch> for SystemTime"],["impl From<SecretKey<Ed25519>> for SigningKey"],["impl From<TryFromActiveSlotCoefficientError> for FromConfigParamsError"],["impl From<u64> for Value"],["impl From<AccountIdentifier> for AccountIdentifier"],["impl From<WriteError> for CertificateToBech32Error"],["impl From<Fragment> for FragmentDef"],["impl From<u32> for BlockContentMaxSize"],["impl From<MintToken> for MintToken"],["impl From<Stake> for Stake"],["impl From<Tally> for Tally"],["impl From<Payload> for VotePayload"],["impl From<VoteProposalStatus> for VoteProposalStatus"],["impl From<ReadError> for EvmTransactionFromStrError"],["impl From<EvmTransaction> for EvmTransaction"],["impl From<SecretKey<Ed25519Extended>> for SigningKey"],["impl From<PreferredViewMax> for usize"],["impl From<TaxType> for TaxType"],["impl From<NumberOfSlotsPerEpoch> for ConfigParam"],["impl From<OldAddress> for Addr"],["impl From<Certificate> for Certificate"],["impl From<MintingPolicy> for MintingPolicy"],["impl From<FragmentDef> for Fragment"],["impl From<TransactionOutput> for Output<Address>"],["impl From<ConfigParams> for ConfigParams"],["impl From<EvmTransaction> for EvmTransaction"],["impl From<DelegationType> for DelegationType"],["impl From<ConsensusLeaderId> for ConfigParam"],["impl From<Witness> for TransactionWitness"],["impl From<TallyResult> for TallyResult"],["impl From<CommitteeId> for CommitteeIdDef"],["impl From<TryFromFeesGoToError> for FromConfigParamError"],["impl From<Error> for TransactionWitnessFromStrError"],["impl From<ActiveSlotCoefficient> for ConfigParam"],["impl From<Hash> for Hash"],["impl<A: AsymmetricKey> From<SecretKey<A>> for SigningKey<A>"],["impl From<Duration> for Duration"],["impl From<[u8; 32]> for Hash"],["impl From<Output<Address>> for TransactionOutput"],["impl From<Address> for Address"],["impl From<Value> for Value"],["impl From<VotePlanStatus> for VotePlanStatus"],["impl From<EncryptedTally> for EncryptedTally"],["impl From<Error> for ParseAccountIdentifierError"],["impl From<BlockDate> for BlockDate"],["impl From<Error> for CertificateToBech32Error"],["impl From<TryFromFeesGoToError> for FromConfigParamsError"],["impl From<SlotDuration> for ConfigParam"],["impl From<TransactionInput> for Input"],["impl From<TallyResult> for TallyResult"],["impl From<CommitteeIdDef> for CommitteeId"],["impl From<BftLeaderId> for ConsensusLeaderId"],["impl From<ParseIntError> for ParseRatioError"],["impl From<usize> for LogMaxEntries"],["impl From<[u8; 32]> for CommitteeIdDef"],["impl From<Tally> for Tally"],["impl<A: AsymmetricPublicKey> From<PublicKey<A>> for Identifier<A>"],["impl From<BlockchainConfiguration> for ConfigParams"],["impl From<Error> for SigningKeyParseError"],["impl<T> From<DigestOf<Blake2b256, T>> for Hash"],["impl From<FromConfigParamsError> for Block0ConfigurationError"],["impl From<PoolMaxEntries> for usize"],["impl From<VoteProposalDef> for Proposal"],["impl From<FeesGoTo> for ConfigParam"],["impl From<Ratio> for Ratio"],["impl From<VotePlanStatus> for VotePlanStatus"],["impl From<PublicKey<Ed25519>> for Identifier"],["impl From<Input> for TransactionInput"],["impl From<RewardParams> for RewardParams"],["impl<A: AsymmetricKey> From<SigningKey<A>> for SecretKey<A>"],["impl From<VotePrivacy> for PayloadType"],["impl From<AccountIdentifier> for AccountIdentifier"],["impl From<Identifier> for Identifier"],["impl From<Error> for SigningKeyParseError"],["impl From<MintingPolicy> for MintingPolicy"],["impl From<TryFromSlotDurationError> for FromConfigParamsError"],["impl From<Address> for Address"],["impl From<Addr> for OldAddress"],["impl From<RewardParams> for RewardParams"],["impl From<u32> for ProposalExpiration"],["impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamError"],["impl From<EpochStabilityDepth> for u32"],["impl From<VoteProposalStatus> for VoteProposalStatus"],["impl From<MintToken> for MintToken"],["impl From<TokenIdentifier> for TokenIdentifier"],["impl From<ReadError> for TransactionWitnessFromStrError"],["impl From<BlockDate> for BlockDate"],["impl From<Identifier<Ed25519>> for ConsensusLeaderId"],["impl From<Stake> for u64"],["impl From<PublicKey<Ed25519>> for ConsensusLeaderId"],["impl From<VotePlan> for VotePlan"],["impl From<FromHexError> for EvmTransactionFromStrError"]], "jortestkit":[["impl From<DecodeError> for TokenError"],["impl From<Duration> for Speed"],["impl<T> From<T> for RayonWrapper<T>"],["impl From<Error> for WebError"],["impl From<&[u8]> for APIToken"],["impl From<Error> for DecompressError"],["impl From<Error> for GitHubApiError"],["impl From<Endurance> for Duration"],["impl From<u32> for Counter"],["impl From<ZipError> for DecompressError"],["impl From<Error> for GitHubApiError"],["impl From<Error> for WebError"],["impl From<FromHexError> for GitHubApiError"],["impl From<WebError> for GitHubApiError"],["impl From<Error> for InteractiveCommandError"],["impl From<SystemTime> for Timestamp"],["impl From<Duration> for Wait"],["impl From<Duration> for Endurance"]], "lib":[["impl From<Error> for Error"],["impl From<ValueError> for Error"],["impl From<BalanceError> for ValidationError"],["impl From<Block0ConfigurationError> for Error"],["impl From<ReplayError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ValidationError> for Error"],["impl From<Error> for Error"],["impl From<DeserializeError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], -"loki":[["impl From<FragmentBuilderError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"],["impl From<FragmentVerifierError> for AdversaryFragmentSenderError"],["impl From<ReadError> for Error"],["impl From<SyncNodeError> for AdversaryFragmentSenderError"],["impl From<Block0ConfigurationError> for Error"],["impl From<FragmentExporterError> for AdversaryFragmentSenderError"],["impl From<FragmentNodeError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"]], +"loki":[["impl From<FragmentBuilderError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"],["impl From<FragmentVerifierError> for AdversaryFragmentSenderError"],["impl From<ReadError> for Error"],["impl From<SyncNodeError> for AdversaryFragmentSenderError"],["impl From<Block0ConfigurationError> for Error"],["impl From<FragmentExporterError> for AdversaryFragmentSenderError"],["impl From<FragmentNodeError> for AdversaryFragmentSenderError"],["impl From<Error> for Error"]], "mainnet_lib":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Vec<(&str, u32), Global>> for Target"],["impl From<JsError> for JsonConversionError"],["impl From<PublicKeyFromStrError> for Error"],["impl From<JsError> for Error"],["impl From<Error> for JsonConversionError"],["impl From<Error> for Error"]], -"mainnet_tools":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TryFromIntError> for Error"],["impl From<Error> for Error"]], +"mainnet_tools":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TryFromIntError> for Error"],["impl From<Error> for Error"]], "mjolnir":[["impl From<RestError> for MjolnirError"],["impl From<Block0Error> for MjolnirError"],["impl From<MjolnirError> for RestLoadCommandError"],["impl From<StartupError> for MjolnirError"],["impl From<MjolnirError> for ExplorerLoadCommandError"],["impl From<MjolnirError> for FragmentLoadCommandError"],["impl From<MjolnirError> for ClientLoadCommandError"],["impl From<JormungandrError> for MjolnirError"]], "scheduler_service_lib":[["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<WrappedPoisonError> for Error"],["impl From<Error> for Error"],["impl<T> From<PoisonError<T>> for WrappedPoisonError"],["impl<T> From<PoisonError<T>> for Error"]], "settings":[["impl From<Error> for Error"]], @@ -47,7 +47,7 @@ "vit_servicing_station_server":[["impl From<Error> for ConfigTracingError"],["impl From<TraceError> for ConfigTracingError"],["impl From<TryInitError> for ConfigTracingError"]], "vit_servicing_station_tests":[["impl From<Error> for Error"],["impl From<DbBuilderError> for ServerBootstrapperError"],["impl From<CargoError> for ServerBootstrapperError"],["impl From<Error> for TemplateLoad"],["impl From<&ServiceSettings> for RestClient"],["impl From<RawSnapshot> for RawSnapshotUpdater"],["impl From<Error> for DbInserterError"],["impl From<ConnectionError> for DbBuilderError"],["impl From<SnapshotInfo> for VotingPower"],["impl From<VotePlanDef> for SingleVotePlanParameters"],["impl From<RawSnapshot> for RepsVotersAssigner"],["impl From<VarError> for DbBuilderError"],["impl From<Error> for Error"],["impl From<FundDates> for FundInfo"],["impl From<DbInserterError> for DbBuilderError"],["impl From<Error> for ServerBootstrapperError"],["impl From<Snapshot> for SnapshotUpdater"],["impl From<CurrentFund> for ValidVotePlanParameters"]], "vit_servicing_station_tests_f10":[["impl From<ConnectionError> for DbBuilderError"],["impl From<VotePlanDef> for SingleVotePlanParameters"],["impl From<CurrentFund> for ValidVotePlanParameters"],["impl From<&ServiceSettings> for RestClient"],["impl From<Error> for DbInserterError"],["impl From<CargoError> for ServerBootstrapperError"],["impl From<Error> for TemplateLoad"],["impl From<Error> for ServerBootstrapperError"],["impl From<Error> for Error"],["impl From<RunMigrationsError> for DbBuilderError"],["impl From<DbBuilderError> for ServerBootstrapperError"],["impl From<Error> for Error"],["impl From<FundDates> for FundInfo"],["impl From<DbInserterError> for DbBuilderError"]], -"vitup":[["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<MockClientError> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VitupRest> for VitupDisruptionRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VoteBlockchainTime> for VoteTime"],["impl From<Error> for Error"],["impl From<Error> for ChallengeError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<DiscoverArchiveByFileError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<VitupRest> for VitupAdminRestClient"],["impl From<&TempDir> for DeploymentTree"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ReviewError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for Error"],["impl From<Error> for Error"],["impl From<DbBuilderError> for Error"],["impl From<Error> for ProposalError"],["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<Error> for Error"],["impl From<ParseFloatError> 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<ConsumptionBenchmarkError> for Error"],["impl From<ServerBootstrapperError> for Error"],["impl From<Error> for Error"],["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<TemplateLoad> for ProposalError"],["impl From<ProposalError> 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 CheckError"],["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<i32> for FundInfo"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<CheckError> for Error"],["impl From<TemplateLoad> for ChallengeError"],["impl From<Error> for ProposalError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<GlobError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for ReviewError"],["impl From<Error> 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<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<WalletError> for Error"],["impl From<ScanError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], +"vitup":[["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<MockClientError> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VitupRest> for VitupDisruptionRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VoteBlockchainTime> for VoteTime"],["impl From<Error> for Error"],["impl From<Error> for ChallengeError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<DiscoverArchiveByFileError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<VitupRest> for VitupAdminRestClient"],["impl From<&TempDir> for DeploymentTree"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ReviewError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for Error"],["impl From<Error> for Error"],["impl From<DbBuilderError> for Error"],["impl From<Error> for ProposalError"],["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<Error> for Error"],["impl From<ParseFloatError> 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<ConsumptionBenchmarkError> for Error"],["impl From<ServerBootstrapperError> for Error"],["impl From<Error> for Error"],["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<TemplateLoad> for ProposalError"],["impl From<ProposalError> 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 CheckError"],["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<i32> for FundInfo"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<CheckError> for Error"],["impl From<TemplateLoad> for ChallengeError"],["impl From<Error> for ProposalError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<GlobError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for ReviewError"],["impl From<Error> 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<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<WalletError> for Error"],["impl From<ScanError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], "voting_tools_rs":[["impl From<&str> for StakePubKey"],["impl From<&str> for DbUser"],["impl From<NetworkId> for OsStr"],["impl From<u64> for VotingPurpose"],["impl From<u64> for SlotNo"],["impl From<String> for DbName"],["impl From<Bytes<HexString>> for RewardsAddress"],["impl From<u64> for Nonce"],["impl From<&str> for DbHost"],["impl From<&str> for DbName"],["impl From<String> for DbHost"],["impl From<String> for StakeAddr"],["impl From<PubKey> for StakeKeyHex"],["impl From<String> for DbUser"],["impl From<u64> for TxId"],["impl From<VotingPurpose> for OsStr"],["impl From<String> for StakePubKey"],["impl From<PubKey> for VotingKeyHex"],["impl From<&str> for StakeAddr"]], "wallet":[["impl From<Error> for Error"],["impl From<String> for ScrubbedBytes"],["impl From<Vec<u8, Global>> for ScrubbedBytes"]], "wallet_core":[["impl From<BlockDate> for BlockDate"],["impl From<BlockDate> for BlockDate"],["impl From<TimeEra> for TimeEra"],["impl From<Error> for Result"],["impl From<Result<(), Error>> for Result"]], diff --git a/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.Into.js b/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.Into.js index 5799ad8503..95bec36494 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.Into.js +++ b/tally-script-improvments/06_rust_api/rust/doc/implementors/core/convert/trait.Into.js @@ -5,5 +5,5 @@ "thor":[["impl Into<RestSettings> for Connection"],["impl Into<JormungandrRest> for Connection"]], "vit_servicing_station_tests":[["impl Into<Fund> for FundInfo"],["impl Into<RestClient> for RestClient"],["impl Into<SearchQuery> for SearchRequestBuilder"],["impl Into<FundStageDates> for FundDates"]], "vit_servicing_station_tests_f10":[["impl Into<Fund> for FundInfo"],["impl Into<FundStageDates> for FundDates"],["impl Into<RestClient> for RestClient"]], -"vitup":[["impl Into<SessionMode> for Mode"]] +"vitup":[["impl Into<SessionMode> for Mode"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/index.html b/tally-script-improvments/06_rust_api/rust/doc/index.html index 7bb1f5a6d0..7cab9cd909 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/index.html +++ b/tally-script-improvments/06_rust_api/rust/doc/index.html @@ -1 +1 @@ -Index of crates
\ No newline at end of file +Index of crates
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html index 754f5a9231..2fba9ba8e6 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/context/struct.ActorsTestContext.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html index 700cb964ad..14df813028 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_account_address.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html index 233c94f379..d0150d1914 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html index e7e87049f2..e338d4dcbd 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_delegation_address_for.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html index cc20fdc30e..753cb8214c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.create_new_utxo_address.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html index e1bb112e7c..167fb3545d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/fn.start_stake_pool.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html index 801eded0fe..34309a21cb 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.ActorsTestBootstrapper.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html b/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html index 8ca7fb7430..e0a091a3b4 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/jormungandr_integration_tests/startup/struct.SingleNodeTestBootstrapper.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html b/tally-script-improvments/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html index 57dd29f22f..477193a988 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/enum.AdversaryFragmentSenderError.html +++ b/tally-script-improvments/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, request: &mut Request<'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, request: &mut Request<'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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html b/tally-script-improvments/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html index d55ff971c7..58ce5b10e0 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/process/struct.AdversaryNode.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html b/tally-script-improvments/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html index ed367cc057..8d6ee141c2 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/sender/enum.AdversaryFragmentSenderError.html +++ b/tally-script-improvments/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, request: &mut Request<'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, request: &mut Request<'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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html b/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html index a9ee9fa708..c12b05d210 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSender.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html b/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html index 2298813b72..69e96d74e6 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.AdversaryFragmentSenderSetup.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html index f5815594ea..9aa41c35e0 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/sender/struct.FaultyTransactionBuilder.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html b/tally-script-improvments/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html index aece42a917..1aba011d93 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSender.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html b/tally-script-improvments/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html index 89e21f89c3..87a8f68b39 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/struct.AdversaryFragmentSenderSetup.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html index a91bd26f31..e42fd2de1d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/loki/struct.FaultyTransactionBuilder.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html index ba0ef3dc29..4663bc820e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_lib/struct.CardanoWallet.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html index bcdc7270d5..8811b93d6a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_lib/wallet/struct.CardanoWallet.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/enum.Error.html index 6f8900c16b..d1c64a8dae 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/enum.Error.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/enum.Error.html @@ -2,13 +2,13 @@ TimeConversion(TryFromIntError), CannotConvertFromOutput(String), Snapshot(Error), - Template(TemplateError), + Template(TemplateError), }
Expand description

Conversion related errors

Variants§

§

TimeConversion(TryFromIntError)

Errors derived from time conversion

§

CannotConvertFromOutput(String)

Error related to incorrect conversion

§

Snapshot(Error)

Error related to snapshot conversion

-
§

Template(TemplateError)

Error related to building mock snapshot

-

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, request: &mut Request<'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: TemplateError) -> Self

Converts to this type from the input type.
source§

impl From<TryFromIntError> for Error

source§

fn from(source: TryFromIntError) -> 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 +

§

Template(TemplateError)

Error related to building mock snapshot

+

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, request: &mut Request<'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: TemplateError) -> Self

Converts to this type from the input type.
source§

impl From<TryFromIntError> for Error

source§

fn from(source: TryFromIntError) -> 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.MainnetWalletStateExtension.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.MainnetWalletStateExtension.html index 9a8e6f2fc6..2b6e1c1144 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.MainnetWalletStateExtension.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.MainnetWalletStateExtension.html @@ -2,16 +2,16 @@ // Required method fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>; }
Expand description

Extensions for MainnetWalletStateExtension struct

Required Methods§

source

fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Converts to RawSnapshotRequest

Errors

At any internal error while creating a snapshot

-

Implementations on Foreign Types§

source§

impl MainnetWalletStateExtension for Vec<MainnetWalletState>

Implementations on Foreign Types§

source§

impl MainnetWalletStateExtension for Vec<MainnetWalletState>

source§

fn try_into_raw_snapshot_request( self, - _parameters: SnapshotParameters + _parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.OutputsExtension.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.OutputsExtension.html index 2bba90bece..7001202ace 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.OutputsExtension.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/convert/trait.OutputsExtension.html @@ -2,16 +2,16 @@ // Required method fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>; }
Expand description

Extensions for collection of voting tools Output struct

Required Methods§

source

fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Converts to RawSnapshotRequest

Errors

At any internal error while creating a snapshot

Implementations on Foreign Types§

source§

impl OutputsExtension for Vec<SnapshotEntry>

source§

fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/enum.Error.html index b82aa98f6e..b6ac3ad980 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/enum.Error.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/enum.Error.html @@ -2,13 +2,13 @@ TimeConversion(TryFromIntError), CannotConvertFromOutput(String), Snapshot(Error), - Template(TemplateError), + Template(TemplateError), }
Expand description

Conversion related errors

Variants§

§

TimeConversion(TryFromIntError)

Errors derived from time conversion

§

CannotConvertFromOutput(String)

Error related to incorrect conversion

§

Snapshot(Error)

Error related to snapshot conversion

-
§

Template(TemplateError)

Error related to building mock snapshot

-

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, request: &mut Request<'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: TemplateError) -> Self

Converts to this type from the input type.
source§

impl From<TryFromIntError> for Error

source§

fn from(source: TryFromIntError) -> 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 +

§

Template(TemplateError)

Error related to building mock snapshot

+

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, request: &mut Request<'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: TemplateError) -> Self

Converts to this type from the input type.
source§

impl From<TryFromIntError> for Error

source§

fn from(source: TryFromIntError) -> 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.MainnetWalletStateExtension.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.MainnetWalletStateExtension.html index cb1005bd71..15310b1ea8 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.MainnetWalletStateExtension.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.MainnetWalletStateExtension.html @@ -2,16 +2,16 @@ // Required method fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>; }
Expand description

Extensions for MainnetWalletStateExtension struct

Required Methods§

source

fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Converts to RawSnapshotRequest

Errors

At any internal error while creating a snapshot

-

Implementations on Foreign Types§

source§

impl MainnetWalletStateExtension for Vec<MainnetWalletState>

Implementations on Foreign Types§

source§

impl MainnetWalletStateExtension for Vec<MainnetWalletState>

source§

fn try_into_raw_snapshot_request( self, - _parameters: SnapshotParameters + _parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.OutputsExtension.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.OutputsExtension.html index 4a3f1d0469..b339c3fd23 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.OutputsExtension.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/trait.OutputsExtension.html @@ -2,16 +2,16 @@ // Required method fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>; }
Expand description

Extensions for collection of voting tools Output struct

Required Methods§

source

fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Converts to RawSnapshotRequest

Errors

At any internal error while creating a snapshot

Implementations on Foreign Types§

source§

impl OutputsExtension for Vec<SnapshotEntry>

source§

fn try_into_raw_snapshot_request( self, - parameters: SnapshotParameters + parameters: SnapshotParameters ) -> Result<RawSnapshotRequest, Error>

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/config/struct.Config.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/config/struct.Config.html index 3bc49aa75c..6ee36661bf 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/config/struct.Config.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/config/struct.Config.html @@ -1,12 +1,12 @@ Config in mainnet_tools::snapshot::wormhole::config - Rust
pub struct Config {
     pub snapshot_service: SnapshotService,
     pub servicing_station: ServicingStation,
-    pub(crate) parameters: SnapshotParameters,
+    pub(crate) parameters: SnapshotParameters,
 }
Expand description

Configuration. It contains 3 parts snapshot-service connection, servicing station configuration and parameters of single import (as we need to set e.g. tag under which our snapshot will be put)

Fields§

§snapshot_service: SnapshotService

Snapshot service related configuration

§servicing_station: ServicingStation

Servicing service related configuration

-
§parameters: SnapshotParameters

Import parameters

+
§parameters: SnapshotParameters

Import parameters

Trait Implementations§

source§

impl Clone for Config

source§

fn clone(&self) -> Config

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 Config

source§

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

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

impl<'de> Deserialize<'de> for Config

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 Serialize for Config

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/struct.Config.html b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/struct.Config.html index f0af78f19e..550d42e4e3 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/struct.Config.html +++ b/tally-script-improvments/06_rust_api/rust/doc/mainnet_tools/snapshot/wormhole/struct.Config.html @@ -1,12 +1,12 @@ Config in mainnet_tools::snapshot::wormhole - Rust
pub struct Config {
     pub snapshot_service: SnapshotService,
     pub servicing_station: ServicingStation,
-    pub(crate) parameters: SnapshotParameters,
+    pub(crate) parameters: SnapshotParameters,
 }
Expand description

Configuration. It contains 3 parts snapshot-service connection, servicing station configuration and parameters of single import (as we need to set e.g. tag under which our snapshot will be put)

Fields§

§snapshot_service: SnapshotService

Snapshot service related configuration

§servicing_station: ServicingStation

Servicing service related configuration

-
§parameters: SnapshotParameters

Import parameters

+
§parameters: SnapshotParameters

Import parameters

Trait Implementations§

source§

impl Clone for Config

source§

fn clone(&self) -> Config

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 Config

source§

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

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

impl<'de> Deserialize<'de> for Config

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 Serialize for Config

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html index 8f11af7ea3..ad101aafaf 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_generator/struct.AdversaryFragmentGenerator.html +++ b/tally-script-improvments/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>,
-    adversary_fragment_sender: AdversaryFragmentSender<'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>, - 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 + 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 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html index 1ac144023c..bfecb02abc 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/adversary_vote_casts_generator/struct.AdversaryVoteCastsGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html index 62a7bf820c..59a109680b 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/batch_generator/struct.BatchFragmentGenerator.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html index 115c7d7183..7a7681efc7 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/fragment_generator/struct.FragmentGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html index 5676623c30..f59dab9581 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryFragmentGenerator.html +++ b/tally-script-improvments/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>,
-    adversary_fragment_sender: AdversaryFragmentSender<'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>, - 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 + 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 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html index d1148e69ea..6fa9a1286a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.AdversaryVoteCastsGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html index 95dd38f5bb..9ef6e9a39d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.BatchFragmentGenerator.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html index 0c4d9255df..1c736194f5 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.FragmentGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html index 816b5e1021..3aa6c58a3b 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.TransactionGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html index 848384de7a..3550905206 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/struct.VoteCastsGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html index ec83c558fa..024c60c07e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/transaction_generator/struct.TransactionGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html b/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html index 87d9c78e4a..8a6243aabc 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/mjolnir/mjolnir_lib/generators/vote_casts_generator/struct.VoteCastsGenerator.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/settings.html b/tally-script-improvments/06_rust_api/rust/doc/settings.html index beaba5f39b..eb0392e218 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/settings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/settings.html @@ -1 +1 @@ -Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file +Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/community_advisors_reviews/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/community_advisors_reviews/dsl/macro.__static_cond.html index 5ddd9441b1..a335d8ae1c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/community_advisors_reviews/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/community_advisors_reviews/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib::db::schema::community_advisors_reviews::dsl - Rust
macro_rules! __static_cond {
     (community_advisors_reviews community_advisors_reviews) => { ... };
-    (community_advisors_reviews id) => { ... };
+    (community_advisors_reviews impact_alignment_note) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/contributions/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/contributions/dsl/macro.__static_cond.html index fd9560d43d..ccbb5bcb62 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/contributions/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/contributions/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib::db::schema::contributions::dsl - Rust
macro_rules! __static_cond {
     (contributions contributions) => { ... };
-    (contributions value) => { ... };
+    (contributions stake_public_key) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/proposals/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/proposals/dsl/macro.__static_cond.html index 3b57ee742c..478bb81d28 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/proposals/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/proposals/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib::db::schema::proposals::dsl - Rust
macro_rules! __static_cond {
     (proposals proposals) => { ... };
-    (proposals proposal_title) => { ... };
+    (proposals proposal_files_url) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/voteplans/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/voteplans/dsl/macro.__static_cond.html index 88cd18ea6d..30d7d07b08 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/voteplans/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/voteplans/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib::db::schema::voteplans::dsl - Rust
macro_rules! __static_cond {
     (voteplans voteplans) => { ... };
-    (voteplans chain_vote_start_time) => { ... };
+    (voteplans id) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/votes/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/votes/dsl/macro.__static_cond.html index 435f1375c9..4278678dd6 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/votes/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/schema/votes/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib::db::schema::votes::dsl - Rust
macro_rules! __static_cond {
     (votes votes) => { ... };
-    (votes caster) => { ... };
+    (votes fragment_id) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html index b1c23dfb7c..33a295b4cb 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib::db::views_schema::full_proposals_info::dsl - Rust
macro_rules! __static_cond {
     (full_proposals_info full_proposals_info) => { ... };
-    (full_proposals_info proposer_name) => { ... };
+    (full_proposals_info proposer_contact) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/funds/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/funds/dsl/macro.__static_cond.html index 1ef424efb3..4a82b6fbec 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/funds/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/funds/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib_f10::db::schema::funds::dsl - Rust
macro_rules! __static_cond {
     (funds funds) => { ... };
-    (funds assessment_qa_start) => { ... };
+    (funds next_registration_snapshot_time) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposal_community_choice_challenge/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposal_community_choice_challenge/dsl/macro.__static_cond.html index 3851d7aaeb..9ec2b0987a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposal_community_choice_challenge/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposal_community_choice_challenge/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib_f10::db::schema::proposal_community_choice_challenge::dsl - Rust
macro_rules! __static_cond {
     (proposal_community_choice_challenge proposal_community_choice_challenge) => { ... };
-    (proposal_community_choice_challenge proposal_id) => { ... };
+    (proposal_community_choice_challenge proposal_brief) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposals/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposals/dsl/macro.__static_cond.html index 1cd6ed9d79..54461fa488 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposals/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/proposals/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib_f10::db::schema::proposals::dsl - Rust
macro_rules! __static_cond {
     (proposals proposals) => { ... };
-    (proposals id) => { ... };
+    (proposals proposal_funds) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/voteplans/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/voteplans/dsl/macro.__static_cond.html index 056ef6f91f..34baa02a04 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/voteplans/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/schema/voteplans/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib_f10::db::schema::voteplans::dsl - Rust
macro_rules! __static_cond {
     (voteplans voteplans) => { ... };
-    (voteplans chain_vote_start_time) => { ... };
+    (voteplans id) => { ... };
 }
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html index 5e3802ad0a..8f623e2b3f 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vit_servicing_station_lib_f10/db/views_schema/full_proposals_info/dsl/macro.__static_cond.html @@ -1,4 +1,4 @@ __static_cond in vit_servicing_station_lib_f10::db::views_schema::full_proposals_info::dsl - Rust
macro_rules! __static_cond {
     (full_proposals_info full_proposals_info) => { ... };
-    (full_proposals_info proposal_files_url) => { ... };
-}
\ No newline at end of file + (full_proposals_info id) => { ... }; +}

y> \ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.build_servicing_station_parameters.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.build_servicing_station_parameters.html index de6a760d57..b7bc4d23da 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.build_servicing_station_parameters.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.build_servicing_station_parameters.html @@ -2,5 +2,5 @@ config: &Config, token_list: Vec<(Role, TokenIdentifier)>, vote_plans: Vec<VotePlanDef>, - settings: &Settings + settings: &Settings ) -> ValidVotePlanParameters

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html index c9d4c92b33..958d92c4a3 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/fn.generate_qr_and_hashes.html @@ -1,6 +1,6 @@ generate_qr_and_hashes in vitup::builders - Rust
pub fn generate_qr_and_hashes<P: AsRef<Path>>(
-    wallets: Vec<(&WalletAlias, Wallet)>,
-    initials: &HashMap<WalletTemplate, String>,
+    wallets: Vec<(&WalletAlias, Wallet)>,
+    initials: &HashMap<WalletTemplate, String>,
     parameters: &Config,
     folder: P
 ) -> Result<(), Error>
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html index b3dc578b21..d72a121f6b 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/fn.generate_qr_and_hashes.html @@ -1,6 +1,6 @@ generate_qr_and_hashes in vitup::builders::helpers::qr - Rust
pub fn generate_qr_and_hashes<P: AsRef<Path>>(
-    wallets: Vec<(&WalletAlias, Wallet)>,
-    initials: &HashMap<WalletTemplate, String>,
+    wallets: Vec<(&WalletAlias, Wallet)>,
+    initials: &HashMap<WalletTemplate, String>,
     parameters: &Config,
     folder: P
 ) -> Result<(), Error>
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html index 11a9a43e7f..082770098e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/qr/trait.WalletExtension.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/static_data/fn.build_servicing_station_parameters.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/static_data/fn.build_servicing_station_parameters.html index 48e43423a6..29d6549181 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/static_data/fn.build_servicing_station_parameters.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/static_data/fn.build_servicing_station_parameters.html @@ -2,5 +2,5 @@ config: &Config, token_list: Vec<(Role, TokenIdentifier)>, vote_plans: Vec<VotePlanDef>, - settings: &Settings + settings: &Settings ) -> ValidVotePlanParameters

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html index 8605a4e53d..b871951bf5 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/helpers/vote_plan/struct.VitVotePlanDefBuilder.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitBackendSettingsBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitBackendSettingsBuilder.html index 4bb95df33d..2a4e0dc532 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitBackendSettingsBuilder.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitBackendSettingsBuilder.html @@ -1,13 +1,13 @@ VitBackendSettingsBuilder in vitup::builders - Rust
pub struct VitBackendSettingsBuilder {
     config: Config,
-    session_settings: SessionSettings,
+    session_settings: SessionSettings,
     committee_wallet: String,
     skip_qr_generation: bool,
     span: Span,
-}

Fields§

§config: Config§session_settings: SessionSettings§committee_wallet: String§skip_qr_generation: bool§span: Span

Implementations§

source§

impl VitBackendSettingsBuilder

source

pub fn skip_qr_generation(self) -> Self

source

pub fn span(self, span: Span) -> Self

source

pub fn config(self, config: &Config) -> Self

source

pub fn session_settings(self, session_settings: SessionSettings) -> Self

source

pub fn build_topology(&self) -> Topology

source

pub fn dump_qrs<P: AsRef<Path>>( +}

Fields§

§config: Config§session_settings: SessionSettings§committee_wallet: String§skip_qr_generation: bool§span: Span

Implementations§

source§

impl VitBackendSettingsBuilder

source

pub fn skip_qr_generation(self) -> Self

source

pub fn span(self, span: Span) -> Self

source

pub fn config(self, config: &Config) -> Self

source

pub fn session_settings(self, session_settings: SessionSettings) -> Self

source

pub fn build_topology(&self) -> Topology

source

pub fn dump_qrs<P: AsRef<Path>>( &self, controller: &VitController, - initials: &HashMap<WalletTemplate, String>, + initials: &HashMap<WalletTemplate, String>, child: P ) -> Result<(), Error>

source

fn write_token<P: AsRef<Path>>( &self, diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html index 2ce7ecf08f..2ea229abcb 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/struct.VitVotePlanDefBuilder.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html index 0404f53552..f79a53546d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/trait.WalletExtension.html +++ b/tally-script-improvments/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-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/session_settings/trait.SessionSettingsExtension.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/session_settings/trait.SessionSettingsExtension.html index 1643e9c336..00130e99a7 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/session_settings/trait.SessionSettingsExtension.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/session_settings/trait.SessionSettingsExtension.html @@ -1,4 +1,4 @@ SessionSettingsExtension in vitup::builders::utils::session_settings - Rust
pub trait SessionSettingsExtension {
     // Required method
-    fn from_dir<P: AsRef<Path>>(dir: P) -> SessionSettings;
-}

Required Methods§

source

fn from_dir<P: AsRef<Path>>(dir: P) -> SessionSettings

Implementations on Foreign Types§

source§

impl SessionSettingsExtension for SessionSettings

source§

fn from_dir<P: AsRef<Path>>(dir: P) -> Self

Implementors§

\ No newline at end of file + fn from_dir<P: AsRef<Path>>(dir: P) -> SessionSettings; +}

Required Methods§

Implementations on Foreign Types§

source§

impl SessionSettingsExtension for SessionSettings

source§

fn from_dir<P: AsRef<Path>>(dir: P) -> Self

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/trait.SessionSettingsExtension.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/trait.SessionSettingsExtension.html index 4d048c23d5..2c53f02d9f 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/trait.SessionSettingsExtension.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/builders/utils/trait.SessionSettingsExtension.html @@ -1,4 +1,4 @@ SessionSettingsExtension in vitup::builders::utils - Rust
pub trait SessionSettingsExtension {
     // Required method
-    fn from_dir<P: AsRef<Path>>(dir: P) -> SessionSettings;
-}

Required Methods§

source

fn from_dir<P: AsRef<Path>>(dir: P) -> SessionSettings

Implementations on Foreign Types§

source§

impl SessionSettingsExtension for SessionSettings

source§

fn from_dir<P: AsRef<Path>>(dir: P) -> Self

Implementors§

\ No newline at end of file + fn from_dir<P: AsRef<Path>>(dir: P) -> SessionSettings; +}

Required Methods§

Implementations on Foreign Types§

source§

impl SessionSettingsExtension for SessionSettings

source§

fn from_dir<P: AsRef<Path>>(dir: P) -> Self

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/builder/struct.ConfigBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/builder/struct.ConfigBuilder.html index 603ec56bae..0ed200658e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/builder/struct.ConfigBuilder.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/builder/struct.ConfigBuilder.html @@ -1,6 +1,6 @@ ConfigBuilder in vitup::config::builder - Rust
pub struct ConfigBuilder {
     config: Config,
-}

Fields§

§config: Config

Implementations§

source§

impl ConfigBuilder

source

pub fn fees(self, fees: LinearFee)

source

pub fn set_external_committees(self, external_committees: Vec<CommitteeIdDef>)

source

pub fn initials(self, initials: Initials) -> Self

source

pub fn block0_initials(self, initials: Block0Initials) -> Self

source

pub fn snapshot_initials(self, initials: SnapshotInitials) -> Self

source

pub fn block_content_max_size(self, block_content_max_size: u32) -> Self

source

pub fn block0_initials_count(self, initials_count: usize, pin: &str) -> Self

source

pub fn extend_block0_initials( +}

Fields§

§config: Config

Implementations§

source§

impl ConfigBuilder

source

pub fn fees(self, fees: LinearFee)

source

pub fn set_external_committees(self, external_committees: Vec<CommitteeIdDef>)

source

pub fn initials(self, initials: Initials) -> Self

source

pub fn block0_initials(self, initials: Block0Initials) -> Self

source

pub fn snapshot_initials(self, initials: SnapshotInitials) -> Self

source

pub fn block_content_max_size(self, block_content_max_size: u32) -> Self

source

pub fn block0_initials_count(self, initials_count: usize, pin: &str) -> Self

source

pub fn extend_block0_initials( self, initials: Vec<VoterHIR>, discrimination: Discrimination diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/block0/struct.Initials.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/block0/struct.Initials.html index 769edb146a..c5e6bb0ac5 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/block0/struct.Initials.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/block0/struct.Initials.html @@ -8,12 +8,12 @@ ) -> Self

source

pub fn external_templates( &self, roles: impl Fn(&Role) -> TokenIdentifier -) -> Vec<WalletTemplate>

source

pub fn templates( +) -> Vec<WalletTemplate>

source

pub fn templates( &self, threshold: u64, discrimination: Discrimination, roles: impl Fn(&Role) -> TokenIdentifier -) -> HashMap<WalletTemplate, String>

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Initials

source§

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

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Initials

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 Serialize for Initials

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. 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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/struct.Initials.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/struct.Initials.html index 46669216d7..c5c2a693bb 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/struct.Initials.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/initials/struct.Initials.html @@ -1,7 +1,7 @@ Initials in vitup::config::initials - Rust

Struct vitup::config::initials::Initials

source ·
pub struct Initials {
-    pub snapshot: Option<Initials>,
+    pub snapshot: Option<Initials>,
     pub block0: Block0Initials,
-}

Fields§

§snapshot: Option<Initials>§block0: Block0Initials

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Initials

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

impl<'de> Deserialize<'de> for Initials

source§

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

Fields§

§snapshot: Option<Initials>§block0: Block0Initials

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Initials

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

impl<'de> Deserialize<'de> for Initials

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 Serialize for Initials

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. 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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/mode/enum.Mode.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/mode/enum.Mode.html index fc46e5c8c0..db4de68114 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/mode/enum.Mode.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/mode/enum.Mode.html @@ -3,7 +3,7 @@ Interactive, Standard, Monitor, -}

Variants§

§

Service

§

Interactive

§

Standard

§

Monitor

Trait Implementations§

source§

impl Clone for Mode

source§

fn clone(&self) -> Mode

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 Mode

source§

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

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

impl Display for Mode

source§

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

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

impl Into<SessionMode> for Mode

source§

fn into(self) -> SessionMode

Converts this type into the (usually inferred) input type.
source§

impl PartialEq<Mode> for Mode

source§

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

This method tests for self and other values to be equal, and is used +}

Variants§

§

Service

§

Interactive

§

Standard

§

Monitor

Trait Implementations§

source§

impl Clone for Mode

source§

fn clone(&self) -> Mode

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 Mode

source§

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

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

impl Display for Mode

source§

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

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

impl Into<SessionMode> for Mode

source§

fn into(self) -> SessionMode

Converts this type into the (usually inferred) input type.
source§

impl PartialEq<Mode> for Mode

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Mode

source§

impl Eq for Mode

source§

impl StructuralEq for Mode

source§

impl StructuralPartialEq for Mode

Auto Trait Implementations§

§

impl RefUnwindSafe for Mode

§

impl Send for Mode

§

impl Sync for Mode

§

impl Unpin for Mode

§

impl UnwindSafe for Mode

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Block0Initials.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Block0Initials.html index 06ba3325ac..219bfbdc1a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Block0Initials.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Block0Initials.html @@ -8,12 +8,12 @@ ) -> Self

source

pub fn external_templates( &self, roles: impl Fn(&Role) -> TokenIdentifier -) -> Vec<WalletTemplate>

source

pub fn templates( +) -> Vec<WalletTemplate>

source

pub fn templates( &self, threshold: u64, discrimination: Discrimination, roles: impl Fn(&Role) -> TokenIdentifier -) -> HashMap<WalletTemplate, String>

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Initials

source§

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

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for Initials

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 Serialize for Initials

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. 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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.ConfigBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.ConfigBuilder.html index 84ea7c69bd..56979af015 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.ConfigBuilder.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.ConfigBuilder.html @@ -1,6 +1,6 @@ ConfigBuilder in vitup::config - Rust

Struct vitup::config::ConfigBuilder

source ·
pub struct ConfigBuilder {
     config: Config,
-}

Fields§

§config: Config

Implementations§

source§

impl ConfigBuilder

source

pub fn fees(self, fees: LinearFee)

source

pub fn set_external_committees(self, external_committees: Vec<CommitteeIdDef>)

source

pub fn initials(self, initials: Initials) -> Self

source

pub fn block0_initials(self, initials: Block0Initials) -> Self

source

pub fn snapshot_initials(self, initials: SnapshotInitials) -> Self

source

pub fn block_content_max_size(self, block_content_max_size: u32) -> Self

source

pub fn block0_initials_count(self, initials_count: usize, pin: &str) -> Self

source

pub fn extend_block0_initials( +}

Fields§

§config: Config

Implementations§

source§

impl ConfigBuilder

source

pub fn fees(self, fees: LinearFee)

source

pub fn set_external_committees(self, external_committees: Vec<CommitteeIdDef>)

source

pub fn initials(self, initials: Initials) -> Self

source

pub fn block0_initials(self, initials: Block0Initials) -> Self

source

pub fn snapshot_initials(self, initials: SnapshotInitials) -> Self

source

pub fn block_content_max_size(self, block_content_max_size: u32) -> Self

source

pub fn block0_initials_count(self, initials_count: usize, pin: &str) -> Self

source

pub fn extend_block0_initials( self, initials: Vec<VoterHIR>, discrimination: Discrimination diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Initials.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Initials.html index 338d143f58..66e00c3530 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Initials.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/config/struct.Initials.html @@ -1,7 +1,7 @@ Initials in vitup::config - Rust

Struct vitup::config::Initials

source ·
pub struct Initials {
-    pub snapshot: Option<Initials>,
+    pub snapshot: Option<Initials>,
     pub block0: Block0Initials,
-}

Fields§

§snapshot: Option<Initials>§block0: Block0Initials

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Initials

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

impl<'de> Deserialize<'de> for Initials

source§

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

Fields§

§snapshot: Option<Initials>§block0: Block0Initials

Trait Implementations§

source§

impl Clone for Initials

source§

fn clone(&self) -> Initials

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 Initials

source§

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

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

impl Default for Initials

source§

fn default() -> Initials

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

impl<'de> Deserialize<'de> for Initials

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 Serialize for Initials

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. 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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/error/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/error/enum.Error.html index f48d82e0bb..a1b252e47e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/error/enum.Error.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/error/enum.Error.html @@ -3,10 +3,10 @@ IoError(Error), ParseTime(Parse), Block0Error(Block0Error), - Node(NodeError), - Wallet(WalletError), - FragmentSender(FragmentSenderError), - FragmentVerifier(FragmentVerifierError), + Node(NodeError), + Wallet(WalletError), + FragmentSender(FragmentSenderError), + FragmentVerifier(FragmentVerifierError), VerificationFailed(VerificationError), MonitorResourcesError(ConsumptionBenchmarkError), VitStationControllerError(VitStationControllerError), @@ -27,7 +27,7 @@ ValgrindError(Error), ImportError(ImportError), Validate(ValidateError), - ControllerError(Error), + ControllerError(Error), Block0(Block0Error), Builder(Error), Certs(Error), @@ -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, request: &mut Request<'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: Error) -> 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: VitControllerError) -> 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: WalletProxyControllerError) -> 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: MockError) -> 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: 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: Error) -> 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: 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<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.
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, request: &mut Request<'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: Error) -> 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: VitControllerError) -> 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: WalletProxyControllerError) -> 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: MockError) -> 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: 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: Error) -> 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: 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<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.
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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/describe/enum.Describe.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/describe/enum.Describe.html index 0b6ad2cdad..82a6786c27 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/describe/enum.Describe.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/describe/enum.Describe.html @@ -1,20 +1,20 @@ Describe in vitup::mode::interactive::args::describe - Rust
pub enum Describe {
-    Wallets(DescribeWallets),
-    Nodes(DescribeNodes),
-    Topology(DescribeTopology),
+    Wallets(DescribeWallets),
+    Nodes(DescribeNodes),
+    Topology(DescribeTopology),
     All(DescribeAll),
     Stations(DescribeVitStations),
     Proxies(DescribeWalletProxies),
-    VotePlan(DescribeVotePlans),
-}

Variants§

§

Wallets(DescribeWallets)

Prints available wallets with aliases + VotePlan(DescribeVotePlans), +}

Variants§

§

Wallets(DescribeWallets)

Prints available wallets with aliases that can be used

-
§

Nodes(DescribeNodes)

Prints available node with aliases +

§

Nodes(DescribeNodes)

Prints available node with aliases that can be used

-
§

Topology(DescribeTopology)

Prints trusted peer info

+
§

Topology(DescribeTopology)

Prints trusted peer info

§

All(DescribeAll)

Prints everything

§

Stations(DescribeVitStations)

Prints Vit Stations

§

Proxies(DescribeWalletProxies)

Prints wallet proxies

-
§

VotePlan(DescribeVotePlans)

Prints Votes Plan

+
§

VotePlan(DescribeVotePlans)

Prints Votes Plan

Implementations§

source§

impl Describe

source

pub fn exec(&self, command: &mut VitInteractiveCommandExec) -> Result<()>

Trait Implementations§

source§

impl CommandFactory for Describe

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Describe

source§

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

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

impl FromArgMatches for Describe

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/show/enum.Show.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/show/enum.Show.html index 880491e493..189cf27db0 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/show/enum.Show.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/args/show/enum.Show.html @@ -1,21 +1,21 @@ Show in vitup::mode::interactive::args::show - Rust
pub enum Show {
     Status(ShowStatus),
-    FragmentCount(ShowFragmentCount),
-    Fragments(ShowFragments),
-    BlockHeight(ShowBlockHeight),
-    PeerStats(ShowPeerStats),
-    Stats(ShowNodeStats),
-    Logs(ShowLogs),
-    VotePlans(ActiveVotePlans),
+    FragmentCount(ShowFragmentCount),
+    Fragments(ShowFragments),
+    BlockHeight(ShowBlockHeight),
+    PeerStats(ShowPeerStats),
+    Stats(ShowNodeStats),
+    Logs(ShowLogs),
+    VotePlans(ActiveVotePlans),
 }

Variants§

§

Status(ShowStatus)

Prints which nodes are upp

-
§

FragmentCount(ShowFragmentCount)

Prints fragments counts

-
§

Fragments(ShowFragments)

Prints received fragment list

-
§

BlockHeight(ShowBlockHeight)

Prints block height

-
§

PeerStats(ShowPeerStats)

Prints peers stats

-
§

Stats(ShowNodeStats)

Prints stats

-
§

Logs(ShowLogs)

Prints logs, can filter logs to print +

§

FragmentCount(ShowFragmentCount)

Prints fragments counts

+
§

Fragments(ShowFragments)

Prints received fragment list

+
§

BlockHeight(ShowBlockHeight)

Prints block height

+
§

PeerStats(ShowPeerStats)

Prints peers stats

+
§

Stats(ShowNodeStats)

Prints stats

+
§

Logs(ShowLogs)

Prints logs, can filter logs to print only errors or filter by custom string

-
§

VotePlans(ActiveVotePlans)

Active Vote Plans

+
§

VotePlans(ActiveVotePlans)

Active Vote Plans

Implementations§

source§

impl Show

source

pub fn exec(&self, command: &mut VitInteractiveCommandExec)

Trait Implementations§

source§

impl CommandFactory for Show

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Show

source§

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

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

impl FromArgMatches for Show

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/describe/enum.Describe.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/describe/enum.Describe.html index 18519a3449..a7af0320bc 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/describe/enum.Describe.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/describe/enum.Describe.html @@ -1,20 +1,20 @@ Describe in vitup::mode::interactive::describe - Rust
pub enum Describe {
-    Wallets(DescribeWallets),
-    Nodes(DescribeNodes),
-    Topology(DescribeTopology),
+    Wallets(DescribeWallets),
+    Nodes(DescribeNodes),
+    Topology(DescribeTopology),
     All(DescribeAll),
     Stations(DescribeVitStations),
     Proxies(DescribeWalletProxies),
-    VotePlan(DescribeVotePlans),
-}

Variants§

§

Wallets(DescribeWallets)

Prints available wallets with aliases + VotePlan(DescribeVotePlans), +}

Variants§

§

Wallets(DescribeWallets)

Prints available wallets with aliases that can be used

-
§

Nodes(DescribeNodes)

Prints available node with aliases +

§

Nodes(DescribeNodes)

Prints available node with aliases that can be used

-
§

Topology(DescribeTopology)

Prints trusted peer info

+
§

Topology(DescribeTopology)

Prints trusted peer info

§

All(DescribeAll)

Prints everything

§

Stations(DescribeVitStations)

Prints Vit Stations

§

Proxies(DescribeWalletProxies)

Prints wallet proxies

-
§

VotePlan(DescribeVotePlans)

Prints Votes Plan

+
§

VotePlan(DescribeVotePlans)

Prints Votes Plan

Implementations§

source§

impl Describe

source

pub fn exec(&self, command: &mut VitInteractiveCommandExec) -> Result<()>

Trait Implementations§

source§

impl CommandFactory for Describe

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Describe

source§

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

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

impl FromArgMatches for Describe

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/enum.VitInteractiveCommand.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/enum.VitInteractiveCommand.html index 59746801b9..50f6cf12a6 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/enum.VitInteractiveCommand.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/enum.VitInteractiveCommand.html @@ -1,13 +1,13 @@ VitInteractiveCommand in vitup::mode::interactive - Rust
pub enum VitInteractiveCommand {
     Show(Show),
-    Explorer(Explorer),
+    Explorer(Explorer),
     Exit,
     Describe(Describe),
-    Send(Send),
-}

Variants§

§

Show(Show)

§

Explorer(Explorer)

Sends Explorer queries

+ Send(Send), +}

Variants§

§

Show(Show)

§

Explorer(Explorer)

Sends Explorer queries

§

Exit

Exit interactive mode

§

Describe(Describe)

Prints wallets, nodes which can be used. Draw topology

-
§

Send(Send)

send fragments

+
§

Send(Send)

send fragments

Trait Implementations§

source§

impl CommandFactory for VitInteractiveCommand

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for VitInteractiveCommand

source§

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

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

impl FromArgMatches for VitInteractiveCommand

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/show/enum.Show.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/show/enum.Show.html index 030503334e..61f546b67a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/show/enum.Show.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/show/enum.Show.html @@ -1,21 +1,21 @@ Show in vitup::mode::interactive::show - Rust
pub enum Show {
     Status(ShowStatus),
-    FragmentCount(ShowFragmentCount),
-    Fragments(ShowFragments),
-    BlockHeight(ShowBlockHeight),
-    PeerStats(ShowPeerStats),
-    Stats(ShowNodeStats),
-    Logs(ShowLogs),
-    VotePlans(ActiveVotePlans),
+    FragmentCount(ShowFragmentCount),
+    Fragments(ShowFragments),
+    BlockHeight(ShowBlockHeight),
+    PeerStats(ShowPeerStats),
+    Stats(ShowNodeStats),
+    Logs(ShowLogs),
+    VotePlans(ActiveVotePlans),
 }

Variants§

§

Status(ShowStatus)

Prints which nodes are upp

-
§

FragmentCount(ShowFragmentCount)

Prints fragments counts

-
§

Fragments(ShowFragments)

Prints received fragment list

-
§

BlockHeight(ShowBlockHeight)

Prints block height

-
§

PeerStats(ShowPeerStats)

Prints peers stats

-
§

Stats(ShowNodeStats)

Prints stats

-
§

Logs(ShowLogs)

Prints logs, can filter logs to print +

§

FragmentCount(ShowFragmentCount)

Prints fragments counts

+
§

Fragments(ShowFragments)

Prints received fragment list

+
§

BlockHeight(ShowBlockHeight)

Prints block height

+
§

PeerStats(ShowPeerStats)

Prints peers stats

+
§

Stats(ShowNodeStats)

Prints stats

+
§

Logs(ShowLogs)

Prints logs, can filter logs to print only errors or filter by custom string

-
§

VotePlans(ActiveVotePlans)

Active Vote Plans

+
§

VotePlans(ActiveVotePlans)

Active Vote Plans

Implementations§

source§

impl Show

source

pub fn exec(&self, command: &mut VitInteractiveCommandExec)

Trait Implementations§

source§

impl CommandFactory for Show

source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
source§

impl Debug for Show

source§

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

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

impl FromArgMatches for Show

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn update_from_arg_matches( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/struct.VitInteractiveCommandExec.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/struct.VitInteractiveCommandExec.html index 848cd1be5b..562630774a 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/struct.VitInteractiveCommandExec.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/interactive/struct.VitInteractiveCommandExec.html @@ -1,7 +1,7 @@ VitInteractiveCommandExec in vitup::mode::interactive - Rust
pub struct VitInteractiveCommandExec {
     pub vit_controller: VitUserInteractionController,
-    pub controller: UserInteractionController,
-}

Fields§

§vit_controller: VitUserInteractionController§controller: UserInteractionController

Implementations§

source§

impl VitInteractiveCommandExec

source

pub fn vit_controller_mut(&mut self) -> &mut VitUserInteractionController

source

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

source§

impl VitInteractiveCommandExec

source

pub fn tear_down(self)

Trait Implementations§

source§

impl InteractiveCommandExec for VitInteractiveCommandExec

source§

fn parse_and_exec( + pub controller: UserInteractionController, +}

Fields§

§vit_controller: VitUserInteractionController§controller: UserInteractionController

Implementations§

Trait Implementations§

source§

impl InteractiveCommandExec for VitInteractiveCommandExec

source§

fn parse_and_exec( &mut self, tokens: Vec<String>, console: ConsoleWriter diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html index 7350207d63..ca10d36d02 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/ledger_state/struct.LedgerState.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html index aa8f7bdf69..ec18daee72 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/mock_state/struct.MockState.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/rest/control/handlers/fn.command_create_snapshot.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/rest/control/handlers/fn.command_create_snapshot.html index 697171dbe9..25d588f5e7 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/rest/control/handlers/fn.command_create_snapshot.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/rest/control/handlers/fn.command_create_snapshot.html @@ -1,3 +1,3 @@ command_create_snapshot in vitup::mode::mock::rest::control::handlers - Rust
pub async fn command_create_snapshot(
-    config: Initials
+    config: Initials
 ) -> Result<impl Reply, Rejection>
\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/snapshot/struct.VoterSnapshot.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/snapshot/struct.VoterSnapshot.html index d7707bafe3..4ca5629118 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/snapshot/struct.VoterSnapshot.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/snapshot/struct.VoterSnapshot.html @@ -5,7 +5,7 @@ }

Fields§

§snapshot_tags: BTreeMap<String, i64>

key: Tag - a unique identifier of the current snapshot value: Timestamp - for the latest update of the current snapshot

§voters: Vec<Voter>§contributions: Vec<Contribution>

Implementations§

source§

impl VoterSnapshot

source

pub fn from_config_or_default( - initials: &Option<Initials> + initials: &Option<Initials> ) -> Result<Self, Error>

source

pub fn tags(&self) -> Vec<String>

source

pub fn put_snapshot_tag(&mut self, tag: String, timestamp: i64)

source

pub fn snapshot_by_tag(&self, tag: impl Into<String>) -> Option<&i64>

source

pub fn contributions_by_stake_public_key_and_snapshot_tag( &self, stake_public_key: &str, diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html index bdcebc1d2f..0bf8aa228c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/struct.LedgerState.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html index 02ecea0338..f12a231ad8 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/mock/struct.MockState.html +++ b/tally-script-improvments/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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/explorer/struct.ExplorerMonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/explorer/struct.ExplorerMonitorController.html index 77b28d394b..52449729f7 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/explorer/struct.ExplorerMonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/explorer/struct.ExplorerMonitorController.html @@ -1,10 +1,10 @@ ExplorerMonitorController in vitup::mode::monitor::explorer - Rust
pub struct ExplorerMonitorController {
     controller: ExplorerController,
-    progress_bar: ProgressBarController,
-}

Fields§

§controller: ExplorerController§progress_bar: ProgressBarController

Implementations§

source§

impl ExplorerMonitorController

source

pub fn new( + progress_bar: ProgressBarController, +}

Fields§

§controller: ExplorerController§progress_bar: ProgressBarController

Implementations§

source§

impl ExplorerMonitorController

source

pub fn new( controller: ExplorerController, - progress_bar: ProgressBarController -) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + progress_bar: ProgressBarController +) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/main/struct.MonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/main/struct.MonitorController.html index e2d4a735ad..3eba4cc100 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/main/struct.MonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/main/struct.MonitorController.html @@ -1,7 +1,7 @@ MonitorController in vitup::mode::monitor::main - Rust
pub struct MonitorController {
     inner: VitController,
-    hersir_controller: MonitorController,
-}

Fields§

§inner: VitController§hersir_controller: MonitorController

Implementations§

source§

impl MonitorController

source

pub fn new(inner: InnerController, hersir_controller: MonitorController) -> Self

source

pub fn monitor_nodes(&mut self)

source

pub fn finalize(self)

source

pub fn spawn_vit_station( + hersir_controller: MonitorController, +}

Fields§

§inner: VitController§hersir_controller: MonitorController

Implementations§

source§

impl MonitorController

source

pub fn new(inner: InnerController, hersir_controller: MonitorController) -> Self

source

pub fn monitor_nodes(&mut self)

source

pub fn finalize(self)

source

pub fn spawn_vit_station( &mut self, vote_plan_parameters: ValidVotePlanParameters, template_generator: &mut dyn ValidVotingTemplateGenerator, @@ -15,11 +15,11 @@ ) -> Result<WalletProxyMonitorController>

source

pub fn spawn_wallet_proxy( &mut self, alias: &str -) -> Result<WalletProxyMonitorController>

source

pub fn spawn_node(&mut self, spawn_params: SpawnParams) -> Result<MonitorNode>

source

pub fn build_progress_bar( +) -> Result<WalletProxyMonitorController>

source

pub fn spawn_node(&mut self, spawn_params: SpawnParams) -> Result<MonitorNode>

source

pub fn build_progress_bar( &mut self, alias: &str, listen: String -) -> ProgressBarController

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> ProgressBarController

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.ExplorerMonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.ExplorerMonitorController.html index 31395b7e80..881af03a26 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.ExplorerMonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.ExplorerMonitorController.html @@ -1,10 +1,10 @@ ExplorerMonitorController in vitup::mode::monitor - Rust
pub struct ExplorerMonitorController {
     controller: ExplorerController,
-    progress_bar: ProgressBarController,
-}

Fields§

§controller: ExplorerController§progress_bar: ProgressBarController

Implementations§

source§

impl ExplorerMonitorController

source

pub fn new( + progress_bar: ProgressBarController, +}

Fields§

§controller: ExplorerController§progress_bar: ProgressBarController

Implementations§

source§

impl ExplorerMonitorController

source

pub fn new( controller: ExplorerController, - progress_bar: ProgressBarController -) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + progress_bar: ProgressBarController +) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.MonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.MonitorController.html index ed06f63390..ab2e5d545d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.MonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.MonitorController.html @@ -1,7 +1,7 @@ MonitorController in vitup::mode::monitor - Rust
pub struct MonitorController {
     inner: VitController,
-    hersir_controller: MonitorController,
-}

Fields§

§inner: VitController§hersir_controller: MonitorController

Implementations§

source§

impl MonitorController

source

pub fn new(inner: InnerController, hersir_controller: MonitorController) -> Self

source

pub fn monitor_nodes(&mut self)

source

pub fn finalize(self)

source

pub fn spawn_vit_station( + hersir_controller: MonitorController, +}

Fields§

§inner: VitController§hersir_controller: MonitorController

Implementations§

source§

impl MonitorController

source

pub fn new(inner: InnerController, hersir_controller: MonitorController) -> Self

source

pub fn monitor_nodes(&mut self)

source

pub fn finalize(self)

source

pub fn spawn_vit_station( &mut self, vote_plan_parameters: ValidVotePlanParameters, template_generator: &mut dyn ValidVotingTemplateGenerator, @@ -15,11 +15,11 @@ ) -> Result<WalletProxyMonitorController>

source

pub fn spawn_wallet_proxy( &mut self, alias: &str -) -> Result<WalletProxyMonitorController>

source

pub fn spawn_node(&mut self, spawn_params: SpawnParams) -> Result<MonitorNode>

source

pub fn build_progress_bar( +) -> Result<WalletProxyMonitorController>

source

pub fn spawn_node(&mut self, spawn_params: SpawnParams) -> Result<MonitorNode>

source

pub fn build_progress_bar( &mut self, alias: &str, listen: String -) -> ProgressBarController

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> ProgressBarController

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.VitStationMonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.VitStationMonitorController.html index 0dcb7ecbcd..08f6b9656c 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.VitStationMonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.VitStationMonitorController.html @@ -1,10 +1,10 @@ VitStationMonitorController in vitup::mode::monitor - Rust
pub struct VitStationMonitorController {
     controller: VitStationController,
-    progress_bar: ProgressBarController,
-}

Fields§

§controller: VitStationController§progress_bar: ProgressBarController

Implementations§

source§

impl VitStationMonitorController

source

pub fn new( + progress_bar: ProgressBarController, +}

Fields§

§controller: VitStationController§progress_bar: ProgressBarController

Implementations§

source§

impl VitStationMonitorController

source

pub fn new( controller: VitStationController, - progress_bar: ProgressBarController -) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn rest(&self) -> RestClient

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + progress_bar: ProgressBarController +) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn rest(&self) -> RestClient

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.WalletProxyMonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.WalletProxyMonitorController.html index e9f9765d42..1c82934534 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.WalletProxyMonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/struct.WalletProxyMonitorController.html @@ -1,10 +1,10 @@ WalletProxyMonitorController in vitup::mode::monitor - Rust
pub struct WalletProxyMonitorController {
     controller: WalletProxyController,
-    progress_bar: ProgressBarController,
-}

Fields§

§controller: WalletProxyController§progress_bar: ProgressBarController

Implementations§

source§

impl WalletProxyMonitorController

source

pub fn new( + progress_bar: ProgressBarController, +}

Fields§

§controller: WalletProxyController§progress_bar: ProgressBarController

Implementations§

source§

impl WalletProxyMonitorController

source

pub fn new( controller: WalletProxyController, - progress_bar: ProgressBarController -) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn client(&self) -> ValgrindClient

source

pub fn shutdown(&mut self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + progress_bar: ProgressBarController +) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn client(&self) -> ValgrindClient

source

pub fn shutdown(&mut self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/vit_station/struct.VitStationMonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/vit_station/struct.VitStationMonitorController.html index 8d45970d9e..1594853aa4 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/vit_station/struct.VitStationMonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/vit_station/struct.VitStationMonitorController.html @@ -1,10 +1,10 @@ VitStationMonitorController in vitup::mode::monitor::vit_station - Rust
pub struct VitStationMonitorController {
     controller: VitStationController,
-    progress_bar: ProgressBarController,
-}

Fields§

§controller: VitStationController§progress_bar: ProgressBarController

Implementations§

source§

impl VitStationMonitorController

source

pub fn new( + progress_bar: ProgressBarController, +}

Fields§

§controller: VitStationController§progress_bar: ProgressBarController

Implementations§

source§

impl VitStationMonitorController

source

pub fn new( controller: VitStationController, - progress_bar: ProgressBarController -) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn rest(&self) -> RestClient

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + progress_bar: ProgressBarController +) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn rest(&self) -> RestClient

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn shutdown(self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/wallet/struct.WalletProxyMonitorController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/wallet/struct.WalletProxyMonitorController.html index 2054098f6b..7004069ebc 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/wallet/struct.WalletProxyMonitorController.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/monitor/wallet/struct.WalletProxyMonitorController.html @@ -1,10 +1,10 @@ WalletProxyMonitorController in vitup::mode::monitor::wallet - Rust
pub struct WalletProxyMonitorController {
     controller: WalletProxyController,
-    progress_bar: ProgressBarController,
-}

Fields§

§controller: WalletProxyController§progress_bar: ProgressBarController

Implementations§

source§

impl WalletProxyMonitorController

source

pub fn new( + progress_bar: ProgressBarController, +}

Fields§

§controller: WalletProxyController§progress_bar: ProgressBarController

Implementations§

source§

impl WalletProxyMonitorController

source

pub fn new( controller: WalletProxyController, - progress_bar: ProgressBarController -) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn client(&self) -> ValgrindClient

source

pub fn shutdown(&mut self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + progress_bar: ProgressBarController +) -> Self

source

pub fn alias(&self) -> NodeAlias

source

pub fn status(&self) -> Result<Status>

source

pub fn is_up(&self) -> bool

source

pub fn finish_monitoring(&self)

source

pub fn progress_bar(&self) -> &ProgressBarController

source

pub fn client(&self) -> ValgrindClient

source

pub fn shutdown(&mut self)

source

fn progress_bar_start(&self)

source

fn progress_bar_failure(&self)

source

fn progress_bar_success(&self)

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/spawn/struct.NetworkSpawnParams.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/spawn/struct.NetworkSpawnParams.html index 98a3853294..71b47d147d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/spawn/struct.NetworkSpawnParams.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/spawn/struct.NetworkSpawnParams.html @@ -2,17 +2,17 @@ token: Option<String>, endpoint: String, protocol: Protocol, - session_settings: SessionSettings, + session_settings: SessionSettings, version: String, working_directory: PathBuf, -}

Fields§

§token: Option<String>§endpoint: String§protocol: Protocol§session_settings: SessionSettings§version: String§working_directory: PathBuf

Implementations§

source§

impl NetworkSpawnParams

source

pub fn new<P: AsRef<Path>>( +}

Fields§

§token: Option<String>§endpoint: String§protocol: Protocol§session_settings: SessionSettings§version: String§working_directory: PathBuf

Implementations§

source§

impl NetworkSpawnParams

source

pub fn new<P: AsRef<Path>>( endpoint: String, protocol: Protocol, - session_settings: SessionSettings, + session_settings: SessionSettings, token: Option<String>, version: String, working_directory: P -) -> Self

source

pub fn session_settings(&self) -> SessionSettings

source

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

source

pub fn version(&self) -> String

source

pub fn nodes_params(&self) -> Vec<SpawnParams>

source

fn leader_node(&self, alias: &str) -> SpawnParams

source

fn passive_node(&self, alias: &str) -> SpawnParams

source

pub fn proxy_params(&self) -> WalletProxySpawnParams

Trait Implementations§

source§

impl Clone for NetworkSpawnParams

source§

fn clone(&self) -> NetworkSpawnParams

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 NetworkSpawnParams

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 +) -> Self

source

pub fn session_settings(&self) -> SessionSettings

source

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

source

pub fn version(&self) -> String

source

pub fn nodes_params(&self) -> Vec<SpawnParams>

source

fn leader_node(&self, alias: &str) -> SpawnParams

source

fn passive_node(&self, alias: &str) -> SpawnParams

source

pub fn proxy_params(&self) -> WalletProxySpawnParams

Trait Implementations§

source§

impl Clone for NetworkSpawnParams

source§

fn clone(&self) -> NetworkSpawnParams

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 NetworkSpawnParams

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/enum.Error.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/enum.Error.html index 3de434c77c..71a5304b71 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/enum.Error.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/enum.Error.html @@ -1,11 +1,11 @@ Error in vitup::mode::standard::controllers::main - Rust
pub enum Error {
-    Controller(ControllerError),
+    Controller(ControllerError),
     CannotBootstrap,
     CannotBootstrapExplorer,
     CannotGetWallet {
         alias: String,
     },
-}

Variants§

§

Controller(ControllerError)

§

CannotBootstrap

§

CannotBootstrapExplorer

§

CannotGetWallet

Fields

§alias: 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, request: &mut Request<'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: VitControllerError) -> 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: VitControllerError) -> 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§

§

Controller(ControllerError)

§

CannotBootstrap

§

CannotBootstrapExplorer

§

CannotGetWallet

Fields

§alias: 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, request: &mut Request<'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: VitControllerError) -> 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: VitControllerError) -> 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html index 8ed39dd8a9..70d8044177 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitController.html +++ b/tally-script-improvments/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( + 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( &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( + 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( &self, version: String ) -> Result<VitStationController>

source

pub fn spawn_vit_station( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitControllerBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitControllerBuilder.html index f3086a484a..b0a974aad1 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitControllerBuilder.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/main/struct.VitControllerBuilder.html @@ -1,10 +1,10 @@ VitControllerBuilder in vitup::mode::standard::controllers::main - Rust
pub struct VitControllerBuilder {
-    committees: Vec<CommitteeTemplate>,
-    controller_builder: NetworkBuilder,
+    committees: Vec<CommitteeTemplate>,
+    controller_builder: NetworkBuilder,
     archive_conf: Option<ArchiveConfiguration>,
-}

Fields§

§committees: Vec<CommitteeTemplate>§controller_builder: NetworkBuilder§archive_conf: Option<ArchiveConfiguration>

Implementations§

source§

impl VitControllerBuilder

source

pub fn new() -> Self

source

pub(crate) fn archive_conf(self, archive_conf: ArchiveConfiguration) -> Self

source

pub(crate) fn committee(self, committee: CommitteeTemplate) -> Self

source

pub fn topology(self, topology: Topology) -> Self

source

pub fn blockchain(self, blockchain: BlockchainConfiguration) -> Self

source

pub fn wallets(self, wallet_templates: Vec<WalletTemplate>) -> Self

source

pub fn wallet(self, wallet_template: WalletTemplate) -> Self

source

pub fn vote_plans(self, vote_plans: Vec<VotePlanTemplate>) -> Self

source

pub fn explorer(self, explorer: ExplorerTemplate) -> Self

source

pub fn build( +}

Fields§

§committees: Vec<CommitteeTemplate>§controller_builder: NetworkBuilder§archive_conf: Option<ArchiveConfiguration>

Implementations§

source§

impl VitControllerBuilder

source

pub fn new() -> Self

source

pub(crate) fn archive_conf(self, archive_conf: ArchiveConfiguration) -> Self

source

pub(crate) fn committee(self, committee: CommitteeTemplate) -> Self

source

pub fn topology(self, topology: Topology) -> Self

source

pub fn blockchain(self, blockchain: BlockchainConfiguration) -> Self

source

pub fn wallets(self, wallet_templates: Vec<WalletTemplate>) -> Self

source

pub fn wallet(self, wallet_template: WalletTemplate) -> Self

source

pub fn vote_plans(self, vote_plans: Vec<VotePlanTemplate>) -> Self

source

pub fn explorer(self, explorer: ExplorerTemplate) -> Self

source

pub fn build( self, - session_settings: SessionSettings + session_settings: SessionSettings ) -> Result<VitController, Error>

Trait Implementations§

source§

impl Default for VitControllerBuilder

source§

fn default() -> VitControllerBuilder

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/wallet_proxy/settings/struct.WalletProxySettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/wallet_proxy/settings/struct.WalletProxySettings.html index d84a4e07eb..164d22b38e 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/wallet_proxy/settings/struct.WalletProxySettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/controllers/wallet_proxy/settings/struct.WalletProxySettings.html @@ -4,7 +4,7 @@ pub node_backend_address: Option<SocketAddr>, pub protocol: Protocol, }

Fields§

§proxy_address: SocketAddr§vit_station_address: SocketAddr§node_backend_address: Option<SocketAddr>§protocol: Protocol

Implementations§

Trait Implementations§

source§

impl Clone for WalletProxySettings

source§

fn clone(&self) -> WalletProxySettings

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 WalletProxySettings

source§

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

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

impl PrepareWalletProxySettings for WalletProxySettings

source§

fn prepare( - _session_settings: &mut SessionSettings, + _session_settings: &mut SessionSettings, vit_stations: &HashMap<NodeAlias, ServiceSettings> ) -> Self

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/enum.VitControllerError.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/enum.VitControllerError.html index 6a64984574..ec39903230 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/enum.VitControllerError.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/enum.VitControllerError.html @@ -1,11 +1,11 @@ VitControllerError in vitup::mode::standard - Rust
pub enum VitControllerError {
-    Controller(ControllerError),
+    Controller(ControllerError),
     CannotBootstrap,
     CannotBootstrapExplorer,
     CannotGetWallet {
         alias: String,
     },
-}

Variants§

§

Controller(ControllerError)

§

CannotBootstrap

§

CannotBootstrapExplorer

§

CannotGetWallet

Fields

§alias: 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, request: &mut Request<'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: VitControllerError) -> 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: VitControllerError) -> 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§

§

Controller(ControllerError)

§

CannotBootstrap

§

CannotBootstrapExplorer

§

CannotGetWallet

Fields

§alias: 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, request: &mut Request<'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: VitControllerError) -> 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: VitControllerError) -> 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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

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-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/struct.VitSettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/struct.VitSettings.html index 349206c7bb..efed11b992 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/struct.VitSettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/struct.VitSettings.html @@ -2,7 +2,7 @@ pub vit_stations: HashMap<NodeAlias, ServiceSettings>, pub wallet_proxies: HashMap<NodeAlias, WalletProxySettings>, }

Fields§

§vit_stations: HashMap<NodeAlias, ServiceSettings>§wallet_proxies: HashMap<NodeAlias, WalletProxySettings>

Implementations§

source§

impl VitSettings

source

pub fn new( - session_settings: &mut SessionSettings, + session_settings: &mut SessionSettings, archive_conf: Option<ArchiveConfiguration> ) -> Self

Trait Implementations§

source§

impl Clone for VitSettings

source§

fn clone(&self) -> VitSettings

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 VitSettings

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareSettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareSettings.html index 8880056f11..e7170f6168 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareSettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareSettings.html @@ -1,12 +1,12 @@ PrepareSettings in vitup::mode::standard::settings - Rust
pub trait PrepareSettings {
     // Required method
     fn prepare(
-        topology: Topology,
+        topology: Topology,
         blockchain: Blockchain,
-        session_settings: &mut SessionSettings
+        session_settings: &mut SessionSettings
     ) -> Self;
 }

Required Methods§

source

fn prepare( - topology: Topology, + topology: Topology, blockchain: Blockchain, - session_settings: &mut SessionSettings + session_settings: &mut SessionSettings ) -> Self

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareVitServerSettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareVitServerSettings.html index f0d74bbc7d..2acccb1d57 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareVitServerSettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareVitServerSettings.html @@ -1,4 +1,4 @@ PrepareVitServerSettings in vitup::mode::standard::settings - Rust
pub trait PrepareVitServerSettings: Clone + Send {
     // Required method
-    fn prepare(session_settings: &mut SessionSettings) -> Self;
-}

Required Methods§

source

fn prepare(session_settings: &mut SessionSettings) -> Self

Implementors§

\ No newline at end of file + fn prepare(session_settings: &mut SessionSettings) -> Self; +}

Required Methods§

source

fn prepare(session_settings: &mut SessionSettings) -> Self

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareWalletProxySettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareWalletProxySettings.html index 43d6c69d65..9d61b66307 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareWalletProxySettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/settings/trait.PrepareWalletProxySettings.html @@ -1,10 +1,10 @@ PrepareWalletProxySettings in vitup::mode::standard::settings - Rust
pub trait PrepareWalletProxySettings: Clone + Send {
     // Required method
     fn prepare(
-        session_settings: &mut SessionSettings,
+        session_settings: &mut SessionSettings,
         vit_stations: &HashMap<NodeAlias, VitStationSettings>
     ) -> Self;
 }

Required Methods§

source

fn prepare( - session_settings: &mut SessionSettings, + session_settings: &mut SessionSettings, vit_stations: &HashMap<NodeAlias, VitStationSettings> ) -> Self

Implementors§

\ No newline at end of file diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html index 3774fef5b7..e2614ce59d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitController.html +++ b/tally-script-improvments/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( + 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( &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( + 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( &self, version: String ) -> Result<VitStationController>

source

pub fn spawn_vit_station( diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitControllerBuilder.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitControllerBuilder.html index 6370daea66..18a8bb634d 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitControllerBuilder.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitControllerBuilder.html @@ -1,10 +1,10 @@ VitControllerBuilder in vitup::mode::standard - Rust
pub struct VitControllerBuilder {
-    committees: Vec<CommitteeTemplate>,
-    controller_builder: NetworkBuilder,
+    committees: Vec<CommitteeTemplate>,
+    controller_builder: NetworkBuilder,
     archive_conf: Option<ArchiveConfiguration>,
-}

Fields§

§committees: Vec<CommitteeTemplate>§controller_builder: NetworkBuilder§archive_conf: Option<ArchiveConfiguration>

Implementations§

source§

impl VitControllerBuilder

source

pub fn new() -> Self

source

pub(crate) fn archive_conf(self, archive_conf: ArchiveConfiguration) -> Self

source

pub(crate) fn committee(self, committee: CommitteeTemplate) -> Self

source

pub fn topology(self, topology: Topology) -> Self

source

pub fn blockchain(self, blockchain: BlockchainConfiguration) -> Self

source

pub fn wallets(self, wallet_templates: Vec<WalletTemplate>) -> Self

source

pub fn wallet(self, wallet_template: WalletTemplate) -> Self

source

pub fn vote_plans(self, vote_plans: Vec<VotePlanTemplate>) -> Self

source

pub fn explorer(self, explorer: ExplorerTemplate) -> Self

source

pub fn build( +}

Fields§

§committees: Vec<CommitteeTemplate>§controller_builder: NetworkBuilder§archive_conf: Option<ArchiveConfiguration>

Implementations§

source§

impl VitControllerBuilder

source

pub fn new() -> Self

source

pub(crate) fn archive_conf(self, archive_conf: ArchiveConfiguration) -> Self

source

pub(crate) fn committee(self, committee: CommitteeTemplate) -> Self

source

pub fn topology(self, topology: Topology) -> Self

source

pub fn blockchain(self, blockchain: BlockchainConfiguration) -> Self

source

pub fn wallets(self, wallet_templates: Vec<WalletTemplate>) -> Self

source

pub fn wallet(self, wallet_template: WalletTemplate) -> Self

source

pub fn vote_plans(self, vote_plans: Vec<VotePlanTemplate>) -> Self

source

pub fn explorer(self, explorer: ExplorerTemplate) -> Self

source

pub fn build( self, - session_settings: SessionSettings + session_settings: SessionSettings ) -> Result<VitController, Error>

Trait Implementations§

source§

impl Default for VitControllerBuilder

source§

fn default() -> VitControllerBuilder

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitSettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitSettings.html index 0ec06105c9..480b8ee9d4 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitSettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.VitSettings.html @@ -2,7 +2,7 @@ pub vit_stations: HashMap<NodeAlias, ServiceSettings>, pub wallet_proxies: HashMap<NodeAlias, WalletProxySettings>, }

Fields§

§vit_stations: HashMap<NodeAlias, ServiceSettings>§wallet_proxies: HashMap<NodeAlias, WalletProxySettings>

Implementations§

source§

impl VitSettings

source

pub fn new( - session_settings: &mut SessionSettings, + session_settings: &mut SessionSettings, archive_conf: Option<ArchiveConfiguration> ) -> Self

Trait Implementations§

source§

impl Clone for VitSettings

source§

fn clone(&self) -> VitSettings

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 VitSettings

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 diff --git a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.WalletProxySettings.html b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.WalletProxySettings.html index f3c9f6fd6e..11d5455755 100644 --- a/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.WalletProxySettings.html +++ b/tally-script-improvments/06_rust_api/rust/doc/vitup/mode/standard/struct.WalletProxySettings.html @@ -4,7 +4,7 @@ pub node_backend_address: Option<SocketAddr>, pub protocol: Protocol, }

Fields§

§proxy_address: SocketAddr§vit_station_address: SocketAddr§node_backend_address: Option<SocketAddr>§protocol: Protocol

Implementations§

Trait Implementations§

source§

impl Clone for WalletProxySettings

source§

fn clone(&self) -> WalletProxySettings

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 WalletProxySettings

source§

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

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

impl PrepareWalletProxySettings for WalletProxySettings

source§

fn prepare( - _session_settings: &mut SessionSettings, + _session_settings: &mut SessionSettings, vit_stations: &HashMap<NodeAlias, ServiceSettings> ) -> Self

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 diff --git a/tally-script-improvments/print.html b/tally-script-improvments/print.html index a9296d9e72..f85f04ec9a 100644 --- a/tally-script-improvments/print.html +++ b/tally-script-improvments/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.