Christian Grothoff
938db9ac56
-fix memory leak introduced by Oec
2022-03-19 16:04:41 +01:00
Christian Grothoff
c4690a44bc
-minor code cleanup
2022-03-19 15:54:05 +01:00
Christian Grothoff
685837ad28
simplify auditor_api_handle.c, do not modify global context with respect to 'Expect' header
2022-03-19 15:25:43 +01:00
Christian Grothoff
f5e5f4b843
more work on recoup_by_reserve: add new materialized index to avoid hitting all partitions for the query
2022-03-19 14:05:45 +01:00
Christian Grothoff
f22125ce0f
add missing index, move indices closer to table generation
2022-03-19 12:58:37 +01:00
Thien-Thi Nguyen
b4f7231d17
[build int] Use ‘MHD_VERSION_AT_LEAST’
...
* configure.ac (microhttpd): Delete shell var.
(MHD_start_daemon): Delete AC_CHECK_LIB.
(MHD_DAEMON_INFO_CURRENT_CONNECTIONS): Delete AC_CHECK_DECL.
(MHD_VERSION_AT_LEAST): New macro call.
2022-03-19 07:52:53 -04:00
Thien-Thi Nguyen
98c21a5116
Add autoconf macro to check for minimum libmicrohttpd version
...
* m4/mhd.m4: New.
2022-03-19 07:52:53 -04:00
Christian Grothoff
52a8b8f888
-code cleanup
2022-03-19 08:34:58 +01:00
Christian Grothoff
280f94c3a6
improve style of some SQL queries (no semantic change)
2022-03-19 08:27:01 +01:00
Christian Grothoff
f0a95037ef
-fix memory leak
2022-03-19 08:26:40 +01:00
Christian Grothoff
badfde8962
add deposits_by_coin table to speed-up certain queries (in theory)
2022-03-18 15:47:25 +01:00
e909f5701b
system doc: include title page
2022-03-18 15:44:49 +01:00
Christian Grothoff
142a369e43
add selection by shard, ignore KYC in revocation test aggregation
2022-03-18 08:54:08 +01:00
Christian Grothoff
23af6c3c41
change table structures again to shard better by coin_pub and not use known_coin_id so much
2022-03-18 01:57:39 +01:00
Christian Grothoff
a59d39f699
reinit auditor bd: column dropped
2022-03-17 15:09:14 +01:00
Christian Grothoff
eac8b8c0da
-re-enable test-revocation.sh, works again
2022-03-17 15:06:58 +01:00
Christian Grothoff
bab36a2ac8
-remove dead field, return h_commitment_age to auditor
2022-03-17 14:45:12 +01:00
Christian Grothoff
12809b28ec
-misc fixes
2022-03-17 14:16:34 +01:00
Marco Boss
63879d9d20
more explicit cipher usage counters
2022-03-17 14:09:12 +01:00
Christian Grothoff
fe94405554
regenerate revokedb
2022-03-15 13:09:32 +01:00
Marco Boss
7529939a0f
add metrics for number of crypto operations
2022-03-14 20:06:07 +01:00
Christian Grothoff
687f0cab82
add arguments for new fees
2022-03-14 16:03:01 +01:00
Christian Grothoff
a8d80d519d
attempt to make GRID5K_MARCO_OPT superfluous
2022-03-14 07:34:21 +01:00
Marco Boss
7a74cde9c7
add option to exclude reserve history in grid5k experiments
2022-03-10 10:26:44 +01:00
Christian Grothoff
9a3d993d07
-also work with h_payto trait
2022-03-10 01:48:46 +01:00
MS
e1e68cebb8
cbdc-it
2022-03-09 17:59:24 +01:00
MS
92c594774e
rewording cbdc-it
2022-03-09 15:11:23 +01:00
2fe5223c72
add missing files for system documentation book
2022-03-08 21:56:46 +01:00
cd5ee2338c
-ensure label has no zero bytes
2022-03-08 11:47:51 +01:00
Christian Grothoff
ab3868f83b
-add global-fee subcommand to taler-exchange-offline
2022-03-05 19:03:40 +01:00
Christian Grothoff
54106e63dc
add client API for setting global fees
2022-03-05 18:18:25 +01:00
Christian Grothoff
a080f11890
add more logic for new global fees
2022-03-05 17:14:32 +01:00
Christian Grothoff
57470e4c08
-more work on global_fees
2022-03-05 16:16:38 +01:00
Christian Grothoff
5fa977cc05
work on global fee structure
2022-03-05 15:13:07 +01:00
Christian Grothoff
841e56bafd
also sync global fees table (new)
2022-03-05 14:38:03 +01:00
Christian Grothoff
7ff58c3d8f
refactor /wire to include logic to return the wad fee (for W2W payments)
2022-03-05 14:36:55 +01:00
8a906bf96c
sync tables "extensions" and "extension_details" with auditor
2022-03-05 13:39:01 +01:00
Christian Grothoff
43f8ab6b48
add signing/verifying functions for global fees
2022-03-05 12:04:13 +01:00
Christian Grothoff
4835ddf60b
introduce sets for wire fees and global fees
2022-03-05 11:56:58 +01:00
Christian Grothoff
3a1f418603
improve URI path checking, make it more strict and simplify logic
2022-03-04 22:29:29 +01:00
d0b27833b2
[age restriction] added unit test for get_age_group
2022-03-04 17:00:28 +01:00
Marco Boss
f5e1cf5e6d
rewrite query for recoup_by_reserve
2022-03-04 13:22:28 +01:00
Christian Grothoff
f9a2808ed0
-fix kyc test
2022-03-04 00:30:43 +01:00
Christian Grothoff
1643b745af
use 32 byte hash for hpayto, use that for joins on queries to better align queries with partitions
2022-03-03 23:52:08 +01:00
Christian Grothoff
f951cdef8c
include shard when marking deposits tiny/done to make better use of partitions/shards
2022-03-03 19:39:25 +01:00
4c53d42e44
[age restriction] progress 18/n - attestation tested
...
- Unit-tests for commit, derive, attest and verify added, with multiple
combinations of minimum age and commited age.
- Fixed crypto implementation (eddsa -> ecdsa)
- Using now standard functionality from GNUNET:
GNUNET_CRYPTO_ecdsa_{private,public}_key_derive
All tests pass (unit tests in util/ and 'make check' in testing).
2022-03-03 19:35:24 +01:00
Christian Grothoff
476ae53808
simply defer all, only way to do well with partitions
2022-03-03 17:48:00 +01:00
Thien-Thi Nguyen
80fc8231ad
Don't hardcode directory in taler-auditor-sync(1) invocation
2022-03-02 17:32:52 -05:00
Marco Boss
57e3864c09
Include partitioning in dbinit
2022-03-02 19:03:54 +01:00
Marco Boss
79d123d1b4
fix num partitions
2022-03-02 19:01:27 +01:00