Christian Grothoff
e72d9f8bb9
v8 bump
2020-05-01 18:40:08 +02:00
Christian Grothoff
78031b2711
more error codes
2020-05-01 18:38:21 +02:00
Florian Dold
4583ce4ef3
/terms also must have CORS headers
2020-05-01 14:02:29 +05:30
Christian Grothoff
e2e8d62574
need array terminator
2020-04-24 20:57:04 +02:00
Christian Grothoff
6772037321
fix invariant check
2020-04-24 00:52:33 +02:00
Christian Grothoff
de61e06eb1
fix #6198
2020-04-23 16:06:21 +02:00
Christian Grothoff
8b99abbe62
CSE elimination, fix #6218
2020-04-23 15:26:17 +02:00
Christian Grothoff
7666542ab6
fix #6219
2020-04-23 15:22:41 +02:00
Christian Grothoff
051ccdf0e7
fix #6215~15757
2020-04-23 12:05:27 +02:00
Christian Grothoff
c79a95c7d2
write overflow check nicer ( #6215 )
2020-04-23 12:02:52 +02:00
Christian Grothoff
0774fd7020
fix #6213
2020-04-23 11:59:12 +02:00
Christian Grothoff
727eccbe64
add invariant checks for #6214
2020-04-23 11:55:10 +02:00
Christian Grothoff
a039bf4d81
fix #6200
2020-04-22 21:21:48 +02:00
Christian Grothoff
092944819d
fix #6195
2020-04-21 15:25:12 +02:00
Christian Grothoff
32bce6da43
clarify behavior ( #6194 )
2020-04-21 14:56:42 +02:00
Christian Grothoff
ee0d0dd33f
fix #6193
2020-04-21 14:53:05 +02:00
Christian Grothoff
c167fd8f8f
fix #6192
2020-04-21 13:53:15 +02:00
Christian Grothoff
a5460cc84d
fix #6190
2020-04-21 13:48:49 +02:00
Christian Grothoff
8148c1e8af
fix #6186
2020-04-21 00:55:38 +02:00
Christian Grothoff
638d97c348
disable script to get tests to pass
2020-04-21 00:31:11 +02:00
Christian Grothoff
ab752e9591
also validate merchant IBANs before signing
2020-04-19 22:31:00 +02:00
Christian Grothoff
7a46b3fb1a
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-04-17 18:15:08 +02:00
Christian Grothoff
1f7238fe7d
fix #6187
2020-04-17 18:14:57 +02:00
Marcello Stanisci
04d4922d71
fix nexus-test return code
...
Returning zero, so as not to block the 'make check'
experience. This is useful to check whether nexus-related
changes broke tests in a different place.
2020-04-17 15:30:24 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests.
2020-04-17 15:30:24 +02:00
Christian Grothoff
f934a81d49
fix ftbfs
2020-04-17 14:19:12 +02:00
Christian Grothoff
b93fba2cc1
API updates and new error codes for merchant implementation of #6173
2020-04-12 20:46:33 +02:00
Christian Grothoff
9e3371ae9b
adapt withdraw2 API to support new tip-pickup design ( #6173 )
2020-04-12 19:22:45 +02:00
Christian Grothoff
00350bc228
remove c_hash from planchet detail where it does not logically belong
2020-04-12 16:44:28 +02:00
Christian Grothoff
d28f18f240
fix expected status code
2020-04-12 15:35:38 +02:00
Christian Grothoff
15099429c3
fix rc
2020-04-12 15:26:55 +02:00
Christian Grothoff
0bf069d6d8
key exists is fine
2020-04-12 15:18:11 +02:00
Christian Grothoff
4b60d2540f
adapations related to GNUnet fixing #6149
2020-04-11 21:42:52 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change
2020-04-11 21:06:30 +02:00
Christian Grothoff
88bb7f4428
fix FTBFS
2020-04-11 21:06:04 +02:00
Christian Grothoff
2d83516871
add missing comment
2020-04-10 21:59:31 +02:00
Christian Grothoff
77e8be0047
include 0-terminator space
2020-04-10 21:30:47 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API
2020-04-10 16:49:54 +02:00
Christian Grothoff
70a794b6f9
add error codes
2020-04-10 16:49:45 +02:00
Christian Grothoff
dccb300b76
enforce proper URL limit ( #6172 )
2020-04-09 15:49:38 +02:00
Christian Grothoff
2844a9a7b3
fix #6171
2020-04-09 11:34:26 +02:00
Christian Grothoff
543fe4ae36
make code compiler without warnings with latest libmicrohttpd API
2020-04-09 00:59:55 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164
2020-04-08 23:52:01 +02:00
Christian Grothoff
1554cc310d
rename a_balance ( #6170 )
2020-04-08 18:23:21 +02:00
Christian Grothoff
50bc862a68
adapt to new GNUnet sign API ( #6164 )
2020-04-08 18:18:20 +02:00
Christian Grothoff
b22ec7570e
this signature was pretty much always obsolete
2020-04-07 18:43:36 +02:00
Christian Grothoff
64a8bb6a86
rename constants
2020-04-07 13:09:22 +02:00
Christian Grothoff
aa65247662
make version field const
2020-04-07 11:47:47 +02:00
Christian Grothoff
9eb741b05b
more error codes
2020-04-06 19:49:37 +02:00
Christian Grothoff
bf8c5982a2
make exchange API more uniform in how information is returned
2020-04-05 22:05:38 +02:00
Christian Grothoff
5059da7108
more error codes
2020-04-04 16:50:13 +02:00
Christian Grothoff
82b6c0887d
more error codes
2020-04-04 16:46:25 +02:00
Christian Grothoff
c826693e45
update configuration to match latest docs
2020-04-04 15:51:51 +02:00
Christian Grothoff
299b4b78e0
return more error details for /wire and /keys to clients
2020-04-04 13:27:46 +02:00
Christian Grothoff
643b3e3be3
update error codes
2020-04-03 21:14:40 +02:00
Christian Grothoff
409d3e8615
check amount compatibility in history logic
2020-04-03 20:47:51 +02:00
Christian Grothoff
02736e40c2
fix ftbfs
2020-04-03 20:47:34 +02:00
Christian Grothoff
61cfaa5981
update error codes for merchant
2020-04-02 20:22:45 +02:00
Christian Grothoff
e9de3374a9
fix #6148
2020-04-02 14:01:41 +02:00
Christian Grothoff
a039926bb6
fix #6147
2020-04-02 13:47:21 +02:00
Christian Grothoff
340ac36199
fix #6146
2020-04-02 11:34:52 +02:00
Christian Grothoff
d1bf26929e
typo
2020-04-01 23:12:00 +02:00
Christian Grothoff
5b78fbc631
better types/scoping/indentation
2020-04-01 23:11:56 +02:00
Christian Grothoff
ccf9f05e19
scope clean up
2020-04-01 19:43:25 +02:00
Christian Grothoff
3404fda463
typos
2020-03-31 20:57:11 +02:00
Christian Grothoff
73d107b53d
fix leak
2020-03-31 15:11:54 +02:00
Christian Grothoff
f38a56d3ff
add extra checks
2020-03-31 15:11:40 +02:00
Christian Grothoff
f34e40bc22
make auditor less verbose
2020-03-31 14:41:55 +02:00
Christian Grothoff
c686fac84b
match updated specification, use CREDIT instead of DEPOSIT for transfers into a reserve
2020-03-30 18:09:47 +02:00
Christian Grothoff
a41119833d
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-03-30 12:23:53 +02:00
Christian Grothoff
754140be62
clarify
2020-03-30 12:23:42 +02:00
Florian Dold
c7a2a952ae
change confusing comment, revision is a different component of libtool versions
2020-03-30 15:21:04 +05:30
Christian Grothoff
2b27d4ca8b
remove bogus warnings
2020-03-29 04:16:00 +02:00
Christian Grothoff
0582a6b567
fix auditor file parse problem
2020-03-29 04:03:06 +02:00
Christian Grothoff
363e641f17
more files missing for dist target
2020-03-29 03:55:36 +02:00
Christian Grothoff
7f367110d0
more missing files for 'dist'
2020-03-29 03:41:12 +02:00
Christian Grothoff
8db48871d6
add missing files to dist
2020-03-29 03:22:55 +02:00
Christian Grothoff
89a4f5bba6
fix indentation
2020-03-29 01:58:38 +01:00
Christian Grothoff
937065ae9f
fix leak of old keystate if loading of new keystate failed
2020-03-29 01:58:27 +01:00
Christian Grothoff
0f5f27e853
fix minor leak from getopt
2020-03-29 01:58:09 +01:00
Christian Grothoff
eb32dd626a
fix leaks and bad RC logic wrt json reference copying
2020-03-28 23:32:02 +01:00
Christian Grothoff
677654f609
doxygen fix
2020-03-28 22:22:29 +01:00
Christian Grothoff
17eafb869c
address FIXME
2020-03-28 22:12:47 +01:00
Christian Grothoff
4abb38a36e
address FIXME
2020-03-28 22:05:54 +01:00
Christian Grothoff
e16f463adb
resolved FIXMEs
2020-03-28 22:00:21 +01:00
Christian Grothoff
da1df35db3
reserve history amount includes fee, add it
2020-03-28 21:46:03 +01:00
Christian Grothoff
bc57f007e4
lookup in reverse order also inside of batch
2020-03-28 21:45:46 +01:00
Christian Grothoff
96c5cd4c42
do not re-use command label
2020-03-28 21:45:27 +01:00
Christian Grothoff
b409d6a17e
permit subtraction to result in zero
2020-03-28 21:39:34 +01:00
Christian Grothoff
28492256a5
ignore generated config file
2020-03-28 20:47:43 +01:00
Christian Grothoff
88957c55be
ignore report directories
2020-03-28 20:47:21 +01:00
Christian Grothoff
ae9f751a7c
do return fees in history
2020-03-28 20:46:57 +01:00
Christian Grothoff
82b18857e2
do return correct timestamp also in fakebank implementation
2020-03-28 20:46:23 +01:00
Christian Grothoff
d5351641f8
implement #6049
2020-03-28 20:45:53 +01:00
Christian Grothoff
9d9b0e0e57
split recoup and revoke commands into two files for better readability
2020-03-28 20:42:20 +01:00
Christian Grothoff
2d297a1721
skip tests if ports are unavailable
2020-03-28 20:41:49 +01:00
Christian Grothoff
baaa8832b2
fix leak
2020-03-28 12:53:10 +01:00
Christian Grothoff
163b23f27a
removing inappropriate i18n code
2020-03-27 20:39:15 +01:00
Florian Dold
2c171055f9
constrain value of denomination to revoke
2020-03-28 00:50:11 +05:30
Christian Grothoff
8d5a0a4061
ERR trap
2020-03-27 18:23:53 +01:00
Christian Grothoff
b46dc6b981
avoid warning
2020-03-27 18:11:19 +01:00
Christian Grothoff
6951892c68
clean logic
2020-03-27 18:10:59 +01:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming
2020-03-27 17:32:39 +01:00
Christian Grothoff
1647237c2e
fix #6137
2020-03-27 17:11:06 +01:00
Christian Grothoff
f262d8abde
comment style fix
2020-03-27 16:46:20 +01:00
Florian Dold
e267cb985b
cover actual aggregation in exchange test
2020-03-27 20:47:30 +05:30
Florian Dold
1a15cd29e8
deposit command: create merchant key in a more appropriate place
2020-03-27 20:01:31 +05:30
Florian Dold
20933b3950
fix deposit idempotency test case
2020-03-27 19:54:16 +05:30
Florian Dold
6620a5b691
add test case (currently fails) for deposit idempotency
2020-03-27 19:14:55 +05:30
Christian Grothoff
d923f29144
removing warnings
2020-03-27 14:05:59 +01:00
Christian Grothoff
69e50079b4
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-03-27 13:53:31 +01:00
Christian Grothoff
373a5f96a7
fix warnings
2020-03-27 13:53:26 +01:00
Florian Dold
449e99bd51
test multiple transfers to same reserve
2020-03-27 18:05:21 +05:30
Christian Grothoff
e8c8efe5ec
more stringent overflow checks
2020-03-27 13:32:16 +01:00
Christian Grothoff
1c1d4e1ad6
do not log uninitialized amount
2020-03-27 13:30:49 +01:00
Christian Grothoff
155a4bc11b
fix checks
2020-03-27 13:29:19 +01:00
Christian Grothoff
b5f62c8060
second pass on responses: indentation cleanup and CSE
2020-03-27 13:21:02 +01:00
Christian Grothoff
a2bfd9f6b5
clean up response generation code
2020-03-27 13:11:48 +01:00
Christian Grothoff
9f5dbcdfa7
comment fixes
2020-03-27 12:52:15 +01:00
Christian Grothoff
0981203a80
make test quiet
2020-03-27 12:41:44 +01:00
Christian Grothoff
813e412f24
fix test
2020-03-27 12:39:20 +01:00
Christian Grothoff
7a31b051d1
fix test
2020-03-27 12:38:47 +01:00
Christian Grothoff
e3a4bef04c
fix test
2020-03-27 12:36:52 +01:00
Christian Grothoff
a79c41dcc5
fix test
2020-03-27 12:36:25 +01:00
Christian Grothoff
5fc875a80b
renable cleanup
2020-03-27 12:32:08 +01:00
Christian Grothoff
0ebbea705f
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-03-27 12:30:40 +01:00
Christian Grothoff
31746d8128
enable test 32
2020-03-27 12:30:31 +01:00
Florian Dold
0a047c155a
recoup test: cover recoup of fully spend coin
2020-03-27 16:52:42 +05:30
Florian Dold
e965659d36
recoup test: try recoup on non-revoked denomination
2020-03-27 16:35:37 +05:30
Christian Grothoff
13bbcef87b
adjust test to code changes
2020-03-27 11:26:33 +01:00
Christian Grothoff
4856d8114c
fix inconsistency in field naming
2020-03-27 11:11:45 +01:00
Christian Grothoff
1ced0438c2
improve error logging
2020-03-27 10:44:00 +01:00
Christian Grothoff
9c6aa53c8c
improve coin audit logic
2020-03-27 10:43:49 +01:00
Christian Grothoff
6906538c12
missing break
2020-03-27 09:40:25 +01:00
Christian Grothoff
8a90c8fbcb
expand test suite
2020-03-27 09:35:48 +01:00
Christian Grothoff
62b8ca0bd3
check coin history consistency
2020-03-27 09:35:42 +01:00
Christian Grothoff
9445343ec5
consider that deposit fee is discounted when refund fee is applied
2020-03-27 09:34:58 +01:00
Christian Grothoff
f052527ea5
fix recoup-refresh audit logic
2020-03-26 20:54:41 +01:00
Christian Grothoff
394765a1e6
auditor-sign keys generated due to revocations
2020-03-26 20:07:23 +01:00
Christian Grothoff
51bdfab935
increment recoup progress points
2020-03-26 20:06:58 +01:00
Christian Grothoff
293c241ae7
fix SQL statements
2020-03-26 20:06:23 +01:00
Christian Grothoff
e63d312131
do not crash on odd inputs
2020-03-26 19:25:35 +01:00
Christian Grothoff
8fa6b996ed
generating revocation test DB
2020-03-26 18:58:42 +01:00
Christian Grothoff
28c00bedbf
prepare scripts for revocation testing
2020-03-26 17:21:41 +01:00
Christian Grothoff
4a06d7550a
workaround can die now
2020-03-26 16:08:27 +01:00
Christian Grothoff
3c1c3e704a
more work on revocation test script, now crashing the wallet
2020-03-26 16:07:34 +01:00
Florian Dold
1c5e24a05a
test-revocation: add --no-throttle to wallet invocation
2020-03-24 23:55:15 +05:30
Christian Grothoff
fb70d338fd
stuff
2020-03-24 18:23:08 +01:00
Christian Grothoff
58e703e06c
starting with revocation test
2020-03-24 18:16:01 +01:00
Christian Grothoff
dff81f4577
more testing for auditor logic
2020-03-24 17:35:18 +01:00
Christian Grothoff
9ad9e7e064
add more tests
2020-03-24 17:23:27 +01:00
Christian Grothoff
240b23684d
finish review of coins auditor analysis logic, improve error handling
2020-03-23 22:27:31 +01:00
Christian Grothoff
0bd53ed443
scope reduction, mark possible places for improvement
2020-03-23 21:36:49 +01:00
Christian Grothoff
8acfca6718
refactor to avoid duping all the RSA keys on refresh processing
2020-03-23 21:32:30 +01:00
Christian Grothoff
0ff8ec8da9
fix comments and handling of revocations in coins auditor
2020-03-23 21:00:08 +01:00
Christian Grothoff
bab34d15fc
recoup logic review, very minor cleanup
2020-03-23 13:24:33 +01:00
Christian Grothoff
67cf9747a5
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-03-23 10:18:13 +01:00
Christian Grothoff
c032c5fc40
fix EC codes for merchant
2020-03-23 10:18:08 +01:00
Christian Grothoff
db4af18a99
fix ec
2020-03-23 10:11:14 +01:00
Florian Dold
a57fd6c4b3
fix test case (old one required recoup to *not* be idempotent
2020-03-23 12:28:08 +05:30
Christian Grothoff
3480146a66
first pass at auditor-coins, also reviewing checks around amount arithmetic, can and should be made harsher
2020-03-22 23:32:06 +01:00
Christian Grothoff
488f759a2d
clean up auditor-reserves logic
2020-03-22 22:39:48 +01:00
Christian Grothoff
9add4cf405
doxygen updates
2020-03-22 21:36:42 +01:00
Christian Grothoff
a90ea10d35
more wire cleanup, indentation only
2020-03-22 21:26:53 +01:00
Christian Grothoff
2539956026
first bit of auditor-wire cleanup
2020-03-22 16:23:41 +01:00
Christian Grothoff
ba22ad7a42
clean up auditor-aggregation logic
2020-03-22 16:15:55 +01:00
Christian Grothoff
d3dc8c8c7d
intermediary step on auditor-aggregation cleanup
2020-03-22 15:17:11 +01:00
Christian Grothoff
66fa3559c8
missing tests
2020-03-22 14:52:39 +01:00
Christian Grothoff
69fb0e6772
add missing option for auditor
2020-03-22 14:51:54 +01:00
Christian Grothoff
bdbe923bf6
check for right type
2020-03-22 14:51:36 +01:00
Christian Grothoff
adef4a91ca
the big EC rename, part II
2020-03-22 01:06:53 +01:00
Christian Grothoff
744322fdda
the big EC rename
2020-03-22 00:50:18 +01:00
Christian Grothoff
db61bc3bbe
cleanup
2020-03-21 19:49:18 +01:00
Christian Grothoff
bad9c719f8
stylefixes
2020-03-21 19:46:21 +01:00
Christian Grothoff
0d2bf1a75e
comment
2020-03-21 19:41:09 +01:00
Christian Grothoff
c277dc2a18
style fixes
2020-03-21 19:39:46 +01:00
Christian Grothoff
e5e6c9b6b4
minor style improvement
2020-03-21 19:30:24 +01:00
Christian Grothoff
f1d3364313
code cleanup, deduplication, DCE
2020-03-21 19:25:53 +01:00
Christian Grothoff
ca943e8c3f
fix FTBFS issue on some platforms
2020-03-21 18:15:11 +01:00
Christian Grothoff
5ddedeeded
adjust tests to auditor changes
2020-03-21 17:37:06 +01:00
Christian Grothoff
36f4dbab3b
adjust tests to auditor changes
2020-03-21 17:36:01 +01:00
Christian Grothoff
68098bcade
fix test
2020-03-21 17:33:33 +01:00
Christian Grothoff
88fd81e5da
completing auditor split
2020-03-21 16:09:22 +01:00
Christian Grothoff
a8b8258e12
steps towards new split-auditor logic
2020-03-21 12:56:16 +01:00
Christian Grothoff
2ace9969b7
rename fest on refactored auditor logic
2020-03-21 11:05:51 +01:00
Christian Grothoff
66616a97d7
working on splitting auditor
2020-03-20 22:34:17 +01:00
Christian Grothoff
1b24e2f9bb
more statistics, make explicit table lock optional, can hurt performance badly
2020-03-20 18:38:57 +01:00
Christian Grothoff
b9186bdd78
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-03-20 12:35:06 +01:00
Christian Grothoff
e4293ec075
have variant where we first setup all reserves
2020-03-20 12:34:59 +01:00
Christian Grothoff
159ce744b9
do not be so super-quiet on (rare) rollbacks
2020-03-20 12:34:43 +01:00
Christian Grothoff
2021f75995
fix logic to ensure that we do not call the callback after the iteration was aborted (caused big trouble in wirewatcher)
2020-03-20 12:34:26 +01:00
Florian Dold
6a46b13e80
make recoup idempotent and simplify response
2020-03-20 14:01:59 +05:30
Florian Dold
c17f05b5fd
fix critical bug in transaction history query for recoup-refresh
2020-03-20 13:52:29 +05:30
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings
2020-03-20 02:36:50 +01:00
Christian Grothoff
7a1c6769e4
enable using python bank with benchmark
2020-03-19 21:44:54 +01:00
Christian Grothoff
f76e7c46e6
make do_retry not retry forever in tests/benchmark
2020-03-19 19:33:20 +01:00
Christian Grothoff
5e98c0652a
fix macro causing syntax issues
2020-03-19 19:33:10 +01:00
Christian Grothoff
749d9615d1
concurrency requires strtok_r
2020-03-19 19:17:56 +01:00
Christian Grothoff
15489275ba
make DB reset optional in API, use it in tests, but not in the benchmark
2020-03-19 17:56:23 +01:00
Christian Grothoff
fd29d1866f
type fixes
2020-03-19 17:56:05 +01:00
Christian Grothoff
f02775e273
remove debug logic
2020-03-19 16:59:52 +01:00
Christian Grothoff
85f603090b
have benchmark driver also launch auditor
2020-03-19 16:14:01 +01:00
Christian Grothoff
ef489d7fff
option -i was removed
2020-03-19 15:48:50 +01:00
Florian Dold
278cec1fef
make refund test case fail to show broken implementation
2020-03-18 22:39:47 +05:30
Christian Grothoff
b1cfcf4fbe
add keyup key regeneration on revocation test; closes #6123
2020-03-18 15:03:41 +01:00
Christian Grothoff
a631645648
ign
2020-03-18 13:59:34 +01:00
Christian Grothoff
bab24a451a
add -i option to taler-exchange-keycheck
2020-03-18 13:58:40 +01:00
Christian Grothoff
59a5b1ceb8
a first, untested stab at #6123 , committing intermediate result that passes (existing) tests
2020-03-17 22:13:15 +01:00
Christian Grothoff
3a470a26c3
improve comment
2020-03-17 17:58:21 +01:00
Christian Grothoff
86f2d65daf
style, indentation and type fixes for lib/
2020-03-17 17:47:53 +01:00
Christian Grothoff
c17909d820
add cmd line option to restrict timetravel, minor code cleanup of keystate logic
2020-03-17 17:33:30 +01:00
Christian Grothoff
fb47c680b1
not realistic to happen anytime soon, likely unnecessary complication
2020-03-17 12:09:18 +01:00
Christian Grothoff
c238b68a45
keystate, first pass
2020-03-17 12:04:00 +01:00
Christian Grothoff
067719a3c9
code cleanup, more consistent handling of libjansson allocation failures
2020-03-17 01:45:07 +01:00
Christian Grothoff
c597af8334
adjust types to match latest GNUnet API
2020-03-17 01:09:16 +01:00
Christian Grothoff
98f96970d6
fix doxygen errors
2020-03-17 00:16:31 +01:00
Christian Grothoff
cd83daaeae
simplify refund processing, add additional checks for matching currency
2020-03-16 20:23:45 +01:00
Christian Grothoff
c04bcb0a82
clean up and de-duplicate deposit logic
2020-03-16 19:27:39 +01:00
Christian Grothoff
bb7bd4b128
style fixes
2020-03-16 18:29:44 +01:00
Christian Grothoff
9f885f9ad9
style fixes
2020-03-16 18:21:51 +01:00
Christian Grothoff
af61713619
clean up transfer get logic
2020-03-16 17:28:31 +01:00
Christian Grothoff
3630d91d29
simplify deposits_get logic
2020-03-16 16:32:15 +01:00
Christian Grothoff
211ff7f0a2
method can be static
2020-03-16 16:20:35 +01:00
Christian Grothoff
2e5dc6bc72
clean up taler-exchange-httpd_wire logic
2020-03-16 16:18:33 +01:00
Christian Grothoff
7fee395bb6
harden URI validation logic
2020-03-16 16:13:21 +01:00
Christian Grothoff
84ccc79881
integrate validation with wire, where it belongs
2020-03-16 15:55:50 +01:00
Christian Grothoff
69dd5657fc
nicer error handling
2020-03-15 22:38:17 +01:00
Christian Grothoff
bddd7986d7
status => history
2020-03-15 22:36:51 +01:00
Christian Grothoff
7993c9b2fd
clean up /wire logic
2020-03-15 22:28:13 +01:00
Christian Grothoff
efdc91ead4
clean up link logic
2020-03-15 22:24:15 +01:00
Christian Grothoff
f29a7e3155
add dependency
2020-03-15 22:10:12 +01:00
Christian Grothoff
d06d0af2fe
code cleanup
2020-03-15 22:08:29 +01:00
Christian Grothoff
9ee86d4da4
major renaming of internal symbols for better consistency
2020-03-15 21:42:35 +01:00
Christian Grothoff
d3f7cc1184
clean up wirewatch logic
2020-03-15 21:20:56 +01:00
Christian Grothoff
c898a1e13b
clean up closer logic, improve error handling, simplify logic, add comments
2020-03-15 20:42:47 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil
2020-03-15 20:08:38 +01:00
Christian Grothoff
d7cfb11fc6
fix new ag logic
2020-03-15 00:55:58 +01:00
Christian Grothoff
f8095d7297
fix shutdown logic of test
2020-03-15 00:36:15 +01:00
Christian Grothoff
b3a52548fd
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-03-14 23:47:30 +01:00
Christian Grothoff
87a8d2d243
remove unused code
2020-03-14 22:58:40 +01:00
Christian Grothoff
ce44b4a028
clean up aggregator logic, make it more robust against invariant failures
2020-03-14 22:56:14 +01:00
Christian Grothoff
d292b8edca
code cleanup and additional error checking logic for #6124 , but no actual semantic change
2020-03-14 20:18:47 +01:00
Christian Grothoff
6aca928cf8
expand DB test to cover #6124 better (passed immediately, does not explain the failure)
2020-03-14 19:45:43 +01:00
Christian Grothoff
d9c3627bc5
run closer and transfer with aggregator, check if we actually did get deposit confirmations before running #24
2020-03-14 17:46:53 +01:00
Christian Grothoff
7ae575dccb
fix use after free
2020-03-14 16:24:44 +01:00
Christian Grothoff
f13f030777
reset is unnecessary, we did just drop and recreate the entire DB
2020-03-13 19:34:52 +01:00
Christian Grothoff
89739d1668
nicer log message
2020-03-13 19:34:24 +01:00
Christian Grothoff
dc02821d8f
fix regression introduced by addition of 'revoke' field
2020-03-13 19:13:36 +01:00
Christian Grothoff
e05ce36f30
implement test mode in taler-exchange-transfer
2020-03-13 15:19:47 +01:00
Christian Grothoff
9c20b62eb9
database setup logic is now external to httpd
2020-03-13 14:55:58 +01:00
Christian Grothoff
8d5f42fe0c
add separate commands for closer/transfer steps, modify test cases to use new commands
2020-03-12 10:53:49 +01:00
Christian Grothoff
b91fcbb92f
finish separation of aggreator into aggregation, closing and transfer processes (test cases still need to be updated)
2020-03-12 10:23:26 +01:00
Christian Grothoff
83631bc98f
split reserve closing from main aggregation logic
2020-03-12 10:11:24 +01:00
Christian Grothoff
a1db41e09a
aggregator clean up
2020-03-12 08:17:46 +01:00
Florian Dold
1896c1dfb5
fix EC typo (by importing generated header)
2020-03-12 00:39:45 +05:30
Christian Grothoff
6e3765d852
more careful use of TALER_JSON_get_error_code(), limit to cases where we expect to get one
2020-03-10 18:51:08 +01:00
Christian Grothoff
f32193aae2
minor code cleanup
2020-03-10 17:11:12 +01:00
Christian Grothoff
883c063f43
tolerate recoup information not being present
2020-03-10 15:34:04 +01:00
Christian Grothoff
fc79dd233a
fix typo, remove obsolete option, initialize mpub
2020-03-10 15:28:54 +01:00
Christian Grothoff
f6684c1ae3
actually look at recoup/revocations in libtalerexchange and expose the result to clients; make exchange API follow specification
2020-03-10 14:25:57 +01:00
Christian Grothoff
65062e4354
no longer create tables on startup of exchange aggregator/httpd
2020-03-09 23:53:26 +01:00
Christian Grothoff
c20078010b
fix comments, naming consistency issues
2020-03-07 14:35:32 +01:00
Christian Grothoff
962990c7ce
share master private key verification logic between taler-exchange-wire and taler-exchange-keyup
2020-03-07 12:58:40 +01:00
Christian Grothoff
20a7d8fc08
merge taler-wire and taler-bank-transfer tools, they are very related and otherwise duplicate lots of logic; also enable both credit and debit histories to be shown
2020-03-07 12:23:32 +01:00
Christian Grothoff
42bc3bc437
nicer IO error handling in exchangedb logic
2020-03-07 00:39:39 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation)
2020-03-07 00:28:07 +01:00
Christian Grothoff
82d7b63ff5
move comments into database for auditor DB
2020-03-06 09:04:24 +01:00
Christian Grothoff
52d41311ac
new coins => fresh coins, also move comments into the database itself
2020-03-05 23:49:47 +01:00
Christian Grothoff
a49bfef2fb
rename for consistency
2020-03-05 23:02:38 +01:00
Christian Grothoff
7dd52a0892
clean up comments, renaming for clarity
2020-03-05 22:38:19 +01:00
Christian Grothoff
642992f9c3
more renaming
2020-03-04 12:10:11 +01:00
Christian Grothoff
c6874cdb1b
fix comments
2020-03-04 12:04:28 +01:00
Christian Grothoff
7f37017e91
more renaming
2020-03-04 11:51:00 +01:00
Christian Grothoff
6cc516427b
minor code clean up, renaming for consistency
2020-03-04 11:47:22 +01:00
Christian Grothoff
a3013d9e3d
minor cleanup
2020-03-03 19:10:40 +01:00
Christian Grothoff
0d30e53585
remove dead field, avoid unnecessary heap allocation
2020-03-03 19:06:11 +01:00
Christian Grothoff
a9b3c564bd
rename BANK_excecute_wire_transfer to BANK_transfer, improve error handling when curl_easy_init() fails
2020-03-03 17:14:00 +01:00
Christian Grothoff
97fb6b0091
fixing memory leak, comments, renaming callback type to make it more concise
2020-03-03 16:35:20 +01:00
Christian Grothoff
9abee82d3c
remove dead prototype
2020-03-03 16:08:26 +01:00
Christian Grothoff
ac5635776e
remove /config from API, as that is not part of the wire gateway specification
2020-03-03 15:44:11 +01:00
Christian Grothoff
3ba839dee5
remove /config from API, as that is not part of the wire gateway specification
2020-03-03 15:40:51 +01:00
Christian Grothoff
32ba50a0f0
fix potential NPE
2020-03-03 12:34:24 +01:00
Christian Grothoff
5d67cb9c4f
fix typo
2020-03-03 12:32:55 +01:00
Christian Grothoff
113f3891d1
removing dead code, using more named constants, checking return values better
2020-03-01 17:51:46 +01:00
Christian Grothoff
c11475c081
work around indentation bug of uncrustify
2020-03-01 14:05:38 +01:00
Christian Grothoff
f4ce758d68
scope minimization, more consistent naming of variables
2020-03-01 14:02:30 +01:00
Christian Grothoff
13eed90b73
use global ENABLE_SANITY_CHECKS constant also in response generation logic
2020-03-01 13:53:56 +01:00
Christian Grothoff
9b688d7cb0
scope reduction, commenting
2020-03-01 13:52:34 +01:00
Christian Grothoff
9ec23c6239
bump year
2020-03-01 13:45:56 +01:00
Christian Grothoff
31958f3ae8
fix log msg
2020-03-01 13:45:19 +01:00
Christian Grothoff
3818cb8f52
reduce scope
2020-03-01 13:44:44 +01:00
Christian Grothoff
440c3dc1f0
fix missing NULL termination on array
2020-03-01 13:44:13 +01:00
Christian Grothoff
f457e1332d
use memcpy/memcmp instead of str-functions where applicable
2020-03-01 13:36:40 +01:00
Christian Grothoff
1eb292fe1f
check well-formedness of URI when signing, check return value of function for error
2020-03-01 13:31:46 +01:00
Christian Grothoff
2906aeb459
add ENABLE_SANITY_CHECKS #define instead of using '1'
2020-03-01 13:14:46 +01:00
Christian Grothoff
f979ee9aca
add ENABLE_SANITY_CHECKS #define instead of using '1'
2020-03-01 13:13:33 +01:00
Christian Grothoff
d11a13c825
de-duplicate url.c
2020-03-01 13:04:06 +01:00
Christian Grothoff
effa6451a2
fix FIXME
2020-03-01 12:21:03 +01:00
Christian Grothoff
538ca960a1
bad FIXME, we should not
2020-03-01 12:14:54 +01:00
Christian Grothoff
da1af142c7
new REST API => version bump
2020-03-01 11:30:02 +01:00
Christian Grothoff
72764dc5f1
doxygen fixes
2020-02-29 17:13:43 +01:00
Christian Grothoff
cdc8c5b57b
limit redirects
2020-02-29 16:54:58 +01:00
Christian Grothoff
0a2b049864
big rename fest related to #6067 API renaming
2020-02-29 16:42:10 +01:00
Christian Grothoff
de9ab28ab9
rename fest, make symbols better match new endpoint names
2020-02-27 23:46:53 +01:00
Christian Grothoff
cef3b713ac
nicer logging
2020-02-26 23:51:40 +01:00
Christian Grothoff
30320fa66e
skip also here over part of URI that was already parsed
2020-02-26 23:51:30 +01:00
Christian Grothoff
8062ca0136
proper generation of /refreshes/ requests
2020-02-26 23:43:58 +01:00
Christian Grothoff
502c9a0fc3
more precise logging
2020-02-26 23:43:32 +01:00
Christian Grothoff
c520b0b86f
fix failure to remove rc from JSON
2020-02-26 23:43:23 +01:00
Christian Grothoff
ec8e3fad20
fix shutdown logic if shutdown happens during startup
2020-02-26 23:21:08 +01:00
Christian Grothoff
5d843e2cf4
fix uninitialized local
2020-02-26 23:20:48 +01:00
Christian Grothoff
582ce77d93
updating libtalerexchange to new REST API ( #6067 )
2020-02-26 22:24:22 +01:00
Christian Grothoff
fb9324338d
phase 1 of #6067 : update exchange HTTPD to new API style
2020-02-26 17:00:41 +01:00
Christian Grothoff
30b24448c8
do not NPE if encountering reserve_close for which we have no summary
2020-02-25 14:21:14 +01:00
Christian Grothoff
47e8190e9d
fix pp update logic to not insert multiple pps
2020-02-25 14:20:41 +01:00
Christian Grothoff
548a0cc09d
do not NPE if encountering reserve_close for which we have no summary
2020-02-25 14:12:28 +01:00
Christian Grothoff
227467c394
comment on what not to DELETE
2020-02-24 18:29:52 +01:00
Christian Grothoff
badbe6d8ea
also drop signkeys table
2020-02-24 18:29:09 +01:00
Christian Grothoff
b77637ce9f
add additional DB constraints
2020-02-24 18:09:10 +01:00
Christian Grothoff
d2bc28aee6
add missing flags for coverage analysis
2020-02-24 13:49:15 +01:00
Christian Grothoff
7eb0f35dca
rename
2020-02-24 12:37:09 +01:00
Christian Grothoff
7d214bd979
rename
2020-02-24 12:37:00 +01:00
Christian Grothoff
93562574ab
0000 is reserved for versioning
2020-02-24 12:36:05 +01:00
Christian Grothoff
d9ce8554e0
0000 is reserved for versioning
2020-02-24 12:35:41 +01:00
Christian Grothoff
7ee3c485bd
die more nicely if we are called when we should not be
2020-02-24 12:21:46 +01:00
Christian Grothoff
bb0952ac8d
fix some auditor assertions (see #6106 )
2020-02-23 22:01:27 +01:00
Christian Grothoff
176113a62a
fix some auditor assertions (see #6106 )
2020-02-23 21:52:18 +01:00
Christian Grothoff
a66b9e1b8a
fix loglevel
2020-02-23 19:55:59 +01:00
Christian Grothoff
65434a0e00
fix return value in auditor logic, and check it as well; adding FIXME to mark improperly handled case
2020-02-23 19:55:21 +01:00
Christian Grothoff
919861aea8
use flags in correct place
2020-02-17 20:05:40 +01:00
Christian Grothoff
730a9b966f
check return value
2020-02-17 20:00:03 +01:00
Christian Grothoff
dcb8972085
expand mime list
2020-02-17 18:38:02 +01:00
Christian Grothoff
b6c2aad49e
fix
2020-02-17 18:35:14 +01:00
Christian Grothoff
ecb39ef51c
fix
2020-02-17 18:34:39 +01:00
Christian Grothoff
d798da08d6
fix uninit ret
2020-02-13 20:43:07 +01:00
Christian Grothoff
1448f97b51
keep the const though, that was an improvement
2020-02-11 23:02:22 +01:00
Christian Grothoff
357dbc0235
revert bank API change, we will not do this here after all
2020-02-11 23:01:49 +01:00
Christian Grothoff
c25b805f62
first draft implementation of new bank account balance in history logic (untested)
2020-02-11 16:01:45 +01:00
Christian Grothoff
3ad698d018
merging
2020-02-11 15:40:37 +01:00
Christian Grothoff
de0d987e34
start with new history API implementation
2020-02-11 15:39:39 +01:00
Christian Grothoff
cdaf1ce69b
rename SQL files to make filenames consistent with versioning name
2020-02-09 16:34:40 +01:00
Christian Grothoff
ae5583f044
avoid duping configuration, start to use PQ_connect_with_cfg
2020-02-09 15:53:28 +01:00
Christian Grothoff
001f155208
make script a bit nicer
2020-02-08 19:06:19 +01:00
Christian Grothoff
f70596ff4c
adding UNIX socket and restart tests ( #5309 )
2020-02-08 18:38:15 +01:00
Christian Grothoff
37c2915769
do not report missing reserve closures of amount 0.0
2020-02-08 17:55:22 +01:00
Christian Grothoff
db46491db9
fix uninitialized session
2020-02-08 17:49:56 +01:00
Christian Grothoff
964cd7a459
adding test for #6054 (duplicate WTID)
2020-02-08 17:41:27 +01:00
Christian Grothoff
9e0a813b38
implement auditor's exchange signing key caching ( #6052 )
2020-02-05 21:12:03 +01:00
Christian Grothoff
42bc31744b
implement /config in fakebank and taler_bank_lib.h ( #6066 )
2020-02-04 21:59:43 +01:00
Christian Grothoff
e6d6987e56
capitalization of option changed
2020-02-04 21:49:18 +01:00
Christian Grothoff
9bfeec352b
fix #6065
2020-02-04 20:57:11 +01:00
Christian Grothoff
5a11839002
add timetravel option for testing/debugging
2020-02-04 15:47:57 +01:00
Christian Grothoff
d47241e0e1
fix double continuation scheduling
2020-02-04 00:04:29 +01:00
Christian Grothoff
232606fb57
add IF NOT EXISTS for indices
2020-02-03 23:42:47 +01:00
Christian Grothoff
f4f86d2b01
increse log level on errors
2020-01-26 18:51:25 +01:00
Christian Grothoff
282e4f59ee
address bank_api_credit comment/FIXME from Florian, also adapt debit logic accordingly
2020-01-26 17:48:13 +01:00
Florian Dold
26c9563ef0
return TALER_EC_INVALID instead of TALER_EC_NONE when error JSON doesn't contain code
2020-01-23 15:44:33 +01:00
Florian Dold
0fe82acc1b
better naming, comments and more logging for incoming history
2020-01-22 13:53:11 +01:00
Florian Dold
975d9c9d15
make sure request_uid is actually unique
...
Allowing duplicate request_uid for different transfer details means that
somebody might eventually rely on this, which is bad. They should
really be unique, it makes tracing easier.
2020-01-21 16:13:22 +01:00
Christian Grothoff
4c8f7799da
add config option for new bank
2020-01-20 14:26:42 +01:00
Christian Grothoff
5604a266d0
new DB
2020-01-20 14:22:56 +01:00
Christian Grothoff
52797133a4
fix signal initialization race on startup with shutdown
2020-01-20 12:10:44 +01:00
Christian Grothoff
8a4201c43b
fix
2020-01-20 11:47:47 +01:00
Christian Grothoff
be0a52f23c
fix crash
2020-01-20 11:46:44 +01:00
Christian Grothoff
92080dc8a4
add more tests
2020-01-20 11:38:53 +01:00
Christian Grothoff
85f10a86ff
handle case where get_session() is called from main, i.e. in combination with -f option
2020-01-20 11:15:19 +01:00
Christian Grothoff
72293a25ac
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-01-20 09:45:05 +01:00
Christian Grothoff
c381a2aba7
troublesome vars, remove
2020-01-20 09:45:01 +01:00
Florian Dold
e6bd2a8328
properly shut down wirewatch
2020-01-20 03:19:54 +01:00
Christian Grothoff
43f7cf3d07
push mpub
2020-01-20 03:02:05 +01:00
Christian Grothoff
df37433f4d
useless
2020-01-20 02:53:23 +01:00
Christian Grothoff
f616d29005
fix leak
2020-01-20 02:45:21 +01:00
Christian Grothoff
aaa57167db
add exchange key during test
2020-01-20 02:43:48 +01:00
Christian Grothoff
f4b17c3ada
update AFL test suite
2020-01-20 02:15:09 +01:00
Florian Dold
26ad7c8191
spelling of 'mismatch'
2020-01-20 02:11:03 +01:00
Christian Grothoff
f45b1c912b
fix leak
2020-01-20 02:00:55 +01:00
Christian Grothoff
f12ef85960
fix
2020-01-20 01:53:07 +01:00
Christian Grothoff
3fffb93e53
kill goto
2020-01-20 01:44:14 +01:00
Christian Grothoff
b290ca30c0
fix
2020-01-20 01:40:29 +01:00
Christian Grothoff
e090d69cb0
fix
2020-01-20 01:37:49 +01:00
Christian Grothoff
859337eabb
bugfixes
2020-01-20 01:31:24 +01:00
Christian Grothoff
7f60da4971
bugfixes
2020-01-20 01:30:38 +01:00
Christian Grothoff
8ce6d32f63
beautification
2020-01-20 01:23:02 +01:00
Christian Grothoff
500a7fe2bb
simplify
2020-01-20 00:32:17 +01:00
Florian Dold
2e1480dcab
fix copy and paste error
2020-01-20 00:31:48 +01:00
Florian Dold
82d31fed24
address minor fixmes
2020-01-20 00:30:55 +01:00
Christian Grothoff
4bf153fdb0
resolve fixmes
2020-01-20 00:21:50 +01:00
Florian Dold
c87eb30e78
some comments on aggregator
2020-01-20 00:07:45 +01:00
Christian Grothoff
26af6b2328
add single-threaded mode to exchange HTTP for fuzzing
2020-01-19 23:58:07 +01:00
Florian Dold
801592b460
doxygen fix
2020-01-19 23:05:22 +01:00
Florian Dold
73d9ef6c34
minor comment fixes
2020-01-19 22:57:46 +01:00
Christian Grothoff
bb36d40132
named constants please
2020-01-19 22:31:43 +01:00
Christian Grothoff
e5b92f8b5e
enable stdin for -f
2020-01-19 22:30:52 +01:00
Christian Grothoff
e46467510d
leak fixes
2020-01-19 22:24:04 +01:00
Florian Dold
12468e1fd8
denom->amount
2020-01-19 22:01:27 +01:00
Christian Grothoff
6445558065
fix auditor issues
2020-01-19 21:51:13 +01:00
Christian Grothoff
c48e4a8a06
comment on JSON canonicalization
2020-01-19 21:18:03 +01:00
Christian Grothoff
84fd301313
fix option
2020-01-19 21:13:52 +01:00
Christian Grothoff
c3ec8c929d
also check currency unit
2020-01-19 21:05:53 +01:00
Christian Grothoff
9cc2c7a208
fix option
2020-01-19 21:01:57 +01:00
Christian Grothoff
4f4b0349a5
add missing option
2020-01-19 21:01:33 +01:00
Christian Grothoff
4fac247bc7
use TALER_config_get_amount() consistently, require currency rounding option to exist instead of defaulting
2020-01-19 20:57:32 +01:00
Christian Grothoff
6f3c682722
rename: TALER_config_get_denom->amount
2020-01-19 20:39:27 +01:00
Christian Grothoff
bc812a0a51
indent
2020-01-19 20:37:12 +01:00
Christian Grothoff
a0c6adfa49
split off mhd.c
2020-01-19 20:36:34 +01:00
Christian Grothoff
59398cfd76
separate util.c and url.c
2020-01-19 20:33:07 +01:00
Christian Grothoff
600592dbf6
fix rounding, extend test
2020-01-19 20:11:32 +01:00
Christian Grothoff
e4cfa3d640
annotate
2020-01-19 19:44:29 +01:00
Christian Grothoff
5da9cfc51c
clean up amount logic, fix 2^53 check
2020-01-19 19:39:14 +01:00
Christian Grothoff
1f5c814b73
fix copyright headers as per CA
2020-01-19 19:22:43 +01:00
Christian Grothoff
d22a52cc7a
fix copyright headers as per CA
2020-01-19 19:21:58 +01:00
Christian Grothoff
cf2e77c929
fix section name
2020-01-19 19:19:20 +01:00
Florian Dold
cb58740fbd
remove redundant METHOD option, we can derive it from PAYTO_URI
2020-01-19 19:12:47 +01:00
Florian Dold
6074790867
config syntax for accounts
2020-01-19 18:48:23 +01:00
Christian Grothoff
c1dc7cc28b
leaks
2020-01-19 17:25:45 +01:00
Christian Grothoff
9031f7340d
try to fix mess for keystate locking
2020-01-19 17:14:14 +01:00
Christian Grothoff
b6543b8f9a
fix merge conflict
2020-01-19 17:06:12 +01:00
Christian Grothoff
707449aa8f
try to fix KS handling
2020-01-19 17:03:36 +01:00
Christian Grothoff
ce5adddaf3
clean up benchmark logic
2020-01-19 17:03:30 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL
2020-01-19 17:03:19 +01:00
Florian Dold
9f522baadc
add missing files and adjust .gitignore rules for testing move
2020-01-19 16:06:29 +01:00
Florian Dold
03bcd50d9a
move libtalertwistertesting into the exchange
2020-01-19 16:02:04 +01:00
Christian Grothoff
ca0bc6fdc1
fix theoretical barrier issue
2020-01-19 15:46:09 +01:00
Christian Grothoff
42ef95d002
duplicate code elimination
2020-01-19 15:38:44 +01:00
Christian Grothoff
fdd8d602ba
fix benchmark
2020-01-19 15:36:49 +01:00
Florian Dold
72a629a8be
move testing logic and integration tests into separate directory
2020-01-19 15:23:33 +01:00
Christian Grothoff
dbf85bbc0d
clarify FIXMEs
2020-01-19 14:53:31 +01:00
Florian Dold
ca7d8434dd
remove obsolete config generation shell script
2020-01-19 14:48:45 +01:00
Christian Grothoff
fbc375092f
old DBs only
2020-01-19 14:27:49 +01:00
Christian Grothoff
342cccc384
do not rely on filetime, as Git does not preserve it
2020-01-19 14:22:34 +01:00
Christian Grothoff
52bdff7867
get auditor to pass with refund
2020-01-19 02:46:17 +01:00
Christian Grothoff
58e5780917
fix aggregator fee calculation logic
2020-01-19 02:28:14 +01:00
Christian Grothoff
021a2003d5
adjust tests
2020-01-19 02:28:14 +01:00
Florian Dold
b683fd114a
remove unused/undocumented valgraind suppression file
2020-01-19 01:42:48 +01:00
Christian Grothoff
447ae4da0b
DCE
2020-01-18 23:53:15 +01:00
Christian Grothoff
b90ce2e467
fix dropper
2020-01-18 23:51:17 +01:00
Christian Grothoff
db669ee495
payback -> recoup stranglers
2020-01-18 23:49:37 +01:00
Christian Grothoff
6e17a847e8
fix FTBFS
2020-01-18 23:28:35 +01:00
Christian Grothoff
889644c686
fix FTBFS
2020-01-18 23:28:01 +01:00
Christian Grothoff
ff35a1d229
deduplicate doxyfiles, integrate with build
2020-01-18 23:19:48 +01:00
Christian Grothoff
dfd58b33e8
fix leaks
2020-01-18 22:08:06 +01:00
Christian Grothoff
c4493f9e05
fix config
2020-01-18 20:53:25 +01:00
Christian Grothoff
6fc2a5f949
fixes
2020-01-18 20:50:25 +01:00
Christian Grothoff
c1996b7e69
clean up taler-wire tool
2020-01-18 20:36:09 +01:00
Florian Dold
824e6ce9d7
doxygen fixes, remove redundant parameters
2020-01-18 20:20:24 +01:00
Florian Dold
3d431e8d33
doxygen fixes
2020-01-18 20:10:35 +01:00
Florian Dold
34e6425f9d
doxygen fixes / redundant parameter elimination
2020-01-18 20:04:03 +01:00
Christian Grothoff
6bdccb5c7b
add preload obscenity
2020-01-18 19:49:33 +01:00
Christian Grothoff
5c46951821
fix warnings
2020-01-18 19:28:17 +01:00
Christian Grothoff
73ee593b76
make static analysis happy
2020-01-18 19:21:59 +01:00
Christian Grothoff
8dbc19758b
fix compiler warnings
2020-01-18 19:16:44 +01:00
Florian Dold
d53eca8940
do not use macros where a function does the job better
2020-01-18 18:33:18 +01:00
Christian Grothoff
53c21c441b
fix leak
2020-01-18 18:22:10 +01:00
Christian Grothoff
d58af13887
fix assertion
2020-01-18 18:17:38 +01:00
Christian Grothoff
ee6b2d5286
fix leak
2020-01-18 18:14:33 +01:00
Christian Grothoff
b3ff66d057
fix leak
2020-01-18 18:09:15 +01:00
Christian Grothoff
8715e2b284
fix leaks
2020-01-18 18:04:59 +01:00
Christian Grothoff
c5c04cb51f
fix -Wextra warnings
2020-01-18 17:53:54 +01:00
Florian Dold
0f214150db
make parameter const
2020-01-18 17:44:06 +01:00
Christian Grothoff
fef001cfdd
fix test_23
2020-01-18 17:38:56 +01:00
Christian Grothoff
684da791cc
fix warnings
2020-01-18 17:22:22 +01:00
Florian Dold
d4abdb7a28
add break_op assertion
2020-01-18 17:08:23 +01:00
Christian Grothoff
47deacaa15
doxygen
2020-01-18 17:06:32 +01:00
Florian Dold
48aab68ff5
minor log improvement
2020-01-18 16:53:22 +01:00
Christian Grothoff
644049274c
doxygen
2020-01-18 16:41:24 +01:00
Christian Grothoff
204b545db1
deal with wire fees from the past in the aggregator
2020-01-18 16:28:42 +01:00
Christian Grothoff
c87722791d
doxygen
2020-01-18 14:36:49 +01:00
Christian Grothoff
5583b7a059
libraries were folded, fold headers as well
2020-01-18 14:24:55 +01:00
Christian Grothoff
5146d62b14
doxygen
2020-01-18 14:16:40 +01:00
Christian Grothoff
9c45958a55
doxygen
2020-01-18 14:13:28 +01:00
Florian Dold
9d86f050f9
fix syntax error
2020-01-18 14:07:53 +01:00
Christian Grothoff
96ac20c3bb
fix FTBFS
2020-01-18 14:01:56 +01:00
Christian Grothoff
ef4cb1b7c9
test 19 is obsolete
2020-01-18 14:01:13 +01:00
Christian Grothoff
0b4008bd84
doxygen
2020-01-18 13:58:42 +01:00
Florian Dold
4993863c4c
allow skipping of denom fees check
2020-01-18 13:52:19 +01:00
Christian Grothoff
ccb8869344
doxygen
2020-01-18 13:35:51 +01:00
Christian Grothoff
e0fbfb68fd
provide account_section for all wire out inconsistencies
2020-01-18 13:35:43 +01:00
Christian Grothoff
d972a26e1b
generate 11.5-compatible db
2020-01-18 13:27:29 +01:00
Christian Grothoff
9317d6d69d
doxygen work
2020-01-18 13:23:17 +01:00
Christian Grothoff
dac255329f
doxygen
2020-01-18 13:23:17 +01:00
Florian Dold
f39ebe7402
auditor test: re-generate database with fixed merchant bank account
2020-01-18 13:20:36 +01:00
Christian Grothoff
5abe350a05
doxygen
2020-01-18 12:34:17 +01:00
Florian Dold
8e0180b257
remove more redundant args
2020-01-18 04:39:52 +01:00
Florian Dold
5d19229561
dce: redundant args
2020-01-18 04:31:55 +01:00
Florian Dold
0cebe32fc6
dce: redundant arg
2020-01-18 04:20:29 +01:00
Florian Dold
47698761d0
remove redundant arg
2020-01-18 04:12:51 +01:00
Florian Dold
22bd615fa9
remove redundant exchange_account_url
2020-01-18 04:10:02 +01:00
Florian Dold
add346eb6c
remove redundant bank_url field
2020-01-18 04:00:35 +01:00
Florian Dold
08a447985c
small steps towards removing hard-coded exchange account
2020-01-18 03:50:54 +01:00
Florian Dold
572f350660
add fixme
2020-01-18 01:21:38 +01:00
Florian Dold
d2d7791c69
DCE: only keep x-taler-wire processing functions we actually use/need
2020-01-18 01:13:53 +01:00
Florian Dold
c805e9cf20
DCE: we never have to derrive the wire_gateway_url from the payto URI
2020-01-18 00:43:29 +01:00
Christian Grothoff
cb3c4a520a
update gnunet.tag
2020-01-17 23:56:47 +01:00
Christian Grothoff
86cd17e265
fix SQL
2020-01-17 23:56:03 +01:00
Christian Grothoff
788fd67984
doxygen
2020-01-17 23:50:49 +01:00
Florian Dold
d95f2a9e43
DCE, part one
2020-01-17 23:40:44 +01:00
Christian Grothoff
f0d8311b1c
fix test
2020-01-17 23:34:42 +01:00
Christian Grothoff
1255ec9a15
update DB
2020-01-17 23:32:06 +01:00
Christian Grothoff
4dc8092f83
auditor fixes
2020-01-17 23:27:40 +01:00
Christian Grothoff
96543f62ef
updates to auditor test
2020-01-17 23:21:14 +01:00
Christian Grothoff
f03bcb65f2
doxygen
2020-01-17 23:06:01 +01:00
Florian Dold
135b53d4a2
test-auditor config
2020-01-17 23:05:39 +01:00
Christian Grothoff
379d261769
fix format string
2020-01-17 23:02:55 +01:00
Florian Dold
d567bfe237
adjust config and timeouts
2020-01-17 23:02:33 +01:00
Christian Grothoff
b322614eb2
doxygen
2020-01-17 23:01:17 +01:00
Christian Grothoff
cd1a784f34
doxygen
2020-01-17 22:48:14 +01:00
Christian Grothoff
1733f07786
doxygen
2020-01-17 22:44:28 +01:00
Florian Dold
404888b0a2
fix config
2020-01-17 22:43:55 +01:00
Christian Grothoff
72f07dde5b
doxygen
2020-01-17 22:40:18 +01:00
Christian Grothoff
59f0fb9fe7
regenerate DB
2020-01-17 22:32:08 +01:00
Florian Dold
3083dc76e4
auditor basedb config
2020-01-17 22:25:14 +01:00
Christian Grothoff
108bf01f11
doxygen fixes
2020-01-17 22:24:18 +01:00
Christian Grothoff
646ec32adb
doxygen fixes
2020-01-17 22:17:48 +01:00
Christian Grothoff
985db277f1
doxygen fixes
2020-01-17 22:13:40 +01:00
Christian Grothoff
e57dcc4b52
doxy fix
2020-01-17 22:06:44 +01:00
Christian Grothoff
005272da43
address EC FIXMEs
2020-01-17 21:53:37 +01:00
Christian Grothoff
be476659a3
link to bug report
2020-01-17 20:53:48 +01:00
Christian Grothoff
81d3b454e1
point out duplication, fix hard-coded '2'
2020-01-17 20:50:48 +01:00
Florian Dold
33877b2c55
address fixme, fix use-after-free in testing traits
2020-01-17 20:50:18 +01:00
Christian Grothoff
fbb4256d55
link TODO to bug #6049
2020-01-17 20:45:29 +01:00
Christian Grothoff
90c411bc19
sort out URL types more nicely
2020-01-17 20:42:24 +01:00
Christian Grothoff
fad5a22680
fix FIXME: clarify field semantics
2020-01-17 20:27:17 +01:00
Christian Grothoff
a064ca705e
check currencies match first
2020-01-17 20:20:28 +01:00
Christian Grothoff
6c5155ca74
Florian says libeufin will reject reserve pubs from alternating bank accounts
2020-01-17 20:11:43 +01:00
Christian Grothoff
376277f7e8
remove bogus comment
2020-01-17 20:07:57 +01:00
Christian Grothoff
23cc4a521f
TODO is already done
2020-01-17 20:02:25 +01:00
Christian Grothoff
11c5283711
prepare API to enable verification of fees in coin history check
2020-01-17 19:54:16 +01:00
Christian Grothoff
33bd1ca2bb
help crappy indenter
2020-01-17 19:36:20 +01:00
Christian Grothoff
0a3e9f724f
help crappy indenter
2020-01-17 19:35:37 +01:00
Christian Grothoff
ae30ff9f7e
bogus comment, fields no longer exist, logic problem ditto
2020-01-17 19:34:24 +01:00
Christian Grothoff
98ec18bd7e
more KS cleanups, including one race fix
2020-01-17 19:32:44 +01:00
Christian Grothoff
2ce6c7a9d8
more KS cleanups, including one race fix
2020-01-17 19:32:12 +01:00
Christian Grothoff
bf2cdc7ea2
comment out fixme
2020-01-17 19:03:36 +01:00
Christian Grothoff
33d71e7280
clean up KS keystate logic
2020-01-17 19:03:35 +01:00
Florian Dold
7378b5a081
amount rounding a la Christian
2020-01-17 18:59:15 +01:00
Florian Dold
ac2e40d049
add missing config files for test case
2020-01-17 18:23:02 +01:00
Florian Dold
0463f19ece
bank twister test case
2020-01-17 18:22:26 +01:00
Florian Dold
ac8bf9dd8c
configs for twister
2020-01-17 18:09:41 +01:00
Christian Grothoff
3b0c26d151
downgrate FIXMEs to TODOs
2020-01-17 18:04:40 +01:00
Christian Grothoff
8313dbd569
remove dead globals
2020-01-17 18:01:56 +01:00
Christian Grothoff
67bfd94009
resolve another FIXME
2020-01-17 17:52:20 +01:00
Christian Grothoff
096de63d04
resolved
2020-01-17 17:47:50 +01:00
Christian Grothoff
27457d94e4
use properly typed merchant pub/priv key in trait
2020-01-17 17:46:13 +01:00
Christian Grothoff
9d2ff364dc
fix another fixme
2020-01-17 17:32:09 +01:00
Christian Grothoff
2ffabd394c
fix reserve_pub-via-reserve_priv FIXME
2020-01-17 17:29:44 +01:00
Florian Dold
5a03bb71b5
start fixing config
2020-01-17 17:22:55 +01:00
Christian Grothoff
b7a77805dc
fix configuration
2020-01-17 17:21:58 +01:00
Christian Grothoff
0328ab313b
use more specific SELECT in exchange aggregator on refunds instead of filtering in application logic later
2020-01-17 15:43:04 +01:00
Christian Grothoff
cdd8d14f76
minor refactoring
2020-01-17 15:20:38 +01:00
Christian Grothoff
1759b63b2f
abort wire audit if bank fails to return histories
2020-01-17 15:14:07 +01:00
Florian Dold
c8e51de96f
payto
2020-01-17 15:13:03 +01:00
Christian Grothoff
263d36f7a5
report affected account
2020-01-17 15:09:36 +01:00
Marcello Stanisci
b654a3debf
properly pass closure
2020-01-17 15:09:12 +01:00
Florian Dold
84f3b9b287
payto fixes
2020-01-17 15:03:27 +01:00
Christian Grothoff
e88ad199e6
FIXME is not needed, explain why
2020-01-17 15:02:27 +01:00
Christian Grothoff
0145609890
fix FIXME: total up irregular paybacks and add to report
2020-01-17 15:00:32 +01:00
Marcello Stanisci
e369dcfc25
Avoiding comparison between unsigned int and int.
2020-01-17 14:34:07 +01:00
Christian Grothoff
7242b9b960
add TODO
2020-01-17 13:10:42 +01:00
Christian Grothoff
4e125d8eda
check for key expiration
2020-01-17 13:09:20 +01:00
Florian Dold
fc55952b4f
logging
2020-01-17 13:08:34 +01:00
Christian Grothoff
31b413fed2
simplify DB logic in auditor-httpd
2020-01-17 13:06:28 +01:00
Christian Grothoff
862448305c
simplify DB logic in auditor-httpd
2020-01-17 13:06:12 +01:00
Christian Grothoff
11a9dc2b4f
simplify DB logic in auditor-httpd
2020-01-17 13:05:29 +01:00
Christian Grothoff
540b22ce1c
implement rh caching
2020-01-17 12:52:33 +01:00
Marcello Stanisci
153dcdbc61
fix twisted test.
2020-01-17 12:43:28 +01:00
Florian Dold
55e943829b
pass right config filename to taler-bank-manage
2020-01-17 12:31:29 +01:00
Christian Grothoff
11d5f61984
tested in GNUnet already
2020-01-17 12:25:11 +01:00
Christian Grothoff
d3fb16b380
also cover drop/restart cases with psql logic
2020-01-17 12:25:11 +01:00
Florian Dold
099884ee66
split config files, towards making pybank test case work again
2020-01-17 12:15:57 +01:00
Florian Dold
21afdac1f3
test cases / logging
2020-01-17 04:17:48 +01:00
Christian Grothoff
7995678e77
fix error code use
2020-01-17 03:42:36 +01:00
Florian Dold
dcc80fd35d
make aggregator test case pass again
2020-01-17 03:39:15 +01:00
Florian Dold
a65d3f1800
make cherry picking test case pass
2020-01-17 03:31:45 +01:00
Christian Grothoff
1f92ba59de
fix FTBFS
2020-01-17 03:31:39 +01:00
Christian Grothoff
3ae8954032
fix test_pq
2020-01-17 03:30:50 +01:00
Florian Dold
27f8fc8bb7
config, test passes now
2020-01-17 03:25:30 +01:00
Florian Dold
4442df7a1a
config
2020-01-17 03:21:33 +01:00
Florian Dold
734fd8cc7d
test_bank_api_with_fakebank passes again
2020-01-17 03:13:58 +01:00
Christian Grothoff
4b16198b43
moved SQL elimination
2020-01-17 03:11:25 +01:00
Christian Grothoff
097e968e1d
fix
2020-01-17 03:09:05 +01:00
Christian Grothoff
d4fded4b66
fix build system
2020-01-17 03:08:30 +01:00
Christian Grothoff
da0a2f39d0
GNUnet PQ API change
2020-01-17 02:24:21 +01:00
Florian Dold
cc862fb279
payto fixes WIP
2020-01-17 02:23:48 +01:00
Christian Grothoff
8ea2af444f
more work towards DB versioning
2020-01-17 01:55:01 +01:00
Christian Grothoff
5b11d19b67
SQL logic towards DB versioning
2020-01-17 01:28:39 +01:00
Florian Dold
6faf6fc732
payto fixes WIP
2020-01-17 01:23:32 +01:00
Christian Grothoff
c677720e7b
fix ftbfs
2020-01-17 00:20:39 +01:00
Christian Grothoff
401a1f82ef
use strcasecmp for methods
2020-01-17 00:19:23 +01:00
Christian Grothoff
d61c2e400a
kill another FIXME
2020-01-16 23:49:34 +01:00
Christian Grothoff
0305cf5f9e
move function to libtalerexchangedb, as planned
2020-01-16 22:40:12 +01:00
Christian Grothoff
0a415262da
add bug note to FIXME
2020-01-16 22:31:46 +01:00
Christian Grothoff
f1056d1be5
clarify contract is json, not string
2020-01-16 22:28:39 +01:00
Christian Grothoff
a19939baec
fix comments
2020-01-16 22:26:25 +01:00
Christian Grothoff
9d475ba0ba
fix auth init
2020-01-16 22:23:49 +01:00
Christian Grothoff
19922fa046
pointless to check denom_sig, do not return
2020-01-16 22:21:18 +01:00
Christian Grothoff
a9ae2171b8
reuse TALER_url_join
2020-01-16 21:57:40 +01:00
Christian Grothoff
dd6bad739a
debig
2020-01-16 21:26:53 +01:00
Christian Grothoff
3d9ad86dfb
remove duplicated, wrong ec logic in bank-lib
2020-01-16 21:02:18 +01:00
Florian Dold
1032cdea0f
fix config error message
2020-01-16 20:53:54 +01:00
Christian Grothoff
54fdb3741d
fix use after free
2020-01-16 20:44:44 +01:00
Marcello Stanisci
1e697eb1fe
Removing dead code.
2020-01-16 20:44:11 +01:00
Christian Grothoff
6dcd37504a
fix
2020-01-16 20:41:50 +01:00
Marcello Stanisci
c20f6828ae
finish porting aggregator tests
2020-01-16 20:38:59 +01:00
Christian Grothoff
12855342d8
rename config file to make it clear it is associated with a test (in build)
2020-01-16 20:30:19 +01:00
Christian Grothoff
774874a096
rename config file to make it clear it is associated with a test
2020-01-16 20:29:56 +01:00
Christian Grothoff
e902aa49aa
address comment
2020-01-16 20:27:01 +01:00
Christian Grothoff
621f33a3d8
address FIXMEs
2020-01-16 20:26:16 +01:00
Christian Grothoff
80b5433b24
separate tests, address FIXMEs
2020-01-16 20:20:12 +01:00
Marcello Stanisci
9041b899af
Porting aggregator tests until 'expect-deposit-6' CMD.
2020-01-16 19:38:38 +01:00
Marcello Stanisci
d4958b0887
Progress with aggregator tests.
2020-01-16 19:10:45 +01:00
Marcello Stanisci
7321cac34b
Got first aggregation to pass
2020-01-16 18:50:31 +01:00
Marcello Stanisci
1e26fc824c
Finishing CMD to insert denomination and deposit into database.
2020-01-16 18:38:04 +01:00
Florian Dold
23507d8565
HTTP_NOT_ACCEPTABLE is not an expected status code, as it is for content type negotiation
2020-01-16 16:40:12 +01:00
Christian Grothoff
bb2a56a91a
comments, indentation
2020-01-16 15:52:38 +01:00
Christian Grothoff
cb853d6513
formatting, comments
2020-01-16 15:45:25 +01:00
Christian Grothoff
649d95adc3
more unique naming of commands, clean up revocation dir
2020-01-16 15:28:07 +01:00
Christian Grothoff
0a1f6f8ac3
log as INFO
2020-01-16 15:06:48 +01:00
Christian Grothoff
14ab704cde
fix fakebank logic
2020-01-16 15:06:16 +01:00
Marcello Stanisci
1fc8fd22dc
Aggregator tests execute first CMD.
2020-01-16 14:40:56 +01:00
Christian Grothoff
d7ccfad610
fix history API
2020-01-16 14:30:10 +01:00
Florian Dold
4ac34199ad
remove Makefile.am variable that doesn't belong
2020-01-16 14:20:44 +01:00
Florian Dold
7fad7cb716
make lib(c|gn)url mandatory, cleaner makefiles
2020-01-16 14:12:47 +01:00
Christian Grothoff
f8385eeabd
get fakebank test to pass
2020-01-16 13:52:07 +01:00
Florian Dold
a358360fb3
remove wallet-specific code
2020-01-16 13:48:35 +01:00
Marcello Stanisci
8a08f73171
dead code elimination
2020-01-16 12:58:42 +01:00
Marcello Stanisci
a444bf31b7
Excluding old logic from compilation.
2020-01-16 12:54:05 +01:00
Marcello Stanisci
f13b8e4db6
more comments and CMD state
2020-01-16 12:13:11 +01:00
Marcello Stanisci
abccaf2cd0
insert-deposit CMD, skeleton.
2020-01-16 12:03:21 +01:00
Christian Grothoff
a12ee00d3b
fix really stupid bugs
2020-01-16 11:57:32 +01:00
Florian Dold
2e6d284e03
DCE
2020-01-16 08:53:03 +01:00
Christian Grothoff
f676be5c53
copyfix
2020-01-16 08:50:06 +01:00
Christian Grothoff
7c6853d830
simplify amount logic
2020-01-16 08:49:26 +01:00
Marcello Stanisci
90e1572039
Adapting wirewatch tests to new style.
2020-01-16 00:12:25 +01:00
Christian Grothoff
2c4bdcc4c0
path
2020-01-15 23:58:06 +01:00
Christian Grothoff
9672ffa769
fix comments
2020-01-15 23:45:24 +01:00
Christian Grothoff
4c5c63e9b9
simplify credit history computation
2020-01-15 22:47:20 +01:00
Christian Grothoff
a5395c2065
simplify debit history computation
2020-01-15 22:39:16 +01:00
Christian Grothoff
85c285be79
clean up history building/checking logic a bit
2020-01-15 22:29:09 +01:00
Christian Grothoff
77281fa319
check for 204 first
2020-01-15 22:11:32 +01:00
Christian Grothoff
16a6d39dc9
simplify bank history commands
2020-01-15 22:09:39 +01:00
Christian Grothoff
7236294ffb
fix check commands in test_auditor_api
2020-01-15 21:27:58 +01:00
Marcello Stanisci
b71297097a
Wirewatch test.
...
Start the test using the new style. All
commands still to be ported.
2020-01-15 17:05:58 +01:00
Florian Dold
fccde25183
add another CORS header to allow client to send any headers
2020-01-15 16:05:09 +01:00
Christian Grothoff
e5078fcfe8
test case fixes
2020-01-15 16:00:49 +01:00
Florian Dold
3b13aaf844
respond with CORS headers for OPTIONS pre-flight request
2020-01-15 15:52:23 +01:00
Christian Grothoff
19d9369ff6
add another interpreter command to check incoming wire transfers
2020-01-15 15:44:24 +01:00
Christian Grothoff
9ded20518c
debug logging
2020-01-15 15:27:21 +01:00
Christian Grothoff
e83015c8a3
fix payto URI conversion
2020-01-15 15:20:55 +01:00
Florian Dold
da5b3ba8ae
round amounts based on config, do unit test for rounding
2020-01-15 15:17:25 +01:00
Christian Grothoff
b37fff0d5b
ftbfs
2020-01-15 14:58:10 +01:00
Marcello Stanisci
d822035216
Remove preflight checks where redundant.
2020-01-15 14:34:35 +01:00
Florian Dold
0c37bb0f90
use generated error codes, this has error code collisions removed
2020-01-15 14:19:12 +01:00
Florian Dold
d23dca7ceb
remove testing API, we use gnunet-crypto-tvg instead
2020-01-15 13:37:08 +01:00
Florian Dold
6d12045f8d
remove tvg, it's now part of GNUnet
2020-01-15 13:31:19 +01:00
Christian Grothoff
8a3f0e3f8d
clean up payto credit/debit distincition
2020-01-15 13:22:37 +01:00
Marcello Stanisci
e77ccd0390
Preflight checks:
...
put preflight check inside exchangedb start()
function, and provide a preflight method for
auditordb.
2020-01-15 12:36:09 +01:00
Christian Grothoff
4547bfb318
fix fakebank account vs. full payto confusion
2020-01-15 11:48:49 +01:00
Florian Dold
4c488a1d0e
buffer lib has moved to GNUnet
2020-01-15 11:46:05 +01:00
Christian Grothoff
3fa213e41e
fix test issues
2020-01-15 11:14:11 +01:00
Florian Dold
b1b0465f54
remove spaces that break the testcase
2020-01-15 10:36:26 +01:00
Christian Grothoff
087de13e0a
use new parsing API, fixes issues
2020-01-15 00:15:40 +01:00
Christian Grothoff
bf3c7dd10f
expand test suite
2020-01-14 23:59:16 +01:00
Christian Grothoff
0805c62aee
split off buffer logic
2020-01-14 23:57:35 +01:00
Christian Grothoff
1d9049ab99
add payto URL test, fix payto parser implementation
2020-01-14 23:54:43 +01:00
Christian Grothoff
2edee5ac4a
refactor uri parsing logic, prepare for unit test
2020-01-14 15:57:36 +01:00
Christian Grothoff
cba9f8614e
spass
2020-01-14 15:12:02 +01:00
Christian Grothoff
90886bd411
fix test config
2020-01-14 14:41:49 +01:00
Christian Grothoff
088e6c5f3c
fix configs for test
2020-01-14 14:09:48 +01:00
Florian Dold
87aa8b54cc
properly initialize wtid in test
2020-01-13 23:51:16 +01:00
Christian Grothoff
88cb57de83
fix link
2020-01-13 23:14:50 +01:00
Christian Grothoff
5f6d867469
add request UID repetition detection to fakebank
2020-01-13 22:27:57 +01:00
Florian Dold
7ce48d622e
withdraw_pub -> reserve_pub
2020-01-13 22:17:53 +01:00
Christian Grothoff
07b799b21f
merge
2020-01-13 22:15:43 +01:00
Christian Grothoff
7b1909bc99
make fakebank and banklib match specifified new API
2020-01-13 22:01:45 +01:00
Christian Grothoff
2d16cddfd9
die, dead #include, die
2020-01-13 18:19:21 +01:00
Christian Grothoff
4cbb8a29a3
dce
2020-01-13 18:16:43 +01:00
Christian Grothoff
4d6ef1da29
eliminate libtalerwire
2020-01-13 18:16:01 +01:00
Marcello Stanisci
258ed8617b
remove old linker dependency
2020-01-13 12:12:26 +01:00
Marcello Stanisci
452f42f562
include header file
2020-01-13 11:32:44 +01:00
Christian Grothoff
25bc150dfb
fix ftbfs
2020-01-13 11:23:03 +01:00
Christian Grothoff
d842c14f85
refactor to make it easier to share init logic for test configurations
2020-01-13 00:27:48 +01:00
Christian Grothoff
6b0c121fc9
clean up string traits"
2020-01-12 23:13:46 +01:00
Christian Grothoff
27911aaa17
remove dead test from list
2020-01-12 23:01:35 +01:00
Christian Grothoff
9ea661ca31
fix build issues
2020-01-12 23:01:01 +01:00
Christian Grothoff
5b78b3ea86
fix build issues
2020-01-12 22:59:03 +01:00
Christian Grothoff
ca55b5078f
restructure tests and build system
2020-01-12 20:51:42 +01:00
Christian Grothoff
1788ca2be1
reorganization of file structure
2020-01-12 20:44:33 +01:00
Christian Grothoff
c75157e8ca
fix test_exchange_api_twisted FTBFS
2020-01-12 20:28:49 +01:00
Christian Grothoff
7fb69ec88c
fix FTBFS test_auditor_api
2020-01-12 20:25:59 +01:00
Christian Grothoff
58b78da001
merge revocation tests
2020-01-12 20:22:18 +01:00
Christian Grothoff
636c148c07
fix more FTBFS
2020-01-12 19:55:56 +01:00
Christian Grothoff
061eaac70f
split of check_empty logic
2020-01-12 19:45:45 +01:00
Christian Grothoff
c085013ea7
fix exchange tests FTBFS
2020-01-12 18:20:47 +01:00
Christian Grothoff
44460a3147
getting legacy code to build
2020-01-12 18:19:18 +01:00
Christian Grothoff
6a4cc07978
fix ftbfs
2020-01-12 18:14:16 +01:00
Christian Grothoff
c7610bf617
fix fakebank API
2020-01-12 18:09:41 +01:00
Christian Grothoff
c6ba84462d
dead
2020-01-12 17:58:17 +01:00
Christian Grothoff
00740610ba
fix bank-lib ftbfs
2020-01-12 17:43:20 +01:00
Christian Grothoff
9b586cd5f0
fix ftbfs
2020-01-12 01:03:08 +01:00
Christian Grothoff
85c4aa733c
add separate transfer and admin/add/incoming commands, force
2020-01-12 00:43:24 +01:00
Christian Grothoff
cbcc3727de
add separate transfer and admin/add/incoming commands
2020-01-12 00:39:27 +01:00
Christian Grothoff
2ee33e3cbc
remove exchange-url argument from /admin/add/incoming
2020-01-11 23:06:24 +01:00
Christian Grothoff
9443c10d7f
major refactoring, eliminating wire-plugins and moving towards new bank API. main code compiles, testcases known to fail, code sure not to fully work yet
2020-01-11 15:20:17 +01:00
Marcello Stanisci
554da10133
Fix bank test.
...
Getting wget to tolerate the 302 returned
by the bank as a response to "GET /".
2020-01-09 16:20:28 +01:00
Christian Grothoff
59b12d2d80
fix #6015
2020-01-09 12:19:09 +01:00
Christian Grothoff
9e206f533f
H_wire -> h_wire ( #6032 )
2020-01-09 09:50:35 +01:00
Christian Grothoff
ea9c15026a
add CORS header globally always ( #6029 )
2020-01-08 10:39:10 +01:00
Christian Grothoff
97f71c83a7
fix #6033 : remove master_pub field
2020-01-08 10:29:55 +01:00
Christian Grothoff
713b9efb42
update wire keys
2020-01-08 10:23:44 +01:00
Christian Grothoff
92d21ca315
remove ebics ( #6038 )
2020-01-08 10:04:39 +01:00
Christian Grothoff
c0702a6f0a
more missing files for dist
2019-12-24 23:25:08 +01:00
Christian Grothoff
30d243b7e8
ship master priv, exchange_url can be null
2019-12-24 23:16:35 +01:00
Christian Grothoff
2fdc21f7d7
add missing configuration files to dist, eliminate warning on CONFLICT status code in test
2019-12-24 23:09:06 +01:00
Christian Grothoff
8d786441b8
version bumping
2019-12-24 23:00:13 +01:00
Christian Grothoff
3a9d7afe33
another fix where hardcoded serial number can point to the wrong transaction
2019-12-24 22:53:13 +01:00
Christian Grothoff
296145fb26
skip test if talercheck DB does not exist
2019-12-24 22:37:31 +01:00
Christian Grothoff
6d65457203
tolerate database not existing, skip test
2019-12-24 22:32:02 +01:00
Christian Grothoff
0ec3301cfb
make auditor more robust to DB permutations
2019-12-24 22:28:27 +01:00
Christian Grothoff
202a464bb3
new DB
2019-12-24 21:20:40 +01:00
Christian Grothoff
8baf591ded
use wait
2019-12-24 21:20:32 +01:00
Christian Grothoff
2a8383dd94
just to be sure
2019-12-24 21:20:15 +01:00
Christian Grothoff
9e1c7cc152
clean up shell script, fix heisenbug
2019-12-24 21:16:28 +01:00
Christian Grothoff
df0237ab94
support -l/-L options, improve logging
2019-12-24 20:21:54 +01:00
Christian Grothoff
75aec331fb
fixing auditor test failure root cause
2019-12-24 20:10:50 +01:00
Christian Grothoff
8b5a0278df
nicer logging
2019-12-24 16:19:53 +01:00
Christian Grothoff
1970b7687c
report cases of missing denomination keys more nicely
2019-12-24 16:04:30 +01:00
Christian Grothoff
32ec655418
handle denomination key not found better
2019-12-24 15:58:23 +01:00
Christian Grothoff
0e064ce914
fmt string fix
2019-12-24 12:29:38 +01:00
Christian Grothoff
2dccc31137
more logging, just for fun
2019-12-24 12:28:58 +01:00
Christian Grothoff
8d51dd18ed
do NOT reset DB in taler-bank-manage-testing, not healthy for auditor test
2019-12-23 12:32:37 +01:00
Christian Grothoff
a3b56975a4
use acceptable bank debit limit
2019-12-23 12:28:15 +01:00
Christian Grothoff
d5b8089264
use taler-bank-manage-testing wrapper in auditor test logic as well
2019-12-23 12:13:10 +01:00
Christian Grothoff
e0cf954ad9
make exchange test suite work with current bank
2019-12-23 11:47:16 +01:00
Christian Grothoff
c58c5bce2b
disable fragile part of test
2019-12-22 16:15:59 +01:00
Marcello Stanisci
d36700ed98
Fix auditordb.
...
Include (forgotten) table within the "drop_tables()" command.
2019-12-22 12:43:33 +01:00
Christian Grothoff
672a76e9e3
add missing files
2019-12-20 20:34:39 +01:00
Christian Grothoff
8af89ff197
misc release preparations: mostly fixing 'make dist' target
2019-12-20 20:10:46 +01:00
Florian Dold
b554f1e909
date format
2019-12-19 12:56:47 +01:00
Christian Grothoff
9871176efa
fix bogus free
2019-12-18 22:11:49 +01:00
Christian Grothoff
36e15a501f
purge history-range API, no longer needed ( #5993 )
2019-12-15 18:16:33 +01:00
Christian Grothoff
745a48ef7c
fix double free in test
2019-12-15 13:11:38 +01:00
Christian Grothoff
1fc603800c
new is the new old: remove _new from tests
2019-12-14 23:19:51 +01:00
Christian Grothoff
cf31e54a2f
remove obsolete old tests ( #5758 )
2019-12-14 23:17:56 +01:00
Christian Grothoff
05a992445e
fix comments
2019-12-14 23:14:59 +01:00
Christian Grothoff
05b338ce6f
do not use max-requests in tests, forking prevents killing in test
2019-12-12 16:11:58 +01:00
Christian Grothoff
b999a6b2c5
note on where to change exchange code once wallet is done for #5991
2019-12-12 16:03:46 +01:00
Christian Grothoff
d5f4f6ff4c
consistency change'
2019-12-12 15:59:31 +01:00
Christian Grothoff
204358e249
return master_pub top-level in /wire, see #5991
2019-12-12 15:57:04 +01:00
Christian Grothoff
631bc65253
add logic for privacy policy
2019-12-11 14:30:55 +01:00
Christian Grothoff
75240345d0
writing generic tos/pp handler logic
2019-12-10 21:20:38 +01:00