Christian Grothoff
1fe26d5d2e
also test reserve history after payback
2017-04-10 17:59:33 +02:00
Christian Grothoff
58463df9d2
fix test_exchangedb denomkeys test
2017-04-10 17:01:20 +02:00
Christian Grothoff
17a74ee707
expand /payback tests
2017-04-10 16:51:09 +02:00
Christian Grothoff
368b9f8fcb
add test case for #3887
2017-04-10 16:37:08 +02:00
Christian Grothoff
2684327176
preparations for testing /payback API
2017-04-10 01:24:05 +02:00
Christian Grothoff
cc3aa31732
implement #3887-handling in exchange-lib
2017-04-03 22:45:48 +02:00
Christian Grothoff
dbb2368403
mark TODOs for #3887 in exchange-lib
2017-04-03 16:49:38 +02:00
Christian Grothoff
29a2f9b345
implement rest of exchange logic for #3887 (return payback information in reserve and coin histories)
2017-04-03 16:40:31 +02:00
Christian Grothoff
b293bda4ac
implement DB plugin function to obtain reserve information, migrate logic to simplified API spec ( #3887 ); use plugin API in /payback DB implementation
2017-04-01 23:43:55 +02:00
Christian Grothoff
c329b92ccf
implementing remaining /payback responses
2017-03-29 16:57:20 +02:00
Christian Grothoff
5aebc70da6
implement /payback-functions in libtalerexchange.so (new C file)
2017-03-29 15:45:18 +02:00
Christian Grothoff
722577835f
implement /payback-functions in libtalerexchange.so
2017-03-29 15:44:59 +02:00
Christian Grothoff
7ebacc6fbd
merge aggregator
2017-03-24 13:42:02 +01:00
Christian Grothoff
7ba2ee0966
test more of /wire, fix off-by-one
2017-03-06 17:36:10 +01:00
Christian Grothoff
92345d05e2
cover get more of /wire API in test case
2017-03-06 17:07:31 +01:00
Christian Grothoff
0e15a99504
implement #4937 : allow extraction of fees
2017-03-04 18:45:25 +01:00
Christian Grothoff
e3dcc27b68
implementing/fixing #4933 : check total_amount matches aggregated transactions
2017-03-04 17:53:04 +01:00
Christian Grothoff
6ab67a3a76
implementing #4929
2017-03-04 16:49:33 +01:00
Christian Grothoff
f406f96129
implement #4929 : add wire transfer fee to /wire (but not yet charged by aggregator)
2017-03-03 20:31:29 +01:00
Christian Grothoff
4d2faa5ec9
changing wire plugin specification from [exchange]WIREFORMAT to [exchange-wire-PLUGIN]enable=YES/NO
2017-03-03 19:24:08 +01:00
Christian Grothoff
397c718809
implementing #4921 : add base URL to wire transfers
2017-03-02 06:26:12 +01:00
Christian Grothoff
4d8942b818
fix expire header parsing if day-of-month is 7th due to field confusing (wday vs mday)
2017-03-02 05:53:02 +01:00
Christian Grothoff
3592083874
do not print warnings for perfectly expected status codes
2017-02-08 08:02:12 +01:00
Christian Grothoff
e9cdf641de
ensure testcase terminates if wget is not installed or launching httpd failed
2017-02-08 07:58:46 +01:00
Christian Grothoff
aca6003d42
skip test if binaries are not in PATH
2017-02-08 06:04:13 +01:00
Florian Dold
92246c3e88
remove transaction_id, only one payment per proposal allowed
2017-02-07 15:09:10 +01:00
Florian Dold
8c820b6916
contract terminology renaming ( #4877 )
2017-02-06 15:43:06 +01:00
Florian Dold
0bfb5b2509
Add option to initialized db, fixes 4858
...
Additionally remove the TESTRUN option, since the name is confusing and
doesn't match the original semantics (temp tables).
Test cases should now invoke the exchange httpd with the "-i" option.
2017-01-13 14:44:51 +01:00
Marcello Stanisci
eab7bb7667
#4828
2016-12-04 00:05:40 +01:00
Christian Grothoff
7d6b8d53d5
addressing #4803 : nicer error messages for invalid wire formats
2016-11-18 18:29:18 +01:00
Christian Grothoff
7fd6be5cef
add idempotency checks for /refresh/reveal, fixing #4793
2016-11-17 16:37:40 +01:00
Marcello Stanisci
95a6d399f8
wget-ing /admin/add/incoming from bank-lib testcase
2016-11-04 20:04:31 +01:00
Christian Grothoff
19f4c50dab
rename and move TALER_EXCHANGE_json_get_error_code to TALER_JSON_get_error_code
2016-10-20 21:19:01 +02:00
Christian Grothoff
63c5706b64
remove redundant exchange_api_common.h header
2016-10-20 21:11:20 +02:00
Christian Grothoff
7341b21fa3
return taler-specific error codes from C API as well
...
(#4497/4705)
2016-10-20 21:00:40 +02:00
Marcello Stanisci
0830751534
Merge branch 'master' of taler.net:exchange
2016-10-19 23:07:17 +02:00
Christian Grothoff
be055f1b92
fix recently introduced double-free
2016-10-19 00:09:10 +02:00
Christian Grothoff
70462f0b94
implement #4497/#4705 -- addition of unique numeric error codes -- for the server-side of the exchange
2016-10-18 23:05:29 +02:00
Marcello Stanisci
93f1fb5fc3
indent
2016-10-17 23:51:09 +02:00
Christian Grothoff
25618c561e
check dbinit return value to not fail hard if DB not available
2016-10-10 16:54:37 +02:00
Christian Grothoff
77f11bcfac
include execution time in signed message for /track/transfer ( #4578 )
2016-09-26 15:08:00 +02:00
Christian Grothoff
df8c011b95
return execution time also from exchange C API ( #4578 )
2016-09-26 14:58:44 +02:00
Christian Grothoff
0bfc7bcbf9
re-compute refresh session hash in reveal step
2016-08-11 22:19:12 +02:00
Christian Grothoff
0fd6cf19af
mostly working migration of the DH-seeded refresh variant
2016-08-07 23:21:49 +02:00
Christian Grothoff
745719dbc1
first half of changing refresh protocol to derive all key data from DH
2016-08-05 16:08:19 +02:00
Marcello Stanisci
59c6856284
fixing #4594
2016-07-07 17:55:25 +02:00
Christian Grothoff
ffb6fb608a
-bumps for release
2016-06-20 17:44:10 +02:00
Christian Grothoff
8c7406cb42
check refresh amounts add up correctly, fix linker issue
2016-06-15 22:55:05 +02:00
Christian Grothoff
f59246e763
clean up blobs
...
clean up blobs
clean up blobs
clean up blobs
pass -c option to taler services, ship with reasonable config
exclude live-keys from config
2016-06-15 22:54:58 +02:00
Christian Grothoff
b31c62039d
avoid passing int's as void*'s in benchmark logic
2016-06-15 16:04:29 +02:00
Christian Grothoff
6cd71bebbf
implement #4569
2016-06-13 16:36:10 +02:00
Christian Grothoff
6fb30ce468
fix memory leaks
2016-06-11 16:59:03 +02:00
Christian Grothoff
ce5587b427
fix memory leaks: json_array_append increments RC
2016-06-11 16:16:49 +02:00
Christian Grothoff
7dc075ae28
check return values of json_array_append
2016-06-11 13:54:11 +02:00
Christian Grothoff
42e2d51e53
note similarity in code
2016-06-09 21:59:24 +02:00
Christian Grothoff
3f4d668463
refactor track_transfer 200 handling, fix minor leak
2016-06-09 21:51:49 +02:00
Christian Grothoff
4a412841ba
-typo
2016-06-09 21:44:42 +02:00
Christian Grothoff
e484438837
rename source files to match API URIs
2016-06-09 21:43:26 +02:00
Christian Grothoff
3672005350
rename source files to match API URIs
2016-06-09 21:43:10 +02:00
Christian Grothoff
bb511560fe
move TALER_TrackTransferDetails to taler_crypto_lib.h as it is not exchange-specific
2016-06-09 21:03:07 +02:00
Christian Grothoff
75c04b8af2
rename /deposit/wtid and /wire/deposits to /track/{transaction,transfer} for improved consistency
2016-06-09 19:18:13 +02:00
Christian Grothoff
421b4f403f
integrate child_death_task with aggregator struct, and cancel it on error
2016-06-09 15:20:24 +02:00
Christian Grothoff
c179734ccf
make code build against revised GNUnet blind signing API
2016-06-09 14:52:00 +02:00
Christian Grothoff
a7379930d2
turn libfakebank into libtalerfakebank so we can use it for testcases in the merchant
2016-06-08 11:35:28 +02:00
Christian Grothoff
166352e87e
add exchange_pub to callbacks
2016-06-07 15:14:44 +02:00
Christian Grothoff
ce3d7c360b
add support for /keys cache control ( #4036 )
2016-05-31 14:32:06 +02:00
Marcello Stanisci
925097c86d
adding --pool-size option to benchmark,
...
correcting comments
2016-05-30 17:16:01 +02:00
Christian Grothoff
c0451f0982
fix #4533 for exchange (breaks interaction with bank for /admin/add/incoming)
2016-05-26 16:38:59 +02:00
Christian Grothoff
3f468773e7
change edate to wire_transfer_deadline/delay ( #4521 )
2016-05-26 15:23:46 +02:00
Christian Grothoff
079ef7cb6f
fixing #4520 : be more aggressive at asserting when API is violated
2016-05-24 20:37:23 +02:00
Christian Grothoff
32bb3b14bf
fix #4483
2016-05-24 20:13:31 +02:00
Florian Dold
8c3ffbf2a3
allow access to raw /keys response
2016-05-24 02:28:15 +02:00
Christian Grothoff
8dfb3b87b4
testing refund, fixing bugs, refund test passes
2016-05-21 19:22:03 +02:00
Christian Grothoff
9160245167
make use of GNUNET_JSON_from_data_auto where possible
2016-05-21 18:36:12 +02:00
Christian Grothoff
93aaf1d172
extending interpreter to cover refund (but not used yet)
2016-05-20 17:15:50 +02:00
Christian Grothoff
43cfa77248
enforce wire deadline >= refund_deadline in API
2016-05-20 15:36:08 +02:00
Christian Grothoff
daff72b63f
fix #4506 : check that master key matches our master key when loading signing and denomination keys; also do not send master_pub with each signing key, that is not in the spec
2016-05-18 17:58:32 +02:00
Christian Grothoff
c8b9370413
fixing #3814 by removing ability to melt multiple oldcoins at the same time
2016-05-16 11:55:47 +02:00
Christian Grothoff
fb2ef1d5d9
bump copyright
2016-05-06 13:35:12 +02:00
Christian Grothoff
302070b86e
support REFUNDS in transaction history in libtalerexchange
2016-05-06 13:33:20 +02:00
Christian Grothoff
6b1f4904ef
export transaction history check function
2016-05-05 14:43:13 +02:00
Christian Grothoff
ad6a40aaa5
fix fmt string issues
2016-05-04 13:21:22 +02:00
Christian Grothoff
c1575167f7
fix make dist
2016-05-04 10:09:17 +02:00
Christian Grothoff
4a031a692b
implementing /refund API ( #3848 )
2016-05-04 09:42:52 +02:00
Christian Grothoff
4553681476
fix issues in tracking API and tracking API test, resolves #4399
2016-05-04 06:10:41 +02:00
Christian Grothoff
910e01d1c1
be more careful with terminology
2016-05-04 05:38:29 +02:00
Christian Grothoff
2c832199b2
check WTID matches
2016-05-04 05:36:23 +02:00
Christian Grothoff
c1253703ae
fix size in purpose
2016-05-04 05:30:06 +02:00
Christian Grothoff
27300ad1cc
round exec time
2016-05-04 05:19:47 +02:00
Christian Grothoff
9f0245ca99
modify test to trigger aggregation properly and check resulting fakebank transfers
2016-05-04 05:16:32 +02:00
Christian Grothoff
dc2d0a186c
towards fixing #4399
2016-05-03 13:55:40 +02:00
Christian Grothoff
79c316f0d5
enable multiple wire methods to be used with aggregator, add command to run aggregator in testcase
2016-05-03 07:57:49 +02:00
Christian Grothoff
5fd6a25c6d
code simplification via new extended libgnunetcurl API
2016-05-02 08:24:21 +02:00
Christian Grothoff
b98a204562
fix #4184
2016-05-02 05:10:40 +02:00
Christian Grothoff
1c2be591d3
fixing #4479
2016-05-02 02:33:14 +02:00
Christian Grothoff
21188ca703
Merge branch 'master' of ssh://taler.net:/var/git/exchange
2016-04-21 20:00:40 +02:00
Christian Grothoff
77e9e3a7f6
sketching out refund API implementation
2016-04-20 03:05:16 +02:00
Christian Grothoff
f693e25793
introduce refund fee
2016-04-20 01:50:26 +02:00
Florian Dold
e01143daf3
move currency to taler section, create taler.conf
2016-04-19 23:41:07 +02:00
Christian Grothoff
7496a03978
replace bank_api_context with libgnunetcurl
2016-04-17 18:03:01 +02:00