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
Christian Grothoff
1ed567a14b
replace exchange_api_context with libgnunetcurl
2016-04-17 17:45:15 +02:00
Christian Grothoff
2c693bcb72
fix comments
2016-04-17 16:28:37 +02:00
Christian Grothoff
cb987575c1
check exchange signature on /wire/deposit response ( #4135 )
2016-04-11 20:16:58 +02:00
Christian Grothoff
ce9dd3365d
implement signing of /wire/deposit replies ( #4135 )
2016-04-11 19:54:54 +02:00
Christian Grothoff
b018d4d5b0
implementing #4357 , but test missing
2016-04-11 02:37:56 +02:00
Christian Grothoff
30d66bcebc
fixing #4386 : use more sane configuration and data file structure
2016-04-10 17:10:20 +02:00
Christian Grothoff
0dee91e014
changing code to meet latest change in GNUNET_SCHEDULER API
2016-04-10 00:57:20 +02:00
Christian Grothoff
1dea7998db
fix json generation, use proper json in test
2016-04-03 21:08:24 +02:00
Christian Grothoff
d7d33b6812
set environment variable to ensure plugins are found during tests
2016-04-01 20:35:22 +02:00
Christian Grothoff
9bc96506bb
update man pages and templates to use current options
2016-04-01 17:32:10 +02:00
Christian Grothoff
de3e26303e
implementing #4356 , tests still failing, but main logic should now be updated
2016-04-01 16:15:35 +02:00
Christian Grothoff
b4c4f0b078
towards a testcase for aggregation logic
2016-03-30 22:56:17 +02:00
Christian Grothoff
6a80c0bfa2
Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange
2016-03-21 14:40:59 +01:00
Christian Grothoff
3cb188e8a7
rename to match GNUnet symbol change
2016-03-21 14:40:57 +01:00
Christian Grothoff
6f8fa678c1
implementing #3987
2016-03-21 01:45:53 +01:00
Christian Grothoff
3d5e096fa2
eliminate warning
2016-03-19 19:14:19 +01:00
Christian Grothoff
ae726ea31b
remove duplicated JSON parsing code from exchange-lib ( #4150 )
2016-03-19 15:54:21 +01:00
Christian Grothoff
0d1eced630
first refactoring of JSON logic to address #4150 and #4237
2016-03-19 15:23:11 +01:00
Christian Grothoff
77801f054a
exclude priv keys
2016-03-15 20:09:59 +01:00
Christian Grothoff
aba92c5bfa
modify /wire/test to provide bank URI and bank account numbers
2016-03-04 11:57:57 +01:00
Christian Grothoff
d06fb4d818
towards returning account numbers in /wire/test
2016-03-04 11:43:11 +01:00
Christian Grothoff
17ff4f5e97
fixing #4230 in bank-lib
2016-03-02 21:07:27 +01:00
Christian Grothoff
68f1a7b4a6
fix JSON for test wire formats to pass wire format validation
2016-03-01 16:13:54 +01:00
Christian Grothoff
fc0f9d0aaa
fix rename issue
2016-03-01 16:02:20 +01:00
Christian Grothoff
b5cba32510
renaming mint->exchange
2016-03-01 15:35:04 +01:00