gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: make coins part of their deno


From: gnunet
Subject: [taler-wallet-core] branch master updated: make coins part of their denomination in backup
Date: Tue, 08 Dec 2020 12:16:14 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 80f5d2d0 make coins part of their denomination in backup
80f5d2d0 is described below

commit 80f5d2d0f33860cdd3225a2054cac462df2e8828
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Dec 8 12:16:01 2020 +0100

    make coins part of their denomination in backup
---
 packages/taler-wallet-core/src/types/backupTypes.ts | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/packages/taler-wallet-core/src/types/backupTypes.ts 
b/packages/taler-wallet-core/src/types/backupTypes.ts
index d6062b92..2b0e7496 100644
--- a/packages/taler-wallet-core/src/types/backupTypes.ts
+++ b/packages/taler-wallet-core/src/types/backupTypes.ts
@@ -301,7 +301,7 @@ export type BackupCoinSource =
 /**
  * Backup information about a coin.
  *
- * (Always part of a BackupExchange)
+ * (Always part of a BackupExchange/BackupDenom)
  */
 export interface BackupCoin {
   /**
@@ -314,11 +314,6 @@ export interface BackupCoin {
    */
   coin_priv: string;
 
-  /**
-   * Key used by the exchange used to sign the coin.
-   */
-  denom_pub: string;
-
   /**
    * Unblinded signature by the exchange.
    */
@@ -805,6 +800,11 @@ export interface BackupDenomination {
    * should also mark all affected coins as revoked.
    */
   is_revoked: boolean;
+
+  /**
+   * Coins of this denomination.
+   */
+  coins: BackupCoin[];
 }
 
 export interface BackupReserve {
@@ -1005,8 +1005,6 @@ export interface BackupExchange {
    */
   reserves: BackupReserve[];
 
-  coins: BackupCoin[];
-
   /**
    * Last observed protocol version.
    */
@@ -1025,7 +1023,10 @@ export interface BackupExchange {
    */
   accounts: {
     payto_uri: string;
-    master_sig: string;
+    /**
+     * Optional, since older wallets don't store this.
+     */
+    master_sig?: string;
   }[];
 
   /**

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]