gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: reserve space for wallet_data_ha


From: gnunet
Subject: [taler-exchange] branch master updated: reserve space for wallet_data_hash in schema
Date: Thu, 31 Aug 2023 00:12:51 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 50f1df8a reserve space for wallet_data_hash in schema
50f1df8a is described below

commit 50f1df8a614bb42eb3295acdd5b7e2a3d6935310
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Thu Aug 31 00:12:44 2023 +0200

    reserve space for wallet_data_hash in schema
---
 contrib/gana                     | 2 +-
 src/exchangedb/0002-deposits.sql | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/contrib/gana b/contrib/gana
index d04f9909..02c968dd 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit d04f990981fdee8ba1b31d6d61424abbbc03cbc3
+Subproject commit 02c968dd3ff5ca6b19a45f7a4e8e3b1be1ec67dd
diff --git a/src/exchangedb/0002-deposits.sql b/src/exchangedb/0002-deposits.sql
index e33bfcf9..f15b869c 100644
--- a/src/exchangedb/0002-deposits.sql
+++ b/src/exchangedb/0002-deposits.sql
@@ -36,6 +36,8 @@ BEGIN
       ',wire_deadline INT8 NOT NULL'
       ',merchant_pub BYTEA NOT NULL CHECK (LENGTH(merchant_pub)=32)'
       ',h_contract_terms BYTEA NOT NULL CHECK (LENGTH(h_contract_terms)=64)'
+      ',wallet_data_hash BYTEA CHECK (LENGTH(wallet_data_hash)=64) DEFAULT 
NULL'
+      ',subcontract_id INT4 NOT NULL DEFAULT 0'
       ',coin_sig BYTEA NOT NULL CHECK (LENGTH(coin_sig)=64)'
       ',wire_salt BYTEA NOT NULL CHECK (LENGTH(wire_salt)=16)'
       ',wire_target_h_payto BYTEA CHECK (LENGTH(wire_target_h_payto)=32)'
@@ -70,6 +72,12 @@ BEGIN
     ,table_name
     ,partition_suffix
   );
+  PERFORM comment_partitioned_column(
+     'hash over data provided by the wallet upon payment to select a more 
specific contract'
+    ,'wallet_data_hash'
+    ,table_name
+    ,partition_suffix
+  );
   PERFORM comment_partitioned_column(
      'Salt used when hashing the payto://-URI to get the h_wire'
     ,'wire_salt'

-- 
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]