From 78bfcb10b8f3eb195210deda712b6dbaa4e46ac7 Mon Sep 17 00:00:00 2001 From: curly60e <55191248+curly60e@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:10:04 -0300 Subject: [PATCH] Add files via upload --- pybitblock/block_explorer.py | 4 ++-- pybitblock/mempool_monitor.py | 10 +++++----- pybitblock/node_monitor.py | 2 +- pybitblock/peers_monitor.py | 2 +- pybitblock/tx_search.py | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pybitblock/block_explorer.py b/pybitblock/block_explorer.py index 189a639..1984275 100644 --- a/pybitblock/block_explorer.py +++ b/pybitblock/block_explorer.py @@ -77,9 +77,9 @@ async def display_blocks_info(): layout["main"].split_row( Layout(name="recent_blocks", ratio=1), ) - layout["footer"].update(Text("Cypherpunk style...")) + layout["footer"].update(Text("Cypherpunk style loading...")) - layout["recent_blocks"].update(Panel(Text("Loading..."), title="Recent Blocks")) + layout["recent_blocks"].update(Panel(Text("Cypherpunk Style loading..."), title="Recent Blocks")) layout["header"].update(Text("Block Monitor", style="bold cyan")) block_tables = [] diff --git a/pybitblock/mempool_monitor.py b/pybitblock/mempool_monitor.py index 50e5f14..25e069d 100644 --- a/pybitblock/mempool_monitor.py +++ b/pybitblock/mempool_monitor.py @@ -132,11 +132,11 @@ async def display_mempool_info(): ) layout["left"].split(Layout(name="mempool_info"), Layout(name="recent_blocks")) layout["right"].split(Layout(name="mempool_chart"), Layout(name="mempool_transactions")) - layout["footer"].update(Text("Loading...")) + layout["footer"].update(Text("Cypherpunk Style loading...")) - layout["mempool_info"].update(Panel(Text("Loading..."), title="General Information")) - layout["mempool_chart"].update(Panel(Text("Loading..."), title="Mempool Flow")) - layout["recent_blocks"].update(Panel(Text("Loading..."), title="Last Blocks")) + layout["mempool_info"].update(Panel(Text("Cypherpunk Style loading..."), title="General Information")) + layout["mempool_chart"].update(Panel(Text("Cypherpunk Style loading..."), title="Mempool Flow")) + layout["recent_blocks"].update(Panel(Text("Cypherpunk Style loading..."), title="Last Blocks")) layout["header"].update(Text("Mempool Monitor", style="bold magenta")) mempool_data_points = [] @@ -162,7 +162,7 @@ async def display_mempool_info(): layout["mempool_transactions"].update(Panel(mempool_transactions_table, title="Recent Transactions")) layout["mempool_chart"].update(Panel(mempool_flow_chart, title="Mempool Flow")) - layout["footer"].update(Text("")) + layout["footer"].update(Text("Running the node.")) if __name__ == "__main__": asyncio.run(display_mempool_info()) diff --git a/pybitblock/node_monitor.py b/pybitblock/node_monitor.py index ce62e2d..ff451db 100644 --- a/pybitblock/node_monitor.py +++ b/pybitblock/node_monitor.py @@ -127,7 +127,7 @@ async def display_node_info(): Layout(name="orphan_info"), ) layout["right"].split(Layout(name="net_totals"), Layout(name="peer_info")) - layout["footer"].update(Text("Loading...")) + layout["footer"].update(Text("Cypherpunk style...")) layout["node_info"].update(Panel(Text("Loading..."), title="Node Information")) layout["net_totals"].update(Panel(Text("Loading..."), title="Network Traffic")) diff --git a/pybitblock/peers_monitor.py b/pybitblock/peers_monitor.py index f83d505..6280dfc 100644 --- a/pybitblock/peers_monitor.py +++ b/pybitblock/peers_monitor.py @@ -7,7 +7,7 @@ from blessings import Terminal from execute_load_config import load_config # Configura el archivo de registro -logging.basicConfig(filename='debug.log', level=logging.DEBUG, format='%(asctime)s %(message)s') +logging.basicConfig(filename='debug_peer_monitor.log', level=logging.DEBUG, format='%(asctime)s %(message)s') # Load configuration path, settings, settingsClock = load_config() diff --git a/pybitblock/tx_search.py b/pybitblock/tx_search.py index 56502c1..304103d 100644 --- a/pybitblock/tx_search.py +++ b/pybitblock/tx_search.py @@ -6,7 +6,7 @@ import numpy as np from execute_load_config import load_config # Configura el archivo de registro -logging.basicConfig(filename='debug.log', level=logging.DEBUG, format='%(asctime)s %(message)s') +logging.basicConfig(filename='debug_tx_search.log', level=logging.DEBUG, format='%(asctime)s %(message)s') # Load configuration path, settings, settingsClock = load_config()