aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2023-01-31 07:20:39 -0500
committerpriscilla <priscilla.huang@efrei.net>2023-01-31 07:20:39 -0500
commit6503b13591e9ffd0600532302c06836e2ac89326 (patch)
tree8eacb282f4763ed70b7260bbf8588113f470a36b
parentd41966023eb25d26604a9f0d01eda382240c0d79 (diff)
parentb309c93f859f68124f76cef03b35b0143b8331cb (diff)
downloadgana-6503b13591e9ffd0600532302c06836e2ac89326.tar.gz
gana-6503b13591e9ffd0600532302c06836e2ac89326.zip
Merge branch 'master' of git+ssh://git.gnunet.org/gana
-rwxr-xr-xformat.sh3
-rw-r--r--gnu-taler-error-codes/registry.rec53
-rw-r--r--gnunet-signatures/registry.rec10
3 files changed, 65 insertions, 1 deletions
diff --git a/format.sh b/format.sh
index 1cdee4f..a8f2265 100755
--- a/format.sh
+++ b/format.sh
@@ -12,7 +12,8 @@
12## 12##
13me=$(basename $0) 13me=$(basename $0)
14 14
15version='1.3' 15version='1.4'
16# 1.4 -- create $TMPDIR if it does not exist
16# 1.3 -- add support for optional arg SELEXP 17# 1.3 -- add support for optional arg SELEXP
17# 1.2 -- add check for required arg TEMPLATE 18# 1.2 -- add check for required arg TEMPLATE
18# 1.1 -- add --help/--version support 19# 1.1 -- add --help/--version support
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index dd8c7b8..0fa6d30 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -393,6 +393,17 @@ Name: EXCHANGE_GENERIC_PURSE_DELETED
393Description: The purse was deleted. 393Description: The purse was deleted.
394HttpStatus: 410 394HttpStatus: 410
395 395
396Value: 1032
397Name: EXCHANGE_GENERIC_AML_OFFICER_PUB_MALFORMED
398Description: The public key of the AML officer in the URL was malformed.
399HttpStatus: 400
400
401Value: 1033
402Name: EXCHANGE_GENERIC_AML_OFFICER_GET_SIGNATURE_INVALID
403Description: The signature affirming the GET request of the AML officer is invalid.
404HttpStatus: 403
405
406
396Value: 1100 407Value: 1100
397Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND 408Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND
398Description: The exchange did not find information about the specified transaction in the database. 409Description: The exchange did not find information about the specified transaction in the database.
@@ -438,6 +449,10 @@ Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS
438Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. 449Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance.
439HttpStatus: 409 450HttpStatus: 409
440 451
452Value: 1151
453Name: EXCHANGE_AGE_WITHDRAW_INSUFFICIENT_FUNDS
454Description: The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance.
455HttpStatus: 409
441 456
442Value: 1152 457Value: 1152
443Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW 458Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW
@@ -1012,6 +1027,34 @@ Name: EXCHANGE_MANAGEMENT_DRAIN_PROFITS_SIGNATURE_INVALID
1012Description: The signature affirming the profit drain is invalid. 1027Description: The signature affirming the profit drain is invalid.
1013HttpStatus: 403 1028HttpStatus: 403
1014 1029
1030Value: 1825
1031Name: EXCHANGE_AML_DECISION_ADD_SIGNATURE_INVALID
1032Description: The signature affirming the AML decision is invalid.
1033HttpStatus: 403
1034
1035Value: 1826
1036Name: EXCHANGE_AML_DECISION_INVALID_OFFICER
1037Description: The AML officer specified is not allowed to make AML decisions right now.
1038HttpStatus: 403
1039
1040Value: 1827
1041Name: EXCHANGE_AML_DECISION_MORE_RECENT_PRESENT
1042Description: There is a more recent AML decision on file. The decision was rejected as timestamps of AML decisions must be monotonically increasing.
1043HttpStatus: 409
1044
1045Value: 1830
1046Name: EXCHANGE_MANAGEMENT_UPDATE_AML_OFFICER_SIGNATURE_INVALID
1047Description: The signature affirming the change in the AML officer status is invalid.
1048HttpStatus: 403
1049
1050Value: 1831
1051Name: EXCHANGE_MANAGEMENT_AML_OFFICERS_MORE_RECENT_PRESENT
1052Description: A more recent decision about the AML officer status is known to the exchange.
1053HttpStatus: 409
1054
1055
1056
1057
1015Value: 1850 1058Value: 1850
1016Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA 1059Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA
1017Description: The purse was previously created with different meta data. 1060Description: The purse was previously created with different meta data.
@@ -1092,6 +1135,16 @@ Name: EXCHANGE_MERGE_PURSE_PARTNER_UNKNOWN
1092Description: The exchange of the target account is not a partner of this exchange. 1135Description: The exchange of the target account is not a partner of this exchange.
1093HttpStatus: 404 1136HttpStatus: 404
1094 1137
1138Value: 1890
1139Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_SIGNATURE_INVALID
1140Description: The signature affirming the new partner is invalid.
1141HttpStatus: 403
1142
1143Value: 1891
1144Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_DATA_CONFLICT
1145Description: Conflicting data for the partner already exists with the exchange.
1146HttpStatus: 409
1147
1095 1148
1096Value: 1900 1149Value: 1900
1097Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID 1150Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID
diff --git a/gnunet-signatures/registry.rec b/gnunet-signatures/registry.rec
index 086544d..03691e9 100644
--- a/gnunet-signatures/registry.rec
+++ b/gnunet-signatures/registry.rec
@@ -395,6 +395,11 @@ Name: EXCHANGE_CONFIRM_PURSE_REFUND
395Comment: Signature by which the exchange confirms that a purse expired and a coin was refunded. 395Comment: Signature by which the exchange confirms that a purse expired and a coin was refunded.
396Package: GNU Taler 396Package: GNU Taler
397 397
398Number: 1050
399Name: EXCHANGE_CONFIRM_AGE_WITHDRAW
400Comment: Signature where the Exchange confirms an age-withdraw.
401Package: GNU Taler
402
398# 403#
399# Auditor signatures 404# Auditor signatures
400# 405#
@@ -542,6 +547,11 @@ Name: WALLET_PURSE_DELETE
542Comment: Signature by which a wallet requests a purse to be deleted. 547Comment: Signature by which a wallet requests a purse to be deleted.
543Package: GNU Taler 548Package: GNU Taler
544 549
550Number: 1221
551Name: WALLET_RESERVE_AGE_WITHDRAW
552Comment: Signature where the reserve key confirms an age-withdraw request. Signed with the reserve private key.
553Package: GNU Taler
554
545# 555#
546# Security module signatures 556# Security module signatures
547# 557#