aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib
AgeCommit message (Collapse)Author
2019-04-10Test /history-range after transactions happened.Marcello Stanisci
2019-04-10Fixing twisted tests.Marcello Stanisci
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-10minor fixesMarcello Stanisci
2019-04-10Time math macros.Marcello Stanisci
2019-04-10minor fixesMarcello Stanisci
2019-04-10Make the API-agnostic iterator work.Marcello Stanisci
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-08/history-range.Marcello Stanisci
Implementing the "lib" and "testing-lib" functions to use it.
2019-04-08Put /history[-range] logic in a dedicate file.Marcello Stanisci
2019-04-08Set range pointer.Marcello Stanisci
2019-04-08debug messageMarcello Stanisci
2019-04-08Fix compilation warnings, + enable polymorphic /history handler.Marcello Stanisci
2019-04-08Finishing /history-range implementation, untested.Marcello Stanisci
2019-04-08Gather /history implementation(s) in one point.Marcello Stanisci
2019-04-08Finish abstract history builder.Marcello Stanisci
2019-04-07fix #includesChristian Grothoff
2019-04-05Half-baking #5666.Marcello Stanisci
2019-04-05Making the bug /history[-range] args parser.Marcello Stanisci
2019-03-21Adapt "/history" tests to the new policy of 'start' defaults.Marcello Stanisci
2019-03-21"/history" 'start' default value.Marcello Stanisci
The fakebank got adapted to the same logic from the Python bank (with negative deltas, 'start' defaults to UINT64_MAX, whereas with positives it defaults to 0).
2019-03-21Makefile.Marcello Stanisci
Do not install, but get to compile the utility command 'taler-fakebank-run'.
2019-03-21Comment.Marcello Stanisci
Commenting about the impossibility of the current history CMD to interpret the 'ordering' parameter of "/history" requests.
2019-03-18Do not run unneeded test.Marcello Stanisci
2019-03-14Fakebank debugMarcello Stanisci
2019-03-13Fakebank debugging.Marcello Stanisci
Adding a CLI launcher for the bare fakebank service.
2019-02-15initialize start_number in fakebankChristian Grothoff
2019-01-22Fix Makefiles.Marcello Stanisci
2018-12-19#5459Marcello Stanisci
2018-12-14/history API semantics extended.Marcello Stanisci
That API has now a new 'ordering' flag that lets the client choose what ordering the results should have: ascending or descending. In particular, this change adapted the fakebank and tests logic to such introduction.
2018-12-13Adapt test to bank returning descending /history elements.Marcello Stanisci
2018-12-13Adapt test to bank returning descending /history elements.Marcello Stanisci
2018-11-25fix misc. memory leaksChristian Grothoff
2018-11-17use more const in taler_testing_lib.hChristian Grothoff
2018-10-22Fix compiler warnings.Marcello Stanisci
This reverts changes made in b0d00823eb96de733510354. The warnings are fixed by changing the functions signatures, instead of casting their pointers.
2018-10-22Fix compiler warnings.Marcello Stanisci
2018-09-05fix "twisted" test-suites.Marcello Stanisci
2018-08-19fix test setup invocationFlorian Dold
2018-08-19increase listen backlog for fakebankFlorian Dold
2018-08-19make fakebank use epoll() on platforms where it is availableChristian Grothoff
2018-08-16fix all (?) wrong -l flagsFlorian Dold
2018-08-16fix more wrong -l flagsFlorian Dold
2018-08-16fix some wrong -l flagsFlorian Dold
2018-07-02Finish addressing #5332Marcello Stanisci
2018-07-02polish bank history CMDMarcello Stanisci
2018-06-27Addressing #5291.Marcello Stanisci
2018-06-12From payto:// to base url.Marcello Stanisci
The conversion prepends http// or https:// depending on the port given beside the hostname. If port is 433, then prepends https://, otherwise prepends http://. For now, the conversion was only necessary at the /history bank lib.
2018-05-29Commenting the bank-lib "testing" header file.Marcello Stanisci
2018-05-29do not use hard coded database stringMarcello Stanisci
2018-05-28Commenting the "history" CMDMarcello Stanisci
2018-05-28Commenting the "reject" CMDMarcello Stanisci
2018-05-28Commenting the remaining "lib" traits.Marcello Stanisci