Struct dubp_common::currency_params::BlockV10Parameters [−][src]
pub struct BlockV10Parameters {}Show fields
pub c: f64, pub dt: u64, pub ud0: usize, pub sig_period: u64, pub sig_stock: usize, pub sig_window: u64, pub sig_validity: u64, pub sig_qty: usize, pub idty_window: u64, pub ms_window: u64, pub x_percent: f64, pub ms_validity: u64, pub step_max: usize, pub median_time_blocks: usize, pub avg_gen_time: u64, pub dt_diff_eval: usize, pub percent_rot: f64, pub ud_time0: u64, pub ud_reeval_time0: u64, pub dt_reeval: u64,
Expand description
Currency parameters
Fields
c: f64
Expand description
UD target growth rate (see Relative Theorie of Money)
dt: u64
Expand description
Duration between the creation of two UD (in seconds)
ud0: usize
Expand description
Amount of the initial UD
sig_period: u64
Expand description
Minimum duration between the writing of 2 certifications from the same issuer (in seconds)
sig_stock: usize
Expand description
Maximum number of active certifications at the same time (for the same issuer)
sig_window: u64
Expand description
Maximum retention period of a pending certification
sig_validity: u64
Expand description
Time to expiry of written certification
sig_qty: usize
Expand description
Minimum number of certifications required to become a member
idty_window: u64
Expand description
Maximum retention period of a pending identity
ms_window: u64
Expand description
Maximum retention period of a pending membership
x_percent: f64
Expand description
Percentage of referring members who must be within step_max steps of each member
ms_validity: u64
Expand description
Time to expiry of written membership
step_max: usize
Expand description
For a member to respect the distance rule, there must exist for more than x_percent % of the referring members a path of less than step_max steps from the referring member to the evaluated member.
median_time_blocks: usize
Expand description
Number of blocks used for calculating median time.
avg_gen_time: u64
Expand description
The average time for writing 1 block (wished time)
dt_diff_eval: usize
Expand description
The number of blocks required to evaluate again PoWMin value
percent_rot: f64
Expand description
The percent of previous issuers to reach for personalized difficulty
ud_time0: u64
Expand description
Time of first UD.
ud_reeval_time0: u64
Expand description
Time of first reevaluation of the UD.
dt_reeval: u64
Expand description
Time period between two re-evaluation of the UD.
Trait Implementations
impl Clone for BlockV10Parameters
[src]
impl Clone for BlockV10Parameters
[src]fn clone(&self) -> BlockV10Parameters
[src]
fn clone(&self) -> BlockV10Parameters
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for BlockV10Parameters
[src]
impl Debug for BlockV10Parameters
[src]impl Default for BlockV10Parameters
[src]
impl Default for BlockV10Parameters
[src]fn default() -> BlockV10Parameters
[src]
fn default() -> BlockV10Parameters
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for BlockV10Parameters
[src]
impl<'de> Deserialize<'de> for BlockV10Parameters
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl FromStr for BlockV10Parameters
[src]
impl FromStr for BlockV10Parameters
[src]impl PartialEq<BlockV10Parameters> for BlockV10Parameters
[src]
impl PartialEq<BlockV10Parameters> for BlockV10Parameters
[src]fn eq(&self, other: &BlockV10Parameters) -> bool
[src]
fn eq(&self, other: &BlockV10Parameters) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &BlockV10Parameters) -> bool
[src]
fn ne(&self, other: &BlockV10Parameters) -> bool
[src]This method tests for !=
.
impl Serialize for BlockV10Parameters
[src]
impl Serialize for BlockV10Parameters
[src]impl ToString for BlockV10Parameters
[src]
impl ToString for BlockV10Parameters
[src]impl Copy for BlockV10Parameters
[src]
impl StructuralPartialEq for BlockV10Parameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockV10Parameters
impl Send for BlockV10Parameters
impl Sync for BlockV10Parameters
impl Unpin for BlockV10Parameters
impl UnwindSafe for BlockV10Parameters
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,