sim-twister.conf (1893B)
1 # This file is part of GNU Taler 2 # (C) 2026 Taler Systems S.A. 3 # 4 # GNU Taler is free software; you can redistribute it and/or modify it under the 5 # terms of the GNU General Public License as published by the Free Software 6 # Foundation; either version 3, or (at your option) any later version. 7 # 8 # GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 9 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 10 # A PARTICULAR PURPOSE. See the GNU General Public License for more details. 11 # 12 # You should have received a copy of the GNU General Public License along with 13 # GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 14 # 15 # The simulator stack with twister in front of the exchange, for fault 16 # injection: the wallet and the merchant both talk to port 8088, twister 17 # forwards to the real exchange on 8081 and can truncate, rewrite or fail what 18 # passes through. 19 # 20 # The exchange's own BASE_URL has to be the twister URL, because that is what 21 # it signs and what the wallet checks. 22 23 @INLINE@ sim.conf 24 25 [exchange] 26 BASE_URL = "http://localhost:8088/" 27 28 [merchant-exchange-sim] 29 EXCHANGE_BASE_URL = http://localhost:8088/ 30 31 # The bank hands the wallet this URL in every withdrawal it starts. Left 32 # pointing at the exchange directly, the wallet compares it with the URL the 33 # exchange signs (the proxy) and refuses with 34 # WALLET_EXCHANGE_BASE_URL_MISMATCH before any injected fault can matter. 35 [libeufin-bank] 36 SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8088/ 37 38 [twister] 39 # What the wallet and the merchant treat as "the exchange". 40 HTTP_PORT = 8088 41 SERVE = tcp 42 # The real exchange. No trailing slash, by twister's own convention. 43 DESTINATION_BASE_URL = "http://localhost:8081" 44 HOSTNAME = localhost 45 ACCEPT_FROM = 127.0.0.1; 46 ACCEPT_FROM6 = ::1; 47 UNIXPATH = /tmp/taler-sim-twister.sock 48 UNIX_MATCH_UID = NO 49 UNIX_MATCH_GID = YES