summaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
AgeCommit message (Collapse)Author
2020-01-16Adapting wirewatch tests to new style.Marcello Stanisci
2020-01-15debug loggingChristian Grothoff
2020-01-15fix payto URI conversionChristian Grothoff
2020-01-15fix fakebank account vs. full payto confusionChristian Grothoff
2020-01-15fix test issuesChristian Grothoff
2020-01-14refactor uri parsing logic, prepare for unit testChristian Grothoff
2020-01-13add request UID repetition detection to fakebankChristian Grothoff
2020-01-13mergeChristian Grothoff
2020-01-13make fakebank and banklib match specifified new APIChristian Grothoff
2020-01-12fix ftbfsChristian Grothoff
2020-01-12fix fakebank APIChristian Grothoff
2020-01-12deadChristian Grothoff
2020-01-11major refactoring, eliminating wire-plugins and moving towards new bank API. ↵Christian Grothoff
main code compiles, testcases known to fail, code sure not to fully work yet
2019-12-22Fix auditordb.Marcello Stanisci
Include (forgotten) table within the "drop_tables()" command.
2019-12-15purge history-range API, no longer needed (#5993)Christian Grothoff
2019-10-31tighten formatting rulesChristian Grothoff
2019-10-29fix compiler warningsChristian Grothoff
2019-09-29Less granularity for bank error codes (#5787).Marcello Stanisci
2019-08-25re-format codeFlorian Dold
2019-06-03eliminate useless global variable TFH_handle_history_range_stepChristian Grothoff
2019-05-02adapt to GNUnet API changeChristian Grothoff
2019-04-11Address compilation warnings.Marcello Stanisci
2019-04-11Fix history CMD loop, + make fakebank demonize.Marcello Stanisci
This latter enable us to call the "check-service" CMD against the Fakebank, instead of doing forced X seconds sleep.
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-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-05Half-baking #5666.Marcello Stanisci
2019-04-05Making the bug /history[-range] args parser.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-14Fakebank debugMarcello Stanisci
2019-02-15initialize start_number in fakebankChristian Grothoff
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-08-19increase listen backlog for fakebankFlorian Dold
2018-08-19make fakebank use epoll() on platforms where it is availableChristian Grothoff
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-01-30use url instead of uri consistentlyFlorian Dold
2018-01-16fix fakebank memory leakChristian Grothoff
2017-12-22redefining/adding bank error codesMarcello Stanisci
2017-12-13respect /reject API: credit_account -> account_numberMarcello Stanisci
2017-12-12use dual stack for fakebankChristian Grothoff
2017-12-10better diagnostics from fakebankChristian Grothoff
2017-12-10add testcase for #5077 (passes), start to reduce use of exchange's ↵Christian Grothoff
admin/add/incoming (#5172, more to come)
2017-12-08use row_id instead of serial_id everywhereFlorian Dold
2017-12-06largely fix #5077Christian Grothoff