Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add geoblocked countries #1258

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

Reckless-Satoshi
Copy link
Collaborator

What does this PR do?

This PR introduces a new setting for coordinators to block orders on countries based on a list of ISO3166-1 alpha-3 codes. Example:

GEOBLOCKED_COUNTRIES = 'ABW,AFG,AGO'

Orders that use the F2F feature will be blocked.

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

@Reckless-Satoshi Reckless-Satoshi force-pushed the feat/geo-block-countries branch from 636fac5 to 33a01d2 Compare April 29, 2024 22:47
@Reckless-Satoshi Reckless-Satoshi merged commit 34ef099 into main Apr 29, 2024
1 of 5 checks passed
@Reckless-Satoshi Reckless-Satoshi deleted the feat/geo-block-countries branch April 29, 2024 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant