Commit Graph

3241 Commits

Author SHA1 Message Date
Marcello Stanisci
5f6236ec71
Provide internal command advancer to batch-CMD. 2019-01-21 15:42:51 +01:00
Marcello Stanisci
08eafb1add
Export testing-cert_cb in the API.
This way, this very basic cert_cb can be reused
by other testing commands.
2019-01-21 15:40:07 +01:00
Marcello Stanisci
5a1594f63d
Add playground test case.
This test will help with transforming the
current cert_cb into one that handles serialized
reconnects too.
2019-01-17 17:29:06 +01:00
Marcello Stanisci
017ac1da57
Aesthetic change, plus comments. 2019-01-17 17:28:25 +01:00
Marcello Stanisci
8bc363227b
Remove useless comment. 2019-01-17 16:39:01 +01:00
Marcello Stanisci
148b546435
/keys API.
Adding method to override the last_denom value for a key set.
2019-01-17 16:37:16 +01:00
Marcello Stanisci
aeec67acaa
Comment block 2019-01-17 13:55:24 +01:00
Marcello Stanisci
448a57d81e
Extend tests.
Give a way to force redownload (= no cherry picking) all /keys.
2019-01-16 19:44:44 +01:00
Marcello Stanisci
ece3a9bfdb
more logging 2019-01-16 19:42:40 +01:00
Christian Grothoff
7cc7660cac
finixh #5447 implementation (more testing needed) 2019-01-13 17:47:15 +01:00
Christian Grothoff
91566ddee2
more code towards fixing #5447 2019-01-13 16:22:16 +01:00
Christian Grothoff
54fc83ee6b
fix cyclic dependency by combining exchange-lib and auditor-lib directories 2019-01-11 21:43:15 +01:00
Marcello Stanisci
57ab9f9fdb
fix lib order. 2019-01-11 18:56:06 +01:00
Marcello Stanisci
5472702c31
Trying to reporduce the overlapping keys bug.
Recall: this bug used to mess the auditor sigs verification up.
2019-01-11 18:42:20 +01:00
Christian Grothoff
12123a7aed
towards fixing #5447 2019-01-10 16:20:15 +01:00
Christian Grothoff
2a01aaa917
more error codes for the merchant 2019-01-10 14:31:47 +01:00
Christian Grothoff
2143266a50
update tool to follow renaming of test -> taler-bank for the taler bank wire method 2019-01-10 13:57:12 +01:00
Christian Grothoff
34c8dc504b
do not crash if keystate fails to load 2019-01-10 13:56:49 +01:00
Marcello Stanisci
551562701e
Comment block. 2019-01-09 22:44:05 +01:00
Marcello Stanisci
b657910c19
Send SIGUSR1 for new keys reloading. 2019-01-09 17:48:44 +01:00
Marcello Stanisci
f311ffb3ba
Fix cherry picking.
Fix how the last denom issue date was set after
a redownloading of /keys.

Additionally, some styling fix also came along.
2019-01-09 15:54:34 +01:00
Marcello Stanisci
ec58188446
Generating additional DKs after serialized state import. 2019-01-09 13:45:47 +01:00
Marcello Stanisci
cf539c03c6
Fix segfault. 2019-01-08 22:39:27 +01:00
Christian Grothoff
feec0d49ab
fix #5484 2019-01-08 19:10:38 +01:00
Christian Grothoff
3ed5db972d
expand docu on configuration 2019-01-08 17:27:50 +01:00
Marcello Stanisci
93a6bbfc58
5136: fix multiple invocations of /keys callback.
Basically, we allow such a callback to be invoked only once.
Subsequent invocations (due to keys updates / whatever) cause
the callback to simply return in a do-nothing fashion.

Also: adding a /wire CMD - that uses /keys - after serilized
keys have been loaded.
2019-01-08 15:59:14 +01:00
Marcello Stanisci
00596e245e
Use serialized keys after /wire 2019-01-07 16:29:58 +01:00
Christian Grothoff
5c71c3e70e
likely fix fo #5136/c13438 2019-01-02 12:08:42 +01:00
Christian Grothoff
a6331c8eac
mark bug location 2019-01-02 11:54:52 +01:00
Marcello Stanisci
bc771beb23
Fix null master_sig in signkeys array elements. 2018-12-24 16:14:42 +01:00
Christian Grothoff
acb4b8321c
disambiguate error scenarios better 2018-12-22 12:37:47 +01:00
Christian Grothoff
7b10ad0851
fix numbering of EC codes, distinguish auditor DB store errors 2018-12-22 12:32:56 +01:00
Marcello Stanisci
5a6755b4b4
70% of testing serialization logic. 2018-12-21 22:05:42 +01:00
Marcello Stanisci
a65823fa32
fix "jump to invalid address" 2018-12-21 21:26:35 +01:00
Marcello Stanisci
ea80ab4f45
fix auditor key serialization 2018-12-21 21:15:41 +01:00
Marcello Stanisci
c1c242e3c7
Export new API 2018-12-21 20:59:27 +01:00
Marcello Stanisci
c420c340f2
fix segfault 2018-12-21 20:58:43 +01:00
Marcello Stanisci
67818b31fb
fix loglevel. 2018-12-21 20:13:53 +01:00
Marcello Stanisci
83577457a1
Disconnection from the exchange must be signaled. 2018-12-21 19:30:47 +01:00
Marcello Stanisci
dbbf25c41a
Fix JSON packaging 2018-12-21 19:30:01 +01:00
Marcello Stanisci
29ba75c5c2
indent 2018-12-21 15:33:01 +01:00
Marcello Stanisci
5f175fb398
typo 2018-12-21 15:32:29 +01:00
Marcello Stanisci
615d35407b
#5136.
Adding CMD that reconnects to a exchange, using
serialized keys.
2018-12-21 15:03:58 +01:00
Marcello Stanisci
df6eda3994
Provide test API for keys serialization. 2018-12-21 14:04:43 +01:00
Marcello Stanisci
7d8d8b2e8a
Remove *extra* verbosity. 2018-12-19 14:33:52 +01:00
Marcello Stanisci
9c82290a1a
#5459 2018-12-19 11:43:05 +01:00
Marcello Stanisci
b22b36a20b
Adapt auditor tests to #5284. 2018-12-18 18:25:59 +01:00
Marcello Stanisci
c3c1a10b6c
Remove useless code block. 2018-12-18 18:10:15 +01:00
Marcello Stanisci
93ff2d93cc
/withdraw: #5284. 2018-12-18 17:35:23 +01:00
Marcello Stanisci
e634c877e3
/wire: #5284 2018-12-18 17:05:26 +01:00