File tree Expand file tree Collapse file tree 17 files changed +27
-28
lines changed
chain-path-derivation/src
jormungandr-lib/src/crypto
testing/mjolnir/src/mjolnir_lib Expand file tree Collapse file tree 17 files changed +27
-28
lines changed Original file line number Diff line number Diff line change 4141//! __fig.1 - note that root does not actually exist, this is an ID referredby__
4242//! __the first block in the chain__
4343//!
44- //! ```ignore
44+ //! ```text
4545//! +---------+ +---------+
4646//! | | | |
4747//! | Block 4 | | Block 4'|
104104//!
105105//! __fig. 2 - permanent storage structure__
106106//!
107- //! ```ignore
107+ //! ```text
108108//! store block no. index
109109//!
110110//! +--------------+ +-------------+
128128//!
129129//! # Storage directory layout
130130//!
131- //! ```ignore
131+ //! ```text
132132//! store
133133//! ├── permanent - permanent storage directory
134134//! │ └── flatfile - storage file that can be transferred over the network
Original file line number Diff line number Diff line change 1+ // #![warn(clippy::all)]
2+ // #![deny(missing_docs)]
13pub mod era;
24pub mod timeframe;
35pub mod timeline;
Original file line number Diff line number Diff line change 1+ //! Timeframe
2+ //!
3+
14use crate :: timeline:: Timeline ;
25use std:: time:: { Duration , SystemTime } ;
36
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ impl Wallet {
3535 /// Retrieve a wallet from a key used as utxo's
3636 ///
3737 /// You can also use this function to recover a wallet even after you have
38- /// transferred all the funds to the new format (see the [Self::convert] function).
38+ /// transferred all the funds to the new format
3939 ///
4040 /// Parameters
4141 ///
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ impl DerivationPath<Bip44<Root>> {
107107 /// use the same "model" of 5 derivation level but instead of starting with the
108108 /// bip44 Hard Derivation uses the `'1852` (`'0x073C`) derivation path.
109109 ///
110- /// see https://input-output-hk.github.io/adrestia/docs/key-concepts/hierarchical-deterministic-wallets/
110+ /// see < https://input-output-hk.github.io/adrestia/docs/key-concepts/hierarchical-deterministic-wallets/>
111111 ///
112112 pub fn chimeric ( & self ) -> DerivationPath < Bip44 < Purpose > > {
113113 let mut p = self . clone ( ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use thiserror::Error;
88pub struct OutputFormat {
99 /// Format of output data. Possible values: json, yaml.
1010 /// Any other value is treated as a custom format using values from output data structure.
11- /// Syntax is Go text template: https://golang.org/pkg/text/template/.
11+ /// Syntax is Go text template: < https://golang.org/pkg/text/template/> .
1212 #[ structopt( long = "output-format" , default_value = "yaml" , parse( from_str) ) ]
1313 format : FormatVariant ,
1414}
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ impl<A: AsymmetricPublicKey> Identifier<A> {
168168 /// encode the `Identifier` into an hexadecimal string
169169 ///
170170 /// While this is still a human readable format. it is lesser than
171- /// the output of [`to_bech32_str`] as it does not provide user input
171+ /// the output of [`Self:: to_bech32_str`] as it does not provide user input
172172 /// verification.
173173 ///
174174 /// `Display` implementation of `Identifier` provides the hexadecimal string support.
Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ pub struct ClientLoadCommand {
2828 #[ structopt( short = "a" , long = "address" ) ]
2929 pub address : String ,
3030
31- /// amount of delay [ seconds] between sync attempts
31+ /// amount of delay (in seconds) between sync attempts
3232 #[ structopt( short = "p" , long = "pace" , default_value = "2" ) ]
3333 pub pace : u64 ,
3434
3535 #[ structopt( short = "d" , long = "storage" ) ]
3636 pub initial_storage : Option < PathBuf > ,
3737
38- /// amount of delay [ seconds] between sync attempts
38+ /// amount of delay (in seconds) between sync attempts
3939 #[ structopt( short = "r" , long = "duration" ) ]
4040 pub duration : Option < u64 > ,
4141
42- /// amount of delay [ seconds] between sync attempts
42+ /// amount of delay (in seconds) between sync attempts
4343 #[ structopt( short = "n" , long = "iterations" ) ]
4444 pub sync_iteration : Option < u32 > ,
4545
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ pub struct ExplorerLoadCommand {
2424 #[ structopt( short = "e" , long = "endpoint" ) ]
2525 pub endpoint : String ,
2626
27- /// Amount of delay [ milliseconds] between sync attempts
27+ /// Amount of delay (in milliseconds) between sync attempts
2828 #[ structopt( long = "delay" , default_value = "50" ) ]
2929 pub delay : u64 ,
3030
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ pub struct RestLoadCommand {
2424 #[ structopt( short = "e" , long = "endpoint" ) ]
2525 pub endpoint : String ,
2626
27- /// Amount of delay [ milliseconds] between sync attempts
27+ /// Amount of delay (in milliseconds) between sync attempts
2828 #[ structopt( long = "delay" , default_value = "50" ) ]
2929 pub delay : u64 ,
3030
31- /// Amount of delay [ seconds] between sync attempts
31+ /// Amount of delay (in seconds) between sync attempts
3232 #[ structopt( short = "d" , long = "duration" ) ]
3333 pub duration : u64 ,
3434
You can’t perform that action at this time.
0 commit comments