Jon Atack
5f7e086dac
contrib: update generate-seeds.py to ignore torv2 addresses
3 years ago
Jon Atack
ea269c7ef1
contrib: parse I2P addresses in generate-seeds.py
4 years ago
W. J. van der Laan
06030f7a42
contrib: generate-seeds.py generates output in BIP155 format
4 years ago
Ben Woosley
b21680baf5
test/contrib: Fix invalid escapes in regex strings
...
Flagged by flake8 v3.6.0, as W605, plus a few others identified
incidentally, e.g. 59ffecf66cf4d08c4b431e457b083878d66a3fd6.
Note that r"\n" matches to "\n" under re.match/search.
5 years ago
practicalswift
634bd97001
Explicitly specify encoding when opening text files in Python code
7 years ago
John Bampton
0d31ef4762
Enable W191 and W291 flake8 checks.
...
Remove trailing whitespace from Python files.
Convert tabs to spaces.
7 years ago
practicalswift
f020aca297
Minor Python cleanups to make flake8 pass with the new rules enabled
7 years ago
practicalswift
11376b5583
Fix a-vs-an typos
7 years ago
practicalswift
25cd520fc4
Use sys.exit(...) instead of exit(...): exit(...) should not be used in programs
7 years ago
Wladimir J. van der Laan
4dfac2c950
Update seeds tooling to Python 3
...
All the other tooling scripts require Python 3, it makes sense to do so
here too.
Also document the dependency on python3-dnspython.
8 years ago
Matthew King
873e81f89b
Use portable #! in python scripts (/usr/bin/env)
9 years ago
paveljanik
8a03727d9c
Fix various typos
9 years ago
Wladimir J. van der Laan
ccd4369a23
contrib: Improvements to hardcoded seeds scripts
...
- Moved all seed related scripts to contrib/seeds for consistency
- Updated `makeseeds.py` to handle IPv6 and onions, fix regular
expression for recent Bitcoin Core versions
- Fixed a bug in `generate-seeds.py` with regard to IPv6 parsing
10 years ago