From 5b6ba0e6c708798a60198f993ecb179ea8e60a5a Mon Sep 17 00:00:00 2001 From: bilboquet Date: Fri, 16 Jun 2023 14:52:09 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20massalab?= =?UTF-8?q?s/massa@8cb1ceb6e8da65783969abec4f9ab7e0b6002ecc=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- massa_node/fn.launch.html | 2 +- massa_node/fn.load_wallet.html | 2 +- massa_node/fn.main.html | 2 +- massa_node/fn.run.html | 2 +- massa_node/fn.stop.html | 2 +- massa_node/index.html | 2 +- massa_node/struct.Args.html | 4 ++-- massa_node/struct.Managers.html | 2 +- src/massa_node/main.rs.html | 6 +++++- 9 files changed, 14 insertions(+), 10 deletions(-) diff --git a/massa_node/fn.launch.html b/massa_node/fn.launch.html index a970e6dd970..dddfbca7102 100644 --- a/massa_node/fn.launch.html +++ b/massa_node/fn.launch.html @@ -1,4 +1,4 @@ -launch in massa_node - Rust

Function massa_node::launch

source ·
pub(crate) async fn launch(
+launch in massa_node - Rust

Function massa_node::launch

source ·
pub(crate) async fn launch(
     args: &Args,
     node_wallet: Arc<RwLock<Wallet>>,
     sig_int_toggled: Arc<(Mutex<bool>, Condvar)>
diff --git a/massa_node/fn.load_wallet.html b/massa_node/fn.load_wallet.html
index 218d1d3a44a..f56477cf10d 100644
--- a/massa_node/fn.load_wallet.html
+++ b/massa_node/fn.load_wallet.html
@@ -1,4 +1,4 @@
-load_wallet in massa_node - Rust

Function massa_node::load_wallet

source ·
pub(crate) fn load_wallet(
+load_wallet in massa_node - Rust

Function massa_node::load_wallet

source ·
pub(crate) fn load_wallet(
     password: Option<String>,
     path: &Path
 ) -> Result<Arc<RwLock<Wallet>>>
Expand description

Load wallet, asking for passwords if necessary

diff --git a/massa_node/fn.main.html b/massa_node/fn.main.html index e6862d62012..8355a156491 100644 --- a/massa_node/fn.main.html +++ b/massa_node/fn.main.html @@ -1 +1 @@ -main in massa_node - Rust

Function massa_node::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file +main in massa_node - Rust

Function massa_node::main

source ·
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/massa_node/fn.run.html b/massa_node/fn.run.html index 5ec44ee300a..3a2081560d3 100644 --- a/massa_node/fn.run.html +++ b/massa_node/fn.run.html @@ -1 +1 @@ -run in massa_node - Rust

Function massa_node::run

source ·
pub(crate) async fn run(args: Args) -> Result<()>
\ No newline at end of file +run in massa_node - Rust

Function massa_node::run

source ·
pub(crate) async fn run(args: Args) -> Result<()>
\ No newline at end of file diff --git a/massa_node/fn.stop.html b/massa_node/fn.stop.html index 800f8e579b1..ba18f09d8a4 100644 --- a/massa_node/fn.stop.html +++ b/massa_node/fn.stop.html @@ -1,4 +1,4 @@ -stop in massa_node - Rust

Function massa_node::stop

source ·
pub(crate) async fn stop(
+stop in massa_node - Rust

Function massa_node::stop

source ·
pub(crate) async fn stop(
     _consensus_event_receiver: MassaReceiver<ConsensusEvent>,
     __arg1: Managers,
     api_private_handle: StopHandle,
diff --git a/massa_node/index.html b/massa_node/index.html
index 76a57cf3c1c..8bd8e8c514e 100644
--- a/massa_node/index.html
+++ b/massa_node/index.html
@@ -1,4 +1,4 @@
-massa_node - Rust

Crate massa_node

source ·
Expand description

+massa_node - Rust

Crate massa_node

source ·
Expand description

diff --git a/massa_node/struct.Args.html b/massa_node/struct.Args.html index ef12a36a6a6..aea8ca5b0a2 100644 --- a/massa_node/struct.Args.html +++ b/massa_node/struct.Args.html @@ -1,10 +1,10 @@ -Args in massa_node - Rust

Struct massa_node::Args

source ·
pub(crate) struct Args {
+Args in massa_node - Rust

Struct massa_node::Args

source ·
pub(crate) struct Args {
     pub(crate) keep_ledger: bool,
     pub(crate) password: Option<String>,
     pub(crate) restart_from_snapshot_at_period: Option<u64>,
 }

Fields§

§keep_ledger: bool§password: Option<String>

Wallet password

§restart_from_snapshot_at_period: Option<u64>

restart_from_snapshot_at_period

-

Trait Implementations§

source§

impl ParseArgs for Args

§

type Error = Error

Error type. Read more
source§

fn parse_args() -> Result<Self, Self::Error>

Try to create a new instance of the struct. Read more
source§

impl StructOpt for Args

source§

fn clap<'a, 'b>() -> App<'a, 'b>

Returns clap::App corresponding to the struct.
source§

fn from_clap(matches: &ArgMatches<'_>) -> Self

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed +

Trait Implementations§

source§

impl ParseArgs for Args

§

type Error = Error

Error type. Read more
source§

fn parse_args() -> Result<Self, Self::Error>

Try to create a new instance of the struct. Read more
source§

impl StructOpt for Args

source§

fn clap<'a, 'b>() -> App<'a, 'b>

Returns clap::App corresponding to the struct.
source§

fn from_clap(matches: &ArgMatches<'_>) -> Self

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed if matches originates from an App generated by [StructOpt::clap] called on the same type, otherwise it must panic.
§

fn from_args() -> Selfwhere Self: Sized,

Builds the struct from the command line arguments (std::env::args_os). diff --git a/massa_node/struct.Managers.html b/massa_node/struct.Managers.html index a395e213bd6..554432e7489 100644 --- a/massa_node/struct.Managers.html +++ b/massa_node/struct.Managers.html @@ -1,4 +1,4 @@ -Managers in massa_node - Rust

Struct massa_node::Managers

source ·
pub(crate) struct Managers {
+Managers in massa_node - Rust

Struct massa_node::Managers

source ·
pub(crate) struct Managers {
     pub(crate) bootstrap_manager: Option<BootstrapManager>,
     pub(crate) consensus_manager: Box<dyn ConsensusManager>,
     pub(crate) execution_manager: Box<dyn ExecutionManager>,
diff --git a/src/massa_node/main.rs.html b/src/massa_node/main.rs.html
index 02404c2fc25..31d0f634373 100644
--- a/src/massa_node/main.rs.html
+++ b/src/massa_node/main.rs.html
@@ -1317,6 +1317,8 @@
 1317
 1318
 1319
+1320
+1321
 
// Copyright (c) 2022 MASSA LABS <info@massa.net>
 
 #![doc = include_str!("../../README.md")]
@@ -1622,7 +1624,9 @@
                 components: BTreeMap::from([(MipComponent::FinalStateHashKind, 1)]),
                 start: mip_0002_start,
                 timeout: mip_0002_timeout,
-                activation_delay: T0.saturating_mul(PERIODS_PER_CYCLE.saturating_add(1)).saturating_mul(40),
+                activation_delay: T0
+                    .saturating_mul(PERIODS_PER_CYCLE.saturating_add(1))
+                    .saturating_mul(40),
             },
             MipState::new(mip_0002_defined_start),
         ),