consolidate monero wallet sync status into shared WalletSyncStatus type.

This commit is contained in:
2026-09-06 15:27:55 +02:00
parent 5f1c8bee4b
commit 35052661f8
5 changed files with 34 additions and 30 deletions
@@ -1,12 +1,12 @@
import type { MoneroNetwork } from './MoneroNetwork';
import type { MoneroWalletSyncStatus } from './MoneroWalletSyncStatus';
import type { WalletSyncStatus } from '../wallet/WalletSyncStatus';
export interface MoneroWalletStatus {
network: MoneroNetwork;
rpcVersion: string;
walletHeight: number;
daemonHeight: number | null;
syncStatus: MoneroWalletSyncStatus;
syncStatus: WalletSyncStatus;
balanceXmr: string;
unlockedBalanceXmr: string;
}
@@ -1,4 +1,4 @@
export enum MoneroWalletSyncStatus {
export enum WalletSyncStatus {
Synced = 'synced',
Syncing = 'syncing',
Unknown = 'unknown'