From 6be5c30331608e6642f26831b68ceeb0c249a9e8 Mon Sep 17 00:00:00 2001 From: Lautaro Mazzitelli Date: Thu, 26 Sep 2024 15:52:34 +0200 Subject: [PATCH] feat(launchpad): 35gb nodes --- node-launchpad/src/components/popup/manage_nodes.rs | 2 +- node-launchpad/src/components/status.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/node-launchpad/src/components/popup/manage_nodes.rs b/node-launchpad/src/components/popup/manage_nodes.rs index 3117d22077..2ad7674730 100644 --- a/node-launchpad/src/components/popup/manage_nodes.rs +++ b/node-launchpad/src/components/popup/manage_nodes.rs @@ -23,7 +23,7 @@ use crate::{ use super::super::{utils::centered_rect_fixed, Component}; -pub const GB_PER_NODE: usize = 5; +pub const GB_PER_NODE: usize = 35; pub const MB: usize = 1000 * 1000; pub const GB: usize = MB * 1000; pub const MAX_NODE_COUNT: usize = 50; diff --git a/node-launchpad/src/components/status.rs b/node-launchpad/src/components/status.rs index 82d12c968c..3283a16de9 100644 --- a/node-launchpad/src/components/status.rs +++ b/node-launchpad/src/components/status.rs @@ -742,9 +742,12 @@ impl Component for Status { ]); let line2 = Line::from(vec![Span::styled( - "Each node will use 5GB of storage and a small amount of memory, \ + format!( + "Each node will use {}GB of storage and a small amount of memory, \ CPU, and Network bandwidth. Most computers can run many nodes at once, \ but we recommend you add them gradually", + GB_PER_NODE + ), Style::default().fg(LIGHT_PERIWINKLE), )]);