Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Scheduling Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xx network
Scheduling Scripts
Merge requests
!10
Points should maintain an external list of wallet to country mappings
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Points should maintain an external list of wallet to country mappings
jonah/wallet-country-list
into
master
Overview
0
Commits
8
Pipelines
0
Changes
1
Merged
Points should maintain an external list of wallet to country mappings
Jonah Husson
requested to merge
jonah/wallet-country-list
into
master
Jun 23, 2022
Overview
0
Commits
8
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
e578d340
Prev
Next
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
e578d340
doc comments
· e578d340
Jonah Husson
authored
Jun 23, 2022
points.py
+
6
−
0
View file @ e578d340
Edit in single-file editor
Open in Web IDE
Show full file
@@ -481,6 +481,12 @@ def parse_bins(countries_list):
def
update_wallet_country_list
(
active_nodes
,
list_path
):
"""
Check active nodes for items not in the current list of wallets & add if necessary
:param active_nodes:
:param list_path:
:return:
"""
global
wallet_list
with
open
(
list_path
,
"
a+
"
)
as
f
:
if
not
wallet_list
:
Loading