Screen wallets against OFAC's list only for the testnet #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/drop-chainalysis-testnet"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Drops the Chainalysis integration for the testnet. Wallets are screened only against OFAC's list, and the location and VPN checks via ipapi.is stay. This follows Legal's request, and Legal reviews this PR before it ships. Chainalysis can be revisited before mainnet.
Merge after #14–#22 and #23 (approve receipt,
fix/approve-receipt-status), in order. Branch =fix/approve-receipt-status(8617996) + two commits (the change, then Legal's footer wording).Removed
CHAINALYSIS_API_KEY,SCREEN_CHAINALYSIS,CHAINALYSIS_DAILY_CAP,CHAINALYSIS_NETWORK_DAILY_CAP,CHAINALYSIS_DAILY_CAP_PER_48,CHAINALYSIS_DAILY_CAP_PER_24andCHAINALYSIS_PASS_CACHE_HOURS, removed from config,.env.exampleand the README. Leftover values in an env file are ignored.chainalysischeck id (server and client types), its mock-mode label, and the tests that only covered Chainalysis.Kept
sanctionedeven when location/VPN is unavailable (test kept).Behaviour note: whole screening results are cached again for
SCREEN_CACHE_SECONDS(default 300 s), as in #13. They were cached only while Chainalysis was off, because of its terms.unavailableis still never cached. So a wallet newly added to OFAC's list could still pass for up to five minutes after an earlier pass. This is recorded as a testnet residual risk in docs 0011 (docs PR #4).User-facing copy (for Legal): one sentence changed, in the testnet footer.
Tests: this branch passes 197/197 tests (199 before; Chainalysis-only tests removed or rewritten), both
tscchecks and the testnet build, and the built bundle contains no Chainalysis references. A local merge of #14→#23, then this PR passes 205/205,tscand the build. The only conflict is the known #15 import. Tests make no network calls; the screening tests fail on any request to a host other than the OFAC list, ipapi.is and the Tor list.