diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-26 04:04:02 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-26 04:04:02 +0200 |
commit | 1ce9312d0293444e55512bba69265f4671d387e9 (patch) | |
tree | 15b58dff705c54fa938cfc34e0a7a6173aee951f /src/exchangedb/0003-age_withdraw.sql | |
parent | ac462b275300d28f939a9be83c5bd220fbb0d7cd (diff) |
[age-withdraw] WIP - database transaction during reveal works now
The test for age-restriction still fail, but the database transactions,
including passing arrays in/out the PQ-helpers works.
Diffstat (limited to 'src/exchangedb/0003-age_withdraw.sql')
-rw-r--r-- | src/exchangedb/0003-age_withdraw.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/0003-age_withdraw.sql b/src/exchangedb/0003-age_withdraw.sql index 1d296b05..9816e466 100644 --- a/src/exchangedb/0003-age_withdraw.sql +++ b/src/exchangedb/0003-age_withdraw.sql @@ -29,6 +29,8 @@ BEGIN '(age_withdraw_id BIGINT GENERATED BY DEFAULT AS IDENTITY' ',h_commitment BYTEA NOT NULL CONSTRAINT h_commitment_length CHECK(LENGTH(h_commitment)=64)' ',max_age SMALLINT NOT NULL CONSTRAINT max_age_positive CHECK(max_age>=0)' + ',amount_with_fee_val INT8 NOT NULL' + ',amount_with_fee_frac INT4 NOT NULL' ',reserve_pub BYTEA NOT NULL CONSTRAINT reserve_pub_length CHECK(LENGTH(reserve_pub)=32)' ',reserve_sig BYTEA NOT NULL CONSTRAINT reserve_sig_length CHECK(LENGTH(reserve_sig)=64)' ',noreveal_index SMALLINT NOT NULL CONSTRAINT noreveal_index_positive CHECK(noreveal_index>=0)' |