summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-04-02Changing configuration structure to enable multiple accounts.Christian Grothoff
This change enables using multiple wire plugins at the same time. Also, we now distinguish between the wire plugin (i.e. EBICS or taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that the wire plugin is implementing. The "taler-bank" wire method was renamed from "test" to "x-taler-bank". This also changes the format of the /wire response of the exchange, as we now need to return multiple accounts. Note that wire fees are specified per wire method, not per wire account. taler-exchange-keyup now automatically signs all of the /wire responses in the location specified by the configuration. Account identification in wire plugins was changed to use payto://-URLs instead of method-specific JSON fields. Signing and validation of /wire responses was moved from each wire plugin to a generic validation method in libtalerutil (crypto) or libtalerjson (for JSON-formatted inputs). Convenience methods were added to generate JSON for wire accounts (salting, signing). Various section and option names were adjusted to streamline the configuration and make it more consistent overall. Documentation was updated as well.
2018-04-02modify wire plugin load logic to use reference countingChristian Grothoff
2018-03-26still on gentle twister termination.Marcello Stanisci
2018-03-22gently terminating the twister.Marcello Stanisci
2018-03-21addressing leaks.Marcello Stanisci
2018-03-21build exchange url at (withdraw) command creation.Marcello Stanisci
2018-03-21address leaks.Marcello Stanisci
2018-03-21address leaks.Marcello Stanisci
2018-03-19fix segfault.Marcello Stanisci
2018-03-17format outputMarcello Stanisci
2018-03-17fix makefile conditional.Marcello Stanisci
2018-03-17adding "with_fakebank_twisted" tests.Marcello Stanisci
2018-03-17add fakebank-version of twisted tests.Marcello Stanisci
2018-03-17mini testing of twister.Marcello Stanisci
Make one bank-lib test command pass through the twister.
2018-03-17fix return code.Marcello Stanisci
2018-03-17bank-lib twisted tests scaffold done.Marcello Stanisci
2018-03-17bank-lib's twisted tests scaffoldMarcello Stanisci
2018-03-17Twisted tests scaffold.Marcello Stanisci
2018-03-12zero out last_row_off_size when we NULL last_row_off, cosmetics; remove ↵Christian Grothoff
bogus GNUNET_break: last_row_off size is allowed to be 0 here
2018-03-12ensure transaction_name is also set for deferred_wire_out transaction, ↵Christian Grothoff
re-use postgres_start logic
2018-03-12fix #5281 for exchange: do preflight check that an old transaction is no ↵Christian Grothoff
longer running by accident
2018-03-12fix compiler warnings related to use of %llu on uint64_tChristian Grothoff
2018-02-28Test cases connect to the exchange via the base URLMarcello Stanisci
they get from exchange/BASE_URL config value. This way, the twister can be easily put in the middle by making it listen on the same port specified after the : of the exchange/BASE_URL.
2018-02-28staticMarcello Stanisci
2018-02-28helpers return exchange base url from config.Marcello Stanisci
2018-02-28indentMarcello Stanisci
2018-02-27fix reject test command.Marcello Stanisci
2018-02-27use more 'static' where applicable, use GNUNET_log instead of fprintfChristian Grothoff
2018-02-27fix log component nameMarcello Stanisci
2018-02-27fix use of extern keyword.Marcello Stanisci
2018-02-27setting label for reject testing command.Marcello Stanisci
2018-02-26Bank-lib tests, using the new (libraries-based) style.Marcello Stanisci
2018-02-21denom pub trait made 'const'Marcello Stanisci
2018-02-21no need for a "hash trait" here. Removing code.Marcello Stanisci
2018-02-21actually loading configMarcello Stanisci
2018-02-21adding command to wire transfer to exchange byMarcello Stanisci
reading a merchant instance's (reserve tip) private key in order to construct the subject.
2018-02-21test command "fakebank transfer"Marcello Stanisci
takes exchange url in arguments
2018-02-19bank-check test cmd offers exchange url as trait.Marcello Stanisci
2018-02-17fix reserve creation with referenceMarcello Stanisci
2018-02-17hash and public key traits.Marcello Stanisci
2018-02-16indentMarcello Stanisci
2018-02-16hash code traitMarcello Stanisci
2018-02-16offering amount _objects_ as traits (a string version ofMarcello Stanisci
it was already implemented). "Withdraw" command uses it.
2018-02-15paste leftoverMarcello Stanisci
2018-02-15fix paste leftoverMarcello Stanisci
2018-02-15adding "order id" traitMarcello Stanisci
2018-02-14offer url traitMarcello Stanisci
2018-02-12Implement new traits-based tests.Marcello Stanisci
2018-02-07make it compileFlorian Dold
2018-02-07wire plugin (test): gracefully handle errorsFlorian Dold