Jonathan Buchanan
0c4eca0d48
moved yna to exchange
2020-07-05 16:50:14 +02:00
Jonathan Buchanan
acd8d318c0
taler_error_codes.h auto generated from gnunet/gana.git as a submodule
2020-07-05 16:50:13 +02:00
Jonathan Buchanan
83319e1782
implemented the other functions for taler_sq_lib
2020-07-05 16:50:13 +02:00
Jonathan Buchanan
ef0e79927c
created taler_sq_lib
2020-07-05 16:50:13 +02:00
Christian Grothoff
44c70269e2
update ECs
2020-07-05 16:50:13 +02:00
Christian Grothoff
6eabe1ab4f
more ECs
2020-07-05 16:50:13 +02:00
Christian Grothoff
0361508358
ecs
2020-07-05 16:50:13 +02:00
Christian Grothoff
7f10627a31
update
2020-07-05 16:50:12 +02:00
Christian Grothoff
099102dc57
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:49:23 +02:00
Christian Grothoff
cdbf3a05ae
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:48:26 +02:00
Christian Grothoff
ef97d426b1
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-07-05 16:46:41 +02:00
Christian Grothoff
baab185d87
more ecs
2020-07-05 16:44:10 +02:00
Christian Grothoff
142f6edaff
use unregister
2020-07-05 16:44:09 +02:00
Christian Grothoff
4119dbd1aa
update
2020-07-05 16:44:09 +02:00
Christian Grothoff
035c505c71
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:42:37 +02:00
Christian Grothoff
4f82885560
towards changing timestamp in deposit confirmation (tests failing)
2020-07-05 16:35:00 +02:00
Christian Grothoff
727b7b04f3
return fee as well
2020-07-05 16:35:00 +02:00
Christian Grothoff
4844023f69
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:35:00 +02:00
Christian Grothoff
cde71b7fe7
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:35:00 +02:00
Christian Grothoff
77ab94eb68
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-07-05 16:35:00 +02:00
Christian Grothoff
5ac448738d
fix status code
2020-07-05 16:34:59 +02:00
MS
f6e1583016
launching nexus AND sandbox
2020-06-02 11:36:51 +02:00
Christian Grothoff
c7ae928ffc
add ec
2020-05-04 10:07:32 +02:00
Christian Grothoff
78031b2711
more error codes
2020-05-01 18:38:21 +02:00
Christian Grothoff
0774fd7020
fix #6213
2020-04-23 11:59:12 +02:00
Christian Grothoff
ab752e9591
also validate merchant IBANs before signing
2020-04-19 22:31:00 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests.
2020-04-17 15:30:24 +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
2d83516871
add missing comment
2020-04-10 21:59:31 +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
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
b22ec7570e
this signature was pretty much always obsolete
2020-04-07 18:43:36 +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
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
61cfaa5981
update error codes for merchant
2020-04-02 20:22:45 +02:00
Christian Grothoff
d1bf26929e
typo
2020-04-01 23:12:00 +02:00
Christian Grothoff
3404fda463
typos
2020-03-31 20:57:11 +02:00
Christian Grothoff
677654f609
doxygen fix
2020-03-28 22:22:29 +01:00
Christian Grothoff
e16f463adb
resolved FIXMEs
2020-03-28 22:00:21 +01:00
Christian Grothoff
ae9f751a7c
do return fees in history
2020-03-28 20:46:57 +01:00
Christian Grothoff
d5351641f8
implement #6049
2020-03-28 20:45:53 +01:00
Florian Dold
e267cb985b
cover actual aggregation in exchange test
2020-03-27 20:47:30 +05:30
Florian Dold
6620a5b691
add test case (currently fails) for deposit idempotency
2020-03-27 19:14:55 +05:30
Christian Grothoff
f052527ea5
fix recoup-refresh audit logic
2020-03-26 20:54:41 +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
Christian Grothoff
9add4cf405
doxygen updates
2020-03-22 21:36:42 +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
36f4dbab3b
adjust tests to auditor changes
2020-03-21 17:36:01 +01:00
Christian Grothoff
1b24e2f9bb
more statistics, make explicit table lock optional, can hurt performance badly
2020-03-20 18:38:57 +01:00
Florian Dold
6a46b13e80
make recoup idempotent and simplify response
2020-03-20 14:01:59 +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
5e98c0652a
fix macro causing syntax issues
2020-03-19 19:33:10 +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
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
c597af8334
adjust types to match latest GNUnet API
2020-03-17 01:09:16 +01:00
Christian Grothoff
cd83daaeae
simplify refund processing, add additional checks for matching currency
2020-03-16 20:23:45 +01:00
Christian Grothoff
7fee395bb6
harden URI validation logic
2020-03-16 16:13:21 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil
2020-03-15 20:08:38 +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
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
83631bc98f
split reserve closing from main aggregation logic
2020-03-12 10:11:24 +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
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
c20078010b
fix comments, naming consistency issues
2020-03-07 14:35:32 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation)
2020-03-07 00:28:07 +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
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
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
440c3dc1f0
fix missing NULL termination on array
2020-03-01 13:44:13 +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
72764dc5f1
doxygen fixes
2020-02-29 17:13:43 +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
fb9324338d
phase 1 of #6067 : update exchange HTTPD to new API style
2020-02-26 17:00:41 +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
9bfeec352b
fix #6065
2020-02-04 20:57: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
Florian Dold
c87eb30e78
some comments on aggregator
2020-01-20 00:07:45 +01:00
Florian Dold
801592b460
doxygen fix
2020-01-19 23:05:22 +01:00
Florian Dold
12468e1fd8
denom->amount
2020-01-19 22:01:27 +01:00
Christian Grothoff
c48e4a8a06
comment on JSON canonicalization
2020-01-19 21:18:03 +01:00
Christian Grothoff
6f3c682722
rename: TALER_config_get_denom->amount
2020-01-19 20:39:27 +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
d22a52cc7a
fix copyright headers as per CA
2020-01-19 19:21:58 +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
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
Christian Grothoff
db669ee495
payback -> recoup stranglers
2020-01-18 23:49:37 +01:00
Christian Grothoff
ff35a1d229
deduplicate doxyfiles, integrate with build
2020-01-18 23:19:48 +01:00
Florian Dold
824e6ce9d7
doxygen fixes, remove redundant parameters
2020-01-18 20:20:24 +01:00
Florian Dold
34e6425f9d
doxygen fixes / redundant parameter elimination
2020-01-18 20:04:03 +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
47deacaa15
doxygen
2020-01-18 17:06:32 +01:00
Christian Grothoff
644049274c
doxygen
2020-01-18 16:41:24 +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
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
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
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
Florian Dold
d95f2a9e43
DCE, part one
2020-01-17 23:40:44 +01:00
Christian Grothoff
b322614eb2
doxygen
2020-01-17 23:01:17 +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
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
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
376277f7e8
remove bogus comment
2020-01-17 20:07:57 +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
ae30ff9f7e
bogus comment, fields no longer exist, logic problem ditto
2020-01-17 19:34:24 +01:00
Florian Dold
7378b5a081
amount rounding a la Christian
2020-01-17 18:59:15 +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
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
Florian Dold
84f3b9b287
payto fixes
2020-01-17 15:03:27 +01:00
Christian Grothoff
0145609890
fix FIXME: total up irregular paybacks and add to report
2020-01-17 15:00:32 +01:00
Christian Grothoff
540b22ce1c
implement rh caching
2020-01-17 12:52:33 +01:00
Christian Grothoff
7995678e77
fix error code use
2020-01-17 03:42:36 +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
Florian Dold
6faf6fc732
payto fixes WIP
2020-01-17 01:23:32 +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
a19939baec
fix comments
2020-01-16 22:26:25 +01:00
Christian Grothoff
19922fa046
pointless to check denom_sig, do not return
2020-01-16 22:21:18 +01:00
Christian Grothoff
dd6bad739a
debig
2020-01-16 21:26:53 +01:00
Marcello Stanisci
1e26fc824c
Finishing CMD to insert denomination and deposit into database.
2020-01-16 18:38:04 +01:00
Florian Dold
a358360fb3
remove wallet-specific code
2020-01-16 13:48:35 +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
Florian Dold
2e6d284e03
DCE
2020-01-16 08:53:03 +01:00
Christian Grothoff
85c285be79
clean up history building/checking logic a bit
2020-01-15 22:29:09 +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
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
Florian Dold
0c37bb0f90
use generated error codes, this has error code collisions removed
2020-01-15 14:19:12 +01:00
Christian Grothoff
8a3f0e3f8d
clean up payto credit/debit distincition
2020-01-15 13:22:37 +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
2edee5ac4a
refactor uri parsing logic, prepare for unit test
2020-01-14 15:57:36 +01:00
Christian Grothoff
5f6d867469
add request UID repetition detection to fakebank
2020-01-13 22:27:57 +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
452f42f562
include header file
2020-01-13 11:32:44 +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
061eaac70f
split of check_empty logic
2020-01-12 19:45:45 +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
9b586cd5f0
fix ftbfs
2020-01-12 01:03:08 +01:00
Christian Grothoff
cbcc3727de
add separate transfer and admin/add/incoming commands
2020-01-12 00:39:27 +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
Christian Grothoff
59b12d2d80
fix #6015
2020-01-09 12:19:09 +01:00
Christian Grothoff
e0cf954ad9
make exchange test suite work with current bank
2019-12-23 11:47:16 +01:00
Christian Grothoff
8af89ff197
misc release preparations: mostly fixing 'make dist' target
2019-12-20 20:10:46 +01:00
Christian Grothoff
36e15a501f
purge history-range API, no longer needed ( #5993 )
2019-12-15 18:16:33 +01:00
Christian Grothoff
75240345d0
writing generic tos/pp handler logic
2019-12-10 21:20:38 +01:00
Christian Grothoff
e153215f7e
fix j2
2019-12-07 14:18:02 +01:00
Marcello Stanisci
97afbf1ea5
fix previous
2019-11-30 00:25:45 +01:00
Marcello Stanisci
204f296a33
new bank error code
2019-11-30 00:24:51 +01:00
Christian Grothoff
2731e0aa4d
another ec'
2019-11-29 22:44:35 +01:00
Christian Grothoff
50f867de7c
another EC
2019-11-29 22:12:35 +01:00
Christian Grothoff
3371615b31
style fixes
2019-11-29 21:24:29 +01:00
Christian Grothoff
636488c279
merge error codes
2019-11-29 10:52:45 +01:00
Christian Grothoff
970e3fd4cb
error codes
2019-11-29 10:52:09 +01:00
Christian Grothoff
70a210ac4d
add another helper
2019-11-25 01:42:55 +01:00
Christian Grothoff
b7a5af7fd4
another sync code
2019-11-24 17:20:13 +01:00
Christian Grothoff
287a8dec9b
add another convenience function to libtalermhd
2019-11-24 17:15:01 +01:00
Christian Grothoff
7aae6c9045
use CONFLICT for double spending to distinguish properly from FORBIDDEN for bad signatures
2019-11-23 22:21:47 +01:00
Christian Grothoff
51e54bbaa1
use FORBIDDEN, never UNAUTHORIZED
2019-11-23 21:53:14 +01:00
Christian Grothoff
c693ec4a3e
fix warnings
2019-11-23 17:48:45 +01:00
Christian Grothoff
0c85d195f8
add common setup logic to libtalermhd
2019-11-23 11:48:35 +01:00
Christian Grothoff
fef8a57fae
add parsing API to new libtalermhd
2019-11-23 11:02:34 +01:00
Christian Grothoff
a2a5f42915
start with libtalermhd
2019-11-23 10:48:05 +01:00
Christian Grothoff
161b801fd6
sync error codes
2019-11-17 17:04:23 +01:00
Marcello Stanisci
44bccda22b
new error codes (bank)
2019-11-16 02:36:53 +01:00
Christian Grothoff
636b167655
sync error codes
2019-11-15 09:39:13 +01:00
Christian Grothoff
c0a87f1087
need more error codes
2019-11-02 13:23:16 +01:00
Christian Grothoff
375a47d502
improve status codes returned in case of denomination key troubles
2019-11-01 15:36:14 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules
2019-10-31 12:59:50 +01:00
Christian Grothoff
2696688aa3
fix compiler warnings
2019-10-29 20:57:18 +01:00
Christian Grothoff
5ddbdfe91b
do NOT drop deposit confirmations on taler-auditor restart (-r)
2019-10-29 11:32:25 +01:00
Christian Grothoff
47e4dc13ed
add api to allow clients to force auditor notification of dc
2019-10-26 20:51:21 +02:00
Christian Grothoff
8d11ac3388
alphabetical, please
2019-10-23 15:28:12 +02:00
Florian Dold
d6ca052d27
implement buffer API and use it for URL construction
2019-10-17 19:20:15 +05:30
Marcello Stanisci
4a8fcc27fd
New error code,
...
for payments sent to the wrong instance.
2019-10-15 14:50:34 +02:00
Christian Grothoff
bde4c742de
add logic to generate fresh database
2019-10-08 18:11:22 +02:00
Christian Grothoff
165929a877
consider reserve closures as well when auditing outgoing wire transfers
2019-10-06 16:54:09 +02:00
Florian Dold
c944a5703a
add helper function to detect http/https on an MHD connection
2019-10-05 22:32:31 +05:30
Christian Grothoff
52bbfe926b
add uncrustify pre-commit hook
2019-10-05 15:12:47 +02:00
Marcello Stanisci
303e92ca40
Less granularity for bank error codes ( #5787 ).
2019-09-29 14:17:25 +02:00
Christian Grothoff
e3564de010
need status code for missing configuration option
2019-09-26 14:24:33 +02:00
Christian Grothoff
c8bdf5597a
one EC for instance unknown
2019-09-26 14:17:26 +02:00
Christian Grothoff
ebd2e7d763
fix leaks and unnecessary fetch of RSA signature on refresh/reveal
2019-09-15 12:39:15 +02:00
Christian Grothoff
8843d60e68
fix memory leak and style issues
2019-09-15 10:54:10 +02:00
Christian Grothoff
fc19601efc
fix memory leaks in test case
2019-09-15 10:27:39 +02:00
Marcello Stanisci
ef98a68ffa
fix bank-lib test.
2019-09-11 00:46:30 +02:00
Marcello Stanisci
447d1d78ad
Importing the "has_in_name" logic from MHD.
2019-09-09 23:47:00 +02:00
Marcello Stanisci
cb6aab590b
Provide method to launch Fakebank withOUT running tests.
2019-09-09 23:46:59 +02:00
Marcello Stanisci
b0836a8c0c
Removing date-range-based logic from wire-plugin
2019-09-05 11:01:15 +02:00
Marcello Stanisci
f4ffc4a27b
note
2019-09-04 12:39:10 +02:00
Christian Grothoff
d2b85341c4
auditor needs serial IDs in coin history
2019-09-03 03:45:18 +02:00
Christian Grothoff
67aeb85a13
misc. auditor bugfixes
2019-09-02 08:01:55 +02:00
Florian Dold
000d25c719
error code
2019-08-30 11:45:23 +02:00
Florian Dold
eb55997084
re-format code
2019-08-25 16:18:24 +02:00
Christian Grothoff
71ae493c7a
refactor wire auditor to properly handle multiple accounts
2019-08-24 22:49:35 +02:00
Christian Grothoff
4bf425c902
remove currency field from databases
2019-08-17 21:35:21 +02:00
Christian Grothoff
8f7388042c
fix indent
2019-08-01 00:24:11 +02:00
Christian Grothoff
ccfe99a82d
more denom sig checking in auditor
2019-07-27 20:43:52 +02:00
Christian Grothoff
d1c0c0f197
update auditordb to include payback losses
2019-07-25 19:26:25 +02:00
Christian Grothoff
03af37ef23
add ppc progress points for payback ops
2019-07-24 14:13:25 +02:00
Christian Grothoff
a654ceafba
make sure reserves are not gc'ed before legal expiration
2019-07-24 12:19:36 +02:00
Christian Grothoff
9e3f4bdd79
getting revocation/payback test with refreshed coins to pass
2019-07-24 11:57:03 +02:00
Christian Grothoff
5844a20f15
implement zombie check
2019-07-24 00:13:53 +02:00
Christian Grothoff
e8a892c29a
modify /payback API and test usage of that API to pass/return additional information required when dealing with payback of refreshed coins
2019-07-23 21:56:21 +02:00
Christian Grothoff
7d43ad56d3
implement postges_get_old_coin_by_h_blind for #5777
2019-07-23 20:27:48 +02:00
Christian Grothoff
a83aa1f70e
include new payback-refresh possibilities in coin history generation
2019-07-22 13:28:48 +02:00
Christian Grothoff
721c1ee73e
extending postgres plugin with functions required to store payback data on refreshed coins for #5777
2019-07-21 20:15:11 +02:00
Christian Grothoff
ad34305942
expose blinding key in refresh-reveal API in preparation for #5777
2019-07-21 12:20:45 +02:00
Christian Grothoff
c94309ee6e
rename fresh coin to have TALER_TESTING_-prefix
2019-07-19 11:20:18 +02:00
Christian Grothoff
4785bcb4bb
towards #5777 , adding todos/notes
2019-07-15 22:01:06 +02:00
Christian Grothoff
28f790fac5
fix use of index in testing_api_cmd_refresh.c
2019-07-15 21:44:03 +02:00
Christian Grothoff
9a5030b993
add test for json_wire.c logic
2019-06-26 20:43:08 +02:00
Christian Grothoff
3a2f72b4aa
implement /link signatures
2019-06-26 15:34:44 +02:00
Christian Grothoff
cec1a9785e
add another EC
2019-06-08 22:31:38 +02:00
Christian Grothoff
4f846eab96
fix #5756 , also change sepa->iban as per payto:// spec
2019-06-08 19:55:18 +02:00
Christian Grothoff
401d2530b9
indentation
2019-06-04 00:09:50 +02:00
Marcello Stanisci
6096c1387c
teah_common.h -> taler_curl_lib.h
2019-05-24 16:49:25 +02:00
Marcello Stanisci
67dd3171d0
using legal lib names
2019-05-23 20:46:51 +02:00
Marcello Stanisci
5f6d706422
Export compressing routine.
2019-05-23 20:29:50 +02:00
Christian Grothoff
de9fdf860a
replace denom_pub with denom_pub_hash in exchange API to reduce bandwidth
2019-05-02 21:16:51 +02:00
Christian Grothoff
9c515d218b
use uint64_t for serial_id
2019-04-22 21:35:19 +02:00
Marcello Stanisci
054fe2fb05
Address more warnings on types.
2019-04-12 15:56:48 +02:00
Marcello Stanisci
9b33452ad5
Introduce new "history range" wire API.
2019-04-11 18:06:19 +02:00
Marcello Stanisci
5c49663309
Fixing twisted tests.
...
It has been observed that when a "twisted" test has "very little"
commands in the stack, it uses to fail since the proxied service
cannot be reached.
This commit puts some delay before the first command gets run
by the test interpreter; both in the form of a "blind" sleep, and
with a more structured 'wget' loop.
2019-04-10 17:07:14 +02:00
Marcello Stanisci
75ac6b8063
minor fixes
2019-04-10 17:07:13 +02:00
Marcello Stanisci
f3d80b58f6
Make the API-agnostic iterator work.
...
This allows to build local histories to be matched
against the ones returned by the bank; in particular,
this version builds those stories regardless of /history
or /history-range being run.
2019-04-10 17:07:13 +02:00
Marcello Stanisci
ed0da1fdb3
/history-range.
...
Implementing the "lib" and "testing-lib" functions to use it.
2019-04-08 23:56:46 +02:00
Marcello Stanisci
3e757cdeda
Inserting "now" argument into "/keys".
...
Also using this new logic from the cherry-pick test case.
2019-04-04 12:14:25 +02:00
Marcello Stanisci
6e6ce685ea
Provide API to fake now when requesting /keys.
2019-04-03 18:02:16 +02:00
Marcello Stanisci
35c064b937
Faking the time.
...
Cherry-pick tests now uses the now-faked version
of taler-exchange-keyup. Fails.
2019-04-03 16:07:04 +02:00
Christian Grothoff
4dea098f54
actually disable 100 continue
2019-03-02 19:18:12 +01:00
Christian Grothoff
a98825675b
add option to be selective about dropping the exchange list
2019-02-14 14:23:16 +01:00
Christian Grothoff
e56ed85f4f
preparations for #5536
2019-02-14 13:41:46 +01:00
Marcello Stanisci
bb44b9b475
Fix #5558 .
2019-02-13 17:53:48 +01:00
Marcello Stanisci
e1ec7fc53c
new bank error code
2019-02-13 16:39:46 +01:00
Marcello Stanisci
5a4f5b81db
New error codes for bank.
2019-02-05 16:07:23 +01:00
Marcello Stanisci
71d0aab4e2
new error code
2019-01-31 15:09:57 +01:00
Marcello Stanisci
f68e7d0b07
Adding map: wire method name <--> plugin name.
2019-01-30 15:17:03 +01:00
Marcello Stanisci
3dd987035b
Extend auditor testing-lib.
...
Add method to check whether a exchange (URL)
belongs to the list of audited exchanges.
2019-01-28 16:51:13 +01:00
Marcello Stanisci
220ce20d05
Revert explicit AUDITOR_connect at tests.
2019-01-25 15:57:27 +01:00
Marcello Stanisci
862ed50d7d
Auditor tests.
...
Fix double connection.
2019-01-24 17:53:10 +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
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
448a57d81e
Extend tests.
...
Give a way to force redownload (= no cherry picking) all /keys.
2019-01-16 19:44:44 +01:00