MarcoFalke
fa68755364
contrib: Fix gen_key_io_test_vectors.py imports
4 years ago
Peter Bushnell
e12e970df6
docs: match usage text to script and location
...
Update the usage text in the README to match the usage text in the Python script.
02b26ba1c1/contrib/testgen/gen_key_io_test_vectors.py (L9)
Also to match the file names in the actual destination.
02b26ba1c1/src/test/data/key_io_valid.json
02b26ba1c1/src/test/data/key_io_invalid.json
Following the README usage text generates new files when the user is likely to have wanted to update the existing files.
4 years ago
Alex Willmer
47b49a05ea
contrib: Fix SyntaxWarning in Python base58 implementation
...
In Python integers should be compared for equality (`i == j`), not identity (`i is j`). Recent versions of CPython 3.x emit a SyntaxWarning when they encounter this incorrect usage, e.g.
```
$ python3 base58.py
base58.py:110: SyntaxWarning: "is" with a literal. Did you mean "=="?
assert get_bcaddress_version('15VjRaDX9zpbA8LVnbrCAFzrVzN7ixHNsC') is 0
Tests passed
```
4 years ago
Jon Layton
6aab7649d3
doc: Fix whitespace errs in .md files, bitcoin.conf, Info.plist.in, and find_bdb48.m4
5 years ago
Akio Nakamura
a9910d82c3
contrib: Adjust output to current test format
...
Ajust the outputs of gen_base58_test_vectors.py to current test format.
1. Add bech32 vector generation.
2. Add Script-fragments to hexrepr in the format expected by the test.
3. Modify the metadata.
1) Change 'isTestnet' to 'chain' (main/test/regtest)
2) Remove 'addrType'
3) Add 'tryCaseFlip' (True/False on bech32)
6 years ago
DrahtBot
eb7daf4d60
Update copyright headers to 2018
6 years ago
practicalswift
f020aca297
Minor Python cleanups to make flake8 pass with the new rules enabled
7 years ago
Evan Klitzke
18740586ba
Make base58 python contrib code work with python3
7 years ago
John Newbery
bc6fdf2d15
Change all python files to use Python3
7 years ago
Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
7 years ago
practicalswift
72163d4585
[tests] Remove unused and duplicate imports
8 years ago
practicalswift
ac4a095306
Remove unused Python variables
8 years ago
isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
8 years ago
isle2983
783e930e68
[copyright] Add missing copyright headers
8 years ago
super3
27e2d8bfb5
Finished /Contrib Index. Standardized READMEs.
...
File and Link Fix.
11 years ago
super3
0aa9851b18
Documentation Cleanup in /Doc
...
Added some help text, and bumped version numbers.
Added a Readable Index for /Contrib
Fixing /Contrib Index URLs
Revert Version Numbers.
11 years ago
Wladimir J. van der Laan
d6b13283d1
data-driven base58 CBitcoinAddress/CBitcoinSecret tests
...
Arbitrary numbers of test vectors can be generated using the script
`gen_base58_test_vectors.py`.
12 years ago