DragonX compatibility: crash fixes, reorg detection, server failover, sync perf
- Fix Rust FFI panics with catch_unwind wrappers and safe CString handling - Handle poisoned mutex/RwLock from prior panics instead of crashing - Add stuck sync detection (10s stall threshold) and chain reorg user prompt - Add "Skip Verification" button to seed phrase wizard - Update payment URIs from hush: to drgx: - Update branding strings throughout UI - Add all 6 lite servers (lite, lite1-5.dragonx.is) with random selection - Add server connectivity probing to skip unreachable servers - Reuse Tokio runtime across block fetch batches to reduce sync overhead - Update Cargo.lock dependencies
This commit is contained in:
50
src/logger.h
50
src/logger.h
@@ -1,25 +1,25 @@
|
||||
// Copyright 2019-2024 The Hush developers
|
||||
// Released under the GPLv3
|
||||
#ifndef LOGGER_H
|
||||
#define LOGGER_H
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
class Logger : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Logger(QObject *parent, QString fileName);
|
||||
~Logger();
|
||||
|
||||
private:
|
||||
QFile *file = nullptr;
|
||||
bool m_showDate;
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void write(const QString &value);
|
||||
};
|
||||
|
||||
#endif // LOGGER_H
|
||||
// Copyright 2019-2024 The Hush developers
|
||||
// Released under the GPLv3
|
||||
#ifndef LOGGER_H
|
||||
#define LOGGER_H
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
class Logger : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Logger(QObject *parent, QString fileName);
|
||||
~Logger();
|
||||
|
||||
private:
|
||||
QFile *file = nullptr;
|
||||
bool m_showDate;
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void write(const QString &value);
|
||||
};
|
||||
|
||||
#endif // LOGGER_H
|
||||
|
||||
Reference in New Issue
Block a user