Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Protect the Nano node's wallet and its backups
Țugui Dragoșa0497e2e437f
diff --git a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swiftindex 9e02d712..93aea665 100644--- a/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift+++ b/Packages/PeelCore/Sources/PeelPrivileged/ProtectedData.swift@@ -191,6 +191,8 @@ public enum ProtectedData: Sendable {".grim/main/wallets",".kaspa","Library/Application Support/Kaspawallet",+ "Library/Nano/wallets.ldb",+ "Library/Nano/backup",]/// Every protected place named from a home folder: `homeFolders`, `homeKeys` and `walletKeys`. `refuses`,diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swiftindex 8c6453c3..a9709fa3 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/DesktopWalletTests.swift@@ -74,6 +74,8 @@ struct DesktopWalletTests {".cashu/wallet/wallet.sqlite3","Library/Application Support/Kaspawallet/kaspa-mainnet/keys.json",".grim/main/wallets/1767225600/wallet_data/wallet.seed",+ "Library/Nano/wallets.ldb",+ "Library/Nano/backup/5F2B1E9C0D4A7B3E6C8D1F0A2B4C6E8D0F1A3B5C7D9E0F2A4B6C8D0E2F4A6B8C.json",])func refusesWhatAWalletKeeps(_ key: String) throws {let directory = try TemporaryDirectory()@@ -113,6 +115,7 @@ struct DesktopWalletTests {"Library/Application Support/Dexc/mainnet/logs/dexc.log","Library/Application Support/joinmarket/logs/joinmarket.log",".grim/main/chain_data/multi_lmdb/data.mdb",+ "Library/Nano/data.ldb",])func leavesWhatComesBackOnItsOwn(_ cache: String) throws {let directory = try TemporaryDirectory()