mirror of
https://github.com/haveno-dex/haveno.git
synced 2026-01-09 11:30:59 -05:00
- Increase RPC timeout from 20s to 60s for Tor connections - Add dynamic error threshold (1 for Tor, 3 for clearnet) - Set connection timeout based on proxy usage in onConnectionChanged() Root cause: Monero daemon default timeout is 30 minutes, but Haveno was using 20s for all connections. Tor circuits often exceed 20s latency, causing premature timeouts and 'no connection to daemon' errors. Fix provides sufficient time for slow Tor circuits while maintaining responsiveness for clearnet connections. Tested on stagenet with remote node over Tor. Logs confirm stable connection where previous version failed with 'NoHttpResponseException' after ~1 minute. |
||
|---|---|---|
| .. | ||
| .tx | ||
| src | ||
| update_translations.sh | ||