lightwalletd
lightwalletd copied to clipboard
Add optional proxy to exchange APIs for light clients
This enables light clients to authenticate directly to exchange APIs without revealing their IP address.
To-do:
- [ ] Enforce per-client per-target rate limits on session creation.
- [ ] Enforce per-client per-target rate limits on session traffic (by detecting request-response patterns in the proxied TCP traffic).
This PR will probably get closed, as instead of writing the client side of this (in the necessary Kotlin and Swift), I've integrated Arti into the Swift SDK for Tor support and am using that to fetch exchange rates (https://github.com/Electric-Coin-Company/zcash-light-client-ffi/pull/142, https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk/pull/1446).