Skip to content

Commit d227095

Browse files
feat(api): don't strike users from /geoblock*, raise 403 (#3158)
Compliance Controller /geoblock* endpoint changes: - If a connection is whitelisted by ip or chain address, proceed. - Then, if a connection is restricted, raise a 403 geo-blocking error, but don't change compliance status in the database. - If the connection was not restricted, return the compliance status for the address in the database. - If the address has no current compliance status, query the compliance provider to classify the address and set the compliance status, and then return the new compliance status. - The VALID_SURVEY/INVALID_SURVEY api no longer modifies compliance status.
1 parent c275378 commit d227095

File tree

3 files changed

+211
-222
lines changed

3 files changed

+211
-222
lines changed

0 commit comments

Comments
 (0)