summaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
AgeCommit message (Collapse)Author
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
2017-06-11automated refunds of expired reserves now work and tested, fixes #4956Christian Grothoff
2017-06-11tolerate empty transaction list when returning historyChristian Grothoff
2017-06-11fix doxygenChristian Grothoff
2017-06-11modify fakebank API to allow arbitrary subjects, not just well-fromed WTIDsChristian Grothoff
2017-06-04fix memory leaks (#5050)Christian Grothoff
2017-06-04fixing misc doxygen issuesChristian Grothoff
2017-05-16start_row is actually start in the spec, fix namingChristian Grothoff
2017-05-16handle base32-wire transfer subject being followed by space+exchange base ↵Christian Grothoff
url in wire plugin and fakebank
2017-05-16fix port numbers, no longer 8081 but on 8080; and box json array /history ↵Christian Grothoff
response in {data} as required by API
2017-05-10revert last changeMarcello Stanisci
2017-05-10serial_id -> row_id in returned jsonMarcello Stanisci
2017-05-09fix possible NULL deref, simplify logicChristian Grothoff
2017-05-07implement fakebank support (incl. tests) for #5005/#4964/4959Christian Grothoff
2017-05-04start to add /history testing support to tests, fix some minor issuesChristian Grothoff
2017-05-04add /history support to fakebankChristian Grothoff
2017-05-04switch bank api to new authentication method APIChristian Grothoff
2017-05-04fix typoChristian Grothoff
2017-05-04implement #4993Christian Grothoff
2017-04-20fix misc doxygen issuesChristian Grothoff
2017-03-02implementing #4921: add base URL to wire transfersChristian Grothoff