From 32910532569efc816ef93d48d0dea4700a1dc05d Mon Sep 17 00:00:00 2001 From: Daniel Krol Date: Fri, 28 Jan 2022 18:21:51 -0500 Subject: [PATCH] Add encrypt-on-disk setting --- v2/proto/wallet.proto | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/v2/proto/wallet.proto b/v2/proto/wallet.proto index 930c49e..96c9d35 100644 --- a/v2/proto/wallet.proto +++ b/v2/proto/wallet.proto @@ -43,9 +43,14 @@ message Account { message TimestampedPreferences { EnableSync enable_sync = 1 [json_name="enable-sync"]; - Preferences local = 2; - Preferences shared = 3; + EncryptOnDisk encrypt_on_disk = 2 [json_name="encrypt-on-disk"]; + Preferences local = 3; + Preferences shared = 4; + message EncryptOnDisk { + uint32 ts = 1; + bool value = 2; + } message EnableSync { uint32 ts = 1; bool value = 2;